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