Lines Matching defs:server

69 		/* check if server can support readahead */
70 if (cifs_sb_master_tcon(cifs_sb)->ses->server->max_read <
147 * got from the server (readdir, some non-unix cases)
161 /* we trust the server, so update it */
438 struct TCP_Server_Info *server;
451 server = tcon->ses->server;
478 if (!server->ops->query_symlink)
480 rc = server->ops->query_symlink(xid, tcon,
567 if (tcon->ses->server->oplocks)
571 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL);
585 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms,
631 tcon->ses->server->ops->close(xid, tcon, &fid);
658 if (tcon->ses->server->ops->query_all_EAs == NULL) {
663 rc = tcon->ses->server->ops->query_all_EAs(xid, tcon, path,
708 fattr->cf_ctime.tv_sec += tcon->ses->server->timeAdj;
709 fattr->cf_mtime.tv_sec += tcon->ses->server->timeAdj;
771 fattr->cf_ctime.tv_sec += tcon->ses->server->timeAdj;
772 fattr->cf_mtime.tv_sec += tcon->ses->server->timeAdj;
835 struct TCP_Server_Info *server = tcon->ses->server;
840 if (!server->ops->query_file_info) {
846 rc = server->ops->query_file_info(xid, tcon, cfile, &data);
870 * FIXME: legacy server -- fall back to path-based call?
916 * @tcon: information about the server share we have mounted
941 tcon->ses->server->vals->cap_nt_find) == 0)
968 struct TCP_Server_Info *server = tcon->ses->server;
981 * make a round trip to the server. This only works for SMB2+.
983 rc = server->ops->get_srv_inum(xid, *inode ? NULL : tcon, cifs_sb, full_path,
988 * and disable server ones
1025 struct TCP_Server_Info *server = tcon->ses->server;
1032 if (!tag && server->ops->query_reparse_point) {
1033 rc = server->ops->query_reparse_point(xid, tcon, cifs_sb,
1046 if (server->ops->query_symlink) {
1047 rc = server->ops->query_symlink(xid, tcon,
1060 } else if (iov && server->ops->parse_reparse_point) {
1061 rc = server->ops->parse_reparse_point(cifs_sb,
1086 struct TCP_Server_Info *server;
1097 server = tcon->ses->server;
1104 rc = server->ops->query_path_info(xid, tcon, cifs_sb,
1131 /* DFS link, no metadata available on this server */
1145 if (backup_cred(cifs_sb) && is_smb1_server(server)) {
1270 struct TCP_Server_Info *server;
1281 server = tcon->ses->server;
1287 rc = server->ops->query_path_info(xid, tcon, cifs_sb,
1306 /* DFS link, no metadata available on this server */
1498 cifs_dbg(VFS, "server does not support POSIX extensions\n");
1553 struct TCP_Server_Info *server;
1559 server = cifs_sb_master_tcon(cifs_sb)->ses->server;
1560 if (!server->ops->set_file_info)
1583 * server times.
1595 return server->ops->set_file_info(inode, full_path, &info_buf, xid);
1626 * We cannot rename the file if the server doesn't support
1761 struct TCP_Server_Info *server;
1774 server = tcon->ses->server;
1806 if (!server->ops->unlink) {
1811 rc = server->ops->unlink(xid, tcon, full_path, cifs_sb, dentry);
1822 if (server->ops->rename_pending_delete) {
1823 rc = server->ops->rename_pending_delete(full_path,
1912 * from the server or was set bogus. Also, since this is a brand new
1948 struct TCP_Server_Info *server = tcon->ses->server;
1950 (mode & S_IWUGO) == 0 && server->ops->mkdir_setinfo)
1951 server->ops->mkdir_setinfo(inode, full_path, cifs_sb,
2041 struct TCP_Server_Info *server;
2065 server = tcon->ses->server;
2067 if ((server->ops->posix_mkdir) && (tcon->posix_extensions)) {
2068 rc = server->ops->posix_mkdir(xid, inode, mode, tcon, full_path,
2084 if (!server->ops->mkdir) {
2090 rc = server->ops->mkdir(xid, inode, mode, tcon, full_path, cifs_sb);
2119 struct TCP_Server_Info *server;
2146 server = tcon->ses->server;
2148 if (!server->ops->rmdir) {
2160 rc = server->ops->rmdir(xid, tcon, full_path, cifs_sb);
2198 struct TCP_Server_Info *server;
2210 server = tcon->ses->server;
2212 if (!server->ops->rename)
2216 rc = server->ops->rename(xid, tcon, from_dentry,
2228 if (server->vals->protocol_id != 0)
2618 * We need to be sure that all dirty pages are written and the server
2685 struct TCP_Server_Info *server = tcon->ses->server;
2694 * might fill holes on the server.
2709 if (server->ops->fiemap) {
2710 rc = server->ops->fiemap(tcon, cfile, fei, start, len);
2759 struct TCP_Server_Info *server;
2762 * To avoid spurious oplock breaks from server, in the case of
2773 server = tcon->ses->server;
2774 if (server->ops->set_file_size)
2775 rc = server->ops->set_file_size(xid, tcon, open_file,
2792 server = tcon->ses->server;
2800 if (server->ops->set_path_size)
2801 rc = server->ops->set_path_size(xid, tcon, full_path,
2817 * Until we can query the server for actual allocation size,
2975 a way (yet) to query the server fs's time granularity (and
3048 rc = tcon->ses->server->ops->flush(xid, tcon, &wfile->fid);
3148 the server would set the time to a reasonable value anyway,
3151 the user when the server rejects the call */
3157 /* do not need local check to inode_check_ok since the server does