Lines Matching defs:server
65 /* check if server can support readpages */
66 if (cifs_sb_master_tcon(cifs_sb)->ses->server->max_read <
140 * got from the server (readdir, some non-unix cases)
154 /* we trust the server, so update it */
485 if (tcon->ses->server->oplocks)
489 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL);
503 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms,
545 tcon->ses->server->ops->close(xid, tcon, &fid);
572 if (tcon->ses->server->ops->query_all_EAs == NULL) {
577 rc = tcon->ses->server->ops->query_all_EAs(xid, tcon, path,
621 fattr->cf_ctime.tv_sec += tcon->ses->server->timeAdj;
622 fattr->cf_mtime.tv_sec += tcon->ses->server->timeAdj;
677 fattr->cf_ctime.tv_sec += tcon->ses->server->timeAdj;
678 fattr->cf_mtime.tv_sec += tcon->ses->server->timeAdj;
747 struct TCP_Server_Info *server = tcon->ses->server;
749 if (!server->ops->query_file_info)
753 rc = server->ops->query_file_info(xid, tcon, &cfile->fid, &find_data);
767 * FIXME: legacy server -- fall back to path-based call?
829 tcon->ses->server->vals->cap_nt_find) == 0)
860 struct TCP_Server_Info *server = tcon->ses->server;
873 * make a round trip to the server. This only works for SMB2+.
875 rc = server->ops->get_srv_inum(xid,
883 * and disable server ones
922 struct TCP_Server_Info *server;
939 server = tcon->ses->server;
955 rc = server->ops->query_path_info(xid, tcon, cifs_sb,
973 server->ops->query_reparse_tag) {
974 rc = server->ops->query_reparse_tag(xid, tcon, cifs_sb,
982 /* DFS link, no metadata available on this server */
995 if (backup_cred(cifs_sb) && is_smb1_server(server)) {
1161 /* DFS link, no metadata available on this server */
1360 cifs_dbg(VFS, "server does not support POSIX extensions\n");
1408 struct TCP_Server_Info *server;
1414 server = cifs_sb_master_tcon(cifs_sb)->ses->server;
1415 if (!server->ops->set_file_info)
1438 * server times.
1450 return server->ops->set_file_info(inode, full_path, &info_buf, xid);
1480 * We cannot rename the file if the server doesn't support
1612 struct TCP_Server_Info *server;
1622 server = tcon->ses->server;
1650 if (!server->ops->unlink) {
1655 rc = server->ops->unlink(xid, tcon, full_path, cifs_sb);
1664 if (server->ops->rename_pending_delete) {
1665 rc = server->ops->rename_pending_delete(full_path,
1738 * from the server or was set bogus. Also, since this is a brand new
1770 struct TCP_Server_Info *server = tcon->ses->server;
1772 (mode & S_IWUGO) == 0 && server->ops->mkdir_setinfo)
1773 server->ops->mkdir_setinfo(inode, full_path, cifs_sb,
1860 struct TCP_Server_Info *server;
1880 server = tcon->ses->server;
1882 if ((server->ops->posix_mkdir) && (tcon->posix_extensions)) {
1883 rc = server->ops->posix_mkdir(xid, inode, mode, tcon, full_path,
1897 if (!server->ops->mkdir) {
1903 rc = server->ops->mkdir(xid, inode, mode, tcon, full_path, cifs_sb);
1932 struct TCP_Server_Info *server;
1953 server = tcon->ses->server;
1955 if (!server->ops->rmdir) {
1967 rc = server->ops->rmdir(xid, tcon, full_path, cifs_sb);
2005 struct TCP_Server_Info *server;
2014 server = tcon->ses->server;
2016 if (!server->ops->rename)
2020 rc = server->ops->rename(xid, tcon, from_path, to_path, cifs_sb);
2031 if (server->vals->protocol_id != 0)
2374 * We need to be sure that all dirty pages are written and the server
2441 struct TCP_Server_Info *server = tcon->ses->server;
2447 * might fill holes on the server.
2462 if (server->ops->fiemap) {
2463 rc = server->ops->fiemap(tcon, cfile, fei, start, len);
2512 struct TCP_Server_Info *server;
2515 * To avoid spurious oplock breaks from server, in the case of
2526 server = tcon->ses->server;
2527 if (server->ops->set_file_size)
2528 rc = server->ops->set_file_size(xid, tcon, open_file,
2545 server = tcon->ses->server;
2553 if (server->ops->set_path_size)
2554 rc = server->ops->set_path_size(xid, tcon, full_path,
2570 * Until we can query the server for actual allocation size,
2723 a way (yet) to query the server fs's time granularity (and
2797 rc = tcon->ses->server->ops->flush(xid, tcon, &wfile->fid);
2889 the server would set the time to a reasonable value anyway,
2892 the user when the server rejects the call */
2898 /* do not need local check to inode_check_ok since the server does