Home
last modified time | relevance | path

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

12

/linux-6.6.21/tools/testing/selftests/bpf/progs/
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 …]
Dlinked_list.c28 bpf_obj_drop(container_of(n, struct foo, node2)); in list_push_pop()
37 bpf_obj_drop(container_of(n, struct foo, node2)); in list_push_pop()
45 bpf_list_push_front(head, &f->node2); in list_push_pop()
54 f = container_of(n, struct foo, node2); in list_push_pop()
62 bpf_list_push_front(head, &f->node2); in list_push_pop()
69 f = container_of(n, struct foo, node2); in list_push_pop()
80 bpf_obj_drop(container_of(n, struct foo, node2)); in list_push_pop()
88 bpf_obj_drop(container_of(n, struct foo, node2)); in list_push_pop()
122 bpf_list_push_front(head, &f[i]->node2); in list_push_pop_multiple()
123 bpf_list_push_front(head, &f[i + 1]->node2); in list_push_pop_multiple()
[all …]
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-6.6.21/arch/sparc/prom/
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-6.6.21/tools/testing/selftests/net/
Dioam6_parser.c51 static struct ioam_config node2 = { variable
412 __u32 tmp32 = node2.egr_wide; in check_ioam_header_and_data()
413 __u16 tmp16 = node2.egr_id; in check_ioam_header_and_data()
416 node2.egr_id = 0xffff; in check_ioam_header_and_data()
417 node2.egr_wide = 0xffffffff; in check_ioam_header_and_data()
419 res = check_ioam6_data(&p, ioam6h, node2); in check_ioam_header_and_data()
421 node2.egr_id = tmp16; in check_ioam_header_and_data()
422 node2.egr_wide = tmp32; in check_ioam_header_and_data()
430 if (check_ioam6_data(&p, ioam6h, node2)) in check_ioam_header_and_data()
/linux-6.6.21/include/net/
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-6.6.21/drivers/base/test/
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-6.6.21/fs/hfs/
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-6.6.21/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink.sh677 local node2="$DL_HANDLE/$node2_name"
678 rate_node_add "$node2"
679 check_err $? "Failed to add node $node2"
681 rate_attr_parent_check $node2 $node1_name \
683 rate_node_del "$node2"
684 check_err $? "Failed to delete node $node2"
/linux-6.6.21/tools/testing/selftests/alsa/
Dpcm-test.c122 snd_config_t *pcm_config, *node1, *node2; in missing_devices() local
137 node2 = snd_config_iterator_entry(i2); in missing_devices()
138 subdevice = device_from_id(node2); in missing_devices()
141 if (conf_get_subtree(node2, "PLAYBACK", NULL)) in missing_devices()
143 if (conf_get_subtree(node2, "CAPTURE", NULL)) in missing_devices()
/linux-6.6.21/fs/hfsplus/
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-6.6.21/drivers/pci/
Dof.c135 struct device_node *node, *node2; in of_pci_find_child_device() local
146 for_each_child_of_node(node, node2) { in of_pci_find_child_device()
147 if (__of_pci_pci_compare(node2, devfn)) { in of_pci_find_child_device()
149 return node2; in of_pci_find_child_device()
/linux-6.6.21/include/linux/
Drculist.h550 struct hlist_node *node2 = right->first; in hlists_swap_heads_rcu() local
552 rcu_assign_pointer(left->first, node2); in hlists_swap_heads_rcu()
554 WRITE_ONCE(node2->pprev, &left->first); in hlists_swap_heads_rcu()
/linux-6.6.21/fs/xfs/libxfs/
Dxfs_da_btree.c881 struct xfs_da_intnode *node2; in xfs_da3_node_rebalance() local
897 node2 = blk2->bp->b_addr; in xfs_da3_node_rebalance()
899 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr2, node2); in xfs_da3_node_rebalance()
911 swap(node1, node2); in xfs_da3_node_rebalance()
913 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr2, node2); in xfs_da3_node_rebalance()
982 xfs_da3_node_hdr_to_disk(dp->i_mount, node2, &nodehdr2); in xfs_da3_node_rebalance()
984 XFS_DA_LOGRANGE(node2, &node2->hdr, in xfs_da3_node_rebalance()
994 node2 = blk2->bp->b_addr; in xfs_da3_node_rebalance()
996 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr2, node2); in xfs_da3_node_rebalance()
1778 struct xfs_da_intnode *node2; in xfs_da3_node_order() local
[all …]
/linux-6.6.21/drivers/scsi/aic7xxx/aicasm/
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-6.6.21/tools/testing/memblock/tests/
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()
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-6.6.21/scripts/gcc-plugins/
Dgcc-common.h291 static inline void cgraph_call_node_duplication_hooks(cgraph_node_ptr node, cgraph_node_ptr node2) in cgraph_call_node_duplication_hooks() argument
293 symtab->call_cgraph_duplication_hooks(node, node2); in cgraph_call_node_duplication_hooks()
/linux-6.6.21/arch/powerpc/mm/
Dnuma.c204 int node1, node2; in __cpu_form2_relative_distance() local
207 node2 = associativity_to_nid(cpu2_assoc); in __cpu_form2_relative_distance()
209 dist = numa_distance_table[node1][node2]; in __cpu_form2_relative_distance()
/linux-6.6.21/Documentation/devicetree/bindings/interrupt-controller/
Dmarvell,icu.txt74 node2 {
/linux-6.6.21/drivers/pci/hotplug/
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-6.6.21/tools/perf/
Dbuiltin-kmem.c202 int node1, node2; in evsel__process_alloc_event() local
205 node2 = evsel__intval(evsel, sample, "node"); in evsel__process_alloc_event()
211 if ((node2 != NUMA_NO_NODE) && (node1 != node2)) in evsel__process_alloc_event()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c3326 struct hlist_node *node2; in i40e_get_ethtool_fdir_all() local
3332 hlist_for_each_entry_safe(rule, node2, in i40e_get_ethtool_fdir_all()
3363 struct hlist_node *node2; in i40e_get_ethtool_fdir_entry() local
3367 hlist_for_each_entry_safe(rule, node2, in i40e_get_ethtool_fdir_entry()
3745 struct hlist_node *node2; in i40e_update_ethtool_fdir_entry() local
3751 hlist_for_each_entry_safe(rule, node2, in i40e_update_ethtool_fdir_entry()
4754 struct hlist_node *node2; in i40e_disallow_matching_filters() local
4757 hlist_for_each_entry_safe(rule, node2, in i40e_disallow_matching_filters()
5024 struct hlist_node *node2; in i40e_set_channels() local
5053 hlist_for_each_entry_safe(rule, node2, in i40e_set_channels()
/linux-6.6.21/drivers/gpu/drm/tests/
Ddrm_mm_test.c1160 const char *node1 = NULL, *node2 = NULL; in show_holes() local
1167 node2 = kasprintf(GFP_KERNEL, ", [%llx + %lld, color=%ld]", in show_holes()
1171 hole_start, hole_end, hole_end - hole_start, node2); in show_holes()
1173 kfree(node2); in show_holes()
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2539 struct hlist_node *node2; in ixgbe_get_ethtool_fdir_entry() local
2545 hlist_for_each_entry_safe(rule, node2, in ixgbe_get_ethtool_fdir_entry()
2606 struct hlist_node *node2; in ixgbe_get_ethtool_fdir_all() local
2613 hlist_for_each_entry_safe(rule, node2, in ixgbe_get_ethtool_fdir_all()
2713 struct hlist_node *node2; in ixgbe_update_ethtool_fdir_entry() local
2720 hlist_for_each_entry_safe(rule, node2, in ixgbe_update_ethtool_fdir_entry()

12