Home
last modified time | relevance | path

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

/fs/ceph/
Ddir.c111 static int note_last_dentry(struct ceph_dir_file_info *dfi, const char *name, in note_last_dentry() argument
117 kfree(dfi->last_name); in note_last_dentry()
118 dfi->last_name = buf; in note_last_dentry()
119 memcpy(dfi->last_name, name, len); in note_last_dentry()
120 dfi->last_name[len] = 0; in note_last_dentry()
121 dfi->next_offset = next_offset; in note_last_dentry()
122 dout("note_last_dentry '%s'\n", dfi->last_name); in note_last_dentry()
184 struct ceph_dir_file_info *dfi = file->private_data; in __dcache_readdir() local
231 dfi->file_info.flags |= CEPH_F_ATEND; in __dcache_readdir()
281 ret = note_last_dentry(dfi, last->d_name.name, last->d_name.len, in __dcache_readdir()
[all …]
Dfile.c214 struct ceph_dir_file_info *dfi = in ceph_init_file_info() local
216 if (!dfi) in ceph_init_file_info()
219 file->private_data = dfi; in ceph_init_file_info()
220 fi = &dfi->file_info; in ceph_init_file_info()
221 dfi->next_offset = 2; in ceph_init_file_info()
222 dfi->readdir_cache_idx = -1; in ceph_init_file_info()
830 struct ceph_dir_file_info *dfi = file->private_data; in ceph_release() local
832 WARN_ON(!list_empty(&dfi->file_info.rw_contexts)); in ceph_release()
834 ceph_put_fmode(ci, dfi->file_info.fmode, 1); in ceph_release()
836 if (dfi->last_readdir) in ceph_release()
[all …]
/fs/udf/
Dinode.c339 struct fileIdentDesc cfi, *sfi, *dfi; in udf_expand_dir_adinicb() local
390 dfi = (struct fileIdentDesc *)(dbh->b_data + dfibh.soffset); in udf_expand_dir_adinicb()
391 if (udf_write_fi(inode, sfi, dfi, &dfibh, sfi->impUse, in udf_expand_dir_adinicb()