Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/bpf/progs/
H A Dlinked_list_fail.c84 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);
341 return *(int *)&f->node2; in direct_read_node()
352 *(int *)&f->node2 = 0; in direct_write_node()
367 bpf_list_push_front(&ghead, &f->node2); in use_after_unlock()
369 bpf_list_push_back(&ghead, &f->node2); in use_after_unlock()
397 bpf_list_push_front(&ghead, &f->node2); in list_double_add()
398 bpf_list_push_front(&ghead, &f->node2); in list_double_add()
400 bpf_list_push_back(&ghead, &f->node2); in list_double_add()
[all …]
H A Dlinked_list.c45 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()
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()
133 pf = container_of(n, struct foo, node2); in list_push_pop_multiple()
139 bpf_list_push_back(head, &pf->node2); in list_push_pop_multiple()
152 pf = container_of(n, struct foo, node2); in list_push_pop_multiple()
202 bpf_list_push_front(head, &f->node2); in list_in_list()
[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/tools/testing/selftests/net/
H A Dioam6_parser.c50 static struct ioam_config node2 = { variable
411 __u32 tmp32 = node2.egr_wide; in check_ioam_header_and_data()
412 __u16 tmp16 = node2.egr_id; in check_ioam_header_and_data()
415 node2.egr_id = 0xffff; in check_ioam_header_and_data()
416 node2.egr_wide = 0xffffffff; in check_ioam_header_and_data()
418 res = check_ioam6_data(&p, ioam6h, node2); in check_ioam_header_and_data()
420 node2.egr_id = tmp16; in check_ioam_header_and_data()
421 node2.egr_wide = tmp32; in check_ioam_header_and_data()
429 if (check_ioam6_data(&p, ioam6h, node2)) in check_ioam_header_and_data()
/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/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/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/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/tools/testing/selftests/alsa/
H A 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/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/drivers/pci/
H A 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/include/linux/
H A 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/fs/xfs/libxfs/
H A Dxfs_da_btree.c934 struct xfs_da_intnode *node2; in xfs_da3_node_rebalance() local
950 node2 = blk2->bp->b_addr; in xfs_da3_node_rebalance()
952 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr2, node2); in xfs_da3_node_rebalance()
964 swap(node1, node2); in xfs_da3_node_rebalance()
966 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr2, node2); in xfs_da3_node_rebalance()
1035 xfs_da3_node_hdr_to_disk(dp->i_mount, node2, &nodehdr2); in xfs_da3_node_rebalance()
1037 XFS_DA_LOGRANGE(node2, &node2->hdr, in xfs_da3_node_rebalance()
1047 node2 = blk2->bp->b_addr; in xfs_da3_node_rebalance()
1868 struct xfs_da_intnode *node2; in xfs_da3_node_order() local
1875 node2 = node2_bp->b_addr; in xfs_da3_node_order()
[all …]
/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/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/scripts/gcc-plugins/
H A 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/arch/powerpc/mm/
H A 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/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/tools/perf/
H A 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/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c3332 struct hlist_node *node2; in i40e_get_ethtool_fdir_all() local
3338 hlist_for_each_entry_safe(rule, node2, in i40e_get_ethtool_fdir_all()
3369 struct hlist_node *node2; in i40e_get_ethtool_fdir_entry() local
3374 hlist_for_each_entry_safe(rule, node2, in i40e_get_ethtool_fdir_entry()
3755 struct hlist_node *node2; in i40e_update_ethtool_fdir_entry() local
3761 hlist_for_each_entry_safe(rule, node2, in i40e_update_ethtool_fdir_entry()
4764 struct hlist_node *node2; in i40e_disallow_matching_filters() local
4767 hlist_for_each_entry_safe(rule, node2, in i40e_disallow_matching_filters()
5034 struct hlist_node *node2; in i40e_set_channels() local
5063 hlist_for_each_entry_safe(rule, node2, in i40e_set_channels()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c2540 struct hlist_node *node2; in ixgbe_get_ethtool_fdir_entry() local
2546 hlist_for_each_entry_safe(rule, node2, in ixgbe_get_ethtool_fdir_entry()
2607 struct hlist_node *node2; in ixgbe_get_ethtool_fdir_all() local
2614 hlist_for_each_entry_safe(rule, node2, in ixgbe_get_ethtool_fdir_all()
2714 struct hlist_node *node2; in ixgbe_update_ethtool_fdir_entry() local
2721 hlist_for_each_entry_safe(rule, node2, in ixgbe_update_ethtool_fdir_entry()
/linux/lib/842/
H A D842_compress.c106 struct sw842_hlist_node2 node2[1 << I2_BITS]; member

12