Home
last modified time | relevance | path

Searched refs:file_info (Results 1 – 9 of 9) sorted by relevance

/linux-4.19.296/fs/ecryptfs/
Dfile.c212 struct ecryptfs_file_info *file_info; in ecryptfs_open() local
215 file_info = kmem_cache_zalloc(ecryptfs_file_info_cache, GFP_KERNEL); in ecryptfs_open()
216 ecryptfs_set_file_private(file, file_info); in ecryptfs_open()
217 if (!file_info) { in ecryptfs_open()
279 struct ecryptfs_file_info *file_info; in ecryptfs_dir_open() local
283 file_info = kmem_cache_zalloc(ecryptfs_file_info_cache, GFP_KERNEL); in ecryptfs_dir_open()
284 ecryptfs_set_file_private(file, file_info); in ecryptfs_dir_open()
285 if (unlikely(!file_info)) { in ecryptfs_dir_open()
297 kmem_cache_free(ecryptfs_file_info_cache, file_info); in ecryptfs_dir_open()
Decryptfs_kernel.h453 struct ecryptfs_file_info *file_info) in ecryptfs_set_file_private() argument
455 file->private_data = file_info; in ecryptfs_set_file_private()
/linux-4.19.296/fs/cifs/
Dreaddir.c549 struct cifsFileInfo *file_info) in cifs_save_resume_key() argument
554 rc = cifs_fill_dirent(&de, current_entry, file_info->srch_inf.info_level, in cifs_save_resume_key()
555 file_info->srch_inf.unicode); in cifs_save_resume_key()
557 file_info->srch_inf.presume_name = de.name; in cifs_save_resume_key()
558 file_info->srch_inf.resume_name_len = de.namelen; in cifs_save_resume_key()
559 file_info->srch_inf.resume_key = de.resume_key; in cifs_save_resume_key()
706 struct cifsFileInfo *file_info = file->private_data; in cifs_filldir() local
715 rc = cifs_fill_dirent(&de, find_entry, file_info->srch_inf.info_level, in cifs_filldir()
716 file_info->srch_inf.unicode); in cifs_filldir()
727 if (cifs_entry_is_dot(&de, file_info->srch_inf.unicode)) in cifs_filldir()
[all …]
Dsmb1ops.c530 FILE_ALL_INFO *file_info; in cifs_is_path_accessible() local
532 file_info = kmalloc(sizeof(FILE_ALL_INFO), GFP_KERNEL); in cifs_is_path_accessible()
533 if (file_info == NULL) in cifs_is_path_accessible()
536 rc = CIFSSMBQPathInfo(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
541 rc = SMBQueryInformation(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
543 kfree(file_info); in cifs_is_path_accessible()
Dlink.c316 FILE_ALL_INFO file_info; in cifs_query_mf_symlink() local
327 rc = CIFS_open(xid, &oparms, &oplock, &file_info); in cifs_query_mf_symlink()
331 if (file_info.EndOfFile != cpu_to_le64(CIFS_MF_SYMLINK_FILE_SIZE)) { in cifs_query_mf_symlink()
Ddir.c478 struct cifsFileInfo *file_info; in cifs_atomic_open() local
559 file_info = cifs_new_fileinfo(&fid, file, tlink, oplock); in cifs_atomic_open()
560 if (file_info == NULL) { in cifs_atomic_open()
/linux-4.19.296/fs/ceph/
Ddir.c224 dfi->file_info.flags |= CEPH_F_ATEND; in __dcache_readdir()
312 if (dfi->file_info.flags & CEPH_F_ATEND) in ceph_readdir()
548 dfi->file_info.flags |= CEPH_F_ATEND; in ceph_readdir()
589 dfi->file_info.flags &= ~CEPH_F_ATEND; in reset_readdir()
649 dfi->file_info.flags &= ~CEPH_F_ATEND; in ceph_dir_llseek()
Dfile.c217 fi = &dfi->file_info; in ceph_init_file_info()
534 WARN_ON(!list_empty(&dfi->file_info.rw_contexts)); in ceph_release()
536 ceph_put_fmode(ci, dfi->file_info.fmode); in ceph_release()
Dsuper.h687 struct ceph_file_info file_info; member