/linux-6.1.9/drivers/gpu/drm/tests/ |
D | drm_mm_test.c | 251 struct drm_mm_node nodes[2]; in drm_test_mm_debug() local 259 memset(nodes, 0, sizeof(nodes)); in drm_test_mm_debug() 260 nodes[0].start = 512; in drm_test_mm_debug() 261 nodes[0].size = 1024; in drm_test_mm_debug() 262 KUNIT_ASSERT_FALSE_MSG(test, drm_mm_reserve_node(&mm, &nodes[0]), in drm_test_mm_debug() 264 nodes[0].start, nodes[0].size); in drm_test_mm_debug() 266 nodes[1].size = 1024; in drm_test_mm_debug() 267 nodes[1].start = 4096 - 512 - nodes[1].size; in drm_test_mm_debug() 268 KUNIT_ASSERT_FALSE_MSG(test, drm_mm_reserve_node(&mm, &nodes[1]), in drm_test_mm_debug() 270 nodes[0].start, nodes[0].size); in drm_test_mm_debug() [all …]
|
/linux-6.1.9/Documentation/sphinx/ |
D | rstFlatTable.py | 45 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 …]
|
D | automarkup.py | 7 from docutils import nodes 110 repl.append(nodes.Text(t[done:m.start()])) 120 repl.append(nodes.Text(t[done:])) 143 target_text = nodes.Text(match.group(0)) 154 lit_text = nodes.literal(classes=['xref', 'c', 'c-func']) 203 target_text = nodes.Text(match.group(0)) 214 lit_text = nodes.literal(classes=['xref', 'c', class_str[match.re]]) 268 return nodes.Text(match.group(0)) 286 if not isinstance(node, nodes.Text) or isinstance(node.parent, nodes.literal): 292 if isinstance(parent, nodes.Referential): [all …]
|
/linux-6.1.9/drivers/md/persistent-data/ |
D | dm-btree-spine.c | 127 s->nodes[0] = NULL; in init_ro_spine() 128 s->nodes[1] = NULL; in init_ro_spine() 136 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() 197 unlock_block(s->info, s->nodes[0]); in shadow_step() [all …]
|
/linux-6.1.9/mm/ |
D | mempolicy.c | 181 int (*create)(struct mempolicy *pol, const nodemask_t *nodes); 182 void (*rebind)(struct mempolicy *pol, const nodemask_t *nodes); 198 static int mpol_new_nodemask(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_nodemask() argument 200 if (nodes_empty(*nodes)) in mpol_new_nodemask() 202 pol->nodes = *nodes; in mpol_new_nodemask() 206 static int mpol_new_preferred(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_preferred() argument 208 if (nodes_empty(*nodes)) in mpol_new_preferred() 211 nodes_clear(pol->nodes); in mpol_new_preferred() 212 node_set(first_node(*nodes), pol->nodes); in mpol_new_preferred() 225 const nodemask_t *nodes, struct nodemask_scratch *nsc) in mpol_set_nodemask() argument [all …]
|
/linux-6.1.9/tools/perf/tests/ |
D | mem2node.c | 50 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-6.1.9/arch/arm/mach-sunxi/ |
D | mc_smp.c | 703 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-6.1.9/lib/ |
D | interval_tree_test.c | 24 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()
|
D | rbtree_test.c | 28 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-6.1.9/security/selinux/ss/ |
D | conditional.c | 34 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() 296 if (other->nodes[i] == node_ptr) { in cond_insertf() 341 list->nodes = kcalloc(len, sizeof(*list->nodes), GFP_KERNEL); in cond_read_av_list() 342 if (!list->nodes) in cond_read_av_list() 348 data.dst = &list->nodes[i]; in cond_read_av_list() [all …]
|
/linux-6.1.9/Documentation/devicetree/bindings/cpu/ |
D | cpu-topology.txt | 20 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-6.1.9/fs/btrfs/ |
D | ctree.c | 105 if (!p->nodes[i]) in btrfs_release_path() 108 btrfs_tree_unlock_rw(p->nodes[i], p->locks[i]); in btrfs_release_path() 111 free_extent_buffer(p->nodes[i]); in btrfs_release_path() 112 p->nodes[i] = NULL; in btrfs_release_path() 898 mid = path->nodes[level]; in balance_level() 906 parent = path->nodes[level + 1]; in balance_level() 945 path->nodes[level] = NULL; in balance_level() 1076 path->nodes[level] = left; in balance_level() 1090 btrfs_node_blockptr(path->nodes[level], path->slots[level])) in balance_level() 1098 if (path->nodes[level] != left) in balance_level() [all …]
|
D | inode-item.c | 94 return btrfs_find_name_in_ext_backref(path->nodes[0], path->slots[0], in btrfs_lookup_inode_extref() 134 extref = btrfs_find_name_in_ext_backref(path->nodes[0], path->slots[0], in btrfs_del_inode_extref() 142 leaf = path->nodes[0]; in btrfs_del_inode_extref() 204 ref = btrfs_find_name_in_backref(path->nodes[0], path->slots[0], name, in btrfs_del_inode_ref() 211 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() 289 btrfs_set_inode_extref_name_len(path->nodes[0], extref, name_len); in btrfs_insert_inode_extref() 290 btrfs_set_inode_extref_index(path->nodes[0], extref, index); in btrfs_insert_inode_extref() 291 btrfs_set_inode_extref_parent(path->nodes[0], extref, ref_objectid); in btrfs_insert_inode_extref() [all …]
|
/linux-6.1.9/Documentation/devicetree/bindings/usb/ |
D | usb-device.yaml | 17 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" 32 description: Device nodes or combined nodes. 46 description: should be 1 for hub nodes with device nodes, 47 should be 2 for device nodes with interface nodes. 56 description: USB interface nodes. 63 description: Interface nodes.
|
/linux-6.1.9/drivers/interconnect/qcom/ |
D | sc7280.c | 1288 .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 …]
|
D | sc8180x.c | 1364 .nodes = { &slv_ebi } 1371 .nodes = { &slv_ebi } 1378 .nodes = { &slv_qns_llcc } 1384 .nodes = { &slv_qns_mem_noc_hf } 1390 .nodes = { &slv_qns_cdsp_mem_noc } 1396 .nodes = { &mas_qxm_crypto } 1403 .nodes = { &mas_qnm_snoc, 1465 .nodes = { &mas_qxm_camnoc_hf0_uncomp, 1477 .nodes = { &mas_qup_core_0, 1485 .nodes = { &slv_qns_gem_noc_snoc } [all …]
|
D | sm8450.c | 1341 .nodes = { &ebi }, 1347 .nodes = { &qxm_crypto }, 1354 .nodes = { &qnm_gemnoc_cnoc, &qnm_gemnoc_pcie, 1387 .nodes = { &qxm_nsp, &qns_nsp_gemnoc }, 1394 .nodes = { &ebi }, 1401 .nodes = { &qns_mem_noc_hf }, 1407 .nodes = { &qnm_camnoc_hf, &qnm_camnoc_icp, 1420 .nodes = { &qup0_core_slave }, 1428 .nodes = { &qup1_core_slave }, 1436 .nodes = { &qup2_core_slave }, [all …]
|
D | osm-l3.c | 70 const struct qcom_osm_l3_node * const *nodes; member 95 .nodes = sdm845_osm_l3_nodes, 111 .nodes = sc7180_osm_l3_nodes, 127 .nodes = sc7280_epss_l3_nodes, 143 .nodes = sc8180x_osm_l3_nodes, 159 .nodes = sm8150_osm_l3_nodes, 175 .nodes = sm8250_epss_l3_nodes, 197 list_for_each_entry(n, &provider->nodes, node_list) in qcom_osm_l3_set() 294 qnodes = desc->nodes; in qcom_osm_l3_probe() 306 INIT_LIST_HEAD(&provider->nodes); in qcom_osm_l3_probe() [all …]
|
D | sc8280xp.c | 1731 .nodes = { &ebi }, 1737 .nodes = { &qxm_crypto }, 1744 .nodes = { &qnm_gemnoc_cnoc, 1759 .nodes = { &qhs_ahb2phy0, 1832 .nodes = { &qhs_qspi, 1842 .nodes = { &qxs_imem, 1851 .nodes = { &ipa_core_slave }, 1858 .nodes = { &ebi }, 1865 .nodes = { &qnm_camnoc_hf, 1876 .nodes = { &qnm_rot_0, [all …]
|
/linux-6.1.9/Documentation/devicetree/bindings/pinctrl/ |
D | meson,pinctrl.txt | 22 === GPIO sub-nodes === 27 Required properties for sub-nodes are: 36 === Other sub-nodes === 38 Child nodes without the "gpio-controller" represent some desired 39 configuration for a pin or a group. Those nodes can be pinmux nodes or 40 configuration nodes. 42 Required properties for pinmux nodes are: 49 Required properties for configuration nodes: 52 Configuration nodes support the following generic properties, as
|
/linux-6.1.9/drivers/platform/surface/ |
D | surface_aggregator_registry.c | 379 const struct software_node **nodes; in ssam_platform_hub_probe() local 384 nodes = (const struct software_node **)acpi_device_get_match_data(&pdev->dev); in ssam_platform_hub_probe() 385 if (!nodes) in ssam_platform_hub_probe() 399 status = software_node_register_node_group(nodes); in ssam_platform_hub_probe() 405 software_node_unregister_node_group(nodes); in ssam_platform_hub_probe() 414 software_node_unregister_node_group(nodes); in ssam_platform_hub_probe() 417 platform_set_drvdata(pdev, nodes); in ssam_platform_hub_probe() 423 const struct software_node **nodes = platform_get_drvdata(pdev); in ssam_platform_hub_remove() local 427 software_node_unregister_node_group(nodes); in ssam_platform_hub_remove()
|
/linux-6.1.9/arch/sparc/kernel/ |
D | cpumap.c | 53 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-6.1.9/sound/hda/ |
D | hdac_sysfs.c | 16 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 = kcalloc(codec->num_nodes + 1, sizeof(*tree->nodes), in widget_tree_create() 379 if (!tree->nodes) in widget_tree_create() 384 &tree->nodes[i]); in widget_tree_create() 439 tree->nodes = kcalloc(num_nodes + 1, sizeof(*tree->nodes), GFP_KERNEL); in hda_widget_sysfs_reinit() 440 if (!tree->nodes) { in hda_widget_sysfs_reinit() 448 free_widget_node(codec->widgets->nodes[i], in hda_widget_sysfs_reinit() [all …]
|
/linux-6.1.9/drivers/clk/zynqmp/ |
D | clk-zynqmp.h | 73 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-6.1.9/Documentation/admin-guide/mm/ |
D | numa_memory_policy.rst | 19 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 …]
|