Lines Matching refs:pos
372 #define rht_entry(tpos, pos, member) \ argument
373 ({ tpos = container_of(pos, typeof(*tpos), member); 1; })
382 #define rht_for_each_continue(pos, head, tbl, hash) \ argument
383 for (pos = rht_dereference_bucket(head, tbl, hash); \
384 !rht_is_a_nulls(pos); \
385 pos = rht_dereference_bucket((pos)->next, tbl, hash))
393 #define rht_for_each(pos, tbl, hash) \ argument
394 rht_for_each_continue(pos, (tbl)->buckets[hash], tbl, hash)
405 #define rht_for_each_entry_continue(tpos, pos, head, tbl, hash, member) \ argument
406 for (pos = rht_dereference_bucket(head, tbl, hash); \
407 (!rht_is_a_nulls(pos)) && rht_entry(tpos, pos, member); \
408 pos = rht_dereference_bucket((pos)->next, tbl, hash))
418 #define rht_for_each_entry(tpos, pos, tbl, hash, member) \ argument
419 rht_for_each_entry_continue(tpos, pos, (tbl)->buckets[hash], \
434 #define rht_for_each_entry_safe(tpos, pos, next, tbl, hash, member) \ argument
435 for (pos = rht_dereference_bucket((tbl)->buckets[hash], tbl, hash), \
436 next = !rht_is_a_nulls(pos) ? \
437 rht_dereference_bucket(pos->next, tbl, hash) : NULL; \
438 (!rht_is_a_nulls(pos)) && rht_entry(tpos, pos, member); \
439 pos = next, \
440 next = !rht_is_a_nulls(pos) ? \
441 rht_dereference_bucket(pos->next, tbl, hash) : NULL)
454 #define rht_for_each_rcu_continue(pos, head, tbl, hash) \ argument
456 pos = rht_dereference_bucket_rcu(head, tbl, hash); \
457 !rht_is_a_nulls(pos); \
458 pos = rcu_dereference_raw(pos->next))
470 #define rht_for_each_rcu(pos, tbl, hash) \ argument
471 rht_for_each_rcu_continue(pos, (tbl)->buckets[hash], tbl, hash)
486 #define rht_for_each_entry_rcu_continue(tpos, pos, head, tbl, hash, member) \ argument
488 pos = rht_dereference_bucket_rcu(head, tbl, hash); \
489 (!rht_is_a_nulls(pos)) && rht_entry(tpos, pos, member); \
490 pos = rht_dereference_bucket_rcu(pos->next, tbl, hash))
504 #define rht_for_each_entry_rcu(tpos, pos, tbl, hash, member) \ argument
505 rht_for_each_entry_rcu_continue(tpos, pos, (tbl)->buckets[hash],\