Lines Matching refs:open

166  * Mark as invalid, all open files on tree connections since they
188 /* list all files open on tree connection and mark them invalid */
244 cifs_dbg(FYI, "Application %s pid %d has incorrectly set O_EXCL flag but not O_CREAT on file open. Ignoring O_EXCL\n",
290 cifs_dbg(FYI, "posix open %s\n", full_path);
315 goto posix_open_ret; /* open ok, caller does qpathinfo */
352 if (!server->ops->open)
358 * open flag mapping table:
372 * (which uses the attributes / metadata passed in on open call)
402 rc = server->ops->open(xid, &oparms, oplock, buf);
590 * @cifs_file: cifs/smb3 specific info (eg refcounts) for an open file
608 * @cifs_file: cifs/smb3 specific info (eg refcounts) for an open file
623 struct cifs_pending_open open;
640 /* store open in pending opens to make sure we don't miss lease break */
641 cifs_add_pending_open_locked(&fid, cifs_file->tlink, &open);
649 cifs_dbg(FYI, "closing last open instance for inode %p\n",
653 * close because it may cause a error when we open this file
682 cifs_del_pending_open(&open);
705 struct cifs_pending_open open;
770 cifs_dbg(FYI, "posix open succeeded\n");
774 cifs_dbg(VFS, "server %s of type %s returned unexpected error on SMB posix open, disabling posix open support. Check if server update available.\n",
782 * Else fallthrough to retry open the old way on network i/o
791 cifs_add_pending_open(&fid, tlink, &open);
800 cifs_del_pending_open(&open);
809 cifs_del_pending_open(&open);
949 * original open. Must mask them off for a reopen.
963 * fallthrough to retry open the old way on errors, especially
994 * ops->open and then calling get_inode_info with returned buf since
999 rc = server->ops->open(xid, &oparms, &oplock, NULL);
1001 /* durable handle timeout is expired - open the file again */
1002 rc = server->ops->open(xid, &oparms, &oplock, NULL);
1139 /* list all files open on tree connection, reopen resilient handles */
3184 cifs_dbg(FYI, "ignore fsync for file not open for write\n");
3229 cifs_dbg(FYI, "ignore fsync for file not open for write\n");
4764 open for write - to avoid races with writepage extending
4777 /* This inode is open for write at least once */
4970 * So, new open will not use cached handle.
5003 * allowes open() O_DIRECT flags which would have failed otherwise.
5057 * TODO: Since file already open, we can't open with DENY_ALL here