Lines Matching refs:pos

274 #define rht_entry(tpos, pos, member) \  argument
275 ({ tpos = container_of(pos, typeof(*tpos), member); 1; })
305 #define rht_for_each_continue(pos, head, tbl, hash) \ argument
306 for (pos = rht_dereference_bucket(head, tbl, hash); \
307 !rht_is_a_nulls(pos); \
308 pos = rht_dereference_bucket((pos)->next, tbl, hash))
316 #define rht_for_each(pos, tbl, hash) \ argument
317 rht_for_each_continue(pos, *rht_bucket(tbl, hash), tbl, hash)
328 #define rht_for_each_entry_continue(tpos, pos, head, tbl, hash, member) \ argument
329 for (pos = rht_dereference_bucket(head, tbl, hash); \
330 (!rht_is_a_nulls(pos)) && rht_entry(tpos, pos, member); \
331 pos = rht_dereference_bucket((pos)->next, tbl, hash))
341 #define rht_for_each_entry(tpos, pos, tbl, hash, member) \ argument
342 rht_for_each_entry_continue(tpos, pos, *rht_bucket(tbl, hash), \
357 #define rht_for_each_entry_safe(tpos, pos, next, tbl, hash, member) \ argument
358 for (pos = rht_dereference_bucket(*rht_bucket(tbl, hash), tbl, hash), \
359 next = !rht_is_a_nulls(pos) ? \
360 rht_dereference_bucket(pos->next, tbl, hash) : NULL; \
361 (!rht_is_a_nulls(pos)) && rht_entry(tpos, pos, member); \
362 pos = next, \
363 next = !rht_is_a_nulls(pos) ? \
364 rht_dereference_bucket(pos->next, tbl, hash) : NULL)
377 #define rht_for_each_rcu_continue(pos, head, tbl, hash) \ argument
379 pos = rht_dereference_bucket_rcu(head, tbl, hash); \
380 !rht_is_a_nulls(pos); \
381 pos = rcu_dereference_raw(pos->next))
393 #define rht_for_each_rcu(pos, tbl, hash) \ argument
394 rht_for_each_rcu_continue(pos, *rht_bucket(tbl, hash), tbl, hash)
409 #define rht_for_each_entry_rcu_continue(tpos, pos, head, tbl, hash, member) \ argument
411 pos = rht_dereference_bucket_rcu(head, tbl, hash); \
412 (!rht_is_a_nulls(pos)) && rht_entry(tpos, pos, member); \
413 pos = rht_dereference_bucket_rcu(pos->next, tbl, hash))
427 #define rht_for_each_entry_rcu(tpos, pos, tbl, hash, member) \ argument
428 rht_for_each_entry_rcu_continue(tpos, pos, *rht_bucket(tbl, hash), \
439 #define rhl_for_each_rcu(pos, list) \ argument
440 for (pos = list; pos; pos = rcu_dereference_raw(pos->next))
452 #define rhl_for_each_entry_rcu(tpos, pos, list, member) \ argument
453 for (pos = list; pos && rht_entry(tpos, pos, member); \
454 pos = rcu_dereference_raw(pos->next))