Home
last modified time | relevance | path

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

/kernel/
Dcompat.c194 unsigned long bitmap_size) in compat_get_bitmap() argument
199 bitmap_size = ALIGN(bitmap_size, BITS_PER_COMPAT_LONG); in compat_get_bitmap()
200 nr_compat_longs = BITS_TO_COMPAT_LONGS(bitmap_size); in compat_get_bitmap()
202 if (!user_read_access_begin(umask, bitmap_size / 8)) in compat_get_bitmap()
223 unsigned long bitmap_size) in compat_put_bitmap() argument
228 bitmap_size = ALIGN(bitmap_size, BITS_PER_COMPAT_LONG); in compat_put_bitmap()
229 nr_compat_longs = BITS_TO_COMPAT_LONGS(bitmap_size); in compat_put_bitmap()
231 if (!user_write_access_begin(umask, bitmap_size / 8)) in compat_put_bitmap()
Dseccomp.c340 size_t bitmap_size, in seccomp_cache_check_allow_bitmap() argument
343 if (unlikely(syscall_nr < 0 || syscall_nr >= bitmap_size)) in seccomp_cache_check_allow_bitmap()
345 syscall_nr = array_index_nospec(syscall_nr, bitmap_size); in seccomp_cache_check_allow_bitmap()
785 size_t bitmap_size, int arch) in seccomp_cache_prepare_bitmap() argument
793 bitmap_copy(bitmap, bitmap_prev, bitmap_size); in seccomp_cache_prepare_bitmap()
796 bitmap_fill(bitmap, bitmap_size); in seccomp_cache_prepare_bitmap()
799 for (nr = 0; nr < bitmap_size; nr++) { in seccomp_cache_prepare_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()