Home
last modified time | relevance | path

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

/linux-2.6.39/fs/cifs/
Dfile.c870 struct cifsFileInfo *open_file; in cifs_user_write() local
881 open_file = file->private_data; in cifs_user_write()
882 pTcon = tlink_tcon(open_file->tlink); in cifs_user_write()
902 if (open_file->invalidHandle) { in cifs_user_write()
907 rc = cifs_reopen_file(open_file, false); in cifs_user_write()
913 open_file->netfid, in cifs_user_write()
949 static ssize_t cifs_write(struct cifsFileInfo *open_file, in cifs_write() argument
959 struct dentry *dentry = open_file->dentry; in cifs_write()
967 pTcon = tlink_tcon(open_file->tlink); in cifs_write()
978 if (open_file->invalidHandle) { in cifs_write()
[all …]
Dcifsacl.c627 struct cifsFileInfo *open_file = NULL; in get_cifs_acl() local
630 open_file = find_readable_file(CIFS_I(inode), true); in get_cifs_acl()
631 if (!open_file) in get_cifs_acl()
634 pntsd = get_cifs_acl_by_fid(cifs_sb, open_file->netfid, pacllen); in get_cifs_acl()
635 cifsFileInfo_put(open_file); in get_cifs_acl()
695 struct cifsFileInfo *open_file; in set_cifs_acl() local
700 open_file = find_readable_file(CIFS_I(inode), true); in set_cifs_acl()
701 if (!open_file) in set_cifs_acl()
704 rc = set_cifs_acl_by_fid(cifs_sb, open_file->netfid, pnntsd, acllen); in set_cifs_acl()
705 cifsFileInfo_put(open_file); in set_cifs_acl()
Dinode.c942 struct cifsFileInfo *open_file; local
985 open_file = find_writable_file(cifsInode, true);
986 if (open_file) {
987 netfid = open_file->netfid;
988 netpid = open_file->pid;
989 pTcon = tlink_tcon(open_file->tlink);
1039 if (open_file == NULL)
1042 cifsFileInfo_put(open_file);
1830 struct cifsFileInfo *open_file; local
1845 open_file = find_writable_file(cifsInode, true);
[all …]
Dcifssmb.c89 struct cifsFileInfo *open_file = NULL; in mark_open_files_invalid() local
96 open_file = list_entry(tmp, struct cifsFileInfo, tlist); in mark_open_files_invalid()
97 open_file->invalidHandle = true; in mark_open_files_invalid()
98 open_file->oplock_break_cancelled = true; in mark_open_files_invalid()
/linux-2.6.39/fs/hostfs/
Dhostfs.h67 extern int open_file(char *path, int r, int w, int append);
Dhostfs_user.c71 int open_file(char *path, int r, int w, int append) in open_file() function
Dhostfs_kern.c332 fd = open_file(name, r, w, append); in hostfs_file_open()