Searched refs:nr_bits (Results 1 – 3 of 3) sorted by relevance
/mm/ |
D | mempolicy.c | 1656 unsigned long nr_bits, alloc_size; in COMPAT_SYSCALL_DEFINE5() local 1659 nr_bits = min_t(unsigned long, maxnode-1, nr_node_ids); in COMPAT_SYSCALL_DEFINE5() 1660 alloc_size = ALIGN(nr_bits, BITS_PER_LONG) / 8; in COMPAT_SYSCALL_DEFINE5() 1665 err = kernel_get_mempolicy(policy, nm, nr_bits+1, addr, flags); in COMPAT_SYSCALL_DEFINE5() 1673 err |= compat_put_bitmap(nmask, bm, nr_bits); in COMPAT_SYSCALL_DEFINE5() 1683 unsigned long nr_bits, alloc_size; in COMPAT_SYSCALL_DEFINE3() local 1686 nr_bits = min_t(unsigned long, maxnode-1, MAX_NUMNODES); in COMPAT_SYSCALL_DEFINE3() 1687 alloc_size = ALIGN(nr_bits, BITS_PER_LONG) / 8; in COMPAT_SYSCALL_DEFINE3() 1690 if (compat_get_bitmap(bm, nmask, nr_bits)) in COMPAT_SYSCALL_DEFINE3() 1697 return kernel_set_mempolicy(mode, nm, nr_bits+1); in COMPAT_SYSCALL_DEFINE3() [all …]
|
D | percpu.c | 594 if (end == block->nr_bits) in pcpu_block_update() 1260 static void pcpu_init_md_block(struct pcpu_block_md *block, int nr_bits) in pcpu_init_md_block() argument 1263 block->contig_hint = nr_bits; in pcpu_init_md_block() 1264 block->left_free = nr_bits; in pcpu_init_md_block() 1265 block->right_free = nr_bits; in pcpu_init_md_block() 1267 block->nr_bits = nr_bits; in pcpu_init_md_block()
|
D | percpu-internal.h | 50 int nr_bits; /* total bits responsible for */ member
|