Searched refs:array_size (Results 1 – 5 of 5) sorted by relevance
/fs/dlm/ |
D | member.c | 65 int array_size) in log_debug_slots() argument 78 for (i = 0; i < array_size; i++) { in log_debug_slots() 175 int array_size, max_slots, i; in dlm_slots_assign() local 222 array_size = max + need; in dlm_slots_assign() 224 array = kzalloc(array_size * sizeof(struct dlm_slot), GFP_NOFS); in dlm_slots_assign() 236 if (memb->slot > array_size) { in dlm_slots_assign() 253 for (i = 0; i < array_size; i++) { in dlm_slots_assign() 277 log_debug_slots(ls, gen, num, NULL, array, array_size); in dlm_slots_assign() 291 *slots_size = array_size; in dlm_slots_assign()
|
/fs/omfs/ |
D | inode.c | 310 int array_size; in omfs_get_imap() local 318 array_size = DIV_ROUND_UP(bitmap_size, sb->s_blocksize); in omfs_get_imap() 323 sbi->s_imap_size = array_size; in omfs_get_imap() 324 sbi->s_imap = kzalloc(array_size * sizeof(unsigned long *), GFP_KERNEL); in omfs_get_imap() 353 for (count = 0; count < array_size; count++) in omfs_get_imap()
|
/fs/btrfs/ |
D | volumes.c | 1938 u32 array_size; in btrfs_del_sys_chunk() local 1943 array_size = btrfs_super_sys_array_size(super_copy); in btrfs_del_sys_chunk() 1948 while (cur < array_size) { in btrfs_del_sys_chunk() 1964 memmove(ptr, ptr + len, array_size - (cur + len)); in btrfs_del_sys_chunk() 1965 array_size -= len; in btrfs_del_sys_chunk() 1966 btrfs_set_super_sys_array_size(super_copy, array_size); in btrfs_del_sys_chunk() 3126 u32 array_size; in btrfs_add_system_chunk() local 3129 array_size = btrfs_super_sys_array_size(super_copy); in btrfs_add_system_chunk() 3130 if (array_size + item_size > BTRFS_SYSTEM_CHUNK_ARRAY_SIZE) in btrfs_add_system_chunk() 3133 ptr = super_copy->sys_chunk_array + array_size; in btrfs_add_system_chunk() [all …]
|
/fs/ext4/ |
D | mballoc.c | 2256 int array_size; in ext4_mb_init_backend() local 2284 array_size = 1; in ext4_mb_init_backend() 2285 while (array_size < sizeof(*sbi->s_group_info) * in ext4_mb_init_backend() 2287 array_size = array_size << 1; in ext4_mb_init_backend() 2291 sbi->s_group_info = ext4_kvzalloc(array_size, GFP_KERNEL); in ext4_mb_init_backend()
|
/fs/nfs/ |
D | dir.c | 626 unsigned int array_size = ARRAY_SIZE(pages); in nfs_readdir_xdr_to_array() local 645 status = nfs_readdir_large_page(pages, array_size); in nfs_readdir_xdr_to_array() 663 nfs_readdir_free_large_page(pages_ptr, pages, array_size); in nfs_readdir_xdr_to_array()
|