Lines Matching defs:shr
1077 nlm_init_shrlock(struct shrlock *shr,
1084 shr->s_access = 0;
1087 shr->s_access = F_RDACC;
1090 shr->s_access = F_WRACC;
1093 shr->s_access = F_RWACC;
1100 shr->s_deny = F_NODNY;
1103 shr->s_deny = F_RDDNY;
1106 shr->s_deny = F_WRDNY;
1109 shr->s_deny = F_RWDNY;
1113 shr->s_sysid = host->nh_sysid;
1114 shr->s_pid = 0;
1115 shr->s_own_len = nshare->oh.n_len;
1116 shr->s_owner = nshare->oh.n_bytes;
1134 struct shrlock shr;
1168 nlm_init_shrlock(&shr, &argp->share, host);
1169 error = VOP_SHRLOCK(nvp->nv_vp, F_SHARE, &shr,
1201 struct shrlock shr;
1230 nlm_init_shrlock(&shr, &argp->share, host);
1231 error = VOP_SHRLOCK(vp, F_UNSHARE, &shr,