Searched refs:BITS_TO_LONGS (Results 1 - 25 of 243) sorted by last modified time
12345678910
/linux-master/fs/iomap/ |
H A D | buffered-io.c | 204 BITS_TO_LONGS(2 * nr_blocks)), gfp);
|
/linux-master/fs/bcachefs/ |
H A D | buckets.c | 1562 ca->buckets_nouse = kvmalloc(BITS_TO_LONGS(ca->mi.nbuckets) *
|
H A D | btree_iter.c | 1624 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 D | btree_iter.h | 74 return v - BITS_TO_LONGS(*v);
|
/linux-master/drivers/virtio/ |
H A D | virtio_mem.c | 591 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 D | input.c | 1179 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 D | virt-pci.c | 59 static unsigned long um_pci_msi_used[BITS_TO_LONGS(MAX_MSI_VECTORS)];
|
/linux-master/arch/sparc/mm/ |
H A D | srmmu.c | 288 memblock_alloc(BITS_TO_LONGS(bitmap_bits) * sizeof(long), 292 BITS_TO_LONGS(bitmap_bits) * sizeof(long));
|
H A D | init_64.c | 762 #define CTX_BMAP_SLOTS BITS_TO_LONGS(MAX_CTX_NR)
|
/linux-master/include/linux/ |
H A D | cpumask.h | 507 [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 D | bitops.h | 12 #define BITS_TO_LONGS(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) macro
|
/linux-master/fs/ |
H A D | file.c | 46 #define BITBIT_NR(nr) BITS_TO_LONGS(BITS_TO_LONGS(nr))
|
/linux-master/drivers/tty/ |
H A D | sysrq.c | 664 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 D | ap_bus.c | 1139 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 D | airq.c | 115 return BITS_TO_LONGS(bits) * sizeof(unsigned long);
|
/linux-master/drivers/perf/ |
H A D | qcom_l3_pmu.c | 159 unsigned long used_mask[BITS_TO_LONGS(L3_NUM_COUNTERS)];
|
H A D | arm-cci.c | 1243 unsigned long mask[BITS_TO_LONGS(HW_CNTRS_MAX)];
|
/linux-master/drivers/pci/controller/ |
H A D | pcie-rcar-ep.c | 510 devm_kcalloc(dev, BITS_TO_LONGS(ep->num_ib_windows),
|
/linux-master/drivers/md/dm-vdo/ |
H A D | dm-vdo-target.c | 1515 return (BITS_TO_LONGS(bit_count) * sizeof(unsigned long));
|
/linux-master/drivers/md/bcache/ |
H A D | super.c | 938 n = BITS_TO_LONGS(d->nr_stripes) * sizeof(unsigned long);
|
/linux-master/drivers/iio/ |
H A D | industrialio-core.c | 1906 longs_per_mask = BITS_TO_LONGS(masklength);
|
H A D | industrialio-buffer.c | 441 av_masks += BITS_TO_LONGS(masklength);
|
/linux-master/drivers/hwtracing/stm/ |
H A D | core.c | 164 BITS_TO_LONGS(stm->data->sw_nchannels)),
|
/linux-master/block/ |
H A D | blk-zoned.c | 174 return kcalloc_node(BITS_TO_LONGS(nr_zones), sizeof(unsigned long),
|
/linux-master/tools/include/linux/ |
H A D | bitops.h | 18 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) macro
|
Completed in 552 milliseconds
12345678910