Lines Matching refs:server

99 	struct cifs_sb_info *server = CIFS_SB(sb);  in cifs_sb_active()  local
101 if (atomic_inc_return(&server->active) == 1) in cifs_sb_active()
108 struct cifs_sb_info *server = CIFS_SB(sb); in cifs_sb_deactive() local
110 if (atomic_dec_and_test(&server->active)) in cifs_sb_deactive()
128 if (tcon->ses->capabilities & tcon->ses->server->vals->cap_large_files) in cifs_read_super()
186 struct TCP_Server_Info *server = tcon->ses->server; in cifs_statfs() local
203 if (server->ops->queryfs) in cifs_statfs()
204 rc = server->ops->queryfs(xid, tcon, buf); in cifs_statfs()
214 struct TCP_Server_Info *server = tcon->ses->server; in cifs_fallocate() local
216 if (server->ops->fallocate) in cifs_fallocate()
217 return server->ops->fallocate(file, tcon, mode, off, len); in cifs_fallocate()
304 cifs_show_address(struct seq_file *s, struct TCP_Server_Info *server) in cifs_show_address() argument
306 struct sockaddr_in *sa = (struct sockaddr_in *) &server->dstaddr; in cifs_show_address()
307 struct sockaddr_in6 *sa6 = (struct sockaddr_in6 *) &server->dstaddr; in cifs_show_address()
311 switch (server->dstaddr.ss_family) { in cifs_show_address()
398 srcaddr = (struct sockaddr *)&tcon->ses->server->srcaddr; in cifs_show_options()
400 seq_show_option(s, "vers", tcon->ses->server->vals->version_string); in cifs_show_options()
442 cifs_show_address(s, tcon->ses->server); in cifs_show_options()
539 if (tcon->ses && tcon->ses->server) { in cifs_umount_begin()
541 wake_up_all(&tcon->ses->server->request_q); in cifs_umount_begin()
542 wake_up_all(&tcon->ses->server->response_q); in cifs_umount_begin()
545 wake_up_all(&tcon->ses->server->response_q); in cifs_umount_begin()