tag | line | file | source code |
server | 75 | fs/nfs/inode.c | struct nfs_server *server; |
server | 113 | fs/nfs/inode.c | server = &sb->u.nfs_sb.s_server; |
server | 114 | fs/nfs/inode.c | server->file = filp; |
server | 115 | fs/nfs/inode.c | server->lock = 0; |
server | 116 | fs/nfs/inode.c | server->wait = NULL; |
server | 117 | fs/nfs/inode.c | server->flags = data->flags; |
server | 118 | fs/nfs/inode.c | server->rsize = data->rsize; |
server | 119 | fs/nfs/inode.c | if (server->rsize <= 0) |
server | 120 | fs/nfs/inode.c | server->rsize = NFS_DEF_FILE_IO_BUFFER_SIZE; |
server | 121 | fs/nfs/inode.c | else if (server->rsize >= NFS_MAX_FILE_IO_BUFFER_SIZE) |
server | 122 | fs/nfs/inode.c | server->rsize = NFS_MAX_FILE_IO_BUFFER_SIZE; |
server | 123 | fs/nfs/inode.c | server->wsize = data->wsize; |
server | 124 | fs/nfs/inode.c | if (server->wsize <= 0) |
server | 125 | fs/nfs/inode.c | server->wsize = NFS_DEF_FILE_IO_BUFFER_SIZE; |
server | 126 | fs/nfs/inode.c | else if (server->wsize >= NFS_MAX_FILE_IO_BUFFER_SIZE) |
server | 127 | fs/nfs/inode.c | server->wsize = NFS_MAX_FILE_IO_BUFFER_SIZE; |
server | 128 | fs/nfs/inode.c | server->timeo = data->timeo*HZ/10; |
server | 129 | fs/nfs/inode.c | server->retrans = data->retrans; |
server | 130 | fs/nfs/inode.c | server->acregmin = data->acregmin*HZ; |
server | 131 | fs/nfs/inode.c | server->acregmax = data->acregmax*HZ; |
server | 132 | fs/nfs/inode.c | server->acdirmin = data->acdirmin*HZ; |
server | 133 | fs/nfs/inode.c | server->acdirmax = data->acdirmax*HZ; |
server | 134 | fs/nfs/inode.c | strcpy(server->hostname, data->hostname); |
server | 139 | fs/nfs/inode.c | if (((struct sockaddr_in *)(&server->toaddr))->sin_addr.s_addr == INADDR_ANY) { |
server | 153 | fs/nfs/inode.c | sock->ops->getname(sock, &(server->toaddr), &dummylen, 1) ; |
server | 157 | fs/nfs/inode.c | memcpy((char *)&(server->toaddr),(char *)(&data->addr),sizeof(server->toaddr)); |
server | 161 | fs/nfs/inode.c | if ((server->rsock = rpc_makesock(filp)) == NULL) { |
server | 225 | fs/nfs/proc.c | int nfs_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 233 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->rsize))) |
server | 238 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) { |
server | 261 | fs/nfs/proc.c | int nfs_proc_setattr(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 269 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 275 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 298 | fs/nfs/proc.c | int nfs_proc_lookup(struct nfs_server *server, struct nfs_fh *dir, const char *name, |
server | 310 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->rsize))) |
server | 316 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) { |
server | 340 | fs/nfs/proc.c | int nfs_proc_readlink(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 347 | fs/nfs/proc.c | if (!(*p0 = nfs_rpc_alloc(server->rsize))) |
server | 352 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, *p0, p, server->rsize)) < 0) |
server | 375 | fs/nfs/proc.c | int nfs_proc_read(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 384 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->rsize))) |
server | 392 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) { |
server | 421 | fs/nfs/proc.c | int nfs_proc_write(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 429 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 438 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 461 | fs/nfs/proc.c | int nfs_proc_create(struct nfs_server *server, struct nfs_fh *dir, |
server | 470 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 477 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 501 | fs/nfs/proc.c | int nfs_proc_remove(struct nfs_server *server, struct nfs_fh *dir, const char *name) |
server | 508 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 514 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 536 | fs/nfs/proc.c | int nfs_proc_rename(struct nfs_server *server, |
server | 545 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 553 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 575 | fs/nfs/proc.c | int nfs_proc_link(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 583 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 590 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 612 | fs/nfs/proc.c | int nfs_proc_symlink(struct nfs_server *server, struct nfs_fh *dir, |
server | 620 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 628 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 650 | fs/nfs/proc.c | int nfs_proc_mkdir(struct nfs_server *server, struct nfs_fh *dir, |
server | 659 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 666 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 690 | fs/nfs/proc.c | int nfs_proc_rmdir(struct nfs_server *server, struct nfs_fh *dir, const char *name) |
server | 697 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 703 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 725 | fs/nfs/proc.c | int nfs_proc_readdir(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 736 | fs/nfs/proc.c | size = server->rsize; |
server | 737 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->rsize))) |
server | 744 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) { |
server | 781 | fs/nfs/proc.c | int nfs_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 789 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->rsize))) |
server | 794 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) { |
server | 51 | fs/nfs/sock.c | nfs_rpc_call(struct nfs_server *server, int *start, int *end, int size) |
server | 58 | fs/nfs/sock.c | timeout.init_timeout = server->timeo; |
server | 60 | fs/nfs/sock.c | timeout.retries = server->retrans; |
server | 65 | fs/nfs/sock.c | | ((server->flags & NFS_MOUNT_INTR) |
server | 74 | fs/nfs/sock.c | result = rpc_call(server->rsock, |
server | 75 | fs/nfs/sock.c | &server->toaddr, sizeof(server->toaddr), |
server | 82 | fs/nfs/sock.c | if (server->flags & NFS_MOUNT_SOFT) { |
server | 84 | fs/nfs/sock.c | "still trying.\n", server->hostname); |
server | 90 | fs/nfs/sock.c | "timed out.\n", server->hostname); |
server | 98 | fs/nfs/sock.c | } while (result == -ETIMEDOUT && !(server->flags & NFS_MOUNT_SOFT)); |
server | 101 | fs/nfs/sock.c | printk("NFS server %s OK.\n", server->hostname); |
server | 43 | fs/smbfs/dir.c | smb_find_inode(struct smb_server *server, const char *path); |
server | 162 | fs/smbfs/dir.c | struct smb_server *server = SMB_SERVER(inode); |
server | 215 | fs/smbfs/dir.c | result = smb_proc_readdir(server, inode, |
server | 233 | fs/smbfs/dir.c | switch (server->case_handling) |
server | 269 | 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 | 151 | fs/smbfs/inode.c | struct smb_server *server = &(SMB_SBP(sb)->s_server); |
server | 153 | fs/smbfs/inode.c | smb_proc_disconnect(server); |
server | 154 | fs/smbfs/inode.c | close_fp(server->sock_file); |
server | 158 | fs/smbfs/inode.c | smb_free_all_inodes(server); |
server | 160 | fs/smbfs/inode.c | smb_kfree_s(server->packet, server->max_xmit); |
server | 176 | fs/smbfs/inode.c | struct smb_server *server; |
server | 226 | fs/smbfs/inode.c | server = &(SMB_SBP(sb)->s_server); |
server | 227 | fs/smbfs/inode.c | server->sock_file = filp; |
server | 228 | fs/smbfs/inode.c | server->lock = 0; |
server | 229 | fs/smbfs/inode.c | server->wait = NULL; |
server | 230 | fs/smbfs/inode.c | server->packet = NULL; |
server | 231 | fs/smbfs/inode.c | server->max_xmit = data->max_xmit; |
server | 232 | fs/smbfs/inode.c | if (server->max_xmit <= 0) |
server | 233 | fs/smbfs/inode.c | server->max_xmit = SMB_DEF_MAX_XMIT; |
server | 235 | fs/smbfs/inode.c | server->tid = 0; |
server | 236 | fs/smbfs/inode.c | server->pid = current->pid; |
server | 237 | fs/smbfs/inode.c | server->mid = current->pid + 20; |
server | 239 | fs/smbfs/inode.c | server->m = *data; |
server | 240 | fs/smbfs/inode.c | server->m.file_mode = (server->m.file_mode & |
server | 242 | fs/smbfs/inode.c | server->m.dir_mode = (server->m.dir_mode & |
server | 245 | fs/smbfs/inode.c | smb_init_root(server); |
server | 251 | fs/smbfs/inode.c | error = smb_proc_connect(server); |
server | 262 | fs/smbfs/inode.c | if (server->protocol >= PROTOCOL_LANMAN2) |
server | 263 | fs/smbfs/inode.c | server->case_handling = CASE_DEFAULT; |
server | 265 | fs/smbfs/inode.c | server->case_handling = CASE_LOWER; |
server | 271 | fs/smbfs/inode.c | smb_kfree_s(server->packet, server->max_xmit); |
server | 275 | fs/smbfs/inode.c | if ((error = smb_stat_root(server)) < 0) { |
server | 278 | fs/smbfs/inode.c | smb_kfree_s(server->packet, server->max_xmit); |
server | 290 | fs/smbfs/inode.c | if (!(sb->s_mounted = iget(sb, (int)&(server->root)))) { |
server | 293 | fs/smbfs/inode.c | smb_kfree_s(server->packet, server->max_xmit); |
server | 383 | fs/smbfs/proc.c | smb_lock_server(struct smb_server *server) |
server | 385 | fs/smbfs/proc.c | while (server->lock) |
server | 386 | fs/smbfs/proc.c | sleep_on(&server->wait); |
server | 387 | fs/smbfs/proc.c | server->lock = 1; |
server | 391 | fs/smbfs/proc.c | smb_unlock_server(struct smb_server *server) |
server | 393 | fs/smbfs/proc.c | if (server->lock != 1) { |
server | 397 | fs/smbfs/proc.c | server->lock = 0; |
server | 398 | fs/smbfs/proc.c | wake_up(&server->wait); |
server | 439 | fs/smbfs/proc.c | smb_retry(struct smb_server *server) |
server | 441 | fs/smbfs/proc.c | if (server->state != CONN_INVALID) { |
server | 445 | fs/smbfs/proc.c | if (smb_release(server) < 0) { |
server | 447 | fs/smbfs/proc.c | server->state = CONN_RETRIED; |
server | 450 | fs/smbfs/proc.c | if(smb_proc_reconnect(server) < 0) { |
server | 452 | fs/smbfs/proc.c | server->state = CONN_RETRIED; |
server | 456 | fs/smbfs/proc.c | server->state = CONN_VALID; |
server | 474 | fs/smbfs/proc.c | smb_setup_header(struct smb_server *server, byte command, word wct, word bcc) |
server | 477 | fs/smbfs/proc.c | byte *p = server->packet; |
server | 478 | fs/smbfs/proc.c | byte *buf = server->packet; |
server | 493 | fs/smbfs/proc.c | WSET(buf, smb_tid, server->tid); |
server | 494 | fs/smbfs/proc.c | WSET(buf, smb_pid, server->pid); |
server | 495 | fs/smbfs/proc.c | WSET(buf, smb_uid, server->server_uid); |
server | 496 | fs/smbfs/proc.c | WSET(buf, smb_mid, server->mid); |
server | 498 | fs/smbfs/proc.c | if (server->protocol > PROTOCOL_CORE) { |
server | 514 | fs/smbfs/proc.c | smb_setup_header_exclusive(struct smb_server *server, |
server | 517 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 518 | fs/smbfs/proc.c | return smb_setup_header(server, command, wct, bcc); |
server | 529 | fs/smbfs/proc.c | smb_proc_open(struct smb_server *server, const char *pathname, int len, |
server | 534 | fs/smbfs/proc.c | char* buf = server->packet; |
server | 539 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 542 | fs/smbfs/proc.c | p = smb_setup_header(server, SMBopen, 2, 2 + len); |
server | 547 | fs/smbfs/proc.c | if ((error = smb_request_ok(server, SMBopen, 7, 0)) != 0) { |
server | 549 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 554 | fs/smbfs/proc.c | smb_unlock_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 | 564 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 567 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 581 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 591 | fs/smbfs/proc.c | smb_proc_close(struct smb_server *server, struct smb_dirent *finfo) |
server | 593 | fs/smbfs/proc.c | char *buf = server->packet; |
server | 595 | fs/smbfs/proc.c | smb_setup_header_exclusive(server, SMBclose, 3, 0); |
server | 599 | fs/smbfs/proc.c | return smb_request_ok_unlock(server, SMBclose, 0, 0); |
server | 609 | fs/smbfs/proc.c | smb_proc_read(struct smb_server *server, struct smb_dirent *finfo, |
server | 613 | fs/smbfs/proc.c | char *buf = server->packet; |
server | 616 | fs/smbfs/proc.c | smb_setup_header_exclusive(server, SMBread, 5, 0); |
server | 623 | fs/smbfs/proc.c | if ((error = smb_request_ok(server, SMBread, 5, -1)) < 0) { |
server | 624 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 630 | fs/smbfs/proc.c | smb_decode_data(SMB_BUF(server->packet), data, &data_len, fs); |
server | 632 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 647 | fs/smbfs/proc.c | smb_proc_read_raw(struct smb_server *server, struct smb_dirent *finfo, |
server | 650 | fs/smbfs/proc.c | char *buf = server->packet; |
server | 657 | fs/smbfs/proc.c | smb_setup_header_exclusive(server, SMBreadbraw, 8, 0); |
server | 665 | fs/smbfs/proc.c | result = smb_request_read_raw(server, data, count); |
server | 666 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 671 | fs/smbfs/proc.c | smb_proc_write(struct smb_server *server, struct smb_dirent *finfo, |
server | 675 | fs/smbfs/proc.c | char *buf = server->packet; |
server | 678 | fs/smbfs/proc.c | p = smb_setup_header_exclusive(server, SMBwrite, 5, count + 3); |
server | 688 | fs/smbfs/proc.c | if ((res = smb_request_ok(server, SMBwrite, 1, 0)) >= 0) { |
server | 692 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 699 | fs/smbfs/proc.c | smb_proc_write_raw(struct smb_server *server, struct smb_dirent *finfo, |
server | 702 | fs/smbfs/proc.c | char *buf = server->packet; |
server | 709 | fs/smbfs/proc.c | smb_setup_header_exclusive(server, SMBwritebraw, 11, 0); |
server | 721 | fs/smbfs/proc.c | result = smb_request_ok(server, SMBwritebraw, 1, 0); |
server | 726 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 730 | fs/smbfs/proc.c | result = smb_request_write_raw(server, data, count); |
server | 736 | fs/smbfs/proc.c | if (smb_valid_packet(server->packet) != 0) { |
server | 739 | fs/smbfs/proc.c | } else if (server->rcls != 0) { |
server | 740 | fs/smbfs/proc.c | result = -smb_errno(server->rcls, server->err); |
server | 741 | fs/smbfs/proc.c | } else if (smb_verify(server->packet, SMBwritec,1,0) != 0) { |
server | 747 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 755 | fs/smbfs/proc.c | smb_proc_do_create(struct smb_server *server, const char *path, int len, |
server | 760 | fs/smbfs/proc.c | char *buf = server->packet; |
server | 762 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 764 | fs/smbfs/proc.c | p = smb_setup_header(server, command, 3, len + 2); |
server | 769 | fs/smbfs/proc.c | if ((error = smb_request_ok(server, command, 1, 0)) < 0) { |
server | 770 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 773 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 779 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 781 | fs/smbfs/proc.c | smb_proc_close(server, entry); |
server | 787 | fs/smbfs/proc.c | smb_proc_create(struct smb_server *server, const char *path, int len, |
server | 790 | fs/smbfs/proc.c | return smb_proc_do_create(server, path, len, entry, SMBcreate); |
server | 794 | fs/smbfs/proc.c | smb_proc_mknew(struct smb_server *server, const char *path, int len, |
server | 797 | fs/smbfs/proc.c | return smb_proc_do_create(server, path, len, entry, SMBmknew); |
server | 801 | fs/smbfs/proc.c | smb_proc_mv(struct smb_server *server, |
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, SMBmv, 1, olen + nlen + 4); |
server | 817 | fs/smbfs/proc.c | if ((result = smb_request_ok(server, SMBmv, 0, 0)) < 0) { |
server | 818 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 822 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 827 | fs/smbfs/proc.c | smb_proc_mkdir(struct smb_server *server, const char *path, const int len) |
server | 832 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 835 | fs/smbfs/proc.c | p = smb_setup_header(server, SMBmkdir, 0, 2 + len); |
server | 838 | fs/smbfs/proc.c | if ((result = smb_request_ok(server, SMBmkdir, 0, 0)) < 0) { |
server | 839 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 843 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 848 | fs/smbfs/proc.c | smb_proc_rmdir(struct smb_server *server, const char *path, const int len) |
server | 853 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 856 | fs/smbfs/proc.c | p = smb_setup_header(server, SMBrmdir, 0, 2 + len); |
server | 859 | fs/smbfs/proc.c | if ((result = smb_request_ok(server, SMBrmdir, 0, 0)) < 0) { |
server | 860 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 864 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 869 | fs/smbfs/proc.c | smb_proc_unlink(struct smb_server *server, const char *path, const int len) |
server | 872 | fs/smbfs/proc.c | char *buf = server->packet; |
server | 875 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 878 | fs/smbfs/proc.c | p = smb_setup_header(server, SMBunlink, 1, 2 + len); |
server | 882 | fs/smbfs/proc.c | if ((result = smb_request_ok(server, SMBunlink, 0, 0)) < 0) { |
server | 883 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 887 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 892 | fs/smbfs/proc.c | smb_proc_trunc(struct smb_server *server, word fid, dword length) |
server | 895 | fs/smbfs/proc.c | char *buf = server->packet; |
server | 898 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 901 | fs/smbfs/proc.c | p = smb_setup_header(server, SMBwrite, 5, 3); |
server | 908 | fs/smbfs/proc.c | if ((result = smb_request_ok(server, SMBwrite, 1, 0)) < 0) { |
server | 909 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 913 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 935 | fs/smbfs/proc.c | smb_proc_readdir_short(struct smb_server *server, struct inode *dir, int fpos, |
server | 948 | fs/smbfs/proc.c | int entries_asked = (server->max_xmit - 100) / SMB_DIRINFO_SIZE; |
server | 958 | fs/smbfs/proc.c | buf = server->packet; |
server | 960 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 969 | fs/smbfs/proc.c | p = smb_setup_header(server, SMBsearch, 2, |
server | 977 | fs/smbfs/proc.c | p = smb_setup_header(server, SMBsearch, 2, |
server | 985 | fs/smbfs/proc.c | if ((error = smb_request_ok(server, SMBsearch, 1, -1)) < 0) { |
server | 986 | fs/smbfs/proc.c | if ( (server->rcls == ERRDOS) |
server | 987 | fs/smbfs/proc.c | && (server->err == ERRnofiles)) { |
server | 993 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 1001 | fs/smbfs/proc.c | p = SMB_VWV(server->packet); |
server | 1020 | fs/smbfs/proc.c | SMB_BUF(server->packet) + 3 + |
server | 1049 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 1139 | fs/smbfs/proc.c | smb_proc_readdir_long(struct smb_server *server, struct inode *dir, int fpos, |
server | 1179 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 1190 | fs/smbfs/proc.c | unsigned char *outbuf = server->packet; |
server | 1200 | fs/smbfs/proc.c | smb_setup_header(server, SMBtrans2, 15, |
server | 1251 | fs/smbfs/proc.c | result = smb_trans2_request(server, |
server | 1256 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 1264 | fs/smbfs/proc.c | if (server->rcls != 0) |
server | 1360 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 1366 | fs/smbfs/proc.c | smb_proc_readdir(struct smb_server *server, struct inode *dir, int fpos, |
server | 1369 | fs/smbfs/proc.c | if (server->protocol >= PROTOCOL_LANMAN2) |
server | 1370 | fs/smbfs/proc.c | return smb_proc_readdir_long(server, dir, fpos, cache_size, |
server | 1373 | fs/smbfs/proc.c | return smb_proc_readdir_short(server, dir, fpos, cache_size, |
server | 1378 | fs/smbfs/proc.c | smb_proc_getattr_core(struct smb_server *server, const char *path, int len, |
server | 1383 | fs/smbfs/proc.c | char *buf = server->packet; |
server | 1385 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 1390 | fs/smbfs/proc.c | p = smb_setup_header(server, SMBgetatr, 0, 2 + len); |
server | 1393 | fs/smbfs/proc.c | if ((result = smb_request_ok(server, SMBgetatr, 10, 0)) < 0) { |
server | 1394 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 1397 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 1406 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 1413 | fs/smbfs/proc.c | smb_proc_getattrE(struct smb_server *server, struct smb_dirent *entry) |
server | 1415 | fs/smbfs/proc.c | char* buf = server->packet; |
server | 1418 | fs/smbfs/proc.c | smb_setup_header_exclusive(server, SMBgetattrE, 1, 0); |
server | 1421 | fs/smbfs/proc.c | if ((result = smb_request_ok(server, SMBgetattrE, 11, 0)) != 0) { |
server | 1422 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 1432 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 1437 | fs/smbfs/proc.c | smb_proc_getattr(struct smb_server *server, const char *path, int len, |
server | 1440 | fs/smbfs/proc.c | if (server->protocol >= PROTOCOL_LANMAN1) { |
server | 1445 | fs/smbfs/proc.c | if ((result=smb_proc_open(server,path,len, |
server | 1449 | fs/smbfs/proc.c | return smb_proc_getattr_core(server,path,len,entry); |
server | 1452 | fs/smbfs/proc.c | if ((result=smb_proc_getattrE(server, &temp_entry)) >= 0) { |
server | 1460 | fs/smbfs/proc.c | smb_proc_close(server, &temp_entry); |
server | 1464 | fs/smbfs/proc.c | return smb_proc_getattr_core(server, path, len, entry); |
server | 1472 | fs/smbfs/proc.c | smb_proc_setattr_core(struct smb_server *server, |
server | 1477 | fs/smbfs/proc.c | char *buf = server->packet; |
server | 1480 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 1483 | fs/smbfs/proc.c | p = smb_setup_header(server, SMBsetatr, 8, 4 + len); |
server | 1489 | fs/smbfs/proc.c | if ((result = smb_request_ok(server, SMBsetatr, 0, 0)) < 0) { |
server | 1490 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 1494 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 1501 | fs/smbfs/proc.c | smb_proc_setattrE(struct smb_server *server, word fid, |
server | 1504 | fs/smbfs/proc.c | char *buf = server->packet; |
server | 1507 | fs/smbfs/proc.c | smb_setup_header_exclusive(server, SMBsetattrE, 7, 0); |
server | 1523 | fs/smbfs/proc.c | return smb_request_ok_unlock(server, SMBsetattrE, 0, 0); |
server | 1529 | fs/smbfs/proc.c | smb_proc_setattr(struct smb_server *server, struct inode *inode, |
server | 1535 | fs/smbfs/proc.c | if (server->protocol >= PROTOCOL_LANMAN1) { |
server | 1538 | fs/smbfs/proc.c | return smb_proc_setattrE(server, finfo->fileid, new_finfo); |
server | 1540 | fs/smbfs/proc.c | return smb_proc_setattr_core(server, finfo->path, finfo->len, |
server | 1550 | fs/smbfs/proc.c | struct smb_server *server = &(SMB_SBP(super)->s_server); |
server | 1552 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 1555 | fs/smbfs/proc.c | smb_setup_header(server, SMBdskattr, 0, 0); |
server | 1557 | fs/smbfs/proc.c | if ((error = smb_request_ok(server, SMBdskattr, 5, 0)) < 0) { |
server | 1558 | fs/smbfs/proc.c | if (smb_retry(server)) { |
server | 1561 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 1565 | fs/smbfs/proc.c | p = SMB_VWV(server->packet); |
server | 1570 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 1591 | fs/smbfs/proc.c | smb_proc_reconnect(struct smb_server *server) |
server | 1607 | fs/smbfs/proc.c | int given_max_xmit = server->m.max_xmit; |
server | 1611 | fs/smbfs/proc.c | if ((result = smb_connect(server)) < 0) { |
server | 1617 | fs/smbfs/proc.c | server->state = CONN_VALID; |
server | 1619 | fs/smbfs/proc.c | if (server->packet != NULL) { |
server | 1620 | fs/smbfs/proc.c | smb_kfree_s(server->packet, server->max_xmit); |
server | 1623 | fs/smbfs/proc.c | server->packet = smb_kmalloc(max_xmit, GFP_KERNEL); |
server | 1625 | fs/smbfs/proc.c | if (server->packet == NULL) { |
server | 1631 | fs/smbfs/proc.c | server->max_xmit = max_xmit; |
server | 1636 | fs/smbfs/proc.c | p = server->packet + 4; |
server | 1638 | fs/smbfs/proc.c | p = smb_name_mangle(p, server->m.server_name); |
server | 1639 | fs/smbfs/proc.c | p = smb_name_mangle(p, server->m.client_name); |
server | 1641 | fs/smbfs/proc.c | smb_encode_smb_length(server->packet, |
server | 1642 | fs/smbfs/proc.c | (void *)p - (void *)(server->packet)); |
server | 1644 | fs/smbfs/proc.c | server->packet[0] = 0x81; /* SESSION REQUEST */ |
server | 1646 | fs/smbfs/proc.c | if (smb_catch_keepalive(server) < 0) { |
server | 1650 | fs/smbfs/proc.c | if ((result = smb_request(server)) < 0) { |
server | 1652 | fs/smbfs/proc.c | smb_dont_catch_keepalive(server); |
server | 1656 | fs/smbfs/proc.c | if (server->packet[0] != 0x82) { |
server | 1659 | fs/smbfs/proc.c | server->packet[0]); |
server | 1660 | fs/smbfs/proc.c | smb_dont_catch_keepalive(server); |
server | 1662 | fs/smbfs/proc.c | smb_dump_packet(server->packet); |
server | 1671 | fs/smbfs/proc.c | memset(server->packet, 0, SMB_HEADER_LEN); |
server | 1678 | fs/smbfs/proc.c | smb_setup_header(server, SMBnegprot, 0, plength); |
server | 1680 | fs/smbfs/proc.c | p = SMB_BUF(server->packet); |
server | 1686 | fs/smbfs/proc.c | if ((result = smb_request_ok(server, SMBnegprot, 1, -1)) < 0) { |
server | 1688 | fs/smbfs/proc.c | smb_dont_catch_keepalive(server); |
server | 1696 | fs/smbfs/proc.c | p = SMB_VWV(server->packet); |
server | 1698 | fs/smbfs/proc.c | server->protocol = prots[i].prot; |
server | 1703 | fs/smbfs/proc.c | if (server->protocol > PROTOCOL_LANMAN1) { |
server | 1705 | fs/smbfs/proc.c | word passlen = strlen(server->m.password); |
server | 1706 | fs/smbfs/proc.c | word userlen = strlen(server->m.username); |
server | 1709 | fs/smbfs/proc.c | server->m.password); |
server | 1711 | fs/smbfs/proc.c | server->m.username); |
server | 1713 | fs/smbfs/proc.c | WVAL(server->packet, smb_vwv5)); |
server | 1715 | fs/smbfs/proc.c | server->maxxmt = WVAL(server->packet, smb_vwv2); |
server | 1716 | fs/smbfs/proc.c | server->maxmux = WVAL(server->packet, smb_vwv3); |
server | 1717 | fs/smbfs/proc.c | server->maxvcs = WVAL(server->packet, smb_vwv4); |
server | 1718 | fs/smbfs/proc.c | server->blkmode= WVAL(server->packet, smb_vwv5); |
server | 1719 | fs/smbfs/proc.c | server->sesskey= DVAL(server->packet, smb_vwv6); |
server | 1721 | fs/smbfs/proc.c | smb_setup_header(server, SMBsesssetupX, 10, |
server | 1724 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv0, 0x00ff); |
server | 1725 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv1, 0); |
server | 1726 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv2, given_max_xmit); |
server | 1727 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv3, 2); |
server | 1728 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv4, server->pid); |
server | 1729 | fs/smbfs/proc.c | DSET(server->packet, smb_vwv5, server->sesskey); |
server | 1730 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv7, passlen + 1); |
server | 1731 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv8, 0); |
server | 1732 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv9, 0); |
server | 1734 | fs/smbfs/proc.c | p = SMB_BUF(server->packet); |
server | 1735 | fs/smbfs/proc.c | strcpy(p, server->m.password); |
server | 1737 | fs/smbfs/proc.c | strcpy(p, server->m.username); |
server | 1739 | fs/smbfs/proc.c | if ((result = smb_request_ok(server,SMBsesssetupX,3,0)) < 0) { |
server | 1741 | fs/smbfs/proc.c | smb_dont_catch_keepalive(server); |
server | 1744 | fs/smbfs/proc.c | smb_decode_word(server->packet+32, &(server->server_uid)); |
server | 1749 | fs/smbfs/proc.c | server->maxxmt = 0; |
server | 1750 | fs/smbfs/proc.c | server->maxmux = 0; |
server | 1751 | fs/smbfs/proc.c | server->maxvcs = 0; |
server | 1752 | fs/smbfs/proc.c | server->blkmode = 0; |
server | 1753 | fs/smbfs/proc.c | server->sesskey = 0; |
server | 1758 | fs/smbfs/proc.c | smb_setup_header(server, SMBtcon, 0, |
server | 1759 | fs/smbfs/proc.c | 6 + strlen(server->m.service) + |
server | 1760 | fs/smbfs/proc.c | strlen(server->m.password) + strlen(dev)); |
server | 1761 | fs/smbfs/proc.c | p = SMB_BUF(server->packet); |
server | 1762 | fs/smbfs/proc.c | p = smb_encode_ascii(p, server->m.service, strlen(server->m.service)); |
server | 1763 | fs/smbfs/proc.c | p = smb_encode_ascii(p,server->m.password, strlen(server->m.password)); |
server | 1766 | fs/smbfs/proc.c | if ((result = smb_request_ok(server, SMBtcon, 2, 0)) < 0) { |
server | 1768 | fs/smbfs/proc.c | smb_dont_catch_keepalive(server); |
server | 1774 | fs/smbfs/proc.c | p = SMB_VWV(server->packet); |
server | 1775 | fs/smbfs/proc.c | p = smb_decode_word(p, &server->max_xmit); |
server | 1777 | fs/smbfs/proc.c | if (server->max_xmit > given_max_xmit) |
server | 1778 | fs/smbfs/proc.c | server->max_xmit = given_max_xmit; |
server | 1780 | fs/smbfs/proc.c | p = smb_decode_word(p, &server->tid); |
server | 1784 | fs/smbfs/proc.c | server->max_xmit += 4; |
server | 1786 | fs/smbfs/proc.c | DPRINTK("max_xmit = %d, tid = %d\n", server->max_xmit, server->tid); |
server | 1789 | fs/smbfs/proc.c | smb_kfree_s(server->packet, max_xmit); |
server | 1791 | fs/smbfs/proc.c | server->packet = smb_kmalloc(server->max_xmit, GFP_KERNEL); |
server | 1792 | fs/smbfs/proc.c | if (server->packet == NULL) { |
server | 1795 | fs/smbfs/proc.c | smb_dont_catch_keepalive(server); |
server | 1803 | fs/smbfs/proc.c | server->state = CONN_INVALID; |
server | 1810 | fs/smbfs/proc.c | smb_proc_connect(struct smb_server *server) |
server | 1813 | fs/smbfs/proc.c | smb_lock_server(server); |
server | 1814 | fs/smbfs/proc.c | result = smb_proc_reconnect(server); |
server | 1815 | fs/smbfs/proc.c | if ((result < 0) && (server->packet != NULL)) { |
server | 1816 | fs/smbfs/proc.c | smb_kfree_s(server->packet, server->max_xmit); |
server | 1817 | fs/smbfs/proc.c | server->packet = NULL; |
server | 1819 | fs/smbfs/proc.c | smb_unlock_server(server); |
server | 1824 | fs/smbfs/proc.c | smb_proc_disconnect(struct smb_server *server) |
server | 1826 | fs/smbfs/proc.c | smb_setup_header_exclusive(server, SMBtdis, 0, 0); |
server | 1827 | fs/smbfs/proc.c | return smb_request_ok_unlock(server, SMBtdis, 0, 0); |
server | 107 | fs/smbfs/sock.c | smb_catch_keepalive(struct smb_server *server) |
server | 114 | fs/smbfs/sock.c | if ( (server == NULL) |
server | 115 | fs/smbfs/sock.c | || ((file = server->sock_file) == NULL) |
server | 120 | fs/smbfs/sock.c | server->data_ready = NULL; |
server | 128 | fs/smbfs/sock.c | server->data_ready = NULL; |
server | 136 | fs/smbfs/sock.c | server->data_ready = NULL; |
server | 142 | fs/smbfs/sock.c | (unsigned int)(server->data_ready)); |
server | 149 | fs/smbfs/sock.c | server->data_ready = sk->data_ready; |
server | 155 | fs/smbfs/sock.c | smb_dont_catch_keepalive(struct smb_server *server) |
server | 162 | fs/smbfs/sock.c | if ( (server == NULL) |
server | 163 | fs/smbfs/sock.c | || ((file = server->sock_file) == NULL) |
server | 186 | fs/smbfs/sock.c | if (server->data_ready == NULL) { |
server | 200 | fs/smbfs/sock.c | (unsigned int)(server->data_ready)); |
server | 202 | fs/smbfs/sock.c | sk->data_ready = server->data_ready; |
server | 203 | fs/smbfs/sock.c | server->data_ready = NULL; |
server | 294 | fs/smbfs/sock.c | smb_receive(struct smb_server *server, struct socket *sock) |
server | 298 | fs/smbfs/sock.c | result = smb_receive_raw(sock, server->packet, |
server | 299 | fs/smbfs/sock.c | server->max_xmit - 4, /* max_xmit in server |
server | 308 | fs/smbfs/sock.c | server->rcls = *((unsigned char *)(server->packet+9)); |
server | 309 | fs/smbfs/sock.c | server->err = *((unsigned short *)(server->packet+11)); |
server | 311 | fs/smbfs/sock.c | if (server->rcls != 0) { |
server | 313 | fs/smbfs/sock.c | server->rcls, server->err); |
server | 324 | fs/smbfs/sock.c | smb_receive_trans2(struct smb_server *server, struct socket *sock, |
server | 331 | fs/smbfs/sock.c | unsigned char *inbuf = server->packet; |
server | 337 | fs/smbfs/sock.c | if ((result = smb_receive(server, sock)) < 0) { |
server | 341 | fs/smbfs/sock.c | if (server->rcls != 0) { |
server | 412 | fs/smbfs/sock.c | if ((result = smb_receive(server, sock)) < 0) { |
server | 415 | fs/smbfs/sock.c | if (server->rcls != 0) { |
server | 434 | fs/smbfs/sock.c | server_sock(struct smb_server *server) |
server | 439 | fs/smbfs/sock.c | if (server == NULL) |
server | 441 | fs/smbfs/sock.c | if ((file = server->sock_file) == NULL) |
server | 449 | fs/smbfs/sock.c | smb_release(struct smb_server *server) |
server | 451 | fs/smbfs/sock.c | struct socket *sock = server_sock(server); |
server | 471 | fs/smbfs/sock.c | smb_connect(struct smb_server *server) |
server | 473 | fs/smbfs/sock.c | struct socket *sock = server_sock(server); |
server | 480 | fs/smbfs/sock.c | return sock->ops->connect(sock, (struct sockaddr *)&(server->m.addr), |
server | 491 | fs/smbfs/sock.c | smb_request(struct smb_server *server) |
server | 498 | fs/smbfs/sock.c | struct socket *sock = server_sock(server); |
server | 499 | fs/smbfs/sock.c | unsigned char *buffer = (server == NULL) ? NULL : server->packet; |
server | 506 | fs/smbfs/sock.c | if (server->state != CONN_VALID) |
server | 509 | fs/smbfs/sock.c | if ((result = smb_dont_catch_keepalive(server)) != 0) { |
server | 510 | fs/smbfs/sock.c | server->state = CONN_INVALID; |
server | 511 | fs/smbfs/sock.c | smb_invalidate_all_inodes(server); |
server | 529 | fs/smbfs/sock.c | result = smb_receive(server, sock); |
server | 538 | fs/smbfs/sock.c | if ((result2 = smb_catch_keepalive(server)) < 0) { |
server | 543 | fs/smbfs/sock.c | server->state = CONN_INVALID; |
server | 544 | fs/smbfs/sock.c | smb_invalidate_all_inodes(server); |
server | 557 | fs/smbfs/sock.c | smb_trans2_request(struct smb_server *server, |
server | 566 | fs/smbfs/sock.c | struct socket *sock = server_sock(server); |
server | 567 | fs/smbfs/sock.c | unsigned char *buffer = (server == NULL) ? NULL : server->packet; |
server | 574 | fs/smbfs/sock.c | if (server->state != CONN_VALID) |
server | 577 | fs/smbfs/sock.c | if ((result = smb_dont_catch_keepalive(server)) != 0) { |
server | 578 | fs/smbfs/sock.c | server->state = CONN_INVALID; |
server | 579 | fs/smbfs/sock.c | smb_invalidate_all_inodes(server); |
server | 597 | fs/smbfs/sock.c | result = smb_receive_trans2(server, sock, |
server | 608 | fs/smbfs/sock.c | if ((result2 = smb_catch_keepalive(server)) < 0) { |
server | 613 | fs/smbfs/sock.c | server->state = CONN_INVALID; |
server | 614 | fs/smbfs/sock.c | smb_invalidate_all_inodes(server); |
server | 624 | fs/smbfs/sock.c | smb_request_read_raw(struct smb_server *server, |
server | 632 | fs/smbfs/sock.c | struct socket *sock = server_sock(server); |
server | 633 | fs/smbfs/sock.c | unsigned char *buffer = (server == NULL) ? NULL : server->packet; |
server | 640 | fs/smbfs/sock.c | if (server->state != CONN_VALID) |
server | 643 | fs/smbfs/sock.c | if ((result = smb_dont_catch_keepalive(server)) != 0) { |
server | 644 | fs/smbfs/sock.c | server->state = CONN_INVALID; |
server | 645 | fs/smbfs/sock.c | smb_invalidate_all_inodes(server); |
server | 680 | fs/smbfs/sock.c | if ((result2 = smb_catch_keepalive(server)) < 0) { |
server | 685 | fs/smbfs/sock.c | server->state = CONN_INVALID; |
server | 686 | fs/smbfs/sock.c | smb_invalidate_all_inodes(server); |
server | 698 | fs/smbfs/sock.c | smb_request_write_raw(struct smb_server *server, |
server | 707 | fs/smbfs/sock.c | struct socket *sock = server_sock(server); |
server | 708 | fs/smbfs/sock.c | unsigned char *buffer = (server == NULL) ? NULL : server->packet; |
server | 715 | fs/smbfs/sock.c | if (server->state != CONN_VALID) |
server | 718 | fs/smbfs/sock.c | if ((result = smb_dont_catch_keepalive(server)) != 0) { |
server | 719 | fs/smbfs/sock.c | server->state = CONN_INVALID; |
server | 720 | fs/smbfs/sock.c | smb_invalidate_all_inodes(server); |
server | 744 | fs/smbfs/sock.c | result = smb_receive(server, sock); |
server | 754 | fs/smbfs/sock.c | if ((result2 = smb_catch_keepalive(server)) < 0) { |
server | 759 | fs/smbfs/sock.c | server->state = CONN_INVALID; |
server | 760 | 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 | 128 | include/linux/smb_fs.h | int smb_proc_open(struct smb_server *server, const char *pathname, |
server | 130 | include/linux/smb_fs.h | int smb_proc_close(struct smb_server *server, struct smb_dirent *finfo); |
server | 131 | include/linux/smb_fs.h | int smb_proc_read(struct smb_server *server, struct smb_dirent *finfo, |
server | 133 | include/linux/smb_fs.h | int smb_proc_read_raw(struct smb_server *server, struct smb_dirent *finfo, |
server | 135 | include/linux/smb_fs.h | int smb_proc_write(struct smb_server *server, struct smb_dirent *finfo, |
server | 137 | include/linux/smb_fs.h | int smb_proc_write_raw(struct smb_server *server, struct smb_dirent *finfo, |
server | 139 | include/linux/smb_fs.h | int smb_proc_create(struct smb_server *server, const char *path, |
server | 141 | include/linux/smb_fs.h | int smb_proc_mknew(struct smb_server *server, const char *path, int len, |
server | 143 | include/linux/smb_fs.h | int smb_proc_mv(struct smb_server *server, const char *opath, const int olen, |
server | 145 | include/linux/smb_fs.h | int smb_proc_mkdir(struct smb_server *server, const char *path, const int len); |
server | 146 | include/linux/smb_fs.h | int smb_proc_rmdir(struct smb_server *server, const char *path, const int len); |
server | 147 | include/linux/smb_fs.h | int smb_proc_unlink(struct smb_server *server, const char *path, |
server | 149 | include/linux/smb_fs.h | int smb_proc_readdir(struct smb_server *server, struct inode *dir, |
server | 152 | include/linux/smb_fs.h | int smb_proc_getattr(struct smb_server *server, const char *path, |
server | 154 | include/linux/smb_fs.h | int smb_proc_setattr(struct smb_server *server, |
server | 157 | include/linux/smb_fs.h | int smb_proc_chkpath(struct smb_server *server, char *path, int len, |
server | 160 | include/linux/smb_fs.h | int smb_proc_reconnect(struct smb_server *server); |
server | 161 | include/linux/smb_fs.h | int smb_proc_connect(struct smb_server *server); |
server | 162 | include/linux/smb_fs.h | int smb_proc_disconnect(struct smb_server *server); |
server | 163 | include/linux/smb_fs.h | int smb_proc_trunc(struct smb_server *server, word fid, dword length); |
server | 166 | include/linux/smb_fs.h | int smb_release(struct smb_server *server); |
server | 167 | include/linux/smb_fs.h | int smb_connect(struct smb_server *server); |
server | 168 | include/linux/smb_fs.h | int smb_request(struct smb_server *server); |
server | 169 | include/linux/smb_fs.h | int smb_request_read_raw(struct smb_server *server, |
server | 171 | include/linux/smb_fs.h | int smb_request_write_raw(struct smb_server *server, |
server | 173 | include/linux/smb_fs.h | int smb_catch_keepalive(struct smb_server *server); |
server | 174 | include/linux/smb_fs.h | int smb_dont_catch_keepalive(struct smb_server *server); |
server | 175 | include/linux/smb_fs.h | int smb_trans2_request(struct smb_server *server, |