• Home
  • Raw
  • Download

Lines Matching refs:pos

283 #define rht_entry(tpos, pos, member) \  argument
284 ({ tpos = container_of(pos, typeof(*tpos), member); 1; })
422 #define rht_for_each_from(pos, head, tbl, hash) \ argument
423 for (pos = head; \
424 !rht_is_a_nulls(pos); \
425 pos = rht_dereference_bucket((pos)->next, tbl, hash))
433 #define rht_for_each(pos, tbl, hash) \ argument
434 rht_for_each_from(pos, rht_ptr(rht_bucket(tbl, hash), tbl, hash), \
446 #define rht_for_each_entry_from(tpos, pos, head, tbl, hash, member) \ argument
447 for (pos = head; \
448 (!rht_is_a_nulls(pos)) && rht_entry(tpos, pos, member); \
449 pos = rht_dereference_bucket((pos)->next, tbl, hash))
459 #define rht_for_each_entry(tpos, pos, tbl, hash, member) \ argument
460 rht_for_each_entry_from(tpos, pos, \
476 #define rht_for_each_entry_safe(tpos, pos, next, tbl, hash, member) \ argument
477 for (pos = rht_ptr(rht_bucket(tbl, hash), tbl, hash), \
478 next = !rht_is_a_nulls(pos) ? \
479 rht_dereference_bucket(pos->next, tbl, hash) : NULL; \
480 (!rht_is_a_nulls(pos)) && rht_entry(tpos, pos, member); \
481 pos = next, \
482 next = !rht_is_a_nulls(pos) ? \
483 rht_dereference_bucket(pos->next, tbl, hash) : NULL)
496 #define rht_for_each_rcu_from(pos, head, tbl, hash) \ argument
498 pos = head; \
499 !rht_is_a_nulls(pos); \
500 pos = rcu_dereference_raw(pos->next))
512 #define rht_for_each_rcu(pos, tbl, hash) \ argument
514 pos = rht_ptr_rcu(rht_bucket(tbl, hash)); \
515 !rht_is_a_nulls(pos); \
516 pos = rcu_dereference_raw(pos->next))
531 #define rht_for_each_entry_rcu_from(tpos, pos, head, tbl, hash, member) \ argument
533 pos = head; \
534 (!rht_is_a_nulls(pos)) && rht_entry(tpos, pos, member); \
535 pos = rht_dereference_bucket_rcu(pos->next, tbl, hash))
549 #define rht_for_each_entry_rcu(tpos, pos, tbl, hash, member) \ argument
550 rht_for_each_entry_rcu_from(tpos, pos, \
562 #define rhl_for_each_rcu(pos, list) \ argument
563 for (pos = list; pos; pos = rcu_dereference_raw(pos->next))
575 #define rhl_for_each_entry_rcu(tpos, pos, list, member) \ argument
576 for (pos = list; pos && rht_entry(tpos, pos, member); \
577 pos = rcu_dereference_raw(pos->next))