Home
last modified time | relevance | path

Searched refs:BITS_TO_LONGS (Results 1 – 7 of 7) sorted by relevance

/include/linux/
Dinput.h1289 unsigned long propbit[BITS_TO_LONGS(INPUT_PROP_CNT)];
1291 unsigned long evbit[BITS_TO_LONGS(EV_CNT)];
1292 unsigned long keybit[BITS_TO_LONGS(KEY_CNT)];
1293 unsigned long relbit[BITS_TO_LONGS(REL_CNT)];
1294 unsigned long absbit[BITS_TO_LONGS(ABS_CNT)];
1295 unsigned long mscbit[BITS_TO_LONGS(MSC_CNT)];
1296 unsigned long ledbit[BITS_TO_LONGS(LED_CNT)];
1297 unsigned long sndbit[BITS_TO_LONGS(SND_CNT)];
1298 unsigned long ffbit[BITS_TO_LONGS(FF_CNT)];
1299 unsigned long swbit[BITS_TO_LONGS(SW_CNT)];
[all …]
Dcpumask.h242 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
603 return BITS_TO_LONGS(NR_CPUS) * sizeof(long); in cpumask_size()
735 cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)];
749 [BITS_TO_LONGS(NR_CPUS)-1] = CPU_MASK_LAST_WORD \
756 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \
757 [BITS_TO_LONGS(NR_CPUS)-1] = CPU_MASK_LAST_WORD \
775 [BITS_TO_LONGS(NR_CPUS)-1] = CPU_MASK_LAST_WORD \
782 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \
783 [BITS_TO_LONGS(NR_CPUS)-1] = CPU_MASK_LAST_WORD \
790 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
Ddma-attrs.h21 #define __DMA_ATTRS_LONGS BITS_TO_LONGS(DMA_ATTR_MAX)
Dbitmap.h164 int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); in bitmap_zero()
171 size_t nlongs = BITS_TO_LONGS(nbits); in bitmap_fill()
185 int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); in bitmap_copy()
Dnodemask.h278 [BITS_TO_LONGS(MAX_NUMNODES)-1] = NODE_MASK_LAST_WORD \
285 [0 ... BITS_TO_LONGS(MAX_NUMNODES)-2] = ~0UL, \
286 [BITS_TO_LONGS(MAX_NUMNODES)-1] = NODE_MASK_LAST_WORD \
293 [0 ... BITS_TO_LONGS(MAX_NUMNODES)-1] = 0UL \
Dtypes.h10 unsigned long name[BITS_TO_LONGS(bits)]
Dbitops.h10 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) macro