Home
last modified time | relevance | path

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

12345678910>>...37

/Linux-v6.6/lib/
Dinterval_tree.c30 struct interval_tree_node *cur = state->nodes[1]; in interval_tree_span_iter_next_gap()
32 state->nodes[0] = cur; in interval_tree_span_iter_next_gap()
34 if (cur->last > state->nodes[0]->last) in interval_tree_span_iter_next_gap()
35 state->nodes[0] = cur; in interval_tree_span_iter_next_gap()
38 } while (cur && (state->nodes[0]->last >= cur->start || in interval_tree_span_iter_next_gap()
39 state->nodes[0]->last + 1 == cur->start)); in interval_tree_span_iter_next_gap()
40 state->nodes[1] = cur; in interval_tree_span_iter_next_gap()
50 iter->nodes[0] = NULL; in interval_tree_span_iter_first()
51 iter->nodes[1] = in interval_tree_span_iter_first()
53 if (!iter->nodes[1]) { in interval_tree_span_iter_first()
[all …]
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-v6.6/drivers/gpu/drm/tests/
Ddrm_mm_test.c251 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-v6.6/drivers/net/ethernet/wangxun/txgbe/
Dtxgbe_phy.c25 struct txgbe_nodes *nodes = &txgbe->nodes; in txgbe_swnodes_register() local
32 snprintf(nodes->gpio_name, sizeof(nodes->gpio_name), "txgbe_gpio-%x", id); in txgbe_swnodes_register()
33 snprintf(nodes->i2c_name, sizeof(nodes->i2c_name), "txgbe_i2c-%x", id); in txgbe_swnodes_register()
34 snprintf(nodes->sfp_name, sizeof(nodes->sfp_name), "txgbe_sfp-%x", id); in txgbe_swnodes_register()
35 snprintf(nodes->phylink_name, sizeof(nodes->phylink_name), "txgbe_phylink-%x", id); in txgbe_swnodes_register()
37 swnodes = nodes->swnodes; in txgbe_swnodes_register()
46 nodes->gpio_props[0] = PROPERTY_ENTRY_STRING("pinctrl-names", "default"); in txgbe_swnodes_register()
47 swnodes[SWNODE_GPIO] = NODE_PROP(nodes->gpio_name, nodes->gpio_props); in txgbe_swnodes_register()
48 nodes->gpio0_ref[0] = SOFTWARE_NODE_REFERENCE(&swnodes[SWNODE_GPIO], 0, GPIO_ACTIVE_HIGH); in txgbe_swnodes_register()
49 nodes->gpio1_ref[0] = SOFTWARE_NODE_REFERENCE(&swnodes[SWNODE_GPIO], 1, GPIO_ACTIVE_HIGH); in txgbe_swnodes_register()
[all …]
/Linux-v6.6/drivers/media/pci/intel/
Dipu-bridge.c300 struct software_node *nodes = sensor->swnodes; in ipu_bridge_create_fwnode_properties() local
306 SOFTWARE_NODE_REFERENCE(&nodes[SWNODE_IVSC_SENSOR_ENDPOINT]); in ipu_bridge_create_fwnode_properties()
308 SOFTWARE_NODE_REFERENCE(&nodes[SWNODE_IVSC_IPU_ENDPOINT]); in ipu_bridge_create_fwnode_properties()
310 SOFTWARE_NODE_REFERENCE(&nodes[SWNODE_SENSOR_ENDPOINT]); in ipu_bridge_create_fwnode_properties()
312 SOFTWARE_NODE_REFERENCE(&nodes[SWNODE_IPU_ENDPOINT]); in ipu_bridge_create_fwnode_properties()
337 SOFTWARE_NODE_REFERENCE(&nodes[SWNODE_IPU_ENDPOINT]); in ipu_bridge_create_fwnode_properties()
339 SOFTWARE_NODE_REFERENCE(&nodes[SWNODE_SENSOR_ENDPOINT]); in ipu_bridge_create_fwnode_properties()
411 struct software_node *nodes = sensor->swnodes; in ipu_bridge_init_swnode_group() local
413 sensor->group[SWNODE_SENSOR_HID] = &nodes[SWNODE_SENSOR_HID]; in ipu_bridge_init_swnode_group()
414 sensor->group[SWNODE_SENSOR_PORT] = &nodes[SWNODE_SENSOR_PORT]; in ipu_bridge_init_swnode_group()
[all …]
/Linux-v6.6/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:]))
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-v6.6/mm/
Dmempolicy.c181 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-v6.6/drivers/md/persistent-data/
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-v6.6/arch/arm/mach-sunxi/
Dmc_smp.c702 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()
719 if (!nodes->prcm_node) { in sun9i_a80_get_smp_nodes()
[all …]
/Linux-v6.6/tools/perf/tests/
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-v6.6/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()
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-v6.6/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-v6.6/drivers/interconnect/qcom/
Dsm8550.c1480 .nodes = { &ebi },
1486 .nodes = { &qxm_crypto },
1494 .nodes = { &qsm_cfg, &qhs_ahb2phy0,
1526 .nodes = { &qhs_display_cfg },
1533 .nodes = { &qxm_nsp, &qns_nsp_gemnoc },
1539 .nodes = { &qnm_lpass_lpinoc, &qns_lpass_aggnoc },
1546 .nodes = { &ebi },
1552 .nodes = { &qns_mem_noc_hf },
1559 .nodes = { &qnm_camnoc_hf, &qnm_camnoc_icp,
1570 .nodes = { &qup0_core_slave },
[all …]
Dsdx55.c650 .nodes = { &ebi },
657 .nodes = { &qns_llcc },
664 .nodes = { &qxm_crypto },
671 .nodes = { &qhm_snoc_cfg },
678 .nodes = { &xm_apps_rdwr },
685 .nodes = { &qns_memnoc_snoc, &qns_sys_pcie },
692 .nodes = { &qns_snoc_memnoc },
699 .nodes = { &qxs_imem },
706 .nodes = { &xm_sdc1 },
713 .nodes = { &qhm_audio, &qhm_spmi_fetcher1 },
[all …]
Dsdx65.c611 .nodes = { &qxm_crypto },
618 .nodes = { &ebi },
625 .nodes = { &qhm_snoc_cfg,
658 .nodes = { &xm_sdc1 },
665 .nodes = { &qhm_audio, &qhm_spmi_fetcher1 },
672 .nodes = { &qhm_blsp1, &qhm_qpic },
679 .nodes = { &qxm_crypto },
686 .nodes = { &qns_llcc },
693 .nodes = { &qns_memnoc_snoc },
700 .nodes = { &xm_apps_rdwr },
[all …]
Dsm8350.c1361 .nodes = { &ebi },
1368 .nodes = { &qxm_crypto },
1375 .nodes = { &qnm_gemnoc_cnoc, &qnm_gemnoc_pcie },
1382 .nodes = { &xm_qdss_dap,
1436 .nodes = { &qhs_lpass_cfg, &qhs_pdm, &qhs_qspi, &qhs_sdc2, &qhs_sdc4 },
1443 .nodes = { &qns_nsp_gemnoc },
1450 .nodes = { &qxm_nsp },
1457 .nodes = { &ebi },
1464 .nodes = { &qns_mem_noc_hf },
1471 .nodes = { &qnm_camnoc_hf, &qxm_mdp0, &qxm_mdp1 },
[all …]
Dsm6350.c1169 .nodes = { &ebi },
1176 .nodes = { &qxm_crypto },
1183 .nodes = { &qnm_snoc,
1231 .nodes = { &xm_emmc,
1244 .nodes = { &qns_cdsp_gemnoc },
1251 .nodes = { &qnm_npu },
1258 .nodes = { &qxm_npu_dsp },
1265 .nodes = { &ebi },
1272 .nodes = { &qns_mem_noc_hf },
1279 .nodes = { &qxm_camnoc_hf0_uncomp,
[all …]
Dsc7280.c1289 .nodes = { &ebi },
1295 .nodes = { &qxm_crypto },
1302 .nodes = { &qnm_gemnoc_cnoc, &qnm_gemnoc_pcie },
1308 .nodes = { &qnm_cnoc3_cnoc2, &xm_qdss_dap,
1336 .nodes = { &qhs_lpass_cfg, &qhs_pdm,
1344 .nodes = { &qns_nsp_gemnoc },
1350 .nodes = { &qxm_nsp },
1357 .nodes = { &ebi },
1364 .nodes = { &qns_mem_noc_hf },
1370 .nodes = { &qxm_camnoc_hf, &qxm_mdp0 },
[all …]
Dsdm670.c1052 .nodes = { &ebi },
1059 .nodes = { &ebi },
1066 .nodes = { &qns_llcc },
1073 .nodes = { &qns_mem_noc_hf },
1080 .nodes = { &qns_apps_io },
1087 .nodes = { &qxm_camnoc_hf0_uncomp,
1101 .nodes = { &qns_memnoc_snoc },
1108 .nodes = { &qns2_mem_noc },
1115 .nodes = { &acm_tcu },
1122 .nodes = { &qxm_camnoc_sf, &qxm_rot, &qxm_venus0, &qxm_venus1, &qxm_venus_arm9 },
[all …]
Dsc7180.c1243 .nodes = { &ebi },
1250 .nodes = { &ebi },
1257 .nodes = { &qns_llcc },
1264 .nodes = { &qns_mem_noc_hf },
1271 .nodes = { &qxm_crypto },
1278 .nodes = { &qnm_snoc,
1333 .nodes = { &qxm_camnoc_hf0_uncomp,
1348 .nodes = { &acm_sys_tcu },
1355 .nodes = { &qns_mem_noc_sf },
1362 .nodes = { &qup_core_master_1, &qup_core_master_2 },
[all …]
Dsdm845.c1270 .nodes = { &ebi },
1277 .nodes = { &ebi },
1284 .nodes = { &qns_llcc },
1291 .nodes = { &qns_mem_noc_hf },
1298 .nodes = { &qns_apps_io },
1305 .nodes = { &qxm_camnoc_hf0_uncomp,
1319 .nodes = { &qns_memnoc_snoc },
1326 .nodes = { &qns2_mem_noc },
1333 .nodes = { &acm_tcu },
1340 .nodes = { &qxm_camnoc_sf, &qxm_rot, &qxm_venus0, &qxm_venus1, &qxm_venus_arm9 },
[all …]
/Linux-v6.6/fs/btrfs/
Dctree.c217 if (!p->nodes[i]) in btrfs_release_path()
220 btrfs_tree_unlock_rw(p->nodes[i], p->locks[i]); in btrfs_release_path()
223 free_extent_buffer(p->nodes[i]); in btrfs_release_path()
224 p->nodes[i] = NULL; in btrfs_release_path()
1058 mid = path->nodes[level]; in balance_level()
1066 parent = path->nodes[level + 1]; in balance_level()
1109 path->nodes[level] = NULL; in balance_level()
1266 path->nodes[level] = left; in balance_level()
1280 btrfs_node_blockptr(path->nodes[level], path->slots[level])) in balance_level()
1288 if (path->nodes[level] != left) in balance_level()
[all …]
Dinode-item.c102 return btrfs_find_name_in_ext_backref(path->nodes[0], path->slots[0], in btrfs_lookup_inode_extref()
142 extref = btrfs_find_name_in_ext_backref(path->nodes[0], path->slots[0], in btrfs_del_inode_extref()
150 leaf = path->nodes[0]; in btrfs_del_inode_extref()
211 ref = btrfs_find_name_in_backref(path->nodes[0], path->slots[0], name); in btrfs_del_inode_ref()
217 leaf = path->nodes[0]; in btrfs_del_inode_ref()
279 if (btrfs_find_name_in_ext_backref(path->nodes[0], in btrfs_insert_inode_extref()
291 leaf = path->nodes[0]; in btrfs_insert_inode_extref()
296 btrfs_set_inode_extref_name_len(path->nodes[0], extref, name->len); in btrfs_insert_inode_extref()
297 btrfs_set_inode_extref_index(path->nodes[0], extref, index); in btrfs_insert_inode_extref()
298 btrfs_set_inode_extref_parent(path->nodes[0], extref, ref_objectid); in btrfs_insert_inode_extref()
[all …]

12345678910>>...37