Home
last modified time | relevance | path

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

/kernel/
Dcompat.c282 unsigned long bitmap_size) in compat_get_bitmap() argument
287 bitmap_size = ALIGN(bitmap_size, BITS_PER_COMPAT_LONG); in compat_get_bitmap()
288 nr_compat_longs = BITS_TO_COMPAT_LONGS(bitmap_size); in compat_get_bitmap()
290 if (!user_access_begin(umask, bitmap_size / 8)) in compat_get_bitmap()
311 unsigned long bitmap_size) in compat_put_bitmap() argument
316 bitmap_size = ALIGN(bitmap_size, BITS_PER_COMPAT_LONG); in compat_put_bitmap()
317 nr_compat_longs = BITS_TO_COMPAT_LONGS(bitmap_size); in compat_put_bitmap()
319 if (!user_access_begin(umask, bitmap_size / 8)) in compat_put_bitmap()
/kernel/dma/
Dcoherent.c47 int bitmap_size = BITS_TO_LONGS(pages) * sizeof(long); in dma_init_coherent_memory() local
65 dma_mem->bitmap = kzalloc(bitmap_size, GFP_KERNEL); in dma_init_coherent_memory()