/fs/nfs/ |
D | pnfs_nfs.c | 130 struct pnfs_commit_array *array; in pnfs_find_commit_array_by_lseg() local 132 list_for_each_entry_rcu(array, &fl_cinfo->commits, cinfo_list) { in pnfs_find_commit_array_by_lseg() 133 if (array->lseg == lseg) in pnfs_find_commit_array_by_lseg() 134 return array; in pnfs_find_commit_array_by_lseg() 144 struct pnfs_commit_array *array; in pnfs_add_commit_array() local 146 array = pnfs_find_commit_array_by_lseg(fl_cinfo, lseg); in pnfs_add_commit_array() 147 if (array) in pnfs_add_commit_array() 148 return array; in pnfs_add_commit_array() 161 struct pnfs_commit_array *array; in pnfs_lookup_commit_array() local 164 array = pnfs_find_commit_array_by_lseg(fl_cinfo, lseg); in pnfs_lookup_commit_array() [all …]
|
D | dir.c | 148 struct nfs_cache_array_entry array[]; member 173 static void nfs_readdir_array_init(struct nfs_cache_array *array) in nfs_readdir_array_init() argument 175 memset(array, 0, sizeof(struct nfs_cache_array)); in nfs_readdir_array_init() 180 struct nfs_cache_array *array; in nfs_readdir_page_init_array() local 182 array = kmap_atomic(page); in nfs_readdir_page_init_array() 183 nfs_readdir_array_init(array); in nfs_readdir_page_init_array() 184 array->last_cookie = last_cookie; in nfs_readdir_page_init_array() 185 array->cookies_are_ordered = 1; in nfs_readdir_page_init_array() 186 kunmap_atomic(array); in nfs_readdir_page_init_array() 195 struct nfs_cache_array *array; in nfs_readdir_clear_array() local [all …]
|
D | internal.h | 549 struct pnfs_commit_array *array; in nfs_clear_pnfs_ds_commit_verifiers() local 552 list_for_each_entry_rcu(array, &cinfo->commits, cinfo_list) in nfs_clear_pnfs_ds_commit_verifiers() 553 pnfs_bucket_clear_pnfs_ds_commit_verifiers(array->buckets, in nfs_clear_pnfs_ds_commit_verifiers() 554 array->nbuckets); in nfs_clear_pnfs_ds_commit_verifiers()
|
/fs/dlm/ |
D | member.c | 63 struct rcom_slot *ro0, struct dlm_slot *array, in log_slots() argument 73 if (array) { in log_slots() 75 if (!array[i].nodeid) in log_slots() 79 array[i].slot, array[i].nodeid); in log_slots() 169 struct dlm_slot *array; in dlm_slots_assign() local 219 array = kcalloc(array_size, sizeof(*array), GFP_NOFS); in dlm_slots_assign() 220 if (!array) in dlm_slots_assign() 233 kfree(array); in dlm_slots_assign() 237 array[memb->slot - 1].nodeid = memb->nodeid; in dlm_slots_assign() 238 array[memb->slot - 1].slot = memb->slot; in dlm_slots_assign() [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/ |
D | splice.c | 628 struct bio_vec *array = kcalloc(nbufs, sizeof(struct bio_vec), in iter_file_splice_write() local 632 if (unlikely(!array)) in iter_file_splice_write() 649 kfree(array); in iter_file_splice_write() 651 array = kcalloc(nbufs, sizeof(struct bio_vec), in iter_file_splice_write() 653 if (!array) { in iter_file_splice_write() 681 array[n].bv_page = buf->page; in iter_file_splice_write() 682 array[n].bv_len = this_len; in iter_file_splice_write() 683 array[n].bv_offset = buf->offset; in iter_file_splice_write() 688 iov_iter_bvec(&from, WRITE, array, n, sd.total_len - left); in iter_file_splice_write() 717 kfree(array); in iter_file_splice_write()
|
/fs/ext4/ |
D | xattr.h | 188 struct ext4_xattr_inode_array **array, 190 extern void ext4_xattr_inode_array_free(struct ext4_xattr_inode_array *array);
|
/fs/ocfs2/ |
D | uptodate.c | 522 sector_t *array = ci->ci_cache.ci_array; in ocfs2_remove_metadata_array() local 539 memmove(&array[index], &array[index + 1], bytes); in ocfs2_remove_metadata_array()
|
/fs/debugfs/ |
D | file.c | 1022 u32 *array, int array_size) in u32_format_array() argument 1030 len = snprintf(buf, bufsize, "%u%c", *array++, term); in u32_format_array() 1057 u32_format_array(buf, size, data->array, data->n_elements); in u32_array_open() 1103 struct debugfs_u32_array *array) in debugfs_create_u32_array() argument 1105 debugfs_create_file_unsafe(name, mode, parent, array, &u32_array_fops); in debugfs_create_u32_array()
|
/fs/btrfs/ |
D | compression.c | 1427 static void radix_sort(struct bucket_item *array, struct bucket_item *array_buf, in radix_sort() argument 1443 max_num = array[0].count; in radix_sort() 1445 buf_num = array[i].count; in radix_sort() 1458 buf_num = array[i].count; in radix_sort() 1467 buf_num = array[i].count; in radix_sort() 1471 array_buf[new_addr] = array[i]; in radix_sort() 1498 array[new_addr] = array_buf[i]; in radix_sort()
|
/fs/f2fs/ |
D | segment.c | 4416 struct curseg_info *array; in build_curseg() local 4419 array = f2fs_kzalloc(sbi, array_size(NR_CURSEG_TYPE, in build_curseg() 4420 sizeof(*array)), GFP_KERNEL); in build_curseg() 4421 if (!array) in build_curseg() 4424 SM_I(sbi)->curseg_array = array; in build_curseg() 4427 mutex_init(&array[i].curseg_mutex); in build_curseg() 4428 array[i].sum_blk = f2fs_kzalloc(sbi, PAGE_SIZE, GFP_KERNEL); in build_curseg() 4429 if (!array[i].sum_blk) in build_curseg() 4431 init_rwsem(&array[i].journal_rwsem); in build_curseg() 4432 array[i].journal = f2fs_kzalloc(sbi, in build_curseg() [all …]
|
/fs/proc/ |
D | Makefile | 12 proc-y += inode.o root.o base.o generic.o array.o \
|
/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
|
/fs/nfs/filelayout/ |
D | filelayout.c | 1084 struct pnfs_commit_array *array, *new; in filelayout_setup_ds_info() local 1091 array = pnfs_add_commit_array(fl_cinfo, new, lseg); in filelayout_setup_ds_info() 1093 if (array != new) in filelayout_setup_ds_info()
|
/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 1981 struct pnfs_commit_array *array, *new; in ff_layout_setup_ds_info() local 1986 array = pnfs_add_commit_array(fl_cinfo, new, lseg); in ff_layout_setup_ds_info() 1988 if (array != new) in ff_layout_setup_ds_info()
|