Lines Matching defs:shr
1210 nlm_shrlock(struct vnode *vp, int cmd, struct shrlock *shr,
1239 shlk = *shr;
1255 shr->s_owner, shr->s_own_len);
1266 error = nlm_local_shrlock(vp, shr, cmd, flags);
1286 struct shrlock *shr, uint32_t orig_state)
1305 return (nlm_call_share(shr, hostp, &lm_fh, vers, 1));
1321 nlm_local_shrlock(vnode_t *vp, struct shrlock *shr, int cmd, int flags)
1323 return (fs_shrlock(vp, cmd, shr, flags, CRED(), NULL));
1327 nlm_local_shrcancel(vnode_t *vp, struct shrlock *shr)
1329 (void) nlm_local_shrlock(vp, shr, F_UNSHARE, FREAD | FWRITE);
1330 nlm_send_siglost(shr->s_pid);
1338 nlm_call_share(struct shrlock *shr, struct nlm_host *host,
1347 nlm_init_share(&args.share, shr, fh);
1417 nlm_call_unshare(struct shrlock *shr, struct nlm_host *host,
1426 nlm_init_share(&args.share, shr, fh);
1487 const struct shrlock *shr, struct netobj *fh)
1495 args->oh.n_len = shr->s_own_len;
1496 args->oh.n_bytes = (void *)shr->s_owner;
1498 switch (shr->s_deny) {
1514 switch (shr->s_access) {