/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/ |
H A D | sparsebit.c | 195 * of the node pointed to by nodep. 197 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 in node_first() 221 struct node *nodep = np; node_next() local 249 struct node *nodep = np; node_prev() local 312 struct node *nodep; node_find() local 335 struct node *nodep, *parentp, *prev; node_add() local 409 node_rm(struct sparsebit *s, struct node *nodep) node_rm() argument 599 node_reduce(struct sparsebit *s, struct node *nodep) node_reduce() argument 781 struct node *nodep; sparsebit_is_set() local 807 struct node *nodep; bit_set() local 834 struct node *nodep; bit_clear() local 872 dump_nodes(FILE *stream, struct node *nodep, unsigned int indent) dump_nodes() argument 901 node_first_set(struct node *nodep, int start) node_first_set() argument 909 node_first_clear(struct node *nodep, int start) node_first_clear() argument 1089 struct node *nodep; sparsebit_first_set() local 1160 struct node *nodep; sparsebit_next_set() local 1374 struct node *nodep, *next; sparsebit_set_num() local 1456 struct node *nodep, *next; sparsebit_clear_num() local 1592 struct node *nodep; sparsebit_dump() local 1688 struct node *nodep, *prev = NULL; sparsebit_validate_internal() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/lib/ |
H A D | sparsebit.c | 195 * of the node pointed to by nodep. 197 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 in node_first() 221 struct node *nodep = np; node_next() local 249 struct node *nodep = np; node_prev() local 312 struct node *nodep; node_find() local 335 struct node *nodep, *parentp, *prev; node_add() local 409 node_rm(struct sparsebit *s, struct node *nodep) node_rm() argument 599 node_reduce(struct sparsebit *s, struct node *nodep) node_reduce() argument 780 struct node *nodep; sparsebit_is_set() local 806 struct node *nodep; bit_set() local 833 struct node *nodep; bit_clear() local 871 dump_nodes(FILE *stream, struct node *nodep, unsigned int indent) dump_nodes() argument 900 node_first_set(struct node *nodep, int start) node_first_set() argument 908 node_first_clear(struct node *nodep, int start) node_first_clear() argument 1088 struct node *nodep; sparsebit_first_set() local 1159 struct node *nodep; sparsebit_next_set() local 1373 struct node *nodep, *next; sparsebit_set_num() local 1455 struct node *nodep, *next; sparsebit_clear_num() local 1591 struct node *nodep; sparsebit_dump() local 1687 struct node *nodep, *prev = NULL; sparsebit_validate_internal() local [all...] |
/kernel/linux/linux-5.10/arch/mips/netlogic/xlr/ |
H A D | wakeup.c | 53 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()
|
H A D | setup.c | 168 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/ |
H A D | nlm_hal.c | 54 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()
|
H A D | wakeup.c | 111 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()
|
/kernel/liteos_a/testsuites/unittest/libc/util/smoke/ |
H A D | util_test_007.cpp | 61 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/ |
H A D | irq.c | 213 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/ |
H A D | radix-tree.c | 84 struct radix_tree_node **nodep, unsigned long index) in radix_tree_descend() 89 *nodep = (void *)entry; in radix_tree_descend() 387 struct radix_tree_node **nodep, unsigned long *maxindex) in radix_tree_load_root() 391 *nodep = node; in radix_tree_load_root() 584 * @nodep: returns node 592 * pointing to a node, in which case *@nodep will be NULL. 597 unsigned long index, struct radix_tree_node **nodep, in __radix_tree_create() 638 if (nodep) in __radix_tree_create() 639 *nodep = node; in __radix_tree_create() 735 * @nodep 83 radix_tree_descend(const struct radix_tree_node *parent, struct radix_tree_node **nodep, unsigned long index) radix_tree_descend() argument 386 radix_tree_load_root(const struct radix_tree_root *root, struct radix_tree_node **nodep, unsigned long *maxindex) radix_tree_load_root() argument 596 __radix_tree_create(struct radix_tree_root *root, unsigned long index, struct radix_tree_node **nodep, void __rcu ***slotp) __radix_tree_create() argument 745 __radix_tree_lookup(const struct radix_tree_root *root, unsigned long index, struct radix_tree_node **nodep, void __rcu ***slotp) __radix_tree_lookup() argument [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | radix-tree.c | 86 struct radix_tree_node **nodep, unsigned long index) in radix_tree_descend() 91 *nodep = (void *)entry; in radix_tree_descend() 389 struct radix_tree_node **nodep, unsigned long *maxindex) in radix_tree_load_root() 393 *nodep = node; in radix_tree_load_root() 586 * @nodep: returns node 594 * pointing to a node, in which case *@nodep will be NULL. 599 unsigned long index, struct radix_tree_node **nodep, in __radix_tree_create() 640 if (nodep) in __radix_tree_create() 641 *nodep = node; in __radix_tree_create() 737 * @nodep 85 radix_tree_descend(const struct radix_tree_node *parent, struct radix_tree_node **nodep, unsigned long index) radix_tree_descend() argument 388 radix_tree_load_root(const struct radix_tree_root *root, struct radix_tree_node **nodep, unsigned long *maxindex) radix_tree_load_root() argument 598 __radix_tree_create(struct radix_tree_root *root, unsigned long index, struct radix_tree_node **nodep, void __rcu ***slotp) __radix_tree_create() argument 747 __radix_tree_lookup(const struct radix_tree_root *root, unsigned long index, struct radix_tree_node **nodep, void __rcu ***slotp) __radix_tree_lookup() argument [all...] |
/kernel/linux/linux-5.10/arch/mips/pci/ |
H A D | msi-xlp.c | 468 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/ |
H A D | cpumap.h | 28 int cpu_map__build_node_map(struct perf_cpu_map *cpus, struct perf_cpu_map **nodep);
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_iext_tree.c | 452 struct xfs_iext_node **nodep, in xfs_iext_split_node() 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() 451 xfs_iext_split_node( struct xfs_iext_node **nodep, int *pos, int *nr_entries) xfs_iext_split_node() argument
|
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_iext_tree.c | 452 struct xfs_iext_node **nodep, in xfs_iext_split_node() 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() 451 xfs_iext_split_node( struct xfs_iext_node **nodep, int *pos, int *nr_entries) xfs_iext_split_node() argument
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | radix-tree.h | 220 struct radix_tree_node **nodep, void __rcu ***slotp);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | radix-tree.h | 222 struct radix_tree_node **nodep, void __rcu ***slotp);
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | prom_init.c | 625 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-6.6/arch/powerpc/kernel/ |
H A D | prom_init.c | 642 static int __init prom_next_node(phandle *nodep) in prom_next_node() argument 646 if ((node = *nodep) != 0 in prom_next_node() 647 && (*nodep = call_prom("child", 1, 1, node)) != 0) in prom_next_node() 649 if ((*nodep = call_prom("peer", 1, 1, node)) != 0) in prom_next_node() 654 if ((*nodep = call_prom("peer", 1, 1, node)) != 0) in prom_next_node()
|
/kernel/linux/linux-5.10/kernel/ |
H A D | sys.c | 2617 SYSCALL_DEFINE3(getcpu, unsigned __user *, cpup, unsigned __user *, nodep, in SYSCALL_DEFINE3() 2625 if (nodep) in SYSCALL_DEFINE3() 2626 err |= put_user(cpu_to_node(cpu), nodep); in SYSCALL_DEFINE3()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | sys.c | 2754 SYSCALL_DEFINE3(getcpu, unsigned __user *, cpup, unsigned __user *, nodep, in SYSCALL_DEFINE3() 2762 if (nodep) in SYSCALL_DEFINE3() 2763 err |= put_user(cpu_to_node(cpu), nodep); in SYSCALL_DEFINE3()
|
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-stat.c | 1434 struct perf_cpu_map **nodep) in perf_env__build_node_map() 1436 return cpu_map__build_map(cpus, nodep, perf_env__get_node, env); in perf_env__build_node_map() 1433 perf_env__build_node_map(struct perf_env *env, struct perf_cpu_map *cpus, struct perf_cpu_map **nodep) perf_env__build_node_map() argument
|
/kernel/linux/linux-5.10/security/selinux/ss/ |
H A D | policydb.c | 1201 struct constraint_node **nodep, in read_cons_helper() 1219 *nodep = c; in read_cons_helper() 1200 read_cons_helper(struct policydb *p, struct constraint_node **nodep, int ncons, int allowxtarget, void *fp) read_cons_helper() argument
|
/kernel/linux/linux-6.6/security/selinux/ss/ |
H A D | policydb.c | 1196 struct constraint_node **nodep, in read_cons_helper() 1214 *nodep = c; in read_cons_helper() 1195 read_cons_helper(struct policydb *p, struct constraint_node **nodep, u32 ncons, int allowxtarget, void *fp) read_cons_helper() argument
|