Lines Matching refs:open

356  * Mark as invalid, all open files on tree connections since they
378 /* list all files open on tree connection and mark them invalid */
434 cifs_dbg(FYI, "Application %s pid %d has incorrectly set O_EXCL flag but not O_CREAT on file open. Ignoring O_EXCL\n",
480 cifs_dbg(FYI, "posix open %s\n", full_path);
505 goto posix_open_ret; /* open ok, caller does qpathinfo */
543 if (!server->ops->open)
553 * open flag mapping table:
567 * (which uses the attributes / metadata passed in on open call)
598 rc = server->ops->open(xid, &oparms, oplock, buf);
830 * @cifs_file: cifs/smb3 specific info (eg refcounts) for an open file
848 * @cifs_file: cifs/smb3 specific info (eg refcounts) for an open file
863 struct cifs_pending_open open;
883 /* store open in pending opens to make sure we don't miss lease break */
884 cifs_add_pending_open_locked(&fid, cifs_file->tlink, &open);
892 cifs_dbg(FYI, "closing last open instance for inode %p\n",
896 * close because it may cause a error when we open this file
932 cifs_del_pending_open(&open);
960 struct cifs_pending_open open;
1025 cifs_dbg(FYI, "posix open succeeded\n");
1029 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",
1037 * Else fallthrough to retry open the old way on network i/o
1046 cifs_add_pending_open(&fid, tlink, &open);
1055 cifs_del_pending_open(&open);
1064 cifs_del_pending_open(&open);
1205 * original open. Must mask them off for a reopen.
1219 * fallthrough to retry open the old way on errors, especially
1255 * ops->open and then calling get_inode_info with returned buf since
1260 rc = server->ops->open(xid, &oparms, &oplock, NULL);
1262 /* durable handle timeout is expired - open the file again */
1263 rc = server->ops->open(xid, &oparms, &oplock, NULL);
1421 /* list all files open on tree connection, reopen resilient handles */
2667 cifs_dbg(FYI, "ignore fsync for file not open for write\n");
2715 cifs_dbg(FYI, "ignore fsync for file not open for write\n");
3012 open for write - to avoid races with writepage extending
3025 /* This inode is open for write at least once */
3101 * So, new open will not use cached handle.
3169 * TODO: Since file already open, we can't open with DENY_ALL here