Lines Matching refs:open

82 		cifs_dbg(FYI, "Application %s pid %d has incorrectly set O_EXCL flag but not O_CREAT on file open. Ignoring O_EXCL\n",
126 cifs_dbg(FYI, "posix open %s\n", full_path);
151 goto posix_open_ret; /* open ok, caller does qpathinfo */
189 if (!server->ops->open)
195 * open flag mapping table:
209 * (which uses the attributes / metadata passed in on open call)
242 rc = server->ops->open(xid, &oparms, oplock, buf);
449 struct cifs_pending_open open;
466 /* store open in pending opens to make sure we don't miss lease break */
467 cifs_add_pending_open_locked(&fid, cifs_file->tlink, &open);
475 cifs_dbg(FYI, "closing last open instance for inode %p\n",
479 * close because it may cause a error when we open this file
508 cifs_del_pending_open(&open);
530 struct cifs_pending_open open;
573 cifs_dbg(FYI, "posix open succeeded\n");
577 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",
585 * Else fallthrough to retry open the old way on network i/o
593 cifs_add_pending_open(&fid, tlink, &open);
602 cifs_del_pending_open(&open);
611 cifs_del_pending_open(&open);
733 * original open. Must mask them off for a reopen.
747 * fallthrough to retry open the old way on errors, especially
775 * ops->open and then calling get_inode_info with returned buf since
780 rc = server->ops->open(xid, &oparms, &oplock, NULL);
782 /* durable handle timeout is expired - open the file again */
783 rc = server->ops->open(xid, &oparms, &oplock, NULL);
867 /* list all files open on tree connection, reopen resilient handles */
2635 cifs_dbg(FYI, "ignore fsync for file not open for write\n");
2680 cifs_dbg(FYI, "ignore fsync for file not open for write\n");
4628 open for write - to avoid races with writepage extending
4639 /* This inode is open for write at least once */
4834 * allowes open() O_DIRECT flags which would have failed otherwise.
4884 * TODO: Since file already open, we can't open with DENY_ALL here