Home
last modified time | relevance | path

Searched full:nodes (Results 1 – 25 of 1529) sorted by relevance

12345678910>>...62

/linux/tools/perf/util/
H A Dbpf-trace-summary.c96 * syscall_data is keyed by TID and has an array of nodes which
113 struct syscall_node *nodes; member
150 struct syscall_node *node = &data->nodes[i]; in print_common_stats()
176 struct syscall_node *nodes; in update_thread_stats() local
194 nodes = reallocarray(data->nodes, data->nr_nodes + 1, sizeof(*nodes)); in update_thread_stats()
195 if (nodes == NULL) in update_thread_stats()
198 data->nodes = nodes; in update_thread_stats()
312 struct syscall_node *nodes; update_cgroup_stats() local
[all...]
/linux/drivers/net/ethernet/tehuti/
H A Dtn40_mdio.c127 struct tn40_nodes *nodes = &priv->nodes; in tn40_swnodes_register() local
134 snprintf(nodes->phy_name, sizeof(nodes->phy_name), "ethernet-phy@1"); in tn40_swnodes_register()
135 snprintf(nodes->mdio_name, sizeof(nodes->mdio_name), "tn40_mdio-%x", in tn40_swnodes_register()
138 swnodes = nodes->swnodes; in tn40_swnodes_register()
140 swnodes[SWNODE_MDIO] = NODE_PROP(nodes->mdio_name, NULL); in tn40_swnodes_register()
142 nodes->phy_props[0] = PROPERTY_ENTRY_STRING("compatible", in tn40_swnodes_register()
144 nodes->phy_props[1] = PROPERTY_ENTRY_U32("reg", 1); in tn40_swnodes_register()
145 nodes->phy_props[2] = PROPERTY_ENTRY_STRING("firmware-name", in tn40_swnodes_register()
147 swnodes[SWNODE_PHY] = NODE_PAR_PROP(nodes->phy_name, in tn40_swnodes_register()
149 nodes->phy_props); in tn40_swnodes_register()
[all …]
/linux/Documentation/devicetree/bindings/usb/
H A Dusb-device.yaml17 Four types of device-tree nodes are defined: "host-controller nodes"
18 representing USB host controllers, "device nodes" representing USB devices,
19 "interface nodes" representing USB interfaces and "combined nodes"
33 description: Device nodes or combined nodes.
49 description: should be 1 for hub nodes with device nodes,
50 should be 2 for device nodes with interface nodes.
59 description: USB interface nodes.
66 description: Interface nodes.
/linux/Documentation/driver-api/md/
H A Dmd-cluster.rst54 node may write to those sectors. This is used when a new nodes
60 Each node has to communicate with other nodes when starting or ending
70 Normally all nodes hold a concurrent-read lock on this device.
75 Messages can be broadcast to all nodes, and the sender waits for all
76 other nodes to acknowledge the message before proceeding. Only one
87 informs other nodes that the metadata has
94 informs other nodes that a resync is initiated or
104 informs other nodes that a device is being added to
128 The DLM LVB is used to communicate within nodes of the cluster. There
145 acknowledged by all nodes in the cluster. The BAST of the resource
[all …]
/linux/security/selinux/ss/
H A Dconditional.c34 struct cond_expr_node *node = &expr->nodes[i]; in cond_evaluate_expr()
105 avnode = node->true_list.nodes[i]; in evaluate_cond_node()
113 avnode = node->false_list.nodes[i]; in evaluate_cond_node()
142 kfree(node->expr.nodes); in cond_node_destroy()
143 /* the avtab_ptr_t nodes are destroyed by the avtab */ in cond_node_destroy()
144 kfree(node->true_list.nodes); in cond_node_destroy()
145 kfree(node->false_list.nodes); in cond_node_destroy()
288 if (other->nodes[i] == node_ptr) { in cond_insertf()
338 list->nodes = kzalloc_objs(*list->nodes, le in cond_read_av_list()
[all...]
/linux/drivers/md/persistent-data/
H A Ddm-btree-spine.c128 s->nodes[0] = NULL; in init_ro_spine()
129 s->nodes[1] = NULL; in init_ro_spine()
137 unlock_block(s->info, s->nodes[i]); in exit_ro_spine()
145 unlock_block(s->info, s->nodes[0]); in ro_step()
146 s->nodes[0] = s->nodes[1]; in ro_step()
150 r = bn_read_lock(s->info, new_child, s->nodes + s->count); in ro_step()
161 unlock_block(s->info, s->nodes[s->count]); in ro_pop()
169 block = s->nodes[s->count - 1]; in ro_node()
187 unlock_block(s->info, s->nodes[i]); in exit_shadow_spine()
196 unlock_block(s->info, s->nodes[0]); in shadow_step()
[all …]
/linux/lib/
H A Drbtree_test.c14 __param(int, nnodes, 100, "Number of nodes in the rb-tree");
29 static struct test_node *nodes = NULL; variable
154 nodes[i].key = prandom_u32_state(&rnd); in init()
155 nodes[i].val = prandom_u32_state(&rnd); in init()
257 insert(nodes + j, &root); in basic_check()
259 erase(nodes + j, &root); in basic_check()
273 insert_cached(nodes + j, &root); in basic_check()
275 erase_cached(nodes + j, &root); in basic_check()
286 insert(nodes + i, &root); in basic_check()
326 erase(nodes + i, &root); in basic_check()
[all …]
/linux/include/linux/
H A Dinterconnect-provider.h31 * @num_nodes: number of nodes in this device
32 * @nodes: array of pointers to the nodes in this device
36 struct icc_node *nodes[] __counted_by(num_nodes);
47 * @nodes: internal list of the interconnect provider nodes
53 * @xlate: provider-specific callback for mapping nodes from phandle arguments
62 struct list_head nodes; member
83 * @num_links: number of links to other interconnect nodes
85 * @node_list: the list entry in the parent provider's "nodes" list
86 * @search_list: list used when walking the nodes graph
87 * @reverse: pointer to previous node when walking the nodes graph
[all …]
/linux/tools/perf/tests/
H A Dmem2node.c50 struct memory_node nodes[3]; in test__mem2node() local
52 .memory_nodes = (struct memory_node *) &nodes[0], in test__mem2node()
53 .nr_memory_nodes = ARRAY_SIZE(nodes), in test__mem2node()
58 for (i = 0; i < ARRAY_SIZE(nodes); i++) { in test__mem2node()
59 nodes[i].node = test_nodes[i].node; in test__mem2node()
60 nodes[i].size = 10; in test__mem2node()
63 (nodes[i].set = get_bitmap(test_nodes[i].map, 10))); in test__mem2node()
75 for (i = 0; i < ARRAY_SIZE(nodes); i++) in test__mem2node()
76 zfree(&nodes[i].set); in test__mem2node()
/linux/arch/arm/mach-sunxi/
H A Dmc_smp.c689 * This holds any device nodes that we requested resources for,
702 int (*get_smp_nodes)(struct sunxi_mc_smp_nodes *nodes);
706 static void __init sunxi_mc_smp_put_nodes(struct sunxi_mc_smp_nodes *nodes) in sunxi_mc_smp_put_nodes() argument
708 of_node_put(nodes->prcm_node); in sunxi_mc_smp_put_nodes()
709 of_node_put(nodes->cpucfg_node); in sunxi_mc_smp_put_nodes()
710 of_node_put(nodes->sram_node); in sunxi_mc_smp_put_nodes()
711 of_node_put(nodes->r_cpucfg_node); in sunxi_mc_smp_put_nodes()
712 memset(nodes, 0, sizeof(*nodes)); in sunxi_mc_smp_put_nodes()
715 static int __init sun9i_a80_get_smp_nodes(struct sunxi_mc_smp_nodes *nodes) in sun9i_a80_get_smp_nodes() argument
717 nodes->prcm_node = of_find_compatible_node(NULL, NULL, in sun9i_a80_get_smp_nodes()
[all …]
/linux/Documentation/driver-api/acpi/
H A Dscan_handlers.rst19 acpi_device objects are referred to as "device nodes" in what follows, but they
23 During ACPI-based device hot-remove device nodes representing pieces of hardware
27 initialization of device nodes, such as retrieving common configuration
48 where ids is the list of IDs of device nodes the given handler is supposed to
51 executed, respectively, after registration of new device nodes and before
52 unregistration of device nodes the handler attached to previously.
55 device nodes in the given namespace scope with the driver core. Then, it tries
72 callbacks from the scan handlers of all device nodes in the given namespace
74 nodes in that scope.
79 is the order in which they are matched against device nodes during namespace
/linux/arch/sparc/kernel/
H A Dcpumap.c45 int num_nodes; /* Number of nodes in a level in a cpuinfo tree */
51 /* Offsets into nodes[] for each level of the tree */
53 struct cpuinfo_node nodes[] __counted_by(total_nodes);
86 * nodes.
121 * end index, and number of nodes for each level in the cpuinfo tree. The
122 * total number of cpuinfo nodes required to build the tree is returned.
197 new_tree = kzalloc_flex(*new_tree, nodes, n, GFP_ATOMIC); in build_cpuinfo_tree()
211 node = &new_tree->nodes[n]; in build_cpuinfo_tree()
252 node = &new_tree->nodes[level_rover[level]]; in build_cpuinfo_tree()
277 node = &new_tree->nodes[n]; in build_cpuinfo_tree()
[all …]
/linux/sound/hda/core/
H A Dsysfs.c16 struct kobject **nodes; member
328 if (tree->nodes) { in widget_tree_free()
329 for (p = tree->nodes; *p; p++) in widget_tree_free()
331 kfree(tree->nodes); in widget_tree_free()
377 tree->nodes = kzalloc_objs(*tree->nodes, codec->num_nodes + 1); in widget_tree_create()
378 if (!tree->nodes) in widget_tree_create()
383 &tree->nodes[i]); in widget_tree_create()
438 tree->nodes = kzalloc_objs(*tree->nodes, num_nodes + 1); in hda_widget_sysfs_reinit()
439 if (!tree->nodes) { in hda_widget_sysfs_reinit()
444 /* prune non-existing nodes */ in hda_widget_sysfs_reinit()
[all …]
/linux/Documentation/power/powercap/
H A Ddtpm.rst39 The nodes of the tree are a virtual description aggregating the power
40 characteristics of the children nodes and their power limitations.
64 When the nodes are inserted in the tree, their power characteristics are propagated to the parents::
106 A root node is created and it is the parent of all the nodes. This
115 hierarchically. There is one root node, all intermediate nodes are
116 grouping the child nodes which can be intermediate nodes also or real
119 The intermediate nodes aggregate the power information and allows to
120 set the power limit given the weight of the nodes.
137 if it is not recommended for the user space, several nodes can have
170 allocate and link the different nodes of the tree.
[all …]
/linux/drivers/interconnect/qcom/
H A Dicc-rpmh.h23 * @nodes: list of icc nodes that maps to the provider
24 * @num_nodes: number of @nodes
35 struct qcom_icc_node * const *nodes; member
82 * struct qcom_icc_node - Qualcomm specific interconnect nodes
110 * struct qcom_icc_bcm - Qualcomm specific hardware accelerator nodes
126 * @nodes: list of qcom_icc_nodes that this BCM encapsulates
142 struct qcom_icc_node *nodes[]; member
146 struct qcom_icc_node **nodes; member
152 struct qcom_icc_node * const *nodes; member
H A Dsdx55.c638 .nodes = { &ebi },
645 .nodes = { &qns_llcc },
652 .nodes = { &qxm_crypto },
659 .nodes = { &qhm_snoc_cfg },
666 .nodes = { &xm_apps_rdwr },
673 .nodes = { &qns_memnoc_snoc, &qns_sys_pcie },
680 .nodes = { &qns_snoc_memnoc },
687 .nodes = { &qxs_imem },
694 .nodes = { &xm_sdc1 },
701 .nodes = { &qhm_audio, &qhm_spmi_fetcher1 },
[all …]
H A Dsdx65.c599 .nodes = { &qxm_crypto },
606 .nodes = { &ebi },
613 .nodes = { &qhm_snoc_cfg,
646 .nodes = { &xm_sdc1 },
653 .nodes = { &qhm_audio, &qhm_spmi_fetcher1 },
660 .nodes = { &qhm_blsp1, &qhm_qpic },
667 .nodes = { &qxm_crypto },
674 .nodes = { &qns_llcc },
681 .nodes = { &qns_memnoc_snoc },
688 .nodes = { &xm_apps_rdwr },
[all …]
H A Dsdm670.c1038 .nodes = { &ebi },
1045 .nodes = { &ebi },
1052 .nodes = { &qns_llcc },
1059 .nodes = { &qns_mem_noc_hf },
1066 .nodes = { &qns_apps_io },
1073 .nodes = { &qxm_camnoc_hf0_uncomp,
1087 .nodes = { &qns_memnoc_snoc },
1094 .nodes = { &qns2_mem_noc },
1101 .nodes = { &acm_tcu },
1108 .nodes = { &qxm_camnoc_sf, &qxm_rot, &qxm_venus0, &qxm_venus1, &qxm_venus_arm9 },
[all …]
H A Dsc7180.c1229 .nodes = { &ebi },
1236 .nodes = { &ebi },
1243 .nodes = { &qns_llcc },
1250 .nodes = { &qns_mem_noc_hf },
1257 .nodes = { &qxm_crypto },
1264 .nodes = { &qnm_snoc,
1319 .nodes = { &qxm_camnoc_hf0_uncomp,
1334 .nodes = { &acm_sys_tcu },
1341 .nodes = { &qns_mem_noc_sf },
1348 .nodes = { &qup_core_master_1, &qup_core_master_2 },
[all …]
H A Dsdm845.c1250 .nodes = { &ebi },
1257 .nodes = { &ebi },
1264 .nodes = { &qns_llcc },
1271 .nodes = { &qns_mem_noc_hf },
1278 .nodes = { &qns_apps_io },
1285 .nodes = { &qxm_camnoc_hf0_uncomp,
1299 .nodes = { &qns_memnoc_snoc },
1306 .nodes = { &qns2_mem_noc },
1313 .nodes = { &acm_tcu },
1320 .nodes = { &qxm_camnoc_sf, &qxm_rot, &qxm_venus0, &qxm_venus1, &qxm_venus_arm9 },
[all …]
/linux/fs/btrfs/
H A Dctree.c167 if (!p->nodes[i]) in btrfs_release_path()
170 btrfs_tree_unlock_rw(p->nodes[i], p->locks[i]); in btrfs_release_path()
173 free_extent_buffer(p->nodes[i]); in btrfs_release_path()
174 p->nodes[i] = NULL; in btrfs_release_path()
726 * leaves and nodes.
847 * @path: Path holding nodes and locks
893 path->nodes[level] = NULL; in promote_child_to_root()
912 * node level balancing, used to make sure nodes are in proper order for
933 mid = path->nodes[level]; in balance_level()
941 parent = path->nodes[level + 1]; in balance_level()
[all …]
/linux/arch/mips/sgi-ip27/
H A DKconfig10 The nodes of Origin, Onyx, Fuel and Tezro systems can be configured
11 in either N-Modes which allows for more nodes or M-Mode which allows
18 The nodes of Origin, Onyx, Fuel and Tezro systems can be configured
19 in either N-Modes which allows for more nodes or M-Mode which allows
39 nodes in a NUMA cluster. This trades memory for speed.
/linux/Documentation/devicetree/bindings/pwm/
H A Dpwm-tipwmss.txt10 - address-cells: Specify the number of u32 entries needed in child nodes.
12 - size-cells: specify number of u32 entries needed to specify child nodes size
20 Also child nodes should also populated under PWMSS DT node.
33 /* child nodes go here */
46 /* child nodes go here */
57 /* child nodes go here */
/linux/fs/jffs2/
H A DREADME.Locking22 When writing new nodes, the alloc_sem must be held until the new nodes
25 nodes to an inode may obsolete old ones, and by holding the alloc_sem
28 was written afterwards. Hence, we can ensure the newly-obsoleted nodes
76 (NB) the per-inode list of physical nodes. The latter is a special
84 Note that the per-inode list of physical nodes (f->nodes) is a special
85 case. Any changes to _valid_ nodes (i.e. ->flash_offset & 1 == 0) in
87 may remove _obsolete_ nodes from the list while holding only the
126 The latter function on NAND flash must read _obsolete_ nodes to
/linux/drivers/dma/
H A Duniphier-xdmac.c83 struct uniphier_xdmac_desc_node nodes[] __counted_by(nr_node);
140 src_addr = xd->nodes[xd->cur_node].src; in uniphier_xdmac_chan_start()
141 dst_addr = xd->nodes[xd->cur_node].dst; in uniphier_xdmac_chan_start()
142 its = xd->nodes[xd->cur_node].burst_size; in uniphier_xdmac_chan_start()
143 tnum = xd->nodes[xd->cur_node].nr_burst; in uniphier_xdmac_chan_start()
295 xd = kzalloc_flex(*xd, nodes, nr, GFP_NOWAIT); in uniphier_xdmac_prep_dma_memcpy()
302 xd->nodes[i].src = src; in uniphier_xdmac_prep_dma_memcpy()
303 xd->nodes[i].dst = dst; in uniphier_xdmac_prep_dma_memcpy()
304 xd->nodes[i].burst_size = burst_size; in uniphier_xdmac_prep_dma_memcpy()
305 xd->nodes[i].nr_burst = len / burst_size; in uniphier_xdmac_prep_dma_memcpy()
[all …]

12345678910>>...62