Home
last modified time | relevance | path

Searched refs:bitmap_size (Results 1 – 8 of 8) sorted by relevance

/drivers/s390/cio/
Didset.c18 static inline unsigned long bitmap_size(int num_ssid, int num_id) in bitmap_size() function
27 set = vmalloc(sizeof(struct idset) + bitmap_size(num_ssid, num_id)); in idset_new()
31 memset(set->bitmap, 0, bitmap_size(num_ssid, num_id)); in idset_new()
43 memset(set->bitmap, 0xff, bitmap_size(set->num_ssid, set->num_id)); in idset_fill()
/drivers/base/
Ddma-coherent.c27 int bitmap_size = BITS_TO_LONGS(pages) * sizeof(long); in dma_init_coherent_memory() local
41 dma_mem->bitmap = kzalloc(bitmap_size, GFP_KERNEL); in dma_init_coherent_memory()
/drivers/thermal/
Dintel_powerclamp.c777 int bitmap_size; in powerclamp_init() local
779 bitmap_size = BITS_TO_LONGS(num_possible_cpus()) * sizeof(long); in powerclamp_init()
780 cpu_clamping_mask = kzalloc(bitmap_size, GFP_KERNEL); in powerclamp_init()
/drivers/net/ethernet/ti/
Ddavinci_cpdma.c158 int bitmap_size; in cpdma_desc_pool_create() local
172 bitmap_size = (pool->num_desc / BITS_PER_LONG) * sizeof(long); in cpdma_desc_pool_create()
173 pool->bitmap = devm_kzalloc(dev, bitmap_size, GFP_KERNEL); in cpdma_desc_pool_create()
/drivers/scsi/bfa/
Dbfa_fcbuild.c1198 u8 *fc4_bitmap, u32 bitmap_size) in fc_rftid_build_sol() argument
1211 (bitmap_size < 32 ? bitmap_size : 32)); in fc_rftid_build_sol()
Dbfa_fcbuild.h177 u32 bitmap_size);
/drivers/media/platform/vivid/
Dvivid-vid-cap.c1148 unsigned bitmap_size = ((compose->width + 7) / 8) * compose->height; in vidioc_s_fmt_vid_overlay() local
1156 new_bitmap = vzalloc(bitmap_size); in vidioc_s_fmt_vid_overlay()
1160 if (copy_from_user(new_bitmap, win->bitmap, bitmap_size)) { in vidioc_s_fmt_vid_overlay()
Dvivid-vid-out.c923 unsigned bitmap_size = ((compose->width + 7) / 8) * compose->height; in vidioc_s_fmt_vid_out_overlay() local
931 new_bitmap = memdup_user(win->bitmap, bitmap_size); in vidioc_s_fmt_vid_out_overlay()