Home
last modified time | relevance | path

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

/linux-6.6.21/fs/ecryptfs/
Dfile.c217 struct ecryptfs_file_info *file_info; in ecryptfs_open() local
220 file_info = kmem_cache_zalloc(ecryptfs_file_info_cache, GFP_KERNEL); in ecryptfs_open()
221 ecryptfs_set_file_private(file, file_info); in ecryptfs_open()
222 if (!file_info) { in ecryptfs_open()
284 struct ecryptfs_file_info *file_info; in ecryptfs_dir_open() local
288 file_info = kmem_cache_zalloc(ecryptfs_file_info_cache, GFP_KERNEL); in ecryptfs_dir_open()
289 ecryptfs_set_file_private(file, file_info); in ecryptfs_dir_open()
290 if (unlikely(!file_info)) { in ecryptfs_dir_open()
302 kmem_cache_free(ecryptfs_file_info_cache, file_info); in ecryptfs_dir_open()
Decryptfs_kernel.h436 struct ecryptfs_file_info *file_info) in ecryptfs_set_file_private() argument
438 file->private_data = file_info; in ecryptfs_set_file_private()
/linux-6.6.21/fs/smb/server/
Dsmb2pdu.c2669 int req_op_level = 0, open_flags = 0, may_flags = 0, file_info = 0; in smb2_open() local
3064 file_info = FILE_OPENED; in smb2_open()
3066 file_info = FILE_OVERWRITTEN; in smb2_open()
3070 file_info = FILE_SUPERSEDED; in smb2_open()
3072 file_info = FILE_CREATED; in smb2_open()
3181 file_info = FILE_CREATED; in smb2_open()
3252 ksmbd_fd_set_delete_on_close(fp, file_info); in smb2_open()
3326 rsp->CreateAction = cpu_to_le32(file_info); in smb2_open()
4255 struct smb2_file_internal_info *file_info; in get_internal_info_pipe() local
4257 file_info = (struct smb2_file_internal_info *)rsp->Buffer; in get_internal_info_pipe()
[all …]
Dvfs_cache.h175 int file_info);
Dvfs_cache.c134 int file_info) in ksmbd_fd_set_delete_on_close() argument
/linux-6.6.21/fs/smb/client/
Dreaddir.c687 struct cifsFileInfo *file_info) in cifs_save_resume_key() argument
692 rc = cifs_fill_dirent(&de, current_entry, file_info->srch_inf.info_level, in cifs_save_resume_key()
693 file_info->srch_inf.unicode); in cifs_save_resume_key()
695 file_info->srch_inf.presume_name = de.name; in cifs_save_resume_key()
696 file_info->srch_inf.resume_name_len = de.namelen; in cifs_save_resume_key()
697 file_info->srch_inf.resume_key = de.resume_key; in cifs_save_resume_key()
961 struct cifsFileInfo *file_info = file->private_data; in cifs_filldir() local
969 rc = cifs_fill_dirent(&de, find_entry, file_info->srch_inf.info_level, in cifs_filldir()
970 file_info->srch_inf.unicode); in cifs_filldir()
981 if (cifs_entry_is_dot(&de, file_info->srch_inf.unicode)) in cifs_filldir()
[all …]
Dsmb1ops.c528 FILE_ALL_INFO *file_info; in cifs_is_path_accessible() local
530 file_info = kmalloc(sizeof(FILE_ALL_INFO), GFP_KERNEL); in cifs_is_path_accessible()
531 if (file_info == NULL) in cifs_is_path_accessible()
534 rc = CIFSSMBQPathInfo(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
539 rc = SMBQueryInformation(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
541 kfree(file_info); in cifs_is_path_accessible()
Dlink.c272 FILE_ALL_INFO file_info; in cifs_query_mf_symlink() local
284 rc = CIFS_open(xid, &oparms, &oplock, &file_info); in cifs_query_mf_symlink()
288 if (file_info.EndOfFile != cpu_to_le64(CIFS_MF_SYMLINK_FILE_SIZE)) { in cifs_query_mf_symlink()
Dsmb2file.c106 struct smb2_file_all_info file_info = {}; in smb2_open_file() local
107 struct smb2_file_all_info *smb2_data = data ? &file_info : NULL; in smb2_open_file()
Ddir.c429 struct cifsFileInfo *file_info; local
513 file_info = cifs_new_fileinfo(&fid, file, tlink, oplock, buf.symlink_target);
514 if (file_info == NULL) {
/linux-6.6.21/fs/ceph/
Ddir.c232 dfi->file_info.flags |= CEPH_F_ATEND; in __dcache_readdir()
321 if (dfi->file_info.flags & CEPH_F_ATEND) in ceph_readdir()
589 dfi->file_info.flags |= CEPH_F_ATEND; in ceph_readdir()
629 dfi->file_info.flags &= ~CEPH_F_ATEND; in reset_readdir()
691 dfi->file_info.flags &= ~CEPH_F_ATEND; in ceph_dir_llseek()
Dfile.c218 fi = &dfi->file_info; in ceph_init_file_info()
919 WARN_ON(!list_empty(&dfi->file_info.rw_contexts)); in ceph_release()
921 ceph_put_fmode(ci, dfi->file_info.fmode, 1); in ceph_release()
Dsuper.h837 struct ceph_file_info file_info; member
/linux-6.6.21/tools/testing/selftests/mm/
Dkhugepaged.c65 struct file_info { struct
73 static struct file_info finfo; argument