Home
last modified time | relevance | path

Searched refs:nodep (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/
Dsparsebit.c197 static sparsebit_num_t node_num_set(struct node *nodep) in node_num_set() argument
199 return nodep->num_after + __builtin_popcount(nodep->mask); in node_num_set()
207 struct node *nodep; in node_first() local
209 for (nodep = s->root; nodep && nodep->left; nodep = nodep->left) in node_first()
212 return nodep; in node_first()
221 struct node *nodep = np; in node_next() local
227 if (nodep->right) { in node_next()
228 for (nodep = nodep->right; nodep->left; nodep = nodep->left) in node_next()
230 return nodep; in node_next()
237 while (nodep->parent && nodep == nodep->parent->right) in node_next()
[all …]
/kernel/linux/linux-5.10/arch/mips/netlogic/xlr/
Dwakeup.c53 struct nlm_soc_info *nodep; in xlr_wakeup_secondary_cpus() local
61 nodep = nlm_get_node(0); in xlr_wakeup_secondary_cpus()
67 nlm_pic_send_ipi(nodep->picbase, i, 1, 1); /* send NMI */ in xlr_wakeup_secondary_cpus()
71 nodep->coremask = 1; in xlr_wakeup_secondary_cpus()
79 nodep->coremask |= (1u << i); in xlr_wakeup_secondary_cpus()
Dsetup.c168 struct nlm_soc_info *nodep; in nlm_init_node() local
170 nodep = nlm_current_node(); in nlm_init_node()
171 nodep->picbase = nlm_mmio_base(NETLOGIC_IO_PIC_OFFSET); in nlm_init_node()
172 nodep->ebase = read_c0_ebase() & MIPS_EBASE_BASE; in nlm_init_node()
173 spin_lock_init(&nodep->piclock); in nlm_init_node()
/kernel/linux/linux-5.10/arch/mips/netlogic/xlp/
Dwakeup.c111 struct nlm_soc_info *nodep; in xlp_enable_secondary_cores() local
133 nodep = nlm_get_node(n); in xlp_enable_secondary_cores()
148 fusemask = nlm_read_sys_reg(nodep->sysbase, in xlp_enable_secondary_cores()
187 if (!xlp_wakeup_core(nodep->sysbase, n, core)) in xlp_enable_secondary_cores()
191 nodep->coremask |= 1u << core; in xlp_enable_secondary_cores()
Dnlm_hal.c54 struct nlm_soc_info *nodep; in nlm_node_init() local
56 nodep = nlm_get_node(node); in nlm_node_init()
58 nodep->coremask = 1; /* node 0, boot cpu */ in nlm_node_init()
59 nodep->sysbase = nlm_get_sys_regbase(node); in nlm_node_init()
60 nodep->picbase = nlm_get_pic_regbase(node); in nlm_node_init()
61 nodep->ebase = read_c0_ebase() & MIPS_EBASE_BASE; in nlm_node_init()
63 nodep->socbus = xlp9xx_get_socbus(node); in nlm_node_init()
65 nodep->socbus = 0; in nlm_node_init()
66 spin_lock_init(&nodep->piclock); in nlm_node_init()
/kernel/liteos_a/testsuites/unittest/libc/util/smoke/
Dutil_test_007.cpp61 static void Action(const void *nodep, VISIT which, int depth) in Action() argument
69 datap = *static_cast<int **>(const_cast<void *>(nodep)); in Action()
74 datap = *static_cast<int **>(const_cast<void *>(nodep)); in Action()
/kernel/linux/linux-5.10/arch/mips/netlogic/common/
Dirq.c213 struct nlm_soc_info *nodep; in nlm_init_node_irqs() local
217 nodep = nlm_get_node(node); in nlm_init_node_irqs()
218 nodep->irqmask = PERCPU_IRQ_MASK; in nlm_init_node_irqs()
223 nodep->irqmask |= 1ull << i; in nlm_init_node_irqs()
227 nlm_pic_init_irt(nodep->picbase, irt, i, in nlm_init_node_irqs()
/kernel/linux/linux-5.10/lib/
Dradix-tree.c84 struct radix_tree_node **nodep, unsigned long index) in radix_tree_descend() argument
89 *nodep = (void *)entry; in radix_tree_descend()
387 struct radix_tree_node **nodep, unsigned long *maxindex) in radix_tree_load_root() argument
391 *nodep = node; in radix_tree_load_root()
597 unsigned long index, struct radix_tree_node **nodep, in __radix_tree_create() argument
638 if (nodep) in __radix_tree_create()
639 *nodep = node; in __radix_tree_create()
746 unsigned long index, struct radix_tree_node **nodep, in __radix_tree_lookup() argument
772 if (nodep) in __radix_tree_lookup()
773 *nodep = parent; in __radix_tree_lookup()
/kernel/linux/linux-5.10/arch/mips/pci/
Dmsi-xlp.c468 struct nlm_soc_info *nodep; in xlp_init_node_msi_irqs() local
473 nodep = nlm_get_node(node); in xlp_init_node_msi_irqs()
481 md->node = nodep; in xlp_init_node_msi_irqs()
503 nlm_pic_init_irt(nodep->picbase, irt, in xlp_init_node_msi_irqs()
/kernel/linux/linux-5.10/tools/perf/util/
Dcpumap.h28 int cpu_map__build_node_map(struct perf_cpu_map *cpus, struct perf_cpu_map **nodep);
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_iext_tree.c452 struct xfs_iext_node **nodep, in xfs_iext_split_node() argument
456 struct xfs_iext_node *node = *nodep; in xfs_iext_split_node()
464 *nodep = new; in xfs_iext_split_node()
480 *nodep = new; in xfs_iext_split_node()
/kernel/linux/linux-5.10/include/linux/
Dradix-tree.h220 struct radix_tree_node **nodep, void __rcu ***slotp);
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dprom_init.c625 static int __init prom_next_node(phandle *nodep) in prom_next_node() argument
629 if ((node = *nodep) != 0 in prom_next_node()
630 && (*nodep = call_prom("child", 1, 1, node)) != 0) in prom_next_node()
632 if ((*nodep = call_prom("peer", 1, 1, node)) != 0) in prom_next_node()
637 if ((*nodep = call_prom("peer", 1, 1, node)) != 0) in prom_next_node()
/kernel/linux/linux-5.10/kernel/
Dsys.c2603 SYSCALL_DEFINE3(getcpu, unsigned __user *, cpup, unsigned __user *, nodep, in SYSCALL_DEFINE3() argument
2611 if (nodep) in SYSCALL_DEFINE3()
2612 err |= put_user(cpu_to_node(cpu), nodep); in SYSCALL_DEFINE3()
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-stat.c1434 struct perf_cpu_map **nodep) in perf_env__build_node_map() argument
1436 return cpu_map__build_map(cpus, nodep, perf_env__get_node, env); in perf_env__build_node_map()
/kernel/linux/linux-5.10/security/selinux/ss/
Dpolicydb.c1201 struct constraint_node **nodep, in read_cons_helper() argument
1219 *nodep = c; in read_cons_helper()