Searched refs:tpos (Results 1 - 8 of 8) sorted by relevance
/linux-4.4.14/include/linux/ |
H A D | list_bl.h | 136 * @tpos: the type * to use as a loop cursor. 142 #define hlist_bl_for_each_entry(tpos, pos, head, member) \ 145 ({ tpos = hlist_bl_entry(pos, typeof(*tpos), member); 1;}); \ 150 * @tpos: the type * to use as a loop cursor. 156 #define hlist_bl_for_each_entry_safe(tpos, pos, n, head, member) \ 159 ({ tpos = hlist_bl_entry(pos, typeof(*tpos), member); 1;}); \
|
H A D | list_nulls.h | 93 * @tpos: the type * to use as a loop cursor. 99 #define hlist_nulls_for_each_entry(tpos, pos, head, member) \ 102 ({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); 1;}); \ 107 * @tpos: the type * to use as a loop cursor. 112 #define hlist_nulls_for_each_entry_from(tpos, pos, member) \ 114 ({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); 1;}); \
|
H A D | rculist_bl.h | 116 * @tpos: the type * to use as a loop cursor. 122 #define hlist_bl_for_each_entry_rcu(tpos, pos, head, member) \ 125 ({ tpos = hlist_bl_entry(pos, typeof(*tpos), member); 1; }); \
|
H A D | rculist_nulls.h | 103 * @tpos: the type * to use as a loop cursor. 113 #define hlist_nulls_for_each_entry_rcu(tpos, pos, head, member) \ 117 ({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); 1; }); \
|
H A D | rhashtable.h | 372 #define rht_entry(tpos, pos, member) \ 373 ({ tpos = container_of(pos, typeof(*tpos), member); 1; }) 398 * @tpos: the type * to use as a loop cursor. 405 #define rht_for_each_entry_continue(tpos, pos, head, tbl, hash, member) \ 407 (!rht_is_a_nulls(pos)) && rht_entry(tpos, pos, member); \ 412 * @tpos: the type * to use as a loop cursor. 418 #define rht_for_each_entry(tpos, pos, tbl, hash, member) \ 419 rht_for_each_entry_continue(tpos, pos, (tbl)->buckets[hash], \ 424 * @tpos: the type * to use as a loop cursor. 434 #define rht_for_each_entry_safe(tpos, pos, next, tbl, hash, member) \ 438 (!rht_is_a_nulls(pos)) && rht_entry(tpos, pos, member); \ 475 * @tpos: the type * to use as a loop cursor. 486 #define rht_for_each_entry_rcu_continue(tpos, pos, head, tbl, hash, member) \ 489 (!rht_is_a_nulls(pos)) && rht_entry(tpos, pos, member); \ 494 * @tpos: the type * to use as a loop cursor. 504 #define rht_for_each_entry_rcu(tpos, pos, tbl, hash, member) \ 505 rht_for_each_entry_rcu_continue(tpos, pos, (tbl)->buckets[hash],\
|
/linux-4.4.14/drivers/net/ethernet/cisco/enic/ |
H A D | enic_clsf.c | 158 struct enic_rfs_fltr_node *tpos; htbl_key_search() local 160 hlist_for_each_entry(tpos, h, node) htbl_key_search() 161 if (tpos->keys.addrs.v4addrs.src == k->addrs.v4addrs.src && htbl_key_search() 162 tpos->keys.addrs.v4addrs.dst == k->addrs.v4addrs.dst && htbl_key_search() 163 tpos->keys.ports.ports == k->ports.ports && htbl_key_search() 164 tpos->keys.basic.ip_proto == k->basic.ip_proto && htbl_key_search() 165 tpos->keys.basic.n_proto == k->basic.n_proto) htbl_key_search() 166 return tpos; htbl_key_search()
|
/linux-4.4.14/drivers/sbus/char/ |
H A D | bbc_envctrl.c | 539 struct bbc_cpu_temperature *tp, *tpos; destroy_all_temps() local 541 list_for_each_entry_safe(tp, tpos, &bp->temps, bp_list) { destroy_all_temps()
|
/linux-4.4.14/include/net/ |
H A D | sock.h | 692 * @tpos: the type * to use as a loop cursor. 698 #define sk_nulls_for_each_entry_offset(tpos, pos, head, offset) \ 701 ({ tpos = (typeof(*tpos) *)((void *)pos - offset); 1;}); \
|
Completed in 379 milliseconds