Lines Matching refs:sh
46 _sharefs(enum sharefs_sys_op opcode, struct share *sh)
56 i = (sh->sh_path ? strlen(sh->sh_path) : 0);
57 sh->sh_size = i;
59 j = (sh->sh_res ? strlen(sh->sh_res) : 0);
60 sh->sh_size += j;
63 j = (sh->sh_fstype ? strlen(sh->sh_fstype) : 0);
64 sh->sh_size += j;
67 j = (sh->sh_opts ? strlen(sh->sh_opts) : 0);
68 sh->sh_size += j;
71 j = (sh->sh_descr ? strlen(sh->sh_descr) : 0);
72 sh->sh_size += j;
75 return (syscall(SYS_sharefs, opcode, sh, i));