Searched refs:open_file (Results 1 – 10 of 10) sorted by relevance
/fs/cifs/ |
D | file.c | 925 struct cifsFileInfo *open_file; in cifs_reopen_persistent_handles() local 941 open_file = list_entry(tmp, struct cifsFileInfo, tlist); in cifs_reopen_persistent_handles() 942 if (!open_file->invalidHandle) in cifs_reopen_persistent_handles() 944 cifsFileInfo_get(open_file); in cifs_reopen_persistent_handles() 945 list_add_tail(&open_file->rlist, &tmp_list); in cifs_reopen_persistent_handles() 950 open_file = list_entry(tmp, struct cifsFileInfo, rlist); in cifs_reopen_persistent_handles() 951 if (cifs_reopen_file(open_file, false /* do not flush */)) in cifs_reopen_persistent_handles() 953 list_del_init(&open_file->rlist); in cifs_reopen_persistent_handles() 954 cifsFileInfo_put(open_file); in cifs_reopen_persistent_handles() 1917 cifs_write(struct cifsFileInfo *open_file, __u32 pid, const char *write_data, in cifs_write() argument [all …]
|
D | smb1ops.c | 763 struct cifsFileInfo *open_file; in smb_set_file_info() local 770 open_file = find_writable_file(cinode, FIND_WR_FSUID_ONLY); in smb_set_file_info() 771 if (open_file) { in smb_set_file_info() 772 fid.netfid = open_file->fid.netfid; in smb_set_file_info() 773 netpid = open_file->pid; in smb_set_file_info() 774 tcon = tlink_tcon(open_file->tlink); in smb_set_file_info() 819 if (open_file == NULL) in smb_set_file_info() 822 cifsFileInfo_put(open_file); in smb_set_file_info()
|
D | inode.c | 2572 struct cifsFileInfo *open_file; local 2588 open_file = find_writable_file(cifsInode, FIND_WR_FSUID_ONLY); 2589 if (open_file) { 2590 tcon = tlink_tcon(open_file->tlink); 2593 rc = server->ops->set_file_size(xid, tcon, open_file, 2597 cifsFileInfo_put(open_file); 2668 struct cifsFileInfo *open_file; local 2756 open_file = find_writable_file(cifsInode, FIND_WR_FSUID_ONLY); 2757 if (open_file) { 2758 u16 nfid = open_file->fid.netfid; [all …]
|
D | cifsacl.c | 1455 struct cifsFileInfo *open_file = NULL; in get_cifs_acl() local 1458 open_file = find_readable_file(CIFS_I(inode), true); in get_cifs_acl() 1459 if (!open_file) in get_cifs_acl() 1462 pntsd = get_cifs_acl_by_fid(cifs_sb, &open_file->fid, pacllen, info); in get_cifs_acl() 1463 cifsFileInfo_put(open_file); in get_cifs_acl()
|
D | smb2ops.c | 3534 struct cifsFileInfo *open_file = NULL; in get_smb2_acl() local 3537 open_file = find_readable_file(CIFS_I(inode), true); in get_smb2_acl() 3538 if (!open_file || (info & SACL_SECINFO)) in get_smb2_acl() 3541 pntsd = get_smb2_acl_by_fid(cifs_sb, &open_file->fid, pacllen, info); in get_smb2_acl() 3542 cifsFileInfo_put(open_file); in get_smb2_acl()
|
D | cifssmb.c | 72 struct cifsFileInfo *open_file = NULL; in cifs_mark_open_files_invalid() local 79 open_file = list_entry(tmp, struct cifsFileInfo, tlist); in cifs_mark_open_files_invalid() 80 open_file->invalidHandle = true; in cifs_mark_open_files_invalid() 81 open_file->oplock_break_cancelled = true; in cifs_mark_open_files_invalid()
|
/fs/hostfs/ |
D | hostfs.h | 72 extern int open_file(char *path, int r, int w, int append);
|
D | hostfs_user.c | 70 int open_file(char *path, int r, int w, int append) in open_file() function
|
D | hostfs_kern.c | 323 fd = open_file(name, r, w, append); in hostfs_open()
|
/fs/nfsd/ |
D | filecache.c | 967 goto open_file; in nfsd_file_acquire() 998 open_file: in nfsd_file_acquire()
|