Searched refs:BITS_TO_LONGS (Results 1 - 25 of 243) sorted by last modified time

12345678910

/linux-master/fs/iomap/
H A Dbuffered-io.c204 BITS_TO_LONGS(2 * nr_blocks)), gfp);
/linux-master/fs/bcachefs/
H A Dbuckets.c1562 ca->buckets_nouse = kvmalloc(BITS_TO_LONGS(ca->mi.nbuckets) *
H A Dbtree_iter.c1624 void *p = kvzalloc(BITS_TO_LONGS(nr) * sizeof(unsigned long) +
1631 memcpy(paths_allocated, trans->paths_allocated, BITS_TO_LONGS(trans->nr_paths) * sizeof(unsigned long));
1632 p += BITS_TO_LONGS(nr) * sizeof(unsigned long);
H A Dbtree_iter.h74 return v - BITS_TO_LONGS(*v);
/linux-master/drivers/virtio/
H A Dvirtio_mem.c591 int old_pages = PFN_UP(BITS_TO_LONGS(old_nb_bits) * sizeof(long));
592 int new_pages = PFN_UP(BITS_TO_LONGS(new_nb_bits) * sizeof(long));
/linux-master/drivers/input/
H A Dinput.c1179 for (i = BITS_TO_LONGS(max) - 1; i >= 0; i--) {
1592 for (i = BITS_TO_LONGS(max) - 1; i >= 0; i--) {
/linux-master/arch/um/drivers/
H A Dvirt-pci.c59 static unsigned long um_pci_msi_used[BITS_TO_LONGS(MAX_MSI_VECTORS)];
/linux-master/arch/sparc/mm/
H A Dsrmmu.c288 memblock_alloc(BITS_TO_LONGS(bitmap_bits) * sizeof(long),
292 BITS_TO_LONGS(bitmap_bits) * sizeof(long));
H A Dinit_64.c762 #define CTX_BMAP_SLOTS BITS_TO_LONGS(MAX_CTX_NR)
/linux-master/include/linux/
H A Dcpumask.h507 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
1151 cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)];
1243 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
1250 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \
1251 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
1321 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
1326 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \
1327 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
1333 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
H A Dbitops.h12 #define BITS_TO_LONGS(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) macro
/linux-master/fs/
H A Dfile.c46 #define BITBIT_NR(nr) BITS_TO_LONGS(BITS_TO_LONGS(nr))
/linux-master/drivers/tty/
H A Dsysrq.c664 unsigned long key_down[BITS_TO_LONGS(KEY_CNT)];
676 unsigned long reset_keybit[BITS_TO_LONGS(KEY_CNT)];
/linux-master/drivers/s390/crypto/
H A Dap_bus.c1139 size = BITS_TO_LONGS(bits) * sizeof(unsigned long);
1161 size = BITS_TO_LONGS(bits) * sizeof(unsigned long);
1393 unsigned long reserved[BITS_TO_LONGS(AP_DEVICES)];
1485 unsigned long reserved[BITS_TO_LONGS(AP_DOMAINS)];
2154 unsigned long m[BITS_TO_LONGS(AP_DEVICES)];
2175 unsigned long m[BITS_TO_LONGS(AP_DOMAINS)];
/linux-master/drivers/s390/cio/
H A Dairq.c115 return BITS_TO_LONGS(bits) * sizeof(unsigned long);
/linux-master/drivers/perf/
H A Dqcom_l3_pmu.c159 unsigned long used_mask[BITS_TO_LONGS(L3_NUM_COUNTERS)];
H A Darm-cci.c1243 unsigned long mask[BITS_TO_LONGS(HW_CNTRS_MAX)];
/linux-master/drivers/pci/controller/
H A Dpcie-rcar-ep.c510 devm_kcalloc(dev, BITS_TO_LONGS(ep->num_ib_windows),
/linux-master/drivers/md/dm-vdo/
H A Ddm-vdo-target.c1515 return (BITS_TO_LONGS(bit_count) * sizeof(unsigned long));
/linux-master/drivers/md/bcache/
H A Dsuper.c938 n = BITS_TO_LONGS(d->nr_stripes) * sizeof(unsigned long);
/linux-master/drivers/iio/
H A Dindustrialio-core.c1906 longs_per_mask = BITS_TO_LONGS(masklength);
H A Dindustrialio-buffer.c441 av_masks += BITS_TO_LONGS(masklength);
/linux-master/drivers/hwtracing/stm/
H A Dcore.c164 BITS_TO_LONGS(stm->data->sw_nchannels)),
/linux-master/block/
H A Dblk-zoned.c174 return kcalloc_node(BITS_TO_LONGS(nr_zones), sizeof(unsigned long),
/linux-master/tools/include/linux/
H A Dbitops.h18 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) macro

Completed in 552 milliseconds

12345678910