Home
last modified time | relevance | path

Searched refs:bitmap_size (Results 1 – 2 of 2) 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.c347 size_t bitmap_size, in seccomp_cache_check_allow_bitmap() argument
350 if (unlikely(syscall_nr < 0 || syscall_nr >= bitmap_size)) in seccomp_cache_check_allow_bitmap()
352 syscall_nr = array_index_nospec(syscall_nr, bitmap_size); in seccomp_cache_check_allow_bitmap()
795 size_t bitmap_size, int arch) in seccomp_cache_prepare_bitmap() argument
803 bitmap_copy(bitmap, bitmap_prev, bitmap_size); in seccomp_cache_prepare_bitmap()
806 bitmap_fill(bitmap, bitmap_size); in seccomp_cache_prepare_bitmap()
809 for (nr = 0; nr < bitmap_size; nr++) { in seccomp_cache_prepare_bitmap()
2413 const void *bitmap, size_t bitmap_size) in device_initcall()
2417 for (nr = 0; nr < bitmap_size; nr++) { in device_initcall()