Home
last modified time | relevance | path

Searched refs:node1 (Results 1 – 22 of 22) sorted by relevance

/linux/tools/testing/selftests/net/hsr/
H A Dlink_faults.sh51 setup_ns node1 node2 node3
55 ip link add vethA netns "$node1" type veth peer name vethB netns "$node2"
58 ip link add vethA netns "$node3" type veth peer name vethB netns "$node1"
61 ip -net "$node1" link set address 00:11:22:00:01:01 dev vethA
62 ip -net "$node1" link set address 00:11:22:00:01:02 dev vethB
71 ip -net "$node1" link add name hsr1 type hsr proto 0 version "$ver" \
79 ip -net "$node1" addr add 100.64.0.1/24 dev hsr1
84 ip -net "$node1" link set vethA up
85 ip -net "$node1" link set vethB up
86 ip -net "$node1" link set hsr1 up
[all …]
H A Dprp_ping.sh43 ip link add vethA netns "$node1" type veth peer name vethA netns "$node2"
44 ip link add vethB netns "$node1" type veth peer name vethB netns "$node2"
47 ip -net "$node1" link set address 00:11:22:00:00:01 dev vethA
51 ip -net "$node1" link add name prp1 type hsr \
57 ip -net "$node1" addr add 100.64.0.1/24 dev prp1
58 ip -net "$node1" addr add dead:beef:0::1/64 dev prp1 nodad
63 ip -net "$node1" link set vethA up
64 ip -net "$node1" link set vethB up
65 ip -net "$node1" link set prp1 up
75 ip -net "$node1" link add link prp1 name prp1.2 type vlan id 2
[all …]
/linux/drivers/firewire/
H A Dcore-topology.c339 static void move_tree(struct fw_node *node0, struct fw_node *node1, int port) in move_tree() argument
344 tree = node1->ports[port]; in move_tree()
347 if (tree->ports[i] == node1) { in move_tree()
362 struct fw_node *node0, *node1, *next1; in update_tree() local
371 node1 = fw_node(list1.next); in update_tree()
374 WARN_ON(node0->port_count != node1->port_count); in update_tree()
376 if (node0->link_on && !node1->link_on) in update_tree()
378 else if (!node0->link_on && node1->link_on) in update_tree()
380 else if (node1->initiated_reset && node1->link_on) in update_tree()
385 node0->node_id = node1->node_id; in update_tree()
[all …]
/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Ddevlink.sh806 local node1="$DL_HANDLE/$node1_name"
807 rate_node_add "$node1"
808 check_err $? "Failed to add node $node1"
815 rate_attr_tx_rate_check $node1 tx_share $node_tx_share \
816 $DEBUGFS_DIR/rate_nodes/${node1##*/}/tx_share
819 rate_attr_tx_rate_check $node1 tx_max $node_tx_max \
820 $DEBUGFS_DIR/rate_nodes/${node1##*/}/tx_max
824 rate_attr_tc_bw_check $node1 "$tc_bw" \
828 rate_node_del "$node1"
829 check_err $? "Failed to delete node $node1"
[all …]
/linux/drivers/pci/hotplug/
H A Dcpqphp_ctrl.c815 struct pci_resource *node1; in cpqhp_resource_sort_and_combine() local
837 node1 = *head; in cpqhp_resource_sort_and_combine()
839 node1->next = (*head)->next; in cpqhp_resource_sort_and_combine()
840 (*head)->next = node1; in cpqhp_resource_sort_and_combine()
844 node1 = (*head); in cpqhp_resource_sort_and_combine()
846 while (node1->next && node1->next->next) { in cpqhp_resource_sort_and_combine()
847 if (node1->next->base > node1->next->next->base) { in cpqhp_resource_sort_and_combine()
849 node2 = node1->next; in cpqhp_resource_sort_and_combine()
850 node1->next = node1->next->next; in cpqhp_resource_sort_and_combine()
851 node1 = node1->next; in cpqhp_resource_sort_and_combine()
[all …]
/linux/lib/
H A Dunion_find.c33 void uf_union(struct uf_node *node1, struct uf_node *node2) in uf_union() argument
35 struct uf_node *root1 = uf_find(node1); in uf_union()
/linux/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_symbol.c300 symbol_node_t *node1, *node2; in symlist_free() local
302 node1 = SLIST_FIRST(symlist); in symlist_free()
303 while (node1 != NULL) { in symlist_free()
304 node2 = SLIST_NEXT(node1, links); in symlist_free()
305 free(node1); in symlist_free()
306 node1 = node2; in symlist_free()
/linux/tools/verification/rvgen/rvgen/
H A Dltl2ba.py215 node1 = GraphNode(node.incoming,
223 return node2.expand(node1.expand(node_set))
237 node1 = GraphNode(node.incoming,
245 return node2.expand(node1.expand(node_set))
259 node1 = GraphNode(node.incoming,
267 return node2.expand(node1.expand(node_set))
/linux/drivers/base/test/
H A Dproperty-entry-test.c408 static const struct software_node node1 = { .name = "1" }; in pe_test_reference() local
410 static const struct software_node *group[] = { &node1, &node2, NULL }; in pe_test_reference()
413 SOFTWARE_NODE_REFERENCE(&node1), in pe_test_reference()
418 PROPERTY_ENTRY_REF("ref-1", &node1), in pe_test_reference()
437 KUNIT_EXPECT_PTR_EQ(test, to_software_node(ref.fwnode), &node1); in pe_test_reference()
471 KUNIT_EXPECT_PTR_EQ(test, to_software_node(ref.fwnode), &node1); in pe_test_reference()
/linux/tools/testing/selftests/alsa/
H A Dpcm-test.c125 snd_config_t *pcm_config, *node1, *node2; in missing_devices() local
133 node1 = snd_config_iterator_entry(i1); in missing_devices()
134 device = device_from_id(node1); in missing_devices()
137 if (snd_config_get_type(node1) != SND_CONFIG_TYPE_COMPOUND) in missing_devices()
139 snd_config_for_each(i2, next2, node1) { 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.h608 struct hlist_node *node1 = left->first; in hlists_swap_heads_rcu() local
612 rcu_assign_pointer(right->first, node1); in hlists_swap_heads_rcu()
614 WRITE_ONCE(node1->pprev, &right->first); in hlists_swap_heads_rcu()
/linux/fs/xfs/libxfs/
H A Dxfs_da_btree.c934 struct xfs_da_intnode *node1; in xfs_da3_node_rebalance() local
950 node1 = blk1->bp->b_addr; in xfs_da3_node_rebalance()
952 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr1, node1); in xfs_da3_node_rebalance()
965 swap(node1, node2); in xfs_da3_node_rebalance()
966 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr1, node1); in xfs_da3_node_rebalance()
1015 XFS_DA_LOGRANGE(node1, btree_d, tmp)); in xfs_da3_node_rebalance()
1031 xfs_da3_node_hdr_to_disk(dp->i_mount, node1, &nodehdr1); in xfs_da3_node_rebalance()
1033 XFS_DA_LOGRANGE(node1, &node1->hdr, in xfs_da3_node_rebalance()
1047 node1 = blk1->bp->b_addr; in xfs_da3_node_rebalance()
1049 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr1, node1); in xfs_da3_node_rebalance()
[all …]
/linux/net/ipv4/
H A Dfib_trie.c554 struct key_vector *node0, *node1; in inflate() local
591 node1 = tnode_new(inode->key | m, inode->pos, inode->bits - 1); in inflate()
592 if (!node1) in inflate()
596 tnode_free_append(tn, node1); in inflate()
603 put_child(node1, --j, get_child(inode, --k)); in inflate()
605 put_child(node1, --j, get_child(inode, --k)); in inflate()
610 NODE_INIT_PARENT(node1, tn); in inflate()
614 put_child(tn, 2 * i + 1, node1); in inflate()
648 struct key_vector *node1 = get_child(oldtnode, --i); in halve() local
653 if (!node1 || !node0) { in halve()
[all …]
/linux/samples/damon/
H A DKconfig38 node0 is for DDR5 DRAMs connected via DIMM, while node1 is for DDR4
/linux/arch/powerpc/mm/
H A Dnuma.c202 int node1, node2; in __cpu_form2_relative_distance() local
204 node1 = associativity_to_nid(cpu1_assoc); in __cpu_form2_relative_distance()
207 dist = numa_distance_table[node1][node2]; in __cpu_form2_relative_distance()
/linux/Documentation/networking/
H A Dmulti-pf-netdev.rst138 NUMA node1 CPU(s): 12-23
140 PF0 on node0, PF1 on node1.
/linux/tools/testing/selftests/net/
H A Dioam6_parser.c38 static struct ioam_config node1 = { variable
598 return check_data(trace, trace_size, node1, true); in check_ioam_trace()
/linux/tools/perf/
H A Dbuiltin-kmem.c202 int node1, node2; in evsel__process_alloc_event() local
204 node1 = cpu__get_node((struct perf_cpu){.cpu = sample->cpu}); in evsel__process_alloc_event()
211 if ((node2 != NUMA_NO_NODE) && (node1 != node2)) in evsel__process_alloc_event()
/linux/Documentation/admin-guide/mm/
H A Dhugetlbpage.rst146 It will allocate 1 2M hugepage on node0 and 2 2M hugepages on node1.
H A Dnuma_memory_policy.rst260 will be allocated on node0 for every 2 pages allocated on node1.
/linux/Documentation/filesystems/
H A Dproc.rst695 node locality page counters (N0 == node0, N1 == node1, ...) and the kernel page