Searched refs:bitmap_size (Results 1 – 2 of 2) sorted by relevance
727 unsigned long bitmap_size) in compat_get_bitmap() argument735 bitmap_size = ALIGN(bitmap_size, BITS_PER_COMPAT_LONG); in compat_get_bitmap()737 if (!access_ok(VERIFY_READ, umask, bitmap_size / 8)) in compat_get_bitmap()740 nr_compat_longs = BITS_TO_COMPAT_LONGS(bitmap_size); in compat_get_bitmap()742 for (i = 0; i < BITS_TO_LONGS(bitmap_size); i++) { in compat_get_bitmap()768 unsigned long bitmap_size) in compat_put_bitmap() argument776 bitmap_size = ALIGN(bitmap_size, BITS_PER_COMPAT_LONG); in compat_put_bitmap()778 if (!access_ok(VERIFY_WRITE, umask, bitmap_size / 8)) in compat_put_bitmap()781 nr_compat_longs = BITS_TO_COMPAT_LONGS(bitmap_size); in compat_put_bitmap()783 for (i = 0; i < BITS_TO_LONGS(bitmap_size); i++) { in compat_put_bitmap()
21 int bitmap_size = BITS_TO_LONGS(pages) * sizeof(long); in dma_declare_coherent_memory() local39 dev->dma_mem->bitmap = kzalloc(bitmap_size, GFP_KERNEL); in dma_declare_coherent_memory()