Home
last modified time | relevance | path

Searched refs:node1 (Results 1 - 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/drivers/firewire/
H A Dcore-topology.c386 static void move_tree(struct fw_node *node0, struct fw_node *node1, int port) in move_tree() argument
391 tree = node1->ports[port]; in move_tree()
394 if (tree->ports[i] == node1) { in move_tree()
409 struct fw_node *node0, *node1, *next1; in update_tree() local
418 node1 = fw_node(list1.next); in update_tree()
421 WARN_ON(node0->port_count != node1->port_count); in update_tree()
423 if (node0->link_on && !node1->link_on) in update_tree()
425 else if (!node0->link_on && node1->link_on) in update_tree()
427 else if (node1->initiated_reset && node1 in update_tree()
[all...]
/kernel/linux/linux-6.6/drivers/firewire/
H A Dcore-topology.c387 static void move_tree(struct fw_node *node0, struct fw_node *node1, int port) in move_tree() argument
392 tree = node1->ports[port]; in move_tree()
395 if (tree->ports[i] == node1) { in move_tree()
410 struct fw_node *node0, *node1, *next1; in update_tree() local
419 node1 = fw_node(list1.next); in update_tree()
422 WARN_ON(node0->port_count != node1->port_count); in update_tree()
424 if (node0->link_on && !node1->link_on) in update_tree()
426 else if (!node0->link_on && node1->link_on) in update_tree()
428 else if (node1->initiated_reset && node1 in update_tree()
[all...]
/kernel/liteos_a/kernel/base/include/
H A Dlos_binarytree_pri.h90 INT32 (*CompareNode)(const VOID *node1, const VOID *node2));
92 extern INT32 OsCompareLRNode(const VOID *node1, const VOID *node2);
95 extern INT32 OsCompareAddrNode(const VOID *node1, const VOID *node2);
98 extern INT32 OsCompareReqSizeNode(const VOID *node1, const VOID *node2);
101 extern INT32 OsCompareTaskIDNode(const VOID *node1, const VOID *node2);
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/netdevsim/
H A Ddevlink.sh646 local node1="$DL_HANDLE/$node1_name"
647 rate_node_add "$node1"
648 check_err $? "Failed to add node $node1"
655 rate_attr_tx_rate_check $node1 tx_share $node_tx_share \
656 $DEBUGFS_DIR/rate_nodes/${node1##*/}/tx_share
659 rate_attr_tx_rate_check $node1 tx_max $node_tx_max \
660 $DEBUGFS_DIR/rate_nodes/${node1##*/}/tx_max
662 rate_node_del "$node1"
663 check_err $? "Failed to delete node $node1"
669 local node1
[all...]
/kernel/linux/linux-5.10/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 in cpqhp_resource_sort_and_combine()
[all...]
/kernel/linux/linux-6.6/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 in cpqhp_resource_sort_and_combine()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_symbol.c299 symbol_node_t *node1, *node2; in symlist_free() local
301 node1 = SLIST_FIRST(symlist); in symlist_free()
302 while (node1 != NULL) { in symlist_free()
303 node2 = SLIST_NEXT(node1, links); in symlist_free()
304 free(node1); in symlist_free()
305 node1 = node2; in symlist_free()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/tools/testing/selftests/alsa/
H A Dpcm-test.c122 snd_config_t *pcm_config, *node1, *node2; in missing_devices() local
130 node1 = snd_config_iterator_entry(i1); in missing_devices()
131 device = device_from_id(node1); in missing_devices()
134 if (snd_config_get_type(node1) != SND_CONFIG_TYPE_COMPOUND) in missing_devices()
136 snd_config_for_each(i2, next2, node1) { in missing_devices()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_da_btree.c865 struct xfs_da_intnode *node1; in xfs_da3_node_rebalance() local
882 node1 = blk1->bp->b_addr; in xfs_da3_node_rebalance()
884 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr1, node1); in xfs_da3_node_rebalance()
897 tmpnode = node1; in xfs_da3_node_rebalance()
898 node1 = node2; in xfs_da3_node_rebalance()
900 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr1, node1); in xfs_da3_node_rebalance()
927 * Move the req'd B-tree elements from high in node1 to in xfs_da3_node_rebalance()
939 * high in node1. in xfs_da3_node_rebalance()
949 XFS_DA_LOGRANGE(node1, btree_d, tmp)); in xfs_da3_node_rebalance()
965 xfs_da3_node_hdr_to_disk(dp->i_mount, node1, in xfs_da3_node_rebalance()
1765 struct xfs_da_intnode *node1; xfs_da3_node_order() local
[all...]
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_da_btree.c880 struct xfs_da_intnode *node1; in xfs_da3_node_rebalance() local
896 node1 = blk1->bp->b_addr; in xfs_da3_node_rebalance()
898 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr1, node1); in xfs_da3_node_rebalance()
911 swap(node1, node2); in xfs_da3_node_rebalance()
912 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr1, node1); in xfs_da3_node_rebalance()
939 * Move the req'd B-tree elements from high in node1 to in xfs_da3_node_rebalance()
951 * high in node1. in xfs_da3_node_rebalance()
961 XFS_DA_LOGRANGE(node1, btree_d, tmp)); in xfs_da3_node_rebalance()
977 xfs_da3_node_hdr_to_disk(dp->i_mount, node1, &nodehdr1); in xfs_da3_node_rebalance()
979 XFS_DA_LOGRANGE(node1, in xfs_da3_node_rebalance()
1777 struct xfs_da_intnode *node1; xfs_da3_node_order() local
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Drculist.h543 * The lists start out as [@left ][node1 ... ] and
546 * [@right ][node1 ... ]
550 struct hlist_node *node1 = left->first; in hlists_swap_heads_rcu() local
554 rcu_assign_pointer(right->first, node1); in hlists_swap_heads_rcu()
556 WRITE_ONCE(node1->pprev, &right->first); in hlists_swap_heads_rcu()
/kernel/linux/linux-6.6/include/linux/
H A Drculist.h542 * The lists start out as [@left ][node1 ... ] and
545 * [@right ][node1 ... ]
549 struct hlist_node *node1 = left->first; in hlists_swap_heads_rcu() local
553 rcu_assign_pointer(right->first, node1); in hlists_swap_heads_rcu()
555 WRITE_ONCE(node1->pprev, &right->first); in hlists_swap_heads_rcu()
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dioam6_parser.c37 static struct ioam_config node1 = { variable
395 return check_ioam6_data(&p, ioam6h, node1); in check_ioam_header_and_data()
432 return check_ioam6_data(&p, ioam6h, node1); in check_ioam_header_and_data()
/kernel/linux/linux-5.10/net/ipv4/
H A Dfib_trie.c558 struct key_vector *node0, *node1; in inflate() local
582 * ones, 'node0' and 'node1', each with half of the in inflate()
588 * node0's key and "1" in node1's key. Since we are in inflate()
592 * node0 and node1. So... we synthesize that bit in the in inflate()
595 node1 = tnode_new(inode->key | m, inode->pos, inode->bits - 1); in inflate()
596 if (!node1) in inflate()
600 tnode_free_append(tn, node1); in inflate()
607 put_child(node1, --j, get_child(inode, --k)); in inflate()
609 put_child(node1, --j, get_child(inode, --k)); in inflate()
614 NODE_INIT_PARENT(node1, t in inflate()
652 struct key_vector *node1 = get_child(oldtnode, --i); halve() local
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H A Dfib_trie.c559 struct key_vector *node0, *node1; in inflate() local
583 * ones, 'node0' and 'node1', each with half of the in inflate()
589 * node0's key and "1" in node1's key. Since we are in inflate()
593 * node0 and node1. So... we synthesize that bit in the in inflate()
596 node1 = tnode_new(inode->key | m, inode->pos, inode->bits - 1); in inflate()
597 if (!node1) in inflate()
601 tnode_free_append(tn, node1); in inflate()
608 put_child(node1, --j, get_child(inode, --k)); in inflate()
610 put_child(node1, --j, get_child(inode, --k)); in inflate()
615 NODE_INIT_PARENT(node1, t in inflate()
653 struct key_vector *node1 = get_child(oldtnode, --i); halve() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/mm/
H A Dnuma.c208 int node1, node2; in __cpu_form2_relative_distance() local
210 node1 = associativity_to_nid(cpu1_assoc); in __cpu_form2_relative_distance()
213 dist = numa_distance_table[node1][node2]; in __cpu_form2_relative_distance()
/kernel/linux/linux-6.6/arch/powerpc/mm/
H A Dnuma.c204 int node1, node2; in __cpu_form2_relative_distance() local
206 node1 = associativity_to_nid(cpu1_assoc); in __cpu_form2_relative_distance()
209 dist = numa_distance_table[node1][node2]; in __cpu_form2_relative_distance()
/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/
H A Dtest-drm_mm.c1274 const char *node1 = NULL, *node2 = NULL; in show_holes() local
1277 node1 = kasprintf(GFP_KERNEL, in show_holes()
1287 node1, in show_holes()
1292 kfree(node1); in show_holes()
/kernel/linux/linux-6.6/drivers/gpu/drm/tests/
H A Ddrm_mm_test.c1160 const char *node1 = NULL, *node2 = NULL; in show_holes() local
1163 node1 = kasprintf(GFP_KERNEL, "[%llx + %lld, color=%ld], ", in show_holes()
1170 kunit_info(test, "%sHole [%llx - %llx, size %lld]%s\n", node1, in show_holes()
1174 kfree(node1); in show_holes()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/tools/perf/
H A Dbuiltin-kmem.c195 int node1 = cpu__get_node(sample->cpu), in evsel__process_alloc_node_event() local
198 if (node1 != node2) in evsel__process_alloc_node_event()

Completed in 36 milliseconds