Searched refs:nr_bits (Results 1 - 3 of 3) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-omap2/
H A Dgpmc.c116 int ticks, mask, nr_bits; local
122 nr_bits = end_bit - st_bit + 1;
123 if (ticks >= 1 << nr_bits)
126 mask = (1 << nr_bits) - 1;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/mm/
H A Dmempolicy.c951 unsigned long nr_bits, alloc_size; local
954 nr_bits = min_t(unsigned long, maxnode-1, MAX_NUMNODES);
955 alloc_size = ALIGN(nr_bits, BITS_PER_LONG) / 8;
960 err = sys_get_mempolicy(policy, nm, nr_bits+1, addr, flags);
966 err |= compat_put_bitmap(nmask, bm, nr_bits);
977 unsigned long nr_bits, alloc_size; local
980 nr_bits = min_t(unsigned long, maxnode-1, MAX_NUMNODES);
981 alloc_size = ALIGN(nr_bits, BITS_PER_LONG) / 8;
984 err = compat_get_bitmap(bm, nmask, nr_bits);
992 return sys_set_mempolicy(mode, nm, nr_bits
1001 unsigned long nr_bits, alloc_size; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/
H A Dcompat.c993 unsigned long nr_bits; local
996 nr_bits = min_t(unsigned long, maxnode - 1, MAX_NUMNODES);
997 size = ALIGN(nr_bits, BITS_PER_LONG) / 8;
999 if (compat_get_bitmap(nodes_addr(tmp_mask), old_nodes, nr_bits))
1008 if (compat_get_bitmap(nodes_addr(tmp_mask), new_nodes, nr_bits))
1015 return sys_migrate_pages(pid, nr_bits + 1, old, new);

Completed in 105 milliseconds