Lines Matching defs:volnum
298 PPRINTK("ncp_make_closed: volnum=%d, dirent=%u, error=%d\n",
325 int ncp_dirhandle_alloc(struct ncp_server* server, __u8 volnum, __le32 dirent,
334 ncp_add_handle_path(server, volnum, dirent, 1, NULL);
381 __u32 volnum = target->volNumber;
383 if (ncp_is_nfs_extras(server, volnum)) {
386 ncp_add_byte(server, server->name_space[volnum]);
389 ncp_add_byte(server, volnum);
423 __u8 volnum = NCP_FINFO(dir)->volNumber;
433 ncp_add_byte(server, server->name_space[volnum]);
434 ncp_add_byte(server, server->name_space[volnum]); /* N.B. twice ?? */
437 ncp_add_handle_path(server, volnum, dirent, 1, path);
455 __u8 volnum, __le32 dirent,
463 ncp_add_byte(server, server->name_space[volnum]);
464 ncp_add_byte(server, server->name_space[volnum]);
467 ncp_add_handle_path(server, volnum, dirent, 1, path);
582 __u8 volnum;
604 volnum = ncp_reply_byte(server, 8);
606 *volume = volnum;
608 server->name_space[volnum] = ncp_get_known_namespace(server, volnum);
611 volnum, server->name_space[volnum]);
644 __u8 volnum = NCP_FINFO(dir)->volNumber;
650 ncp_add_byte(server, server->name_space[volnum]);
656 ncp_add_handle_path(server, volnum, dirent, 1, path);
673 int ncp_modify_nfs_info(struct ncp_server *server, __u8 volnum, __le32 dirent,
679 if (server->name_space[volnum] == NW_NS_NFS) {
682 ncp_add_byte(server, server->name_space[volnum]);
684 ncp_add_byte(server, volnum);
702 __u8 have_dir_base, __u8 volnum, __le32 dirent,
712 ncp_add_handle_path(server, volnum, dirent, have_dir_base, name);
724 __u8 volnum;
730 volnum = NCP_FINFO(inode)->volNumber;
732 return ncp_DeleteNSEntry(server, 1, volnum, dirent, NULL, NW_NS_DOS, cpu_to_le16(0x8006));
739 __u8 volnum = NCP_FINFO(dir)->volNumber;
743 if (server->name_space[volnum]==NW_NS_NFS)
747 result=ncp_obtain_DOS_dir_base(server, volnum, dirent, name, &dirent);
749 return ncp_DeleteNSEntry(server, 1, volnum, dirent, NULL, NW_NS_DOS, cpu_to_le16(0x8006));
753 return ncp_DeleteNSEntry(server, 1, volnum, dirent, name, server->name_space[volnum], cpu_to_le16(0x8006));
775 __u8 volnum;
779 volnum = NCP_FINFO(dir)->volNumber;
787 ncp_add_byte(server, server->name_space[volnum]);
795 ncp_add_handle_path(server, volnum, dirent, 1, name);
823 __u8 volnum = NCP_FINFO(dir)->volNumber;
829 ncp_add_byte(server, server->name_space[volnum]);
831 ncp_add_handle_path(server, volnum, dirent, 1, NULL);