Lines Matching defs:server
53 /* check if server can support readahead */
54 if (cifs_sb_master_tcon(cifs_sb)->ses->server->max_read <
130 * got from the server (readdir, some non-unix cases)
144 /* we trust the server, so update it */
420 struct TCP_Server_Info *server;
433 server = tcon->ses->server;
460 if (!server->ops->query_symlink)
462 rc = server->ops->query_symlink(xid, tcon,
549 if (tcon->ses->server->oplocks)
553 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL);
567 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms,
613 tcon->ses->server->ops->close(xid, tcon, &fid);
640 if (tcon->ses->server->ops->query_all_EAs == NULL) {
645 rc = tcon->ses->server->ops->query_all_EAs(xid, tcon, path,
692 fattr->cf_ctime.tv_sec += tcon->ses->server->timeAdj;
693 fattr->cf_mtime.tv_sec += tcon->ses->server->timeAdj;
826 fattr->cf_ctime.tv_sec += tcon->ses->server->timeAdj;
827 fattr->cf_mtime.tv_sec += tcon->ses->server->timeAdj;
890 struct TCP_Server_Info *server = tcon->ses->server;
892 if (!server->ops->query_file_info)
896 rc = server->ops->query_file_info(xid, tcon, cfile, &data);
914 * FIXME: legacy server -- fall back to path-based call?
959 * @tcon: information about the server share we have mounted
984 tcon->ses->server->vals->cap_nt_find) == 0)
1011 struct TCP_Server_Info *server = tcon->ses->server;
1024 * make a round trip to the server. This only works for SMB2+.
1026 rc = server->ops->get_srv_inum(xid, *inode ? NULL : tcon, cifs_sb, full_path,
1031 * and disable server ones
1068 struct TCP_Server_Info *server = tcon->ses->server;
1075 if (!tag && server->ops->query_reparse_point) {
1076 rc = server->ops->query_reparse_point(xid, tcon, cifs_sb,
1086 if (server->ops->query_symlink) {
1087 rc = server->ops->query_symlink(xid, tcon,
1099 } else if (server->ops->parse_reparse_point) {
1100 rc = server->ops->parse_reparse_point(cifs_sb,
1122 struct TCP_Server_Info *server;
1133 server = tcon->ses->server;
1140 rc = server->ops->query_path_info(xid, tcon, cifs_sb,
1164 /* DFS link, no metadata available on this server */
1178 if (backup_cred(cifs_sb) && is_smb1_server(server)) {
1331 /* DFS link, no metadata available on this server */
1516 cifs_dbg(VFS, "server does not support POSIX extensions\n");
1568 struct TCP_Server_Info *server;
1574 server = cifs_sb_master_tcon(cifs_sb)->ses->server;
1575 if (!server->ops->set_file_info)
1598 * server times.
1610 return server->ops->set_file_info(inode, full_path, &info_buf, xid);
1641 * We cannot rename the file if the server doesn't support
1776 struct TCP_Server_Info *server;
1789 server = tcon->ses->server;
1821 if (!server->ops->unlink) {
1826 rc = server->ops->unlink(xid, tcon, full_path, cifs_sb);
1835 if (server->ops->rename_pending_delete) {
1836 rc = server->ops->rename_pending_delete(full_path,
1921 * from the server or was set bogus. Also, since this is a brand new
1957 struct TCP_Server_Info *server = tcon->ses->server;
1959 (mode & S_IWUGO) == 0 && server->ops->mkdir_setinfo)
1960 server->ops->mkdir_setinfo(inode, full_path, cifs_sb,
2050 struct TCP_Server_Info *server;
2074 server = tcon->ses->server;
2076 if ((server->ops->posix_mkdir) && (tcon->posix_extensions)) {
2077 rc = server->ops->posix_mkdir(xid, inode, mode, tcon, full_path,
2093 if (!server->ops->mkdir) {
2099 rc = server->ops->mkdir(xid, inode, mode, tcon, full_path, cifs_sb);
2128 struct TCP_Server_Info *server;
2155 server = tcon->ses->server;
2157 if (!server->ops->rmdir) {
2169 rc = server->ops->rmdir(xid, tcon, full_path, cifs_sb);
2207 struct TCP_Server_Info *server;
2219 server = tcon->ses->server;
2221 if (!server->ops->rename)
2225 rc = server->ops->rename(xid, tcon, from_dentry,
2237 if (server->vals->protocol_id != 0)
2640 * We need to be sure that all dirty pages are written and the server
2707 struct TCP_Server_Info *server = tcon->ses->server;
2716 * might fill holes on the server.
2731 if (server->ops->fiemap) {
2732 rc = server->ops->fiemap(tcon, cfile, fei, start, len);
2781 struct TCP_Server_Info *server;
2784 * To avoid spurious oplock breaks from server, in the case of
2795 server = tcon->ses->server;
2796 if (server->ops->set_file_size)
2797 rc = server->ops->set_file_size(xid, tcon, open_file,
2814 server = tcon->ses->server;
2822 if (server->ops->set_path_size)
2823 rc = server->ops->set_path_size(xid, tcon, full_path,
2839 * Until we can query the server for actual allocation size,
2996 a way (yet) to query the server fs's time granularity (and
3069 rc = tcon->ses->server->ops->flush(xid, tcon, &wfile->fid);
3169 the server would set the time to a reasonable value anyway,
3172 the user when the server rejects the call */
3178 /* do not need local check to inode_check_ok since the server does