Home
last modified time | relevance | path

Searched refs:next_node (Results 1 – 30 of 30) sorted by relevance

/linux-4.4.14/drivers/acpi/acpica/
Dnsalloc.c168 struct acpi_namespace_node *next_node; in acpi_ns_remove_node() local
175 next_node = parent_node->child; in acpi_ns_remove_node()
179 while (next_node != node) { in acpi_ns_remove_node()
180 prev_node = next_node; in acpi_ns_remove_node()
181 next_node = next_node->peer; in acpi_ns_remove_node()
301 struct acpi_namespace_node *next_node; in acpi_ns_delete_children() local
312 next_node = parent_node->child; in acpi_ns_delete_children()
313 while (next_node) { in acpi_ns_delete_children()
317 if (next_node->child) { in acpi_ns_delete_children()
319 parent_node, next_node)); in acpi_ns_delete_children()
[all …]
Dnswalk.c114 struct acpi_namespace_node *next_node = NULL; in acpi_ns_get_next_node_typed() local
118 next_node = acpi_ns_get_next_node(parent_node, child_node); in acpi_ns_get_next_node_typed()
127 return (next_node); in acpi_ns_get_next_node_typed()
132 while (next_node) { in acpi_ns_get_next_node_typed()
136 if (next_node->type == type) { in acpi_ns_get_next_node_typed()
137 return (next_node); in acpi_ns_get_next_node_typed()
142 next_node = next_node->peer; in acpi_ns_get_next_node_typed()
Dnsnames.c189 struct acpi_namespace_node *next_node; in acpi_ns_build_normalized_path() local
214 next_node = node; in acpi_ns_build_normalized_path()
215 while (next_node && next_node != acpi_gbl_root_node) { in acpi_ns_build_normalized_path()
216 if (next_node != node) { in acpi_ns_build_normalized_path()
220 ACPI_MOVE_32_TO_32(name, &next_node->name); in acpi_ns_build_normalized_path()
231 next_node = next_node->parent; in acpi_ns_build_normalized_path()
Devregion.c753 struct acpi_namespace_node *next_node; in acpi_ev_orphan_ec_reg_method() local
782 next_node = acpi_ns_get_next_node(ec_device_node, NULL); in acpi_ev_orphan_ec_reg_method()
783 while (next_node) { in acpi_ev_orphan_ec_reg_method()
784 if ((next_node->type == ACPI_TYPE_REGION) && in acpi_ev_orphan_ec_reg_method()
785 (next_node->object) && in acpi_ev_orphan_ec_reg_method()
786 (next_node->object->region.space_id == ACPI_ADR_SPACE_EC)) { in acpi_ev_orphan_ec_reg_method()
790 next_node = acpi_ns_get_next_node(ec_device_node, next_node); in acpi_ev_orphan_ec_reg_method()
/linux-4.4.14/scripts/genksyms/
Dlex.l112 cur_node = next_node; \
113 next_node = xmalloc(sizeof(*next_node)); \
114 next_node->next = cur_node; \
139 static struct string_list *next_node;
146 next_node = xmalloc(sizeof(*next_node));
147 next_node->next = NULL;
479 yylval = &next_node->next;
Dlex.lex.c_shipped1922 cur_node = next_node; \
1923 next_node = xmalloc(sizeof(*next_node)); \
1924 next_node->next = cur_node; \
1948 static struct string_list *next_node;
1955 next_node = xmalloc(sizeof(*next_node));
1956 next_node->next = NULL;
2288 yylval = &next_node->next;
/linux-4.4.14/fs/hfsplus/
Dbrec.c236 struct hfs_bnode *node, *new_node, *next_node; in hfs_bnode_split() local
256 next_node = hfs_bnode_find(tree, node->next); in hfs_bnode_split()
258 next_node = NULL; in hfs_bnode_split()
260 if (IS_ERR(next_node)) { in hfs_bnode_split()
263 return next_node; in hfs_bnode_split()
279 if (next_node) in hfs_bnode_split()
280 hfs_bnode_put(next_node); in hfs_bnode_split()
335 if (next_node) { in hfs_bnode_split()
336 next_node->prev = new_node->this; in hfs_bnode_split()
337 hfs_bnode_read(next_node, &node_desc, 0, sizeof(node_desc)); in hfs_bnode_split()
[all …]
Dbtree.c346 struct hfs_bnode *node, *next_node; in hfs_bmap_alloc() local
418 next_node = hfs_bmap_new_bmap(node, idx); in hfs_bmap_alloc()
420 next_node = hfs_bnode_find(tree, nidx); in hfs_bmap_alloc()
422 if (IS_ERR(next_node)) in hfs_bmap_alloc()
423 return next_node; in hfs_bmap_alloc()
424 node = next_node; in hfs_bmap_alloc()
/linux-4.4.14/fs/hfs/
Dbrec.c232 struct hfs_bnode *node, *new_node, *next_node; in hfs_bnode_split() local
252 next_node = hfs_bnode_find(tree, node->next); in hfs_bnode_split()
254 next_node = NULL; in hfs_bnode_split()
256 if (IS_ERR(next_node)) { in hfs_bnode_split()
259 return next_node; in hfs_bnode_split()
275 if (next_node) in hfs_bnode_split()
276 hfs_bnode_put(next_node); in hfs_bnode_split()
331 if (next_node) { in hfs_bnode_split()
332 next_node->prev = new_node->this; in hfs_bnode_split()
333 hfs_bnode_read(next_node, &node_desc, 0, sizeof(node_desc)); in hfs_bnode_split()
[all …]
Dbtree.c224 struct hfs_bnode *node, *next_node; in hfs_bmap_alloc() local
294 next_node = hfs_bmap_new_bmap(node, idx); in hfs_bmap_alloc()
296 next_node = hfs_bnode_find(tree, nidx); in hfs_bmap_alloc()
298 if (IS_ERR(next_node)) in hfs_bmap_alloc()
299 return next_node; in hfs_bmap_alloc()
300 node = next_node; in hfs_bmap_alloc()
/linux-4.4.14/kernel/sched/
Ddeadline.c194 struct rb_node *next_node; in dequeue_pushable_dl_task() local
196 next_node = rb_next(&p->pushable_dl_tasks); in dequeue_pushable_dl_task()
197 dl_rq->pushable_dl_tasks_leftmost = next_node; in dequeue_pushable_dl_task()
920 struct rb_node *next_node; in __dequeue_dl_entity() local
922 next_node = rb_next(&dl_se->rb_node); in __dequeue_dl_entity()
923 dl_rq->rb_leftmost = next_node; in __dequeue_dl_entity()
1280 struct rb_node *next_node = rq->dl.rb_leftmost; in pick_next_earliest_dl_task() local
1284 next_node: in pick_next_earliest_dl_task()
1285 next_node = rb_next(next_node); in pick_next_earliest_dl_task()
1286 if (next_node) { in pick_next_earliest_dl_task()
[all …]
Dfair.c525 struct rb_node *next_node; in __dequeue_entity() local
527 next_node = rb_next(&se->run_node); in __dequeue_entity()
528 cfs_rq->rb_leftmost = next_node; in __dequeue_entity()
/linux-4.4.14/lib/
Dassoc_array.c42 cursor = ACCESS_ONCE(shortcut->next_node); in assoc_array_subtree_iterate()
297 cursor = ACCESS_ONCE(shortcut->next_node); in assoc_array_walk()
385 cursor = shortcut->next_node; in assoc_array_destroy_subtree()
425 BUG_ON(shortcut->next_node != cursor); in assoc_array_destroy_subtree()
715 edit->set[0].ptr = &assoc_array_ptr_to_shortcut(ptr)->next_node; in assoc_array_insert_into_terminal_node()
787 new_s0->next_node = assoc_array_node_to_ptr(new_n0); in assoc_array_insert_into_terminal_node()
892 new_s0->next_node = assoc_array_node_to_ptr(new_n0); in assoc_array_insert_mid_shortcut()
911 side = assoc_array_ptr_to_node(shortcut->next_node); in assoc_array_insert_mid_shortcut()
942 new_s1->next_node = shortcut->next_node; in assoc_array_insert_mid_shortcut()
960 new_n0->slots[sc_slot] = shortcut->next_node; in assoc_array_insert_mid_shortcut()
[all …]
/linux-4.4.14/drivers/hv/
Dchannel_mgmt.c403 int next_node; in init_vp_index() local
437 next_node = next_numa_node_id++; in init_vp_index()
438 if (next_node == nr_node_ids) in init_vp_index()
439 next_node = next_numa_node_id = 0; in init_vp_index()
440 if (cpumask_empty(cpumask_of_node(next_node))) in init_vp_index()
444 channel->numa_node = next_node; in init_vp_index()
/linux-4.4.14/include/linux/
Dnodemask.h256 #define next_node(n, src) __next_node((n), &(src)) macro
362 (node) = next_node((node), (mask)))
425 return next_node(nid, node_states[N_ONLINE]); in next_online_node()
429 return next_node(nid, node_states[N_MEMORY]); in next_memory_node()
Dassoc_array_priv.h71 struct assoc_array_ptr *next_node; member
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_mn.c72 struct radeon_mn_node *node, *next_node; in radeon_mn_destroy() local
78 rbtree_postorder_for_each_entry_safe(node, next_node, &rmn->objects, in radeon_mn_destroy()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_mn.c72 struct amdgpu_mn_node *node, *next_node; in amdgpu_mn_destroy() local
78 rbtree_postorder_for_each_entry_safe(node, next_node, &rmn->objects, in amdgpu_mn_destroy()
/linux-4.4.14/fs/ext4/
Ddir.c542 goto next_node; in ext4_dx_readdir()
574 next_node: in ext4_dx_readdir()
/linux-4.4.14/drivers/block/mtip32xx/
Dmtip32xx.c4299 static int next_node = -1; in mtip_get_next_rr_node() local
4301 if (next_node == -1) { in mtip_get_next_rr_node()
4302 next_node = first_online_node; in mtip_get_next_rr_node()
4303 return next_node; in mtip_get_next_rr_node()
4306 next_node = next_online_node(next_node); in mtip_get_next_rr_node()
4307 if (next_node == MAX_NUMNODES) in mtip_get_next_rr_node()
4308 next_node = first_online_node; in mtip_get_next_rr_node()
4309 return next_node; in mtip_get_next_rr_node()
/linux-4.4.14/security/keys/
Dkeyring.c692 ptr = ACCESS_ONCE(shortcut->next_node); in search_nested_keyrings()
712 ptr = ACCESS_ONCE(shortcut->next_node); in search_nested_keyrings()
/linux-4.4.14/arch/x86/mm/
Dnuma.c599 rr = next_node(rr, node_online_map); in numa_init_array()
/linux-4.4.14/mm/
Dmempolicy.c350 current->il_next = next_node(current->il_next, tmp); in mpol_rebind_nodemask()
1679 next = next_node(nid, policy->v.nodes); in interleave_nodes()
1747 nid = next_node(nid, pol->v.nodes); in offset_il_node()
Dslab.c615 node = next_node(cpu_to_mem(cpu), node_online_map); in init_reap_node()
626 node = next_node(node, node_online_map); in next_reap_node()
Dhugetlb.c941 nid = next_node(nid, *nodes_allowed); in next_node_allowed()
Dmemcontrol.c1492 node = next_node(node, memcg->scan_nodes); in mem_cgroup_select_victim_node()
/linux-4.4.14/arch/sparc/kernel/
Dhead_32.S376 or %g0, %g0, %o0 ! next_node(0) = first_node
/linux-4.4.14/arch/tile/kernel/
Dsetup.c965 node = next_node(node, default_nodes); in setup_numa_mapping()
/linux-4.4.14/fs/ocfs2/
Dalloc.c2235 goto next_node; in ocfs2_find_cpos_for_left_leaf()
2255 next_node: in ocfs2_find_cpos_for_left_leaf()
2853 goto next_node; in ocfs2_find_cpos_for_right_leaf()
2870 next_node: in ocfs2_find_cpos_for_right_leaf()
/linux-4.4.14/kernel/
Dcpuset.c2592 node = next_node(*rotor, current->mems_allowed); in cpuset_spread_node()