Searched refs:file_info (Results 1 – 6 of 6) sorted by relevance
/fs/ecryptfs/ |
D | file.c | 201 struct ecryptfs_file_info *file_info; in ecryptfs_open() local 204 file_info = kmem_cache_zalloc(ecryptfs_file_info_cache, GFP_KERNEL); in ecryptfs_open() 205 ecryptfs_set_file_private(file, file_info); in ecryptfs_open() 206 if (!file_info) { in ecryptfs_open() 268 struct ecryptfs_file_info *file_info; in ecryptfs_dir_open() local 272 file_info = kmem_cache_zalloc(ecryptfs_file_info_cache, GFP_KERNEL); in ecryptfs_dir_open() 273 ecryptfs_set_file_private(file, file_info); in ecryptfs_dir_open() 274 if (unlikely(!file_info)) { in ecryptfs_dir_open() 286 kmem_cache_free(ecryptfs_file_info_cache, file_info); in ecryptfs_dir_open()
|
D | ecryptfs_kernel.h | 448 struct ecryptfs_file_info *file_info) in ecryptfs_set_file_private() argument 450 file->private_data = file_info; in ecryptfs_set_file_private()
|
/fs/cifs/ |
D | readdir.c | 546 struct cifsFileInfo *file_info) in cifs_save_resume_key() argument 551 rc = cifs_fill_dirent(&de, current_entry, file_info->srch_inf.info_level, in cifs_save_resume_key() 552 file_info->srch_inf.unicode); in cifs_save_resume_key() 554 file_info->srch_inf.presume_name = de.name; in cifs_save_resume_key() 555 file_info->srch_inf.resume_name_len = de.namelen; in cifs_save_resume_key() 556 file_info->srch_inf.resume_key = de.resume_key; in cifs_save_resume_key() 702 struct cifsFileInfo *file_info = file->private_data; in cifs_filldir() local 711 rc = cifs_fill_dirent(&de, find_entry, file_info->srch_inf.info_level, in cifs_filldir() 712 file_info->srch_inf.unicode); in cifs_filldir() 723 if (cifs_entry_is_dot(&de, file_info->srch_inf.unicode)) in cifs_filldir() [all …]
|
D | smb1ops.c | 529 FILE_ALL_INFO *file_info; in cifs_is_path_accessible() local 531 file_info = kmalloc(sizeof(FILE_ALL_INFO), GFP_KERNEL); in cifs_is_path_accessible() 532 if (file_info == NULL) in cifs_is_path_accessible() 535 rc = CIFSSMBQPathInfo(xid, tcon, full_path, file_info, in cifs_is_path_accessible() 540 rc = SMBQueryInformation(xid, tcon, full_path, file_info, in cifs_is_path_accessible() 542 kfree(file_info); in cifs_is_path_accessible()
|
D | link.c | 335 FILE_ALL_INFO file_info; in cifs_query_mf_symlink() local 346 rc = CIFS_open(xid, &oparms, &oplock, &file_info); in cifs_query_mf_symlink() 350 if (file_info.EndOfFile != cpu_to_le64(CIFS_MF_SYMLINK_FILE_SIZE)) { in cifs_query_mf_symlink()
|
D | dir.c | 468 struct cifsFileInfo *file_info; in cifs_atomic_open() local 549 file_info = cifs_new_fileinfo(&fid, file, tlink, oplock); in cifs_atomic_open() 550 if (file_info == NULL) { in cifs_atomic_open()
|