Home
last modified time | relevance | path

Searched refs:node2 (Results 1 – 25 of 31) sorted by relevance

12

/linux/tools/testing/selftests/bpf/progs/
H A Dlinked_list_fail.c83 CHECK(global, push_front, &ghead, &f->node2);
84 CHECK(global, push_back, &ghead, &f->node2);
86 CHECK(map, push_front, &v->head, &f->node2);
87 CHECK(map, push_back, &v->head, &f->node2);
89 CHECK(inner_map, push_front, &iv->head, &f->node2);
90 CHECK(inner_map, push_back, &iv->head, &f->node2);
144 CHECK(kptr_global, op, &f1->lock, &ghead, &f->node2); \
145 CHECK(kptr_map, op, &f1->lock, &v->head, &f->node2); \
146 CHECK(kptr_inner_map, op, &f1->lock, &iv->head, &f->node2); \
148 CHECK(global_global, op, &glock2, &ghead, &f->node2); \
[all …]
H A Dlinked_list.c13 struct bpf_list_head head __contains(foo, node2);
22 private(C) struct bpf_list_head ghead_array[2] __contains(foo, node2);
23 private(C) struct bpf_list_head ghead_array_one[1] __contains(foo, node2);
41 bpf_obj_drop(container_of(n, struct foo, node2)); in list_push_pop()
50 bpf_obj_drop(container_of(n, struct foo, node2)); in list_push_pop()
58 bpf_list_push_front(head, &f->node2); in list_push_pop()
67 f = container_of(n, struct foo, node2); in list_push_pop()
75 bpf_list_push_front(head, &f->node2); in list_push_pop()
82 f = container_of(n, struct foo, node2); in list_push_pop()
93 bpf_obj_drop(container_of(n, struct foo, node2)); in list_push_pop()
[all …]
H A Dlinked_list.h19 struct bpf_list_node node2; member
25 struct bpf_list_head head __contains(foo, node2);
53 private(A) struct bpf_list_head ghead __contains(foo, node2);
/linux/arch/sparc/prom/
H A Dtree_32.c234 phandle node = prom_root_node, node2; in prom_finddevice() local
256 node2 = node; in prom_finddevice()
257 while (node2 && (s32)node2 != -1) { in prom_finddevice()
258 if (prom_getproperty (node2, "reg", (char *)reg, sizeof (reg)) > 0) { in prom_finddevice()
260 node = node2; in prom_finddevice()
264 node2 = prom_getsibling(node2); in prom_finddevice()
265 if (!node2 || (s32)node2 == -1) in prom_finddevice()
267 node2 = prom_searchsiblings(prom_getsibling(node2), nbuf); in prom_finddevice()
/linux/include/net/
H A Dnetrom.h164 #define nr_neigh_for_each_safe(__nr_neigh, node2, list) \ argument
165 hlist_for_each_entry_safe(__nr_neigh, node2, list, neigh_node)
170 #define nr_node_for_each_safe(__nr_node, node2, list) \ argument
171 hlist_for_each_entry_safe(__nr_node, node2, list, node_node)
/linux/lib/
H A Dunion_find.c33 void uf_union(struct uf_node *node1, struct uf_node *node2) in uf_union() argument
36 struct uf_node *root2 = uf_find(node2); in uf_union()
/linux/drivers/base/test/
H A Dproperty-entry-test.c409 static const struct software_node node2 = { .name = "2" }; in pe_test_reference() local
410 static const struct software_node *group[] = { &node1, &node2, NULL }; in pe_test_reference()
414 SOFTWARE_NODE_REFERENCE(&node2, 3, 4), in pe_test_reference()
419 PROPERTY_ENTRY_REF("ref-2", &node2, 1, 2), in pe_test_reference()
448 KUNIT_EXPECT_PTR_EQ(test, to_software_node(ref.fwnode), &node2); in pe_test_reference()
456 KUNIT_EXPECT_PTR_EQ(test, to_software_node(ref.fwnode), &node2); in pe_test_reference()
478 KUNIT_EXPECT_PTR_EQ(test, to_software_node(ref.fwnode), &node2); in pe_test_reference()
/linux/fs/hfs/
H A Dbnode.c246 struct hfs_bnode *node, *node2; in __hfs_bnode_create() local
270 node2 = hfs_bnode_findhash(tree, cnid); in __hfs_bnode_create()
271 if (!node2) { in __hfs_bnode_create()
277 hfs_bnode_get(node2); in __hfs_bnode_create()
280 wait_event(node2->lock_wq, !test_bit(HFS_BNODE_NEW, &node2->flags)); in __hfs_bnode_create()
281 return node2; in __hfs_bnode_create()
/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Ddevlink.sh684 local node2="$DL_HANDLE/$node2_name"
685 rate_node_add "$node2"
686 check_err $? "Failed to add node $node2"
688 rate_attr_parent_check $node2 $node1_name \
690 rate_node_del "$node2"
691 check_err $? "Failed to delete node $node2"
/linux/fs/hfsplus/
H A Dbnode.c395 struct hfs_bnode *node, *node2; in __hfs_bnode_create() local
420 node2 = hfs_bnode_findhash(tree, cnid); in __hfs_bnode_create()
421 if (!node2) { in __hfs_bnode_create()
429 wait_event(node2->lock_wq, in __hfs_bnode_create()
430 !test_bit(HFS_BNODE_NEW, &node2->flags)); in __hfs_bnode_create()
431 return node2; in __hfs_bnode_create()
/linux/tools/testing/selftests/alsa/
H A Dpcm-test.c125 snd_config_t *pcm_config, *node1, *node2; in missing_devices() local
140 node2 = snd_config_iterator_entry(i2); in missing_devices()
141 subdevice = device_from_id(node2); in missing_devices()
144 if (conf_get_subtree(node2, "PLAYBACK", NULL)) in missing_devices()
146 if (conf_get_subtree(node2, "CAPTURE", NULL)) in missing_devices()
/linux/include/linux/
H A Dunion_find.h39 void uf_union(struct uf_node *node1, struct uf_node *node2);
H A Drculist.h599 struct hlist_node *node2 = right->first; in hlists_swap_heads_rcu() local
601 rcu_assign_pointer(left->first, node2); in hlists_swap_heads_rcu()
603 WRITE_ONCE(node2->pprev, &left->first); in hlists_swap_heads_rcu()
/linux/fs/xfs/libxfs/
H A Dxfs_da_btree.c935 struct xfs_da_intnode *node2; in xfs_da3_node_rebalance() local
951 node2 = blk2->bp->b_addr; in xfs_da3_node_rebalance()
953 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr2, node2); in xfs_da3_node_rebalance()
965 swap(node1, node2); in xfs_da3_node_rebalance()
967 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr2, node2); in xfs_da3_node_rebalance()
1036 xfs_da3_node_hdr_to_disk(dp->i_mount, node2, &nodehdr2); in xfs_da3_node_rebalance()
1038 XFS_DA_LOGRANGE(node2, &node2->hdr, in xfs_da3_node_rebalance()
1048 node2 = blk2->bp->b_addr; in xfs_da3_node_rebalance()
1050 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr2, node2); in xfs_da3_node_rebalance()
1869 struct xfs_da_intnode *node2; in xfs_da3_node_order() local
[all …]
/linux/tools/testing/memblock/tests/
H A Dalloc_exact_nid_api.c202 struct memblock_region *node2 = &memblock.memory.regions[6]; in alloc_exact_nid_top_down_numa_no_overlap_split_check() local
212 min_addr = node2->base - SZ_256; in alloc_exact_nid_top_down_numa_no_overlap_split_check()
473 struct memblock_region *node2 = &memblock.memory.regions[6]; in alloc_exact_nid_bottom_up_numa_no_overlap_split_check() local
483 min_addr = node2->base - SZ_256; in alloc_exact_nid_bottom_up_numa_no_overlap_split_check()
H A Dalloc_nid_api.c1639 struct memblock_region *node2 = &memblock.memory.regions[6]; in alloc_nid_top_down_numa_no_overlap_split_check() local
1649 min_addr = node2->base - SZ_256; in alloc_nid_top_down_numa_no_overlap_split_check()
2187 struct memblock_region *node2 = &memblock.memory.regions[6]; in alloc_nid_bottom_up_numa_no_overlap_split_check() local
2197 min_addr = node2->base - SZ_256; in alloc_nid_bottom_up_numa_no_overlap_split_check()
/linux/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_symbol.c300 symbol_node_t *node1, *node2; in symlist_free() local
304 node2 = SLIST_NEXT(node1, links); in symlist_free()
306 node1 = node2; in symlist_free()
/linux/scripts/gcc-plugins/
H A Dgcc-common.h286 static inline void cgraph_call_node_duplication_hooks(cgraph_node_ptr node, cgraph_node_ptr node2) in cgraph_call_node_duplication_hooks() argument
288 symtab->call_cgraph_duplication_hooks(node, node2); in cgraph_call_node_duplication_hooks()
/linux/fs/bcachefs/
H A Dtrace.h1753 __array(char, node2, 24 )
1781 strscpy(__entry->node2, bch2_err_str(PTR_ERR(b)), sizeof(__entry->node0));
1783 scnprintf(__entry->node2, sizeof(__entry->node0), "%px", &b->c);
1808 __entry->node2,
1841 __array(char, node2, 24 )
1866 strscpy(__entry->node2, bch2_err_str(PTR_ERR(b)), sizeof(__entry->node0));
1868 scnprintf(__entry->node2, sizeof(__entry->node0), "%px", &b->c);
1893 __entry->node2,
/linux/arch/powerpc/mm/
H A Dnuma.c202 int node1, node2; in __cpu_form2_relative_distance() local
205 node2 = associativity_to_nid(cpu2_assoc); in __cpu_form2_relative_distance()
207 dist = numa_distance_table[node1][node2]; in __cpu_form2_relative_distance()
/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_ethtool.c246 struct hlist_node *node2; in txgbe_match_ethtool_fdir_entry() local
248 hlist_for_each_entry_safe(rule, node2, &txgbe->fdir_filter_list, in txgbe_match_ethtool_fdir_entry()
/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Dmarvell,icu.txt74 node2 {
/linux/drivers/pci/hotplug/
H A Dcpqphp_ctrl.c816 struct pci_resource *node2; in cpqhp_resource_sort_and_combine() local
849 node2 = node1->next; in cpqhp_resource_sort_and_combine()
852 node2->next = node1->next; in cpqhp_resource_sort_and_combine()
853 node1->next = node2; in cpqhp_resource_sort_and_combine()
866 node2 = node1->next; in cpqhp_resource_sort_and_combine()
868 kfree(node2); in cpqhp_resource_sort_and_combine()
/linux/lib/842/
H A D842_compress.c106 struct sw842_hlist_node2 node2[1 << I2_BITS]; member
/linux/fs/ext4/
H A Dnamei.c2540 struct dx_node *node2; in ext4_dx_add_entry() local
2572 node2 = (struct dx_node *)(bh2->b_data); in ext4_dx_add_entry()
2573 entries2 = node2->entries; in ext4_dx_add_entry()
2574 memset(&node2->fake, 0, sizeof(struct fake_dirent)); in ext4_dx_add_entry()
2575 node2->fake.rec_len = ext4_rec_len_to_disk(sb->s_blocksize, in ext4_dx_add_entry()

12