tag | line | file | source code |
server | 80 | fs/nfs/inode.c | struct nfs_server *server; |
server | 118 | fs/nfs/inode.c | server = &sb->u.nfs_sb.s_server; |
server | 119 | fs/nfs/inode.c | server->file = filp; |
server | 120 | fs/nfs/inode.c | server->lock = 0; |
server | 121 | fs/nfs/inode.c | server->wait = NULL; |
server | 122 | fs/nfs/inode.c | server->flags = data->flags; |
server | 123 | fs/nfs/inode.c | server->rsize = data->rsize; |
server | 124 | fs/nfs/inode.c | if (server->rsize <= 0) |
server | 125 | fs/nfs/inode.c | server->rsize = NFS_DEF_FILE_IO_BUFFER_SIZE; |
server | 126 | fs/nfs/inode.c | else if (server->rsize >= NFS_MAX_FILE_IO_BUFFER_SIZE) |
server | 127 | fs/nfs/inode.c | server->rsize = NFS_MAX_FILE_IO_BUFFER_SIZE; |
server | 128 | fs/nfs/inode.c | server->wsize = data->wsize; |
server | 129 | fs/nfs/inode.c | if (server->wsize <= 0) |
server | 130 | fs/nfs/inode.c | server->wsize = NFS_DEF_FILE_IO_BUFFER_SIZE; |
server | 131 | fs/nfs/inode.c | else if (server->wsize >= NFS_MAX_FILE_IO_BUFFER_SIZE) |
server | 132 | fs/nfs/inode.c | server->wsize = NFS_MAX_FILE_IO_BUFFER_SIZE; |
server | 133 | fs/nfs/inode.c | server->timeo = data->timeo*HZ/10; |
server | 134 | fs/nfs/inode.c | server->retrans = data->retrans; |
server | 135 | fs/nfs/inode.c | server->acregmin = data->acregmin*HZ; |
server | 136 | fs/nfs/inode.c | server->acregmax = data->acregmax*HZ; |
server | 137 | fs/nfs/inode.c | server->acdirmin = data->acdirmin*HZ; |
server | 138 | fs/nfs/inode.c | server->acdirmax = data->acdirmax*HZ; |
server | 139 | fs/nfs/inode.c | strcpy(server->hostname, data->hostname); |
server | 144 | fs/nfs/inode.c | if (((struct sockaddr_in *)(&server->toaddr))->sin_addr.s_addr == INADDR_ANY) { |
server | 157 | fs/nfs/inode.c | sock->ops->getname(sock, &(server->toaddr), &dummylen, 1) ; |
server | 161 | fs/nfs/inode.c | memcpy((char *)&(server->toaddr),(char *)(&data->addr),sizeof(server->toaddr)); |
server | 229 | fs/nfs/proc.c | int nfs_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 237 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->rsize))) |
server | 242 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) { |
server | 265 | fs/nfs/proc.c | int nfs_proc_setattr(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 273 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 279 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 302 | fs/nfs/proc.c | int nfs_proc_lookup(struct nfs_server *server, struct nfs_fh *dir, const char *name, |
server | 314 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->rsize))) |
server | 320 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) { |
server | 344 | fs/nfs/proc.c | int nfs_proc_readlink(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 351 | fs/nfs/proc.c | if (!(*p0 = nfs_rpc_alloc(server->rsize))) |
server | 356 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, *p0, p, server->rsize)) < 0) |
server | 379 | fs/nfs/proc.c | int nfs_proc_read(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 388 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->rsize))) |
server | 396 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) { |
server | 425 | fs/nfs/proc.c | int nfs_proc_write(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 433 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 442 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 465 | fs/nfs/proc.c | int nfs_proc_create(struct nfs_server *server, struct nfs_fh *dir, |
server | 474 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 481 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 505 | fs/nfs/proc.c | int nfs_proc_remove(struct nfs_server *server, struct nfs_fh *dir, const char *name) |
server | 512 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 518 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 540 | fs/nfs/proc.c | int nfs_proc_rename(struct nfs_server *server, |
server | 549 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 557 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 579 | fs/nfs/proc.c | int nfs_proc_link(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 587 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 594 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 616 | fs/nfs/proc.c | int nfs_proc_symlink(struct nfs_server *server, struct nfs_fh *dir, |
server | 624 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 632 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 654 | fs/nfs/proc.c | int nfs_proc_mkdir(struct nfs_server *server, struct nfs_fh *dir, |
server | 663 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 670 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 694 | fs/nfs/proc.c | int nfs_proc_rmdir(struct nfs_server *server, struct nfs_fh *dir, const char *name) |
server | 701 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 707 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 729 | fs/nfs/proc.c | int nfs_proc_readdir(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 740 | fs/nfs/proc.c | size = server->rsize; |
server | 741 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->rsize))) |
server | 748 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) { |
server | 785 | fs/nfs/proc.c | int nfs_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 793 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->rsize))) |
server | 798 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) { |
server | 52 | fs/nfs/sock.c | static int do_nfs_rpc_call(struct nfs_server *server, int *start, int *end, int size) |
server | 78 | fs/nfs/sock.c | file = server->file; |
server | 86 | fs/nfs/sock.c | init_timeout = server->timeo; |
server | 88 | fs/nfs/sock.c | retrans = server->retrans; |
server | 90 | fs/nfs/sock.c | server_name = server->hostname; |
server | 96 | fs/nfs/sock.c | | ((server->flags & NFS_MOUNT_INTR) |
server | 108 | fs/nfs/sock.c | &(server->toaddr), sizeof((server->toaddr))) ; |
server | 139 | fs/nfs/sock.c | if (server->flags & NFS_MOUNT_SOFT) { |
server | 233 | fs/nfs/sock.c | int nfs_rpc_call(struct nfs_server *server, int *start, int *end, int size) |
server | 237 | fs/nfs/sock.c | while (server->lock) |
server | 238 | fs/nfs/sock.c | sleep_on(&server->wait); |
server | 239 | fs/nfs/sock.c | server->lock = 1; |
server | 240 | fs/nfs/sock.c | result = do_nfs_rpc_call(server, start, end, size); |
server | 241 | fs/nfs/sock.c | server->lock = 0; |
server | 242 | fs/nfs/sock.c | wake_up(&server->wait); |
server | 49 | fs/smbfs/dir.c | smb_find_inode(struct smb_server *server, const char *path); |
server | 167 | fs/smbfs/dir.c | struct smb_server *server = SMB_SERVER(inode); |
server | 210 | fs/smbfs/dir.c | result = smb_proc_readdir(server, inode, |
server | 227 | fs/smbfs/dir.c | switch (server->case_handling) |
server | 259 | fs/smbfs/dir.c | ino_info = smb_find_inode(server, complete_path); |
server | 558 | fs/smbfs/dir.c | smb_init_root(struct smb_server *server) |
server | 560 | fs/smbfs/dir.c | struct smb_inode_info *root = &(server->root); |
server | 562 | fs/smbfs/dir.c | root->finfo.path = server->m.root_path; |
server | 574 | fs/smbfs/dir.c | smb_stat_root(struct smb_server *server) |
server | 576 | fs/smbfs/dir.c | struct smb_inode_info *root = &(server->root); |
server | 580 | fs/smbfs/dir.c | result = smb_proc_getattr(server, "\\", 1, &(root->finfo)); |
server | 584 | fs/smbfs/dir.c | result = smb_proc_getattr(server, |
server | 592 | fs/smbfs/dir.c | smb_free_all_inodes(struct smb_server *server) |
server | 598 | fs/smbfs/dir.c | struct smb_inode_info *root = &(server->root); |
server | 619 | fs/smbfs/dir.c | smb_invalidate_all_inodes(struct smb_server *server) |
server | 621 | fs/smbfs/dir.c | struct smb_inode_info *ino = &(server->root); |
server | 626 | fs/smbfs/dir.c | } while (ino != &(server->root)); |
server | 637 | fs/smbfs/dir.c | smb_find_inode(struct smb_server *server, const char *path) |
server | 639 | fs/smbfs/dir.c | struct smb_inode_info *result = &(server->root); |
server | 649 | fs/smbfs/dir.c | } while (result != &(server->root)); |
server | 159 | fs/smbfs/inode.c | struct smb_server *server = &(SMB_SBP(sb)->s_server); |
server | 161 | fs/smbfs/inode.c | smb_proc_disconnect(server); |
server | 162 | fs/smbfs/inode.c | close_fp(server->sock_file); |
server | 166 | fs/smbfs/inode.c | smb_free_all_inodes(server); |
server | 168 | fs/smbfs/inode.c | smb_kfree_s(server->packet, server->max_xmit); |
server | 184 | fs/smbfs/inode.c | struct smb_server *server; |
server | 234 | fs/smbfs/inode.c | server = &(SMB_SBP(sb)->s_server); |
server | 235 | fs/smbfs/inode.c | server->sock_file = filp; |
server | 236 | fs/smbfs/inode.c | server->lock = 0; |
server | 237 | fs/smbfs/inode.c | server->wait = NULL; |
server | 238 | fs/smbfs/inode.c | server->packet = NULL; |
server | 239 | fs/smbfs/inode.c | server->max_xmit = data->max_xmit; |
server | 240 | fs/smbfs/inode.c | if (server->max_xmit <= 0) |
server | 241 | fs/smbfs/inode.c | server->max_xmit = SMB_DEF_MAX_XMIT; |
server | 243 | fs/smbfs/inode.c | server->tid = 0; |
server | 244 | fs/smbfs/inode.c | server->pid = current->pid; |
server | 245 | fs/smbfs/inode.c | server->mid = current->pid + 20; |
server | 247 | fs/smbfs/inode.c | server->m = *data; |
server | 248 | fs/smbfs/inode.c | server->m.file_mode = (server->m.file_mode & |
server | 250 | fs/smbfs/inode.c | server->m.dir_mode = (server->m.dir_mode & |
server | 253 | fs/smbfs/inode.c | smb_init_root(server); |
server | 259 | fs/smbfs/inode.c | error = smb_proc_connect(server); |
server | 270 | fs/smbfs/inode.c | if (server->protocol >= PROTOCOL_LANMAN2) |
server | 271 | fs/smbfs/inode.c | server->case_handling = CASE_DEFAULT; |
server | 273 | fs/smbfs/inode.c | server->case_handling = CASE_LOWER; |
server | 279 | fs/smbfs/inode.c | smb_kfree_s(server->packet, server->max_xmit); |
server | 283 | fs/smbfs/inode.c | if ((error = smb_stat_root(server)) < 0) { |
server | 286 | fs/smbfs/inode.c | smb_kfree_s(server->packet, server->max_xmit); |
server | 298 | fs/smbfs/inode.c | if (!(sb->s_mounted = iget(sb, (int)&(server->root)))) { |
server | 301 | fs/smbfs/inode.c | smb_kfree_s(server->packet, server->max_xmit); |
server | 399 | fs/smbfs/proc.c | smb_lock_server(struct smb_server *server) |
server | 401 | fs/smbfs/proc.c | while (server->lock) |
server | 402 | fs/smbfs/proc.c | sleep_on(&server->wait); |
server | 403 | fs/smbfs/proc.c | server->lock = 1; |
server | 407 | fs/smbfs/proc.c | smb_unlock_server(struct smb_server *server) |
server | 409 | fs/smbfs/proc.c | if (server->lock != 1) { |
server | 413 | fs/smbfs/proc.c | server->lock = 0; |
server | 414 | fs/smbfs/proc.c | wake_up(&server->wait); |
server | 455 | fs/smbfs/proc.c | smb_retry(struct smb_server *server) |
server | 457 | fs/smbfs/proc.c | if (server->state != CONN_INVALID) { |
server | 461 | fs/smbfs/proc.c | if (smb_release(server) < 0) { |
server | 463 | fs/smbfs/proc.c | server->state = CONN_RETRIED; |
server | 466 | fs/smbfs/proc.c | if(smb_proc_reconnect(server) < 0) { |
server | 468 | fs/smbfs/proc.c | server->state = CONN_RETRIED; |
server | 472 | fs/smbfs/proc.c | server->state = CONN_VALID; |
server | 490 | fs/smbfs/proc.c | smb_setup_header(struct smb_server *server, byte command, word wct, word bcc) |
server | 493 | fs/smbfs/proc.c | byte *p = server->packet; |
server | 494 | fs/smbfs/proc.c | byte *buf = server->packet; |
server | 509 | fs/smbfs/proc.c | WSET(buf, smb_tid, server->tid); |
server | 510 | fs/smbfs/proc.c | WSET(buf, smb_pid, server->pid); |
server | 511 | fs/smbfs/proc.c | WSET(buf, smb_uid, server->server_uid); |
server | 512 | fs/smbfs/proc.c | WSET(buf, smb_mid, server->mid); |
server | 514 | fs/smbfs/proc.c | if (server->protocol > PROTOCOL_CORE) { |
server | 530 | fs/smbfs/proc.c | smb_setup_header_exclusive(struct smb_server *server, |
server | 533 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 534 | fs/smbfs/proc.c | return smb_setup_header(server, command, wct, bcc); |
server | 545 | fs/smbfs/proc.c | smb_proc_open(struct smb_server *server, const char *pathname, int len, |
server | 550 | fs/smbfs/proc.c | char* buf = server->packet; |
server | 555 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 558 | fs/smbfs/proc.c | p = smb_setup_header(server, SMBopen, 2, 2 + len); |
server | 563 | fs/smbfs/proc.c | if ((error = smb_request_ok(server, SMBopen, 7, 0)) != 0) { |
server | 565 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 570 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 574 | fs/smbfs/proc.c | p = smb_setup_header(server, SMBopen, 2, 2 + len); |
server | 579 | fs/smbfs/proc.c | if ((error = smb_request_ok(server, SMBopen, 7, 0)) != 0) { |
server | 580 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 583 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 597 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 607 | fs/smbfs/proc.c | smb_proc_close(struct smb_server *server, struct smb_dirent *finfo) |
server | 609 | fs/smbfs/proc.c | char *buf = server->packet; |
server | 611 | fs/smbfs/proc.c | smb_setup_header_exclusive(server, SMBclose, 3, 0); |
server | 615 | fs/smbfs/proc.c | return smb_request_ok_unlock(server, SMBclose, 0, 0); |
server | 625 | fs/smbfs/proc.c | smb_proc_read(struct smb_server *server, struct smb_dirent *finfo, |
server | 629 | fs/smbfs/proc.c | char *buf = server->packet; |
server | 632 | fs/smbfs/proc.c | smb_setup_header_exclusive(server, SMBread, 5, 0); |
server | 639 | fs/smbfs/proc.c | if ((error = smb_request_ok(server, SMBread, 5, -1)) < 0) { |
server | 640 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 646 | fs/smbfs/proc.c | smb_decode_data(SMB_BUF(server->packet), data, &data_len, fs); |
server | 648 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 660 | fs/smbfs/proc.c | smb_proc_write(struct smb_server *server, struct smb_dirent *finfo, |
server | 664 | fs/smbfs/proc.c | char *buf = server->packet; |
server | 667 | fs/smbfs/proc.c | p = smb_setup_header_exclusive(server, SMBwrite, 5, count + 3); |
server | 677 | fs/smbfs/proc.c | if ((res = smb_request_ok(server, SMBwrite, 1, 0)) >= 0) { |
server | 681 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 689 | fs/smbfs/proc.c | smb_proc_do_create(struct smb_server *server, const char *path, int len, |
server | 694 | fs/smbfs/proc.c | char *buf = server->packet; |
server | 696 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 698 | fs/smbfs/proc.c | p = smb_setup_header(server, command, 3, len + 2); |
server | 703 | fs/smbfs/proc.c | if ((error = smb_request_ok(server, command, 1, 0)) < 0) { |
server | 704 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 707 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 713 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 715 | fs/smbfs/proc.c | smb_proc_close(server, entry); |
server | 721 | fs/smbfs/proc.c | smb_proc_create(struct smb_server *server, const char *path, int len, |
server | 724 | fs/smbfs/proc.c | return smb_proc_do_create(server, path, len, entry, SMBcreate); |
server | 728 | fs/smbfs/proc.c | smb_proc_mknew(struct smb_server *server, const char *path, int len, |
server | 731 | fs/smbfs/proc.c | return smb_proc_do_create(server, path, len, entry, SMBmknew); |
server | 735 | fs/smbfs/proc.c | smb_proc_mv(struct smb_server *server, |
server | 740 | fs/smbfs/proc.c | char *buf = server->packet; |
server | 743 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 746 | fs/smbfs/proc.c | p = smb_setup_header(server, SMBmv, 1, olen + nlen + 4); |
server | 751 | fs/smbfs/proc.c | if ((result = smb_request_ok(server, SMBmv, 0, 0)) < 0) { |
server | 752 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 756 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 761 | fs/smbfs/proc.c | smb_proc_mkdir(struct smb_server *server, const char *path, const int len) |
server | 766 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 769 | fs/smbfs/proc.c | p = smb_setup_header(server, SMBmkdir, 0, 2 + len); |
server | 772 | fs/smbfs/proc.c | if ((result = smb_request_ok(server, SMBmkdir, 0, 0)) < 0) { |
server | 773 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 777 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 782 | fs/smbfs/proc.c | smb_proc_rmdir(struct smb_server *server, const char *path, const int len) |
server | 787 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 790 | fs/smbfs/proc.c | p = smb_setup_header(server, SMBrmdir, 0, 2 + len); |
server | 793 | fs/smbfs/proc.c | if ((result = smb_request_ok(server, SMBrmdir, 0, 0)) < 0) { |
server | 794 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 798 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 803 | fs/smbfs/proc.c | smb_proc_unlink(struct smb_server *server, const char *path, const int len) |
server | 806 | fs/smbfs/proc.c | char *buf = server->packet; |
server | 809 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 812 | fs/smbfs/proc.c | p = smb_setup_header(server, SMBunlink, 1, 2 + len); |
server | 816 | fs/smbfs/proc.c | if ((result = smb_request_ok(server, SMBunlink, 0, 0)) < 0) { |
server | 817 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 821 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 826 | fs/smbfs/proc.c | smb_proc_trunc(struct smb_server *server, word fid, dword length) |
server | 829 | fs/smbfs/proc.c | char *buf = server->packet; |
server | 832 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 835 | fs/smbfs/proc.c | p = smb_setup_header(server, SMBwrite, 5, 3); |
server | 842 | fs/smbfs/proc.c | if ((result = smb_request_ok(server, SMBwrite, 1, 0)) < 0) { |
server | 843 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 847 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 869 | fs/smbfs/proc.c | smb_proc_readdir_short(struct smb_server *server, struct inode *dir, int fpos, |
server | 882 | fs/smbfs/proc.c | int entries_asked = (server->max_xmit - 100) / SMB_DIRINFO_SIZE; |
server | 892 | fs/smbfs/proc.c | buf = server->packet; |
server | 894 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 903 | fs/smbfs/proc.c | p = smb_setup_header(server, SMBsearch, 2, |
server | 911 | fs/smbfs/proc.c | p = smb_setup_header(server, SMBsearch, 2, |
server | 919 | fs/smbfs/proc.c | if ((error = smb_request_ok(server, SMBsearch, 1, -1)) < 0) { |
server | 920 | fs/smbfs/proc.c | if ( (server->rcls == ERRDOS) |
server | 921 | fs/smbfs/proc.c | && (server->err == ERRnofiles)) { |
server | 927 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 935 | fs/smbfs/proc.c | p = SMB_VWV(server->packet); |
server | 954 | fs/smbfs/proc.c | SMB_BUF(server->packet) + 3 + |
server | 983 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 1073 | fs/smbfs/proc.c | smb_proc_readdir_long(struct smb_server *server, struct inode *dir, int fpos, |
server | 1113 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 1124 | fs/smbfs/proc.c | unsigned char *outbuf = server->packet; |
server | 1134 | fs/smbfs/proc.c | smb_setup_header(server, SMBtrans2, 15, |
server | 1185 | fs/smbfs/proc.c | result = smb_trans2_request(server, |
server | 1190 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 1198 | fs/smbfs/proc.c | if (server->rcls != 0) |
server | 1294 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 1300 | fs/smbfs/proc.c | smb_proc_readdir(struct smb_server *server, struct inode *dir, int fpos, |
server | 1303 | fs/smbfs/proc.c | if (server->protocol >= PROTOCOL_LANMAN2) |
server | 1304 | fs/smbfs/proc.c | return smb_proc_readdir_long(server, dir, fpos, cache_size, |
server | 1307 | fs/smbfs/proc.c | return smb_proc_readdir_short(server, dir, fpos, cache_size, |
server | 1312 | fs/smbfs/proc.c | smb_proc_getattr_core(struct smb_server *server, const char *path, int len, |
server | 1317 | fs/smbfs/proc.c | char *buf = server->packet; |
server | 1319 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 1324 | fs/smbfs/proc.c | p = smb_setup_header(server, SMBgetatr, 0, 2 + len); |
server | 1327 | fs/smbfs/proc.c | if ((result = smb_request_ok(server, SMBgetatr, 10, 0)) < 0) { |
server | 1328 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 1331 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 1340 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 1347 | fs/smbfs/proc.c | smb_proc_getattrE(struct smb_server *server, struct smb_dirent *entry) |
server | 1349 | fs/smbfs/proc.c | char* buf = server->packet; |
server | 1352 | fs/smbfs/proc.c | smb_setup_header_exclusive(server, SMBgetattrE, 1, 0); |
server | 1355 | fs/smbfs/proc.c | if ((result = smb_request_ok(server, SMBgetattrE, 11, 0)) != 0) { |
server | 1356 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 1366 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 1371 | fs/smbfs/proc.c | smb_proc_getattr(struct smb_server *server, const char *path, int len, |
server | 1374 | fs/smbfs/proc.c | if (server->protocol >= PROTOCOL_LANMAN1) { |
server | 1379 | fs/smbfs/proc.c | if ((result=smb_proc_open(server,path,len, |
server | 1383 | fs/smbfs/proc.c | return smb_proc_getattr_core(server,path,len,entry); |
server | 1386 | fs/smbfs/proc.c | if ((result=smb_proc_getattrE(server, &temp_entry)) >= 0) { |
server | 1394 | fs/smbfs/proc.c | smb_proc_close(server, &temp_entry); |
server | 1398 | fs/smbfs/proc.c | return smb_proc_getattr_core(server, path, len, entry); |
server | 1406 | fs/smbfs/proc.c | smb_proc_setattr_core(struct smb_server *server, |
server | 1411 | fs/smbfs/proc.c | char *buf = server->packet; |
server | 1414 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 1417 | fs/smbfs/proc.c | p = smb_setup_header(server, SMBsetatr, 8, 4 + len); |
server | 1423 | fs/smbfs/proc.c | if ((result = smb_request_ok(server, SMBsetatr, 0, 0)) < 0) { |
server | 1424 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 1428 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 1435 | fs/smbfs/proc.c | smb_proc_setattrE(struct smb_server *server, word fid, |
server | 1438 | fs/smbfs/proc.c | char *buf = server->packet; |
server | 1441 | fs/smbfs/proc.c | smb_setup_header_exclusive(server, SMBsetattrE, 7, 0); |
server | 1457 | fs/smbfs/proc.c | return smb_request_ok_unlock(server, SMBsetattrE, 0, 0); |
server | 1463 | fs/smbfs/proc.c | smb_proc_setattr(struct smb_server *server, struct inode *inode, |
server | 1469 | fs/smbfs/proc.c | if (server->protocol >= PROTOCOL_LANMAN1) { |
server | 1472 | fs/smbfs/proc.c | return smb_proc_setattrE(server, finfo->fileid, new_finfo); |
server | 1474 | fs/smbfs/proc.c | return smb_proc_setattr_core(server, finfo->path, finfo->len, |
server | 1484 | fs/smbfs/proc.c | struct smb_server *server = &(SMB_SBP(super)->s_server); |
server | 1486 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 1489 | fs/smbfs/proc.c | smb_setup_header(server, SMBdskattr, 0, 0); |
server | 1491 | fs/smbfs/proc.c | if ((error = smb_request_ok(server, SMBdskattr, 5, 0)) < 0) { |
server | 1492 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 1495 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 1499 | fs/smbfs/proc.c | p = SMB_VWV(server->packet); |
server | 1504 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 1525 | fs/smbfs/proc.c | smb_proc_reconnect(struct smb_server *server) |
server | 1541 | fs/smbfs/proc.c | int given_max_xmit = server->m.max_xmit; |
server | 1545 | fs/smbfs/proc.c | if ((result = smb_connect(server)) < 0) { |
server | 1551 | fs/smbfs/proc.c | server->state = CONN_VALID; |
server | 1553 | fs/smbfs/proc.c | if (server->packet != NULL) { |
server | 1554 | fs/smbfs/proc.c | smb_kfree_s(server->packet, server->max_xmit); |
server | 1557 | fs/smbfs/proc.c | server->packet = smb_kmalloc(max_xmit, GFP_KERNEL); |
server | 1559 | fs/smbfs/proc.c | if (server->packet == NULL) { |
server | 1565 | fs/smbfs/proc.c | server->max_xmit = max_xmit; |
server | 1570 | fs/smbfs/proc.c | p = server->packet + 4; |
server | 1572 | fs/smbfs/proc.c | p = smb_name_mangle(p, server->m.server_name); |
server | 1573 | fs/smbfs/proc.c | p = smb_name_mangle(p, server->m.client_name); |
server | 1575 | fs/smbfs/proc.c | smb_encode_smb_length(server->packet, |
server | 1576 | fs/smbfs/proc.c | (void *)p - (void *)(server->packet)); |
server | 1578 | fs/smbfs/proc.c | server->packet[0] = 0x81; /* SESSION REQUEST */ |
server | 1580 | fs/smbfs/proc.c | if (smb_catch_keepalive(server) < 0) { |
server | 1584 | fs/smbfs/proc.c | if ((result = smb_request(server)) < 0) { |
server | 1586 | fs/smbfs/proc.c | smb_dont_catch_keepalive(server); |
server | 1590 | fs/smbfs/proc.c | if (server->packet[0] != 0x82) { |
server | 1593 | fs/smbfs/proc.c | server->packet[0]); |
server | 1594 | fs/smbfs/proc.c | smb_dont_catch_keepalive(server); |
server | 1596 | fs/smbfs/proc.c | smb_dump_packet(server->packet); |
server | 1605 | fs/smbfs/proc.c | memset(server->packet, 0, SMB_HEADER_LEN); |
server | 1612 | fs/smbfs/proc.c | smb_setup_header(server, SMBnegprot, 0, plength); |
server | 1614 | fs/smbfs/proc.c | p = SMB_BUF(server->packet); |
server | 1620 | fs/smbfs/proc.c | if ((result = smb_request_ok(server, SMBnegprot, 1, -1)) < 0) { |
server | 1622 | fs/smbfs/proc.c | smb_dont_catch_keepalive(server); |
server | 1630 | fs/smbfs/proc.c | p = SMB_VWV(server->packet); |
server | 1632 | fs/smbfs/proc.c | server->protocol = prots[i].prot; |
server | 1637 | fs/smbfs/proc.c | if (server->protocol > PROTOCOL_LANMAN1) { |
server | 1639 | fs/smbfs/proc.c | word passlen = strlen(server->m.password); |
server | 1640 | fs/smbfs/proc.c | word userlen = strlen(server->m.username); |
server | 1643 | fs/smbfs/proc.c | server->m.password); |
server | 1645 | fs/smbfs/proc.c | server->m.username); |
server | 1647 | fs/smbfs/proc.c | p = smb_decode_word(p, &(server->maxxmt)); |
server | 1648 | fs/smbfs/proc.c | p = smb_decode_word(p, &(server->maxmux)); |
server | 1649 | fs/smbfs/proc.c | p = smb_decode_word(p, &(server->maxvcs)); |
server | 1650 | fs/smbfs/proc.c | p = smb_decode_word(p, &(server->blkmode)); |
server | 1651 | fs/smbfs/proc.c | p = smb_decode_dword(p, &(server->sesskey)); |
server | 1653 | fs/smbfs/proc.c | smb_setup_header(server, SMBsesssetupX, 10, |
server | 1656 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv0, 0x00ff); |
server | 1657 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv1, 0); |
server | 1658 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv2, given_max_xmit); |
server | 1659 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv3, 2); |
server | 1660 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv4, server->pid); |
server | 1661 | fs/smbfs/proc.c | DSET(server->packet, smb_vwv5, server->sesskey); |
server | 1662 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv7, passlen + 1); |
server | 1663 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv8, 0); |
server | 1664 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv9, 0); |
server | 1666 | fs/smbfs/proc.c | p = SMB_BUF(server->packet); |
server | 1667 | fs/smbfs/proc.c | strcpy(p, server->m.password); |
server | 1669 | fs/smbfs/proc.c | strcpy(p, server->m.username); |
server | 1671 | fs/smbfs/proc.c | if ((result = smb_request_ok(server,SMBsesssetupX,3,0)) < 0) { |
server | 1673 | fs/smbfs/proc.c | smb_dont_catch_keepalive(server); |
server | 1676 | fs/smbfs/proc.c | smb_decode_word(server->packet+32, &(server->server_uid)); |
server | 1681 | fs/smbfs/proc.c | smb_setup_header(server, SMBtcon, 0, |
server | 1682 | fs/smbfs/proc.c | 6 + strlen(server->m.service) + |
server | 1683 | fs/smbfs/proc.c | strlen(server->m.password) + strlen(dev)); |
server | 1684 | fs/smbfs/proc.c | p = SMB_BUF(server->packet); |
server | 1685 | fs/smbfs/proc.c | p = smb_encode_ascii(p, server->m.service, strlen(server->m.service)); |
server | 1686 | fs/smbfs/proc.c | p = smb_encode_ascii(p,server->m.password, strlen(server->m.password)); |
server | 1689 | fs/smbfs/proc.c | if ((result = smb_request_ok(server, SMBtcon, 2, 0)) < 0) { |
server | 1691 | fs/smbfs/proc.c | smb_dont_catch_keepalive(server); |
server | 1697 | fs/smbfs/proc.c | p = SMB_VWV(server->packet); |
server | 1698 | fs/smbfs/proc.c | p = smb_decode_word(p, &server->max_xmit); |
server | 1700 | fs/smbfs/proc.c | if (server->max_xmit > given_max_xmit) |
server | 1701 | fs/smbfs/proc.c | server->max_xmit = given_max_xmit; |
server | 1703 | fs/smbfs/proc.c | p = smb_decode_word(p, &server->tid); |
server | 1707 | fs/smbfs/proc.c | server->max_xmit += 4; |
server | 1709 | fs/smbfs/proc.c | DPRINTK("max_xmit = %d, tid = %d\n", server->max_xmit, server->tid); |
server | 1712 | fs/smbfs/proc.c | smb_kfree_s(server->packet, max_xmit); |
server | 1714 | fs/smbfs/proc.c | server->packet = smb_kmalloc(server->max_xmit, GFP_KERNEL); |
server | 1715 | fs/smbfs/proc.c | if (server->packet == NULL) { |
server | 1718 | fs/smbfs/proc.c | smb_dont_catch_keepalive(server); |
server | 1726 | fs/smbfs/proc.c | server->state = CONN_INVALID; |
server | 1733 | fs/smbfs/proc.c | smb_proc_connect(struct smb_server *server) |
server | 1736 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 1737 | fs/smbfs/proc.c | result = smb_proc_reconnect(server); |
server | 1738 | fs/smbfs/proc.c | if ((result < 0) && (server->packet != NULL)) { |
server | 1739 | fs/smbfs/proc.c | smb_kfree_s(server->packet, server->max_xmit); |
server | 1740 | fs/smbfs/proc.c | server->packet = NULL; |
server | 1742 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 1747 | fs/smbfs/proc.c | smb_proc_disconnect(struct smb_server *server) |
server | 1749 | fs/smbfs/proc.c | smb_setup_header_exclusive(server, SMBtdis, 0, 0); |
server | 1750 | fs/smbfs/proc.c | return smb_request_ok_unlock(server, SMBtdis, 0, 0); |
server | 77 | fs/smbfs/sock.c | smb_catch_keepalive(struct smb_server *server) |
server | 84 | fs/smbfs/sock.c | if ( (server == NULL) |
server | 85 | fs/smbfs/sock.c | || ((file = server->sock_file) == NULL) |
server | 90 | fs/smbfs/sock.c | server->data_ready = NULL; |
server | 98 | fs/smbfs/sock.c | server->data_ready = NULL; |
server | 106 | fs/smbfs/sock.c | server->data_ready = NULL; |
server | 112 | fs/smbfs/sock.c | (unsigned int)(server->data_ready)); |
server | 119 | fs/smbfs/sock.c | server->data_ready = sk->data_ready; |
server | 125 | fs/smbfs/sock.c | smb_dont_catch_keepalive(struct smb_server *server) |
server | 132 | fs/smbfs/sock.c | if ( (server == NULL) |
server | 133 | fs/smbfs/sock.c | || ((file = server->sock_file) == NULL) |
server | 156 | fs/smbfs/sock.c | if (server->data_ready == NULL) { |
server | 170 | fs/smbfs/sock.c | (unsigned int)(server->data_ready)); |
server | 172 | fs/smbfs/sock.c | sk->data_ready = server->data_ready; |
server | 173 | fs/smbfs/sock.c | server->data_ready = NULL; |
server | 182 | fs/smbfs/sock.c | smb_receive(struct smb_server *server, struct socket *sock) |
server | 221 | fs/smbfs/sock.c | if (len > server->max_xmit) { |
server | 223 | fs/smbfs/sock.c | len, server->max_xmit); |
server | 234 | fs/smbfs/sock.c | (void *)(server->packet+already_read), |
server | 249 | fs/smbfs/sock.c | server->rcls = *((unsigned char *)(server->packet+9)); |
server | 250 | fs/smbfs/sock.c | server->err = *((unsigned short *)(server->packet+11)); |
server | 252 | fs/smbfs/sock.c | if (server->rcls != 0) { |
server | 254 | fs/smbfs/sock.c | server->rcls, server->err); |
server | 265 | fs/smbfs/sock.c | smb_receive_trans2(struct smb_server *server, struct socket *sock, |
server | 272 | fs/smbfs/sock.c | unsigned char *inbuf = server->packet; |
server | 278 | fs/smbfs/sock.c | if ((result = smb_receive(server, sock)) < 0) { |
server | 282 | fs/smbfs/sock.c | if (server->rcls != 0) { |
server | 353 | fs/smbfs/sock.c | if ((result = smb_receive(server, sock)) < 0) { |
server | 356 | fs/smbfs/sock.c | if (server->rcls != 0) { |
server | 375 | fs/smbfs/sock.c | server_sock(struct smb_server *server) |
server | 380 | fs/smbfs/sock.c | if (server == NULL) |
server | 382 | fs/smbfs/sock.c | if ((file = server->sock_file) == NULL) |
server | 390 | fs/smbfs/sock.c | smb_release(struct smb_server *server) |
server | 392 | fs/smbfs/sock.c | struct socket *sock = server_sock(server); |
server | 412 | fs/smbfs/sock.c | smb_connect(struct smb_server *server) |
server | 414 | fs/smbfs/sock.c | struct socket *sock = server_sock(server); |
server | 421 | fs/smbfs/sock.c | return sock->ops->connect(sock, (struct sockaddr *)&(server->m.addr), |
server | 432 | fs/smbfs/sock.c | smb_request(struct smb_server *server) |
server | 439 | fs/smbfs/sock.c | struct socket *sock = server_sock(server); |
server | 440 | fs/smbfs/sock.c | unsigned char *buffer = (server == NULL) ? NULL : server->packet; |
server | 447 | fs/smbfs/sock.c | if (server->state != CONN_VALID) |
server | 451 | fs/smbfs/sock.c | while (server->lock) |
server | 452 | fs/smbfs/sock.c | sleep_on(&server->wait); |
server | 453 | fs/smbfs/sock.c | server->lock = 1; |
server | 456 | fs/smbfs/sock.c | if ((result = smb_dont_catch_keepalive(server)) != 0) { |
server | 457 | fs/smbfs/sock.c | server->state = CONN_INVALID; |
server | 458 | fs/smbfs/sock.c | smb_invalidate_all_inodes(server); |
server | 476 | fs/smbfs/sock.c | result = smb_receive(server, sock); |
server | 485 | fs/smbfs/sock.c | if ((result2 = smb_catch_keepalive(server)) < 0) { |
server | 490 | fs/smbfs/sock.c | server->lock = 0; |
server | 491 | fs/smbfs/sock.c | wake_up(&server->wait); |
server | 495 | fs/smbfs/sock.c | server->state = CONN_INVALID; |
server | 496 | fs/smbfs/sock.c | smb_invalidate_all_inodes(server); |
server | 509 | fs/smbfs/sock.c | smb_trans2_request(struct smb_server *server, |
server | 518 | fs/smbfs/sock.c | struct socket *sock = server_sock(server); |
server | 519 | fs/smbfs/sock.c | unsigned char *buffer = (server == NULL) ? NULL : server->packet; |
server | 526 | fs/smbfs/sock.c | if (server->state != CONN_VALID) |
server | 530 | fs/smbfs/sock.c | while (server->lock) |
server | 531 | fs/smbfs/sock.c | sleep_on(&server->wait); |
server | 532 | fs/smbfs/sock.c | server->lock = 1; |
server | 535 | fs/smbfs/sock.c | if ((result = smb_dont_catch_keepalive(server)) != 0) { |
server | 536 | fs/smbfs/sock.c | server->state = CONN_INVALID; |
server | 537 | fs/smbfs/sock.c | smb_invalidate_all_inodes(server); |
server | 555 | fs/smbfs/sock.c | result = smb_receive_trans2(server, sock, |
server | 566 | fs/smbfs/sock.c | if ((result2 = smb_catch_keepalive(server)) < 0) { |
server | 571 | fs/smbfs/sock.c | server->lock = 0; |
server | 572 | fs/smbfs/sock.c | wake_up(&server->wait); |
server | 576 | fs/smbfs/sock.c | server->state = CONN_INVALID; |
server | 577 | fs/smbfs/sock.c | smb_invalidate_all_inodes(server); |
server | 52 | include/linux/nfs_fs.h | extern int nfs_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 54 | include/linux/nfs_fs.h | extern int nfs_proc_setattr(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 56 | include/linux/nfs_fs.h | extern int nfs_proc_lookup(struct nfs_server *server, struct nfs_fh *dir, |
server | 59 | include/linux/nfs_fs.h | extern int nfs_proc_readlink(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 62 | include/linux/nfs_fs.h | extern int nfs_proc_read(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 65 | include/linux/nfs_fs.h | extern int nfs_proc_write(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 68 | include/linux/nfs_fs.h | extern int nfs_proc_create(struct nfs_server *server, struct nfs_fh *dir, |
server | 71 | include/linux/nfs_fs.h | extern int nfs_proc_remove(struct nfs_server *server, struct nfs_fh *dir, |
server | 73 | include/linux/nfs_fs.h | extern int nfs_proc_rename(struct nfs_server *server, |
server | 76 | include/linux/nfs_fs.h | extern int nfs_proc_link(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 78 | include/linux/nfs_fs.h | extern int nfs_proc_symlink(struct nfs_server *server, struct nfs_fh *dir, |
server | 80 | include/linux/nfs_fs.h | extern int nfs_proc_mkdir(struct nfs_server *server, struct nfs_fh *dir, |
server | 83 | include/linux/nfs_fs.h | extern int nfs_proc_rmdir(struct nfs_server *server, struct nfs_fh *dir, |
server | 85 | include/linux/nfs_fs.h | extern int nfs_proc_readdir(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 87 | include/linux/nfs_fs.h | extern int nfs_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 92 | include/linux/nfs_fs.h | extern int nfs_rpc_call(struct nfs_server *server, int *start, int *end, int size); |
server | 106 | include/linux/smb_fs.h | void smb_free_all_inodes(struct smb_server *server); |
server | 107 | include/linux/smb_fs.h | void smb_init_root(struct smb_server *server); |
server | 108 | include/linux/smb_fs.h | int smb_stat_root(struct smb_server *server); |
server | 111 | include/linux/smb_fs.h | void smb_invalidate_all_inodes(struct smb_server *server); |
server | 122 | include/linux/smb_fs.h | void smb_invalidate_connection(struct smb_server *server); |
server | 123 | include/linux/smb_fs.h | int smb_conn_is_valid(struct smb_server *server); |
server | 127 | include/linux/smb_fs.h | int smb_proc_open(struct smb_server *server, const char *pathname, |
server | 129 | include/linux/smb_fs.h | int smb_proc_close(struct smb_server *server, struct smb_dirent *finfo); |
server | 130 | include/linux/smb_fs.h | int smb_proc_read(struct smb_server *server, struct smb_dirent *finfo, |
server | 132 | include/linux/smb_fs.h | int smb_proc_write(struct smb_server *server, struct smb_dirent *finfo, |
server | 134 | include/linux/smb_fs.h | int smb_proc_create(struct smb_server *server, const char *path, |
server | 136 | include/linux/smb_fs.h | int smb_proc_mknew(struct smb_server *server, const char *path, int len, |
server | 138 | include/linux/smb_fs.h | int smb_proc_mv(struct smb_server *server, const char *opath, const int olen, |
server | 140 | include/linux/smb_fs.h | int smb_proc_mkdir(struct smb_server *server, const char *path, const int len); |
server | 141 | include/linux/smb_fs.h | int smb_proc_rmdir(struct smb_server *server, const char *path, const int len); |
server | 142 | include/linux/smb_fs.h | int smb_proc_unlink(struct smb_server *server, const char *path, |
server | 144 | include/linux/smb_fs.h | int smb_proc_readdir(struct smb_server *server, struct inode *dir, |
server | 147 | include/linux/smb_fs.h | int smb_proc_getattr(struct smb_server *server, const char *path, |
server | 149 | include/linux/smb_fs.h | int smb_proc_setattr(struct smb_server *server, |
server | 152 | include/linux/smb_fs.h | int smb_proc_chkpath(struct smb_server *server, char *path, int len, |
server | 155 | include/linux/smb_fs.h | int smb_proc_reconnect(struct smb_server *server); |
server | 156 | include/linux/smb_fs.h | int smb_proc_connect(struct smb_server *server); |
server | 157 | include/linux/smb_fs.h | int smb_proc_disconnect(struct smb_server *server); |
server | 158 | include/linux/smb_fs.h | int smb_proc_trunc(struct smb_server *server, word fid, dword length); |
server | 161 | include/linux/smb_fs.h | int smb_release(struct smb_server *server); |
server | 162 | include/linux/smb_fs.h | int smb_connect(struct smb_server *server); |
server | 163 | include/linux/smb_fs.h | int smb_request(struct smb_server *server); |
server | 164 | include/linux/smb_fs.h | int smb_catch_keepalive(struct smb_server *server); |
server | 165 | include/linux/smb_fs.h | int smb_dont_catch_keepalive(struct smb_server *server); |
server | 166 | include/linux/smb_fs.h | int smb_trans2_request(struct smb_server *server, |