Lines Matching refs:sh
44 _sharefs(enum sharefs_sys_op opcode, struct share *sh) in _sharefs() argument
54 i = (sh->sh_path ? strlen(sh->sh_path) : 0); in _sharefs()
55 sh->sh_size = i; in _sharefs()
57 j = (sh->sh_res ? strlen(sh->sh_res) : 0); in _sharefs()
58 sh->sh_size += j; in _sharefs()
61 j = (sh->sh_fstype ? strlen(sh->sh_fstype) : 0); in _sharefs()
62 sh->sh_size += j; in _sharefs()
65 j = (sh->sh_opts ? strlen(sh->sh_opts) : 0); in _sharefs()
66 sh->sh_size += j; in _sharefs()
69 j = (sh->sh_descr ? strlen(sh->sh_descr) : 0); in _sharefs()
70 sh->sh_size += j; in _sharefs()
73 return (syscall(SYS_sharefs, opcode, sh, i)); in _sharefs()