/kernel/linux/linux-6.6/lib/ |
H A D | interval_tree.c | 21 * Roll nodes[1] into nodes[0] by advancing nodes[1] to the end of a contiguous 22 * span of nodes. This makes nodes[0]->last the end of that contiguous used span 23 * indexes that started at the original nodes[1]->start. nodes[1] is now the 24 * first node starting the next used span. A hole span is between nodes[0]->last 25 * and nodes[1]->start. nodes[ [all...] |
H A D | interval_tree_test.c | 14 __param(int, nnodes, 100, "Number of nodes in the interval tree"); 19 __param(bool, search_all, false, "Searches will iterate all nodes in the tree"); 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 in interval_tree_test_init() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/ |
H A D | test-drm_mm.c | 268 struct drm_mm_node nodes[2]; in igt_debug() local 271 /* Create a small drm_mm with a couple of nodes and a few holes, and in igt_debug() 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[ in igt_debug() 376 struct drm_mm_node tmp, *nodes, *node, *next; __igt_reserve() local 574 struct drm_mm_node *nodes, *node, *next; __igt_insert() local 881 struct drm_mm_node *nodes, *node, *next; __igt_insert_range() local 1037 prepare_igt_frag(struct drm_mm *mm, struct drm_mm_node *nodes, unsigned int num_insert, const struct insert_mode *mode) prepare_igt_frag() argument 1063 get_insert_time(struct drm_mm *mm, unsigned int num_insert, struct drm_mm_node *nodes, const struct insert_mode *mode) get_insert_time() argument 1087 struct drm_mm_node *nodes, *node, *next; igt_frag() local 1158 struct drm_mm_node *nodes, *node, *next; igt_align() local 1304 evict_nodes(struct drm_mm_scan *scan, struct evict_node *nodes, unsigned int *order, unsigned int count, bool use_color, struct list_head *evict_list) evict_nodes() argument 1351 evict_nothing(struct drm_mm *mm, unsigned int total_size, struct evict_node *nodes) evict_nothing() argument 1398 evict_everything(struct drm_mm *mm, unsigned int total_size, struct evict_node *nodes) evict_everything() argument 1447 evict_something(struct drm_mm *mm, u64 range_start, u64 range_end, struct evict_node *nodes, unsigned int *order, unsigned int count, unsigned int size, unsigned int alignment, const struct insert_mode *mode) evict_something() argument 1524 struct evict_node *nodes; igt_evict() local 1637 struct evict_node *nodes; igt_evict_range() local 1738 struct drm_mm_node *nodes, *node, *next; igt_topdown() local 1852 struct drm_mm_node *nodes, *node, *next; igt_bottomup() local 2189 evict_color(struct drm_mm *mm, u64 range_start, u64 range_end, struct evict_node *nodes, unsigned int *order, unsigned int count, unsigned int size, unsigned int alignment, unsigned long color, const struct insert_mode *mode) evict_color() argument 2265 struct evict_node *nodes; igt_color_evict() local 2368 struct evict_node *nodes; igt_color_evict_range() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/wangxun/txgbe/ |
H A D | txgbe_phy.c | 25 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 in txgbe_swnodes_register() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/tests/ |
H A D | drm_mm_test.c | 251 struct drm_mm_node nodes[2]; in drm_test_mm_debug() local 253 /* Create a small drm_mm with a couple of nodes and a few holes, and in drm_test_mm_debug() 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[ in drm_test_mm_debug() 348 struct drm_mm_node tmp, *nodes, *node, *next; __drm_test_mm_reserve() local 532 struct drm_mm_node *nodes, *node, *next; __drm_test_mm_insert() local 816 struct drm_mm_node *nodes, *node, *next; __drm_test_mm_insert_range() local 950 prepare_frag(struct kunit *test, struct drm_mm *mm, struct drm_mm_node *nodes, unsigned int num_insert, const struct insert_mode *mode) prepare_frag() argument 972 get_insert_time(struct kunit *test, struct drm_mm *mm, unsigned int num_insert, struct drm_mm_node *nodes, const struct insert_mode *mode) get_insert_time() argument 995 struct drm_mm_node *nodes, *node, *next; drm_test_mm_frag() local 1058 struct drm_mm_node *nodes, *node, *next; drm_test_mm_align() local 1186 evict_nodes(struct kunit *test, struct drm_mm_scan *scan, struct evict_node *nodes, unsigned int *order, unsigned int count, bool use_color, struct list_head *evict_list) evict_nodes() argument 1232 evict_nothing(struct kunit *test, struct drm_mm *mm, unsigned int total_size, struct evict_node *nodes) evict_nothing() argument 1278 evict_everything(struct kunit *test, struct drm_mm *mm, unsigned int total_size, struct evict_node *nodes) evict_everything() argument 1326 evict_something(struct kunit *test, struct drm_mm *mm, u64 range_start, u64 range_end, struct evict_node *nodes, unsigned int *order, unsigned int count, unsigned int size, unsigned int alignment, const struct insert_mode *mode) evict_something() argument 1396 struct evict_node *nodes; drm_test_mm_evict() local 1490 struct evict_node *nodes; drm_test_mm_evict_range() local 1577 struct drm_mm_node *nodes, *node, *next; drm_test_mm_topdown() local 1684 struct drm_mm_node *nodes, *node, *next; drm_test_mm_bottomup() local 1983 evict_color(struct kunit *test, struct drm_mm *mm, u64 range_start, u64 range_end, struct evict_node *nodes, unsigned int *order, unsigned int count, unsigned int size, unsigned int alignment, unsigned long color, const struct insert_mode *mode) evict_color() argument 2052 struct evict_node *nodes; drm_test_mm_color_evict() local 2136 struct evict_node *nodes; drm_test_mm_color_evict_range() local [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/intel/ |
H A D | ipu-bridge.c | 300 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() 394 /* append link to distinguish nodes with same model VCM */ in ipu_bridge_init_swnode_names() 411 struct software_node *nodes = sensor->swnodes; in ipu_bridge_init_swnode_group() local 413 sensor->group[SWNODE_SENSOR_HID] = &nodes[SWNODE_SENSOR_HI in ipu_bridge_init_swnode_group() 445 struct software_node *nodes = sensor->swnodes; ipu_bridge_create_connection_swnodes() local [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | mempolicy.c | 15 * interleave Allocate memory interleaved over a set of nodes, 22 * bind Only allocate memory on a specific set of nodes, 26 * the allocation to memory nodes instead 176 int (*create)(struct mempolicy *pol, const nodemask_t *nodes); 177 void (*rebind)(struct mempolicy *pol, const nodemask_t *nodes); 193 static int mpol_new_interleave(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_interleave() argument 195 if (nodes_empty(*nodes)) in mpol_new_interleave() 197 pol->v.nodes = *nodes; in mpol_new_interleave() 201 static int mpol_new_preferred(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_preferred() argument 212 mpol_new_bind(struct mempolicy *pol, const nodemask_t *nodes) mpol_new_bind() argument 229 mpol_set_nodemask(struct mempolicy *pol, const nodemask_t *nodes, struct nodemask_scratch *nsc) mpol_set_nodemask() argument 268 mpol_new(unsigned short mode, unsigned short flags, nodemask_t *nodes) mpol_new() argument 320 mpol_rebind_default(struct mempolicy *pol, const nodemask_t *nodes) mpol_rebind_default() argument 324 mpol_rebind_nodemask(struct mempolicy *pol, const nodemask_t *nodes) mpol_rebind_nodemask() argument 344 mpol_rebind_preferred(struct mempolicy *pol, const nodemask_t *nodes) mpol_rebind_preferred() argument 743 queue_pages_range(struct mm_struct *mm, unsigned long start, unsigned long end, nodemask_t *nodes, unsigned long flags, struct list_head *pagelist) queue_pages_range() argument 858 do_set_mempolicy(unsigned short mode, unsigned short flags, nodemask_t *nodes) do_set_mempolicy() argument 897 get_policy_nodemask(struct mempolicy *p, nodemask_t *nodes) get_policy_nodemask() argument 1372 get_nodes(nodemask_t *nodes, const unsigned long __user *nmask, unsigned long maxnode) get_nodes() argument 1433 copy_nodes_to_user(unsigned long __user *mask, unsigned long maxnode, nodemask_t *nodes) copy_nodes_to_user() argument 1453 nodemask_t nodes; kernel_mbind() local 1483 nodemask_t nodes; kernel_set_mempolicy() local 1609 nodemask_t nodes; kernel_get_mempolicy() local 2875 nodemask_t nodes; mpol_parse_str() local 3006 nodemask_t nodes = NODE_MASK_NONE; mpol_to_str() local [all...] |
/kernel/linux/linux-6.6/drivers/md/persistent-data/ |
H A D | dm-btree-spine.c | 128 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[ in exit_shadow_spine() [all...] |
/kernel/linux/linux-5.10/Documentation/sphinx/ |
H A D | rstFlatTable.py | 47 from docutils import nodes namespace 104 class rowSpan(nodes.General, nodes.Element): pass # pylint: disable=C0103,C0321 105 class colSpan(nodes.General, nodes.Element): pass # pylint: disable=C0103,C0321 127 nodes.literal_block(self.block_text, self.block_text), 132 node = nodes.Element() # anonymous container for parsing 166 table = nodes.table() 167 tgroup = nodes.tgroup(cols=len(colwidths)) 172 colspec = nodes [all...] |
/kernel/linux/linux-6.6/Documentation/sphinx/ |
H A D | rstFlatTable.py | 45 from docutils import nodes namespace 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 [all...] |
H A D | automarkup.py | 7 from docutils import nodes namespace 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)) 283 # The nodes.literal test catches ``literal text``, its purpose is to 286 if not isinstance(node, nodes [all...] |
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | mem2node.c | 49 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()
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A 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()
|
/kernel/linux/linux-5.10/arch/arm/mach-sunxi/ |
H A D | mc_smp.c | 690 * This holds any device nodes that we requested resources for, 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 742 sun8i_a83t_get_smp_nodes(struct sunxi_mc_smp_nodes *nodes) sun8i_a83t_get_smp_nodes() argument 782 struct sunxi_mc_smp_nodes nodes = { 0 }; sunxi_mc_smp_init() local [all...] |
/kernel/linux/linux-6.6/arch/arm/mach-sunxi/ |
H A D | mc_smp.c | 689 * 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 741 sun8i_a83t_get_smp_nodes(struct sunxi_mc_smp_nodes *nodes) sun8i_a83t_get_smp_nodes() argument 781 struct sunxi_mc_smp_nodes nodes = { 0 }; sunxi_mc_smp_init() local [all...] |
/kernel/linux/linux-5.10/security/selinux/ss/ |
H A 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() 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() 295 if (other->nodes[i] == node_ptr) { in cond_insertf() 340 list->nodes = kcalloc(len, sizeof(*list->nodes), GFP_KERNE in cond_read_av_list() [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | mempolicy.c | 15 * interleave Allocate memory interleaved over a set of nodes, 22 * bind Only allocate memory on a specific set of nodes, 26 * the allocation to memory nodes instead 34 * preferred many Try a set of nodes first before normal fallback. This is 185 int (*create)(struct mempolicy *pol, const nodemask_t *nodes); 186 void (*rebind)(struct mempolicy *pol, const nodemask_t *nodes); 202 static int mpol_new_nodemask(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_nodemask() argument 204 if (nodes_empty(*nodes)) in mpol_new_nodemask() 206 pol->nodes = *nodes; in mpol_new_nodemask() 210 mpol_new_preferred(struct mempolicy *pol, const nodemask_t *nodes) mpol_new_preferred() argument 228 mpol_set_nodemask(struct mempolicy *pol, const nodemask_t *nodes, struct nodemask_scratch *nsc) mpol_set_nodemask() argument 265 mpol_new(unsigned short mode, unsigned short flags, nodemask_t *nodes) mpol_new() argument 319 mpol_rebind_default(struct mempolicy *pol, const nodemask_t *nodes) mpol_rebind_default() argument 323 mpol_rebind_nodemask(struct mempolicy *pol, const nodemask_t *nodes) mpol_rebind_nodemask() argument 343 mpol_rebind_preferred(struct mempolicy *pol, const nodemask_t *nodes) mpol_rebind_preferred() argument 747 queue_pages_range(struct mm_struct *mm, unsigned long start, unsigned long end, nodemask_t *nodes, unsigned long flags, struct list_head *pagelist, bool lock_vma) queue_pages_range() argument 862 do_set_mempolicy(unsigned short mode, unsigned short flags, nodemask_t *nodes) do_set_mempolicy() argument 903 get_policy_nodemask(struct mempolicy *p, nodemask_t *nodes) get_policy_nodemask() argument 1407 get_nodes(nodemask_t *nodes, const unsigned long __user *nmask, unsigned long maxnode) get_nodes() argument 1443 copy_nodes_to_user(unsigned long __user *mask, unsigned long maxnode, nodemask_t *nodes) copy_nodes_to_user() argument 1492 nodemask_t nodes; kernel_mbind() local 1587 nodemask_t nodes; kernel_set_mempolicy() local 1713 nodemask_t nodes; kernel_get_mempolicy() local 2326 int nodes; alloc_pages_bulk_array_interleave() local 3010 nodemask_t nodes; mpol_parse_str() local 3143 nodemask_t nodes = NODE_MASK_NONE; mpol_to_str() local [all...] |
/kernel/linux/linux-6.6/security/selinux/ss/ |
H A 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() 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() 296 if (other->nodes[i] == node_ptr) { in cond_insertf() 341 list->nodes = kcalloc(len, sizeof(*list->nodes), GFP_KERNE in cond_read_av_list() [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | interval_tree_test.c | 14 __param(int, nnodes, 100, "Number of nodes in the interval tree"); 19 __param(bool, search_all, false, "Searches will iterate all nodes in the tree"); 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 in interval_tree_test_init() [all...] |
H A D | rbtree_test.c | 14 __param(int, nnodes, 100, "Number of nodes in the rb-tree"); 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 in rbtree_test_init() [all...] |
/kernel/linux/linux-5.10/drivers/interconnect/qcom/ |
H A D | sc7180.c | 161 .nodes = { &ebi }, 168 .nodes = { &ebi }, 175 .nodes = { &qns_llcc }, 182 .nodes = { &qns_mem_noc_hf }, 189 .nodes = { &qxm_crypto }, 196 .nodes = { &qnm_snoc, 251 .nodes = { &qxm_camnoc_hf0_uncomp, 266 .nodes = { &acm_sys_tcu }, 273 .nodes = { &qns_mem_noc_sf }, 280 .nodes [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vram_mgr.c | 261 struct drm_mm_node *nodes = mem->mm_node; in amdgpu_vram_mgr_bo_visible_size() local 271 for (usage = 0; nodes && pages; pages -= nodes->size, nodes++) in amdgpu_vram_mgr_bo_visible_size() 272 usage += amdgpu_vram_mgr_vis_size(adev, nodes); in amdgpu_vram_mgr_bo_visible_size() 317 struct drm_mm_node *nodes; in amdgpu_vram_mgr_new() local 353 nodes = kvmalloc_array((uint32_t)num_nodes, sizeof(*nodes), in amdgpu_vram_mgr_new() 355 if (!nodes) { in amdgpu_vram_mgr_new() 371 r = drm_mm_insert_node_in_range(mm, &nodes[ in amdgpu_vram_mgr_new() 432 struct drm_mm_node *nodes = mem->mm_node; amdgpu_vram_mgr_del() local [all...] |
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | inode-item.c | 93 return btrfs_find_name_in_ext_backref(path->nodes[0], path->slots[0], in btrfs_lookup_inode_extref() 135 extref = btrfs_find_name_in_ext_backref(path->nodes[0], path->slots[0], in btrfs_del_inode_extref() 143 leaf = path->nodes[0]; in btrfs_del_inode_extref() 207 ref = btrfs_find_name_in_backref(path->nodes[0], path->slots[0], name, in btrfs_del_inode_ref() 214 leaf = path->nodes[0]; in btrfs_del_inode_ref() 277 if (btrfs_find_name_in_ext_backref(path->nodes[0], in btrfs_insert_inode_extref() 289 leaf = path->nodes[0]; in btrfs_insert_inode_extref() 295 btrfs_set_inode_extref_name_len(path->nodes[0], extref, name_len); in btrfs_insert_inode_extref() 296 btrfs_set_inode_extref_index(path->nodes[0], extref, index); in btrfs_insert_inode_extref() 297 btrfs_set_inode_extref_parent(path->nodes[ in btrfs_insert_inode_extref() [all...] |
/kernel/linux/linux-5.10/drivers/md/persistent-data/ |
H A D | dm-btree-spine.c | 131 s->nodes[0] = NULL; in init_ro_spine() 132 s->nodes[1] = NULL; in init_ro_spine() 140 unlock_block(s->info, s->nodes[i]); in exit_ro_spine() 149 unlock_block(s->info, s->nodes[0]); in ro_step() 150 s->nodes[0] = s->nodes[1]; in ro_step() 154 r = bn_read_lock(s->info, new_child, s->nodes + s->count); in ro_step() 165 unlock_block(s->info, s->nodes[s->count]); in ro_pop() 173 block = s->nodes[s->count - 1]; in ro_node() 191 unlock_block(s->info, s->nodes[ in exit_shadow_spine() [all...] |
/kernel/linux/linux-6.6/drivers/interconnect/qcom/ |
H A D | sdx65.c | 611 .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 [all...] |