/linux/include/linux/ |
A D | list_nulls.h | 127 #define hlist_nulls_for_each_entry(tpos, pos, head, member) \ argument 130 ({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); 1;}); \ 140 #define hlist_nulls_for_each_entry_from(tpos, pos, member) \ argument 142 ({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); 1;}); \
|
A D | rculist_nulls.h | 167 #define hlist_nulls_for_each_entry_rcu(tpos, pos, head, member) \ argument 171 ({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); 1; }); \ 182 #define hlist_nulls_for_each_entry_safe(tpos, pos, head, member) \ argument 186 ({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); \
|
A D | list_bl.h | 169 #define hlist_bl_for_each_entry(tpos, pos, head, member) \ argument 172 ({ tpos = hlist_bl_entry(pos, typeof(*tpos), member); 1;}); \ 183 #define hlist_bl_for_each_entry_safe(tpos, pos, n, head, member) \ argument 186 ({ tpos = hlist_bl_entry(pos, typeof(*tpos), member); 1;}); \
|
A D | rhashtable.h | 283 #define rht_entry(tpos, pos, member) \ argument 284 ({ tpos = container_of(pos, typeof(*tpos), member); 1; }) 438 #define rht_for_each_entry_from(tpos, pos, head, tbl, hash, member) \ argument 440 (!rht_is_a_nulls(pos)) && rht_entry(tpos, pos, member); \ 451 #define rht_for_each_entry(tpos, pos, tbl, hash, member) \ argument 452 rht_for_each_entry_from(tpos, pos, \ 526 (!rht_is_a_nulls(pos)) && rht_entry(tpos, pos, member); \ 541 #define rht_for_each_entry_rcu(tpos, pos, tbl, hash, member) \ argument 542 rht_for_each_entry_rcu_from(tpos, pos, \ 567 #define rhl_for_each_entry_rcu(tpos, pos, list, member) \ argument [all …]
|
A D | rculist_bl.h | 95 #define hlist_bl_for_each_entry_rcu(tpos, pos, head, member) \ argument 98 ({ tpos = hlist_bl_entry(pos, typeof(*tpos), member); 1; }); \
|
/linux/drivers/net/ethernet/cisco/enic/ |
A D | enic_clsf.c | 159 struct enic_rfs_fltr_node *tpos; in htbl_key_search() local 161 hlist_for_each_entry(tpos, h, node) in htbl_key_search() 162 if (tpos->keys.addrs.v4addrs.src == k->addrs.v4addrs.src && in htbl_key_search() 163 tpos->keys.addrs.v4addrs.dst == k->addrs.v4addrs.dst && in htbl_key_search() 164 tpos->keys.ports.ports == k->ports.ports && in htbl_key_search() 165 tpos->keys.basic.ip_proto == k->basic.ip_proto && in htbl_key_search() 166 tpos->keys.basic.n_proto == k->basic.n_proto) in htbl_key_search() 167 return tpos; in htbl_key_search()
|
/linux/arch/powerpc/platforms/powernv/ |
A D | opal-core.c | 167 loff_t tpos = pos; in read_opalcore() local 181 if (tpos < oc_conf->opalcorebuf_sz) { in read_opalcore() 182 tsz = min_t(size_t, oc_conf->opalcorebuf_sz - tpos, count); in read_opalcore() 183 memcpy(to, oc_conf->opalcorebuf + tpos, tsz); in read_opalcore() 185 tpos += tsz; in read_opalcore() 194 if (tpos < m->offset + m->size) { in read_opalcore() 197 tsz = min_t(size_t, m->offset + m->size - tpos, count); in read_opalcore() 198 addr = (void *)(m->paddr + tpos - m->offset); in read_opalcore() 201 tpos += tsz; in read_opalcore() 206 return (tpos - pos); in read_opalcore()
|
/linux/Documentation/RCU/ |
A D | rculist_nulls.rst | 56 ({ tpos = hlist_entry(pos, typeof(*tpos), member); 1; }); 68 ({ tpos = hlist_entry(pos, typeof(*tpos), member); 1; });
|
/linux/drivers/net/ethernet/qlogic/qede/ |
A D | qede_filter.c | 370 if (tpos->tuple.src_ipv4 == ip_hdr(skb)->saddr && in qede_compare_ip_addr() 371 tpos->tuple.dst_ipv4 == ip_hdr(skb)->daddr) in qede_compare_ip_addr() 376 struct in6_addr *src = &tpos->tuple.src_ipv6; in qede_compare_ip_addr() 391 struct qede_arfs_fltr_node *tpos; in qede_arfs_htbl_key_search() local 393 hlist_for_each_entry(tpos, h, node) in qede_arfs_htbl_key_search() 394 if (tpos->tuple.ip_proto == ip_proto && in qede_arfs_htbl_key_search() 395 tpos->tuple.eth_proto == skb->protocol && in qede_arfs_htbl_key_search() 396 qede_compare_ip_addr(tpos, skb) && in qede_arfs_htbl_key_search() 397 tpos->tuple.src_port == src_port && in qede_arfs_htbl_key_search() 398 tpos->tuple.dst_port == dst_port) in qede_arfs_htbl_key_search() [all …]
|
/linux/drivers/sbus/char/ |
A D | bbc_envctrl.c | 540 struct bbc_cpu_temperature *tp, *tpos; in destroy_all_temps() local 542 list_for_each_entry_safe(tp, tpos, &bp->temps, bp_list) { in destroy_all_temps()
|
/linux/include/net/ |
A D | sock.h | 833 #define sk_for_each_entry_offset_rcu(tpos, pos, head, offset) \ argument 836 ({ tpos = (typeof(*tpos) *)((void *)pos - offset); 1;}); \
|
/linux/fs/ocfs2/ |
A D | refcounttree.c | 4517 u32 p_cluster, num_clusters, slast, spos, tpos, remapped_clus = 0; in ocfs2_reflink_remap_extent() local 4527 tpos = ocfs2_bytes_to_clusters(t_inode->i_sb, pos_out); in ocfs2_reflink_remap_extent() 4547 pstart = ocfs2_clusters_to_bytes(t_inode->i_sb, tpos); in ocfs2_reflink_remap_extent() 4585 tpos, p_cluster, in ocfs2_reflink_remap_extent() 4598 tpos += num_clusters; in ocfs2_reflink_remap_extent()
|
/linux/drivers/infiniband/hw/irdma/ |
A D | cm.c | 1511 struct list_head *pos, *tpos; in irdma_del_multiple_qhash() local 1515 list_for_each_safe (pos, tpos, in irdma_del_multiple_qhash() 4327 struct list_head *pos, *tpos; in irdma_qhash_ctrl() local 4334 list_for_each_safe (pos, tpos, child_listen_list) { in irdma_qhash_ctrl()
|