/linux-6.1.9/include/linux/ |
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); \
|
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;}); \
|
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;}); \
|
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; }); \
|
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, \ 468 #define rht_for_each_entry_safe(tpos, pos, next, tbl, hash, member) \ argument 472 (!rht_is_a_nulls(pos)) && rht_entry(tpos, pos, member); \ 523 #define rht_for_each_entry_rcu_from(tpos, pos, head, tbl, hash, member) \ argument 526 (!rht_is_a_nulls(pos)) && rht_entry(tpos, pos, member); \ [all …]
|
/linux-6.1.9/drivers/net/ethernet/cisco/enic/ |
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-6.1.9/arch/powerpc/platforms/powernv/ |
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-6.1.9/Documentation/RCU/ |
D | rculist_nulls.rst | 56 ({ tpos = hlist_entry(pos, typeof(*tpos), member); 1; }); 68 ({ tpos = hlist_entry(pos, typeof(*tpos), member); 1; });
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qede/ |
D | qede_filter.c | 366 static bool qede_compare_ip_addr(struct qede_arfs_fltr_node *tpos, in qede_compare_ip_addr() argument 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() 380 !memcmp(&tpos->tuple.dst_ipv6, &ipv6_hdr(skb)->daddr, size)) 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() [all …]
|
/linux-6.1.9/drivers/sbus/char/ |
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-6.1.9/include/net/ |
D | sock.h | 908 #define sk_for_each_entry_offset_rcu(tpos, pos, head, offset) \ argument 911 ({ tpos = (typeof(*tpos) *)((void *)pos - offset); 1;}); \
|
/linux-6.1.9/fs/ocfs2/ |
D | refcounttree.c | 4489 u32 p_cluster, num_clusters, slast, spos, tpos, remapped_clus = 0; in ocfs2_reflink_remap_extent() local 4499 tpos = ocfs2_bytes_to_clusters(t_inode->i_sb, pos_out); in ocfs2_reflink_remap_extent() 4519 pstart = ocfs2_clusters_to_bytes(t_inode->i_sb, tpos); in ocfs2_reflink_remap_extent() 4557 tpos, p_cluster, in ocfs2_reflink_remap_extent() 4570 tpos += num_clusters; in ocfs2_reflink_remap_extent()
|
/linux-6.1.9/drivers/infiniband/hw/irdma/ |
D | cm.c | 1510 struct list_head *pos, *tpos; in irdma_del_multiple_qhash() local 1515 list_for_each_safe (pos, tpos, in irdma_del_multiple_qhash() 4275 struct list_head *pos, *tpos; in irdma_qhash_ctrl() local 4282 list_for_each_safe (pos, tpos, child_listen_list) { in irdma_qhash_ctrl()
|