Searched refs:BITS_PER_LONG (Results 1 – 7 of 7) sorted by relevance
23 #define BITS_PER_LONG (8 * sizeof(long)) macro27 array[node / BITS_PER_LONG] |= 1UL << (node % BITS_PER_LONG); in set_node()34 for (i = 0; i < MAXNODES / BITS_PER_LONG; i++) in clean_node()
3 #define BITS_PER_LONG (sizeof(long)*8) macro4 #define DECLARE_BITMAP(x,y) unsigned long x[((y) + BITS_PER_LONG - 1) / BITS_PER_LONG];
66 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in verify_ksm()
67 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in verify_ksm()
53 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in test_cpuset()
569 #define BITS_PER_LONG 64 macro571 #define BITS_PER_LONG 32 macro574 #define BIT_MASK(nr) (1 << (nr % BITS_PER_LONG))575 #define BIT_WORD(nr) (nr / BITS_PER_LONG)
173 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in set_global_mempolicy()531 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in test_ksm_merge_across_nodes()