Home
last modified time | relevance | path

Searched refs:nodes (Results 1 – 25 of 1012) sorted by relevance

12345678910>>...41

/Linux-v5.15/drivers/gpu/drm/selftests/
Dtest-drm_mm.c268 struct drm_mm_node nodes[2]; in igt_debug() local
277 memset(nodes, 0, sizeof(nodes)); in igt_debug()
278 nodes[0].start = 512; in igt_debug()
279 nodes[0].size = 1024; in igt_debug()
280 ret = drm_mm_reserve_node(&mm, &nodes[0]); in igt_debug()
283 nodes[0].start, nodes[0].size); in igt_debug()
287 nodes[1].size = 1024; in igt_debug()
288 nodes[1].start = 4096 - 512 - nodes[1].size; in igt_debug()
289 ret = drm_mm_reserve_node(&mm, &nodes[1]); in igt_debug()
292 nodes[1].start, nodes[1].size); in igt_debug()
[all …]
/Linux-v5.15/Documentation/sphinx/
DrstFlatTable.py45 from docutils import nodes
94 class rowSpan(nodes.General, nodes.Element): pass # pylint: disable=C0103,C0321
95 class colSpan(nodes.General, nodes.Element): pass # pylint: disable=C0103,C0321
117 nodes.literal_block(self.block_text, self.block_text),
122 node = nodes.Element() # anonymous container for parsing
156 table = nodes.table()
157 tgroup = nodes.tgroup(cols=len(colwidths))
162 colspec = nodes.colspec(colwidth=colwidth)
176 thead = nodes.thead()
181 tbody = nodes.tbody()
[all …]
Dautomarkup.py7 from docutils import nodes
110 repl.append(nodes.Text(t[done:m.start()]))
120 repl.append(nodes.Text(t[done:]))
136 target_text = nodes.Text(match.group(0))
148 lit_text = nodes.literal(classes=['xref', 'c', class_s])
195 target_text = nodes.Text(match.group(0))
206 lit_text = nodes.literal(classes=['xref', 'c', class_str[match.re]])
260 return nodes.Text(match.group(0))
283 for para in doctree.traverse(nodes.paragraph):
284 for node in para.traverse(nodes.Text):
[all …]
Dkfigure.py52 from docutils import nodes
57 from sphinx.util.nodes import clean_astext
92 node = nodes.literal_block(data, data)
334 class kernel_image(nodes.image):
353 if len(result) == 2 or isinstance(result[0], nodes.system_message):
371 class kernel_figure(nodes.figure):
390 if len(result) == 2 or isinstance(result[0], nodes.system_message):
437 img_node = nodes.image(node.rawsource, **node.attributes)
446 class kernel_render(nodes.General, nodes.Inline, nodes.Element):
493 literal_node = nodes.literal_block(code, code)
[all …]
/Linux-v5.15/drivers/md/persistent-data/
Ddm-btree-spine.c129 s->nodes[0] = NULL; in init_ro_spine()
130 s->nodes[1] = NULL; in init_ro_spine()
138 unlock_block(s->info, s->nodes[i]); in exit_ro_spine()
147 unlock_block(s->info, s->nodes[0]); in ro_step()
148 s->nodes[0] = s->nodes[1]; in ro_step()
152 r = bn_read_lock(s->info, new_child, s->nodes + s->count); in ro_step()
163 unlock_block(s->info, s->nodes[s->count]); in ro_pop()
171 block = s->nodes[s->count - 1]; in ro_node()
189 unlock_block(s->info, s->nodes[i]); in exit_shadow_spine()
199 unlock_block(s->info, s->nodes[0]); in shadow_step()
[all …]
/Linux-v5.15/mm/
Dmempolicy.c178 int (*create)(struct mempolicy *pol, const nodemask_t *nodes);
179 void (*rebind)(struct mempolicy *pol, const nodemask_t *nodes);
195 static int mpol_new_nodemask(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_nodemask() argument
197 if (nodes_empty(*nodes)) in mpol_new_nodemask()
199 pol->nodes = *nodes; in mpol_new_nodemask()
203 static int mpol_new_preferred(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_preferred() argument
205 if (nodes_empty(*nodes)) in mpol_new_preferred()
208 nodes_clear(pol->nodes); in mpol_new_preferred()
209 node_set(first_node(*nodes), pol->nodes); in mpol_new_preferred()
222 const nodemask_t *nodes, struct nodemask_scratch *nsc) in mpol_set_nodemask() argument
[all …]
Dmmzone.c46 static inline int zref_in_nodemask(struct zoneref *zref, nodemask_t *nodes) in zref_in_nodemask() argument
49 return node_isset(zonelist_node_idx(zref), *nodes); in zref_in_nodemask()
58 nodemask_t *nodes) in __next_zones_zonelist() argument
64 if (unlikely(nodes == NULL)) in __next_zones_zonelist()
69 (z->zone && !zref_in_nodemask(z, nodes))) in __next_zones_zonelist()
/Linux-v5.15/tools/perf/tests/
Dmem2node.c49 struct memory_node nodes[3]; in test__mem2node() local
51 .memory_nodes = (struct memory_node *) &nodes[0], in test__mem2node()
52 .nr_memory_nodes = ARRAY_SIZE(nodes), in test__mem2node()
57 for (i = 0; i < ARRAY_SIZE(nodes); i++) { in test__mem2node()
58 nodes[i].node = test_nodes[i].node; in test__mem2node()
59 nodes[i].size = 10; in test__mem2node()
62 (nodes[i].set = get_bitmap(test_nodes[i].map, 10))); in test__mem2node()
74 for (i = 0; i < ARRAY_SIZE(nodes); i++) in test__mem2node()
75 zfree(&nodes[i].set); in test__mem2node()
/Linux-v5.15/arch/arm/mach-sunxi/
Dmc_smp.c703 int (*get_smp_nodes)(struct sunxi_mc_smp_nodes *nodes);
707 static void __init sunxi_mc_smp_put_nodes(struct sunxi_mc_smp_nodes *nodes) in sunxi_mc_smp_put_nodes() argument
709 of_node_put(nodes->prcm_node); in sunxi_mc_smp_put_nodes()
710 of_node_put(nodes->cpucfg_node); in sunxi_mc_smp_put_nodes()
711 of_node_put(nodes->sram_node); in sunxi_mc_smp_put_nodes()
712 of_node_put(nodes->r_cpucfg_node); in sunxi_mc_smp_put_nodes()
713 memset(nodes, 0, sizeof(*nodes)); in sunxi_mc_smp_put_nodes()
716 static int __init sun9i_a80_get_smp_nodes(struct sunxi_mc_smp_nodes *nodes) in sun9i_a80_get_smp_nodes() argument
718 nodes->prcm_node = of_find_compatible_node(NULL, NULL, in sun9i_a80_get_smp_nodes()
720 if (!nodes->prcm_node) { in sun9i_a80_get_smp_nodes()
[all …]
/Linux-v5.15/fs/btrfs/
Dinode-item.c93 return btrfs_find_name_in_ext_backref(path->nodes[0], path->slots[0], in btrfs_lookup_inode_extref()
133 extref = btrfs_find_name_in_ext_backref(path->nodes[0], path->slots[0], in btrfs_del_inode_extref()
141 leaf = path->nodes[0]; in btrfs_del_inode_extref()
203 ref = btrfs_find_name_in_backref(path->nodes[0], path->slots[0], name, in btrfs_del_inode_ref()
210 leaf = path->nodes[0]; in btrfs_del_inode_ref()
272 if (btrfs_find_name_in_ext_backref(path->nodes[0], in btrfs_insert_inode_extref()
284 leaf = path->nodes[0]; in btrfs_insert_inode_extref()
290 btrfs_set_inode_extref_name_len(path->nodes[0], extref, name_len); in btrfs_insert_inode_extref()
291 btrfs_set_inode_extref_index(path->nodes[0], extref, index); in btrfs_insert_inode_extref()
292 btrfs_set_inode_extref_parent(path->nodes[0], extref, ref_objectid); in btrfs_insert_inode_extref()
[all …]
Dctree.c103 if (!p->nodes[i]) in btrfs_release_path()
106 btrfs_tree_unlock_rw(p->nodes[i], p->locks[i]); in btrfs_release_path()
109 free_extent_buffer(p->nodes[i]); in btrfs_release_path()
110 p->nodes[i] = NULL; in btrfs_release_path()
875 mid = path->nodes[level]; in balance_level()
883 parent = path->nodes[level + 1]; in balance_level()
922 path->nodes[level] = NULL; in balance_level()
1052 path->nodes[level] = left; in balance_level()
1066 btrfs_node_blockptr(path->nodes[level], path->slots[level])) in balance_level()
1074 if (path->nodes[level] != left) in balance_level()
[all …]
Dulist.c49 INIT_LIST_HEAD(&ulist->nodes); in ulist_init()
66 list_for_each_entry_safe(node, next, &ulist->nodes, list) { in ulist_release()
70 INIT_LIST_HEAD(&ulist->nodes); in ulist_release()
212 list_add_tail(&node->list, &ulist->nodes); in ulist_add_merge()
265 if (list_empty(&ulist->nodes)) in ulist_next()
267 if (uiter->cur_list && uiter->cur_list->next == &ulist->nodes) in ulist_next()
272 uiter->cur_list = ulist->nodes.next; in ulist_next()
/Linux-v5.15/lib/
Dinterval_tree_test.c24 static struct interval_tree_node *nodes = NULL; variable
49 nodes[i].start = a; in init()
50 nodes[i].last = b; in init()
68 nodes = kmalloc_array(nnodes, sizeof(struct interval_tree_node), in interval_tree_test_init()
70 if (!nodes) in interval_tree_test_init()
75 kfree(nodes); in interval_tree_test_init()
88 interval_tree_insert(nodes + j, &root); in interval_tree_test_init()
90 interval_tree_remove(nodes + j, &root); in interval_tree_test_init()
102 interval_tree_insert(nodes + j, &root); in interval_tree_test_init()
124 kfree(nodes); in interval_tree_test_init()
Drbtree_test.c28 static struct test_node *nodes = NULL; variable
153 nodes[i].key = prandom_u32_state(&rnd); in init()
154 nodes[i].val = prandom_u32_state(&rnd); in init()
248 nodes = kmalloc_array(nnodes, sizeof(*nodes), GFP_KERNEL); in rbtree_test_init()
249 if (!nodes) in rbtree_test_init()
261 insert(nodes + j, &root); in rbtree_test_init()
263 erase(nodes + j, &root); in rbtree_test_init()
277 insert_cached(nodes + j, &root); in rbtree_test_init()
279 erase_cached(nodes + j, &root); in rbtree_test_init()
290 insert(nodes + i, &root); in rbtree_test_init()
[all …]
/Linux-v5.15/security/selinux/ss/
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()
144 kfree(node->true_list.nodes); in cond_node_destroy()
145 kfree(node->false_list.nodes); in cond_node_destroy()
294 if (other->nodes[i] == node_ptr) { in cond_insertf()
339 list->nodes = kcalloc(len, sizeof(*list->nodes), GFP_KERNEL); in cond_read_av_list()
340 if (!list->nodes) in cond_read_av_list()
346 data.dst = &list->nodes[i]; in cond_read_av_list()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/cpu/
Dcpu-topology.txt20 For instance in a system where CPUs support SMT, "cpu" nodes represent all
22 In systems where SMT is not supported "cpu" nodes represent all cores present
25 CPU topology bindings allow one to associate cpu nodes with hierarchical groups
27 tree nodes.
32 The cpu nodes, as per bindings defined in [4], represent the devices that
35 A topology description containing phandles to cpu nodes that are not compliant
44 nodes are listed.
60 The cpu-map node's child nodes can be:
62 - one or more cluster nodes or
63 - one or more socket nodes in a multi-socket system
[all …]
/Linux-v5.15/drivers/interconnect/qcom/
Dsc7280.c1288 .nodes = { &ebi },
1294 .nodes = { &qxm_crypto },
1301 .nodes = { &qnm_gemnoc_cnoc, &qnm_gemnoc_pcie },
1307 .nodes = { &qnm_cnoc3_cnoc2, &xm_qdss_dap,
1335 .nodes = { &qhs_lpass_cfg, &qhs_pdm,
1343 .nodes = { &qns_nsp_gemnoc },
1349 .nodes = { &qxm_nsp },
1356 .nodes = { &ebi },
1363 .nodes = { &qns_mem_noc_hf },
1369 .nodes = { &qxm_camnoc_hf, &qxm_mdp0 },
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/pinctrl/
Dmeson,pinctrl.txt21 === GPIO sub-nodes ===
26 Required properties for sub-nodes are:
35 === Other sub-nodes ===
37 Child nodes without the "gpio-controller" represent some desired
38 configuration for a pin or a group. Those nodes can be pinmux nodes or
39 configuration nodes.
41 Required properties for pinmux nodes are:
48 Required properties for configuration nodes:
51 Configuration nodes support the following generic properties, as
/Linux-v5.15/arch/sparc/kernel/
Dcpumap.c53 struct cpuinfo_node nodes[]; member
197 new_tree = kzalloc(struct_size(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()
299 struct cpuinfo_node *node = &t->nodes[node_index]; in increment_rover()
302 top_level = t->nodes[root_index].level; in increment_rover()
314 node = &t->nodes[node->parent_index]; in increment_rover()
340 for (level = t->nodes[root_index].level; level < CPUINFO_LVL_MAX; in iterate_cpu()
342 new_index = t->nodes[index].rover; in iterate_cpu()
[all …]
/Linux-v5.15/sound/hda/
Dhdac_sysfs.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()
375 tree->nodes = kcalloc(codec->num_nodes + 1, sizeof(*tree->nodes), in widget_tree_create()
377 if (!tree->nodes) in widget_tree_create()
382 &tree->nodes[i]); in widget_tree_create()
437 tree->nodes = kcalloc(num_nodes + 1, sizeof(*tree->nodes), GFP_KERNEL); in hda_widget_sysfs_reinit()
438 if (!tree->nodes) { in hda_widget_sysfs_reinit()
446 free_widget_node(codec->widgets->nodes[i], in hda_widget_sysfs_reinit()
[all …]
/Linux-v5.15/drivers/clk/zynqmp/
Dclk-zynqmp.h73 const struct clock_topology *nodes);
78 const struct clock_topology *nodes);
84 const struct clock_topology *nodes);
89 const struct clock_topology *nodes);
95 const struct clock_topology *nodes);
/Linux-v5.15/Documentation/admin-guide/mm/
Dnuma_memory_policy.rst19 which is an administrative mechanism for restricting the nodes from which
42 allocations across all nodes with "sufficient" memory, so as
166 an optional set of nodes. The mode determines the behavior of the
168 and the optional set of nodes can be viewed as the arguments to the
190 does not use the optional set of nodes.
192 It is an error for the set of nodes specified for this policy to
197 nodes specified by the policy. Memory will be allocated from
204 allocation fails, the kernel will search other nodes, in order
224 page granularity, across the nodes specified in the policy.
229 Interleave mode indexes the set of nodes specified by the
[all …]
/Linux-v5.15/Documentation/driver-api/md/
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-v5.15/drivers/dma/
Duniphier-xdmac.c83 struct uniphier_xdmac_desc_node nodes[]; member
139 src_addr = xd->nodes[xd->cur_node].src; in uniphier_xdmac_chan_start()
140 dst_addr = xd->nodes[xd->cur_node].dst; in uniphier_xdmac_chan_start()
141 its = xd->nodes[xd->cur_node].burst_size; in uniphier_xdmac_chan_start()
142 tnum = xd->nodes[xd->cur_node].nr_burst; in uniphier_xdmac_chan_start()
294 xd = kzalloc(struct_size(xd, nodes, nr), GFP_NOWAIT); in uniphier_xdmac_prep_dma_memcpy()
300 xd->nodes[i].src = src; in uniphier_xdmac_prep_dma_memcpy()
301 xd->nodes[i].dst = dst; in uniphier_xdmac_prep_dma_memcpy()
302 xd->nodes[i].burst_size = burst_size; in uniphier_xdmac_prep_dma_memcpy()
303 xd->nodes[i].nr_burst = len / burst_size; in uniphier_xdmac_prep_dma_memcpy()
[all …]
/Linux-v5.15/drivers/interconnect/imx/
Dimx.c169 list_for_each_entry_safe(node, tmp, &provider->nodes, node_list) in imx_icc_unregister_nodes()
192 provider_data->nodes[node->id] = node; in imx_icc_register_nodes()
212 static int get_max_node_id(struct imx_icc_node_desc *nodes, int nodes_count) in get_max_node_id() argument
217 if (nodes[i].id > ret) in get_max_node_id()
218 ret = nodes[i].id; in get_max_node_id()
224 struct imx_icc_node_desc *nodes, int nodes_count) in imx_icc_register() argument
233 max_node_id = get_max_node_id(nodes, nodes_count); in imx_icc_register()
234 data = devm_kzalloc(dev, struct_size(data, nodes, max_node_id), in imx_icc_register()
256 ret = imx_icc_register_nodes(provider, nodes, nodes_count); in imx_icc_register()

12345678910>>...41