Home
last modified time | relevance | path

Searched refs:shrlock (Results 1 – 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/uts/common/os/
H A Dshare.c49 static void print_share(struct shrlock *);
60 add_share(struct vnode *vp, struct shrlock *shr) in add_share()
129 struct shrlock *, shrl->shr); in add_share()
141 struct shrlock *, shrl->shr); in add_share()
155 struct shrlock *, shrl->shr); in add_share()
181 struct shrlock *, shrl->shr); in add_share()
195 struct shrlock *, shrl->shr); in add_share()
213 struct shrlock *, shrl->shr); in add_share()
219 shrl->shr = kmem_alloc(sizeof (struct shrlock), KM_SLEEP); in add_share()
258 is_match_for_del(struct shrlock *shr, struct shrlock *element) in is_match_for_del()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dshare.h52 struct shrlock { struct
62 struct shrlock *shr; argument
69 extern int add_share(struct vnode *, struct shrlock *);
70 extern int del_share(struct vnode *, struct shrlock *);
H A Dfem.h260 struct shrlock *shr, int flag, cred_t *cr, \
398 extern int vnext_shrlock(femarg_t *vf, int cmd, struct shrlock *shr,
H A Dvnode.h889 struct shrlock;
1003 int (*vop_shrlock)(vnode_t *, int, struct shrlock *, \
1103 extern int fop_shrlock(vnode_t *, int, struct shrlock *, int, cred_t *,
/illumos-gate/usr/src/uts/common/klm/
H A Dnlm_impl.h72 struct shrlock;
251 struct shrlock *ns_shr;
500 extern int nlm_shrlock(struct vnode *, int, struct shrlock *, int,
606 void nlm_shres_track(struct nlm_host *, vnode_t *, struct shrlock *);
607 void nlm_shres_untrack(struct nlm_host *, vnode_t *, struct shrlock *);
H A Dnlm_client.c124 const struct shrlock *, struct netobj *);
126 static int nlm_call_share(struct shrlock *, struct nlm_host *,
128 static int nlm_call_unshare(struct shrlock *, struct nlm_host *,
131 struct shrlock *, uint32_t);
132 static int nlm_local_shrlock(vnode_t *, struct shrlock *, int, int);
133 static void nlm_local_shrcancel(vnode_t *, struct shrlock *);
1211 nlm_shrlock(struct vnode *vp, int cmd, struct shrlock *shr, in nlm_shrlock()
1214 struct shrlock shlk; in nlm_shrlock()
1288 struct shrlock *shr, uint32_t orig_state) in nlm_reclaim_share()
1323 nlm_local_shrlock(vnode_t *vp, struct shrlock *shr, int cmd, int flags) in nlm_local_shrlock()
[all …]
H A Dklmops.c109 struct shrlock *shr, int flags, struct netobj *fh) in lm_shrlock()
120 struct shrlock *shr, int flags, struct netobj *fh) in lm4_shrlock()
H A Dnlm_impl.c266 static struct nlm_shres *nlm_shres_create_item(struct shrlock *, vnode_t *);
268 static bool_t nlm_shres_equal(struct shrlock *, struct shrlock *);
2217 nlm_shres_track(struct nlm_host *hostp, vnode_t *vp, struct shrlock *shrp) in nlm_shres_track()
2253 nlm_shres_untrack(struct nlm_host *hostp, vnode_t *vp, struct shrlock *shrp) in nlm_shres_untrack()
2323 nlm_shres_equal(struct shrlock *shrp1, struct shrlock *shrp2) in nlm_shres_equal()
2336 nlm_shres_create_item(struct shrlock *shrp, vnode_t *vp) in nlm_shres_create_item()
2355 kmem_free(nsp->ns_shr, sizeof (struct shrlock)); in nlm_shres_destroy_item()
H A Dnlm_service.c117 static void nlm_init_shrlock(struct shrlock *, nlm4_share *, struct nlm_host *);
1155 nlm_init_shrlock(struct shrlock *shr, in nlm_init_shrlock()
1212 struct shrlock shr; in nlm_do_share()
1280 struct shrlock shr; in nlm_do_unshare()
/illumos-gate/usr/src/cmd/smbsrv/dtrace/
H A Dnbl-conflict.d42 this->shrl = (struct shrlock *)arg0;
54 this->shrl = (struct shrlock *)arg0;
/illumos-gate/usr/src/uts/common/nfs/
H A Dlm.h119 struct shrlock *shr, int flag, netobj *fh);
125 struct shrlock *shr, int flag, netobj *fh);
/illumos-gate/usr/src/uts/common/fs/
H A Dfs_subr.h90 extern int fs_shrlock(struct vnode *, int, struct shrlock *, int,
H A Dfs_subr.c669 fs_shrlock(struct vnode *vp, int cmd, struct shrlock *shr, int flag, cred_t *cr, in fs_shrlock()
H A Dfem.c124 _FEMOPDEF(SHRLOCK, shrlock),
178 _FEMGUARD(SHRLOCK, shrlock),
1600 vhead_shrlock(vnode_t *vp, int cmd, struct shrlock *shr, int flag, in vhead_shrlock()
2710 vnext_shrlock(femarg_t *vf, int cmd, struct shrlock *shr, int flag, in vnext_shrlock()
H A Dvnode.c970 struct shrlock shr; in vn_openat()
4409 struct shrlock *shr, in fop_shrlock()
4419 VOPSTATS_UPDATE(vp, shrlock); in fop_shrlock()
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_fssub.c328 fs_shrlock(struct vnode *vp, int cmd, struct shrlock *shr, int flag, cred_t *cr, in fs_shrlock()
H A Dfake_vnode.c1989 struct shrlock *shr, in fop_shrlock()
1999 VOPSTATS_UPDATE(vp, shrlock); in fop_shrlock()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_vops.c1544 struct shrlock shr; in smb_vop_shrlock()
1612 struct shrlock shr; in smb_vop_unshrlock()
/illumos-gate/usr/src/cmd/stat/fsstat/
H A Dfsstat.c369 PRINT_VOPSTAT(niceflag, shrlock); in vop_display()
/illumos-gate/usr/src/uts/common/syscall/
H A Dfcntl.c84 struct shrlock shr; in fcntl()
/illumos-gate/usr/src/uts/common/fs/lofs/
H A Dlofs_vnops.c1238 struct shrlock *shr, in lo_shrlock()
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vop.c1368 struct shrlock *shr, in fop_shrlock()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_vnops.c196 static int nfs_shrlock(vnode_t *, int, struct shrlock *, int, cred_t *,
5005 nfs_shrlock(vnode_t *vp, int cmd, struct shrlock *shr, int flag, cred_t *cr, in nfs_shrlock()
5009 struct shrlock nshr; in nfs_shrlock()
H A Dnfs3_vnops.c234 static int nfs3_shrlock(vnode_t *, int, struct shrlock *, int, cred_t *,
6674 nfs3_shrlock(vnode_t *vp, int cmd, struct shrlock *shr, int flag, cred_t *cr, in nfs3_shrlock()
6678 struct shrlock nshr; in nfs3_shrlock()
H A Dnfs_client.c2871 struct shrlock shr; in nfs_lockrelease()

12