/fs/dlm/ |
D | member.c | 62 struct rcom_slot *ro0, struct dlm_slot *array, in log_slots() argument 72 if (array) { in log_slots() 74 if (!array[i].nodeid) in log_slots() 78 array[i].slot, array[i].nodeid); in log_slots() 168 struct dlm_slot *array; in dlm_slots_assign() local 218 array = kcalloc(array_size, sizeof(*array), GFP_NOFS); in dlm_slots_assign() 219 if (!array) in dlm_slots_assign() 232 kfree(array); in dlm_slots_assign() 236 array[memb->slot - 1].nodeid = memb->nodeid; in dlm_slots_assign() 237 array[memb->slot - 1].slot = memb->slot; in dlm_slots_assign() [all …]
|
/fs/nfs/ |
D | dir.c | 144 struct nfs_cache_array_entry array[0]; member 171 struct nfs_cache_array *array; in nfs_readdir_clear_array() local 174 array = kmap_atomic(page); in nfs_readdir_clear_array() 175 for (i = 0; i < array->size; i++) in nfs_readdir_clear_array() 176 kfree(array->array[i].string.name); in nfs_readdir_clear_array() 177 kunmap_atomic(array); in nfs_readdir_clear_array() 204 struct nfs_cache_array *array = kmap(page); in nfs_readdir_add_to_array() local 208 cache_entry = &array->array[array->size]; in nfs_readdir_add_to_array() 221 array->last_cookie = entry->cookie; in nfs_readdir_add_to_array() 222 array->size++; in nfs_readdir_add_to_array() [all …]
|
/fs/befs/ |
D | datastream.c | 255 const befs_block_run *array = data->direct; in befs_find_brun_direct() local 261 sum += array[i].len, i++) { in befs_find_brun_direct() 262 if (blockno >= sum && blockno < sum + (array[i].len)) { in befs_find_brun_direct() 265 run->allocation_group = array[i].allocation_group; in befs_find_brun_direct() 266 run->start = array[i].start + offset; in befs_find_brun_direct() 267 run->len = array[i].len - offset; in befs_find_brun_direct() 315 befs_disk_block_run *array; in befs_find_brun_indirect() local 337 array = (befs_disk_block_run *) indirblock->b_data; in befs_find_brun_indirect() 340 int len = fs16_to_cpu(sb, array[j].len); in befs_find_brun_indirect() 345 fs32_to_cpu(sb, array[j].allocation_group); in befs_find_brun_indirect() [all …]
|
/fs/debugfs/ |
D | file.c | 949 void *array; member 954 u32 *array, int array_size) in u32_format_array() argument 962 len = snprintf(buf, bufsize, "%u%c", *array++, term); in u32_format_array() 989 u32_format_array(buf, size, data->array, data->elements); in u32_array_open() 1035 struct dentry *parent, u32 *array, u32 elements) in debugfs_create_u32_array() argument 1042 data->array = array; in debugfs_create_u32_array()
|
/fs/afs/ |
D | file.c | 198 if (req->pages != req->array) in afs_put_read() 315 req = kzalloc(struct_size(req, array, 1), GFP_KERNEL); in afs_page_filler() 327 req->pages = req->array; in afs_page_filler() 465 req = kzalloc(struct_size(req, array, n), GFP_NOFS); in afs_readpages_one() 474 req->pages = req->array; in afs_readpages_one()
|
D | write.c | 47 req = kzalloc(struct_size(req, array, 1), GFP_KERNEL); in afs_fill_page() 55 req->pages = req->array; in afs_fill_page()
|
D | dir.c | 241 req = kzalloc(struct_size(req, array, nr_inline), GFP_KERNEL); in afs_read_dir() 251 req->pages = req->array; in afs_read_dir()
|
D | internal.h | 238 struct page *array[]; member
|
/fs/ |
D | splice.c | 690 struct bio_vec *array = kcalloc(nbufs, sizeof(struct bio_vec), in iter_file_splice_write() local 694 if (unlikely(!array)) in iter_file_splice_write() 710 kfree(array); in iter_file_splice_write() 712 array = kcalloc(nbufs, sizeof(struct bio_vec), in iter_file_splice_write() 714 if (!array) { in iter_file_splice_write() 739 array[n].bv_page = buf->page; in iter_file_splice_write() 740 array[n].bv_len = this_len; in iter_file_splice_write() 741 array[n].bv_offset = buf->offset; in iter_file_splice_write() 745 iov_iter_bvec(&from, WRITE, array, n, sd.total_len - left); in iter_file_splice_write() 773 kfree(array); in iter_file_splice_write()
|
D | io_uring.c | 3904 p->sq_off.array = (char *)ctx->sq_array - (char *)ctx->rings; in io_uring_create()
|
/fs/ext4/ |
D | xattr.h | 174 struct ext4_xattr_inode_array **array, 176 extern void ext4_xattr_inode_array_free(struct ext4_xattr_inode_array *array);
|
/fs/btrfs/ |
D | compression.c | 1286 static void radix_sort(struct bucket_item *array, struct bucket_item *array_buf, in radix_sort() argument 1302 max_num = array[0].count; in radix_sort() 1304 buf_num = array[i].count; in radix_sort() 1317 buf_num = array[i].count; in radix_sort() 1326 buf_num = array[i].count; in radix_sort() 1330 array_buf[new_addr] = array[i]; in radix_sort() 1357 array[new_addr] = array_buf[i]; in radix_sort()
|
/fs/ocfs2/ |
D | uptodate.c | 524 sector_t *array = ci->ci_cache.ci_array; in ocfs2_remove_metadata_array() local 541 memmove(&array[index], &array[index + 1], bytes); in ocfs2_remove_metadata_array()
|
/fs/proc/ |
D | Makefile | 12 proc-y += inode.o root.o base.o generic.o array.o \
|
/fs/f2fs/ |
D | segment.c | 4115 struct curseg_info *array; in build_curseg() local 4118 array = f2fs_kzalloc(sbi, array_size(NR_CURSEG_TYPE, sizeof(*array)), in build_curseg() 4120 if (!array) in build_curseg() 4123 SM_I(sbi)->curseg_array = array; in build_curseg() 4126 mutex_init(&array[i].curseg_mutex); in build_curseg() 4127 array[i].sum_blk = f2fs_kzalloc(sbi, PAGE_SIZE, GFP_KERNEL); in build_curseg() 4128 if (!array[i].sum_blk) in build_curseg() 4130 init_rwsem(&array[i].journal_rwsem); in build_curseg() 4131 array[i].journal = f2fs_kzalloc(sbi, in build_curseg() 4133 if (!array[i].journal) in build_curseg() [all …]
|
/fs/hpfs/ |
D | map.c | 79 cpds = le32_to_cpu(cp->array[0].code_page_data); in hpfs_load_code_page() 80 cpi = le16_to_cpu(cp->array[0].index); in hpfs_load_code_page()
|
D | hpfs.h | 219 } array[31]; /* unknown length */ member
|