Home
last modified time | relevance | path

Searched refs:open_file (Results 1 – 10 of 10) sorted by relevance

/fs/cifs/
Dfile.c925 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 …]
Dsmb1ops.c763 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()
Dinode.c2572 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 …]
Dcifsacl.c1455 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()
Dsmb2ops.c3534 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()
Dcifssmb.c72 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/
Dhostfs.h72 extern int open_file(char *path, int r, int w, int append);
Dhostfs_user.c70 int open_file(char *path, int r, int w, int append) in open_file() function
Dhostfs_kern.c323 fd = open_file(name, r, w, append); in hostfs_open()
/fs/nfsd/
Dfilecache.c967 goto open_file; in nfsd_file_acquire()
998 open_file: in nfsd_file_acquire()