Lines Matching refs:pos
370 #define rht_entry(tpos, pos, member) \ argument
371 ({ tpos = container_of(pos, typeof(*tpos), member); 1; })
380 #define rht_for_each_continue(pos, head, tbl, hash) \ argument
381 for (pos = rht_dereference_bucket(head, tbl, hash); \
382 !rht_is_a_nulls(pos); \
383 pos = rht_dereference_bucket((pos)->next, tbl, hash))
391 #define rht_for_each(pos, tbl, hash) \ argument
392 rht_for_each_continue(pos, (tbl)->buckets[hash], tbl, hash)
403 #define rht_for_each_entry_continue(tpos, pos, head, tbl, hash, member) \ argument
404 for (pos = rht_dereference_bucket(head, tbl, hash); \
405 (!rht_is_a_nulls(pos)) && rht_entry(tpos, pos, member); \
406 pos = rht_dereference_bucket((pos)->next, tbl, hash))
416 #define rht_for_each_entry(tpos, pos, tbl, hash, member) \ argument
417 rht_for_each_entry_continue(tpos, pos, (tbl)->buckets[hash], \
432 #define rht_for_each_entry_safe(tpos, pos, next, tbl, hash, member) \ argument
433 for (pos = rht_dereference_bucket((tbl)->buckets[hash], tbl, hash), \
434 next = !rht_is_a_nulls(pos) ? \
435 rht_dereference_bucket(pos->next, tbl, hash) : NULL; \
436 (!rht_is_a_nulls(pos)) && rht_entry(tpos, pos, member); \
437 pos = next, \
438 next = !rht_is_a_nulls(pos) ? \
439 rht_dereference_bucket(pos->next, tbl, hash) : NULL)
452 #define rht_for_each_rcu_continue(pos, head, tbl, hash) \ argument
454 pos = rht_dereference_bucket_rcu(head, tbl, hash); \
455 !rht_is_a_nulls(pos); \
456 pos = rcu_dereference_raw(pos->next))
468 #define rht_for_each_rcu(pos, tbl, hash) \ argument
469 rht_for_each_rcu_continue(pos, (tbl)->buckets[hash], tbl, hash)
484 #define rht_for_each_entry_rcu_continue(tpos, pos, head, tbl, hash, member) \ argument
486 pos = rht_dereference_bucket_rcu(head, tbl, hash); \
487 (!rht_is_a_nulls(pos)) && rht_entry(tpos, pos, member); \
488 pos = rht_dereference_bucket_rcu(pos->next, tbl, hash))
502 #define rht_for_each_entry_rcu(tpos, pos, tbl, hash, member) \ argument
503 rht_for_each_entry_rcu_continue(tpos, pos, (tbl)->buckets[hash],\