Home
last modified time | relevance | path

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

12

/titanic_44/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, \
397 extern int vnext_shrlock(femarg_t *vf, int cmd, struct shrlock *shr,
H A Dvnode.h807 struct shrlock;
921 int (*vop_shrlock)(vnode_t *, int, struct shrlock *, \
1021 extern int fop_shrlock(vnode_t *, int, struct shrlock *, int, cred_t *,
/titanic_44/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()
207 shrl->shr = kmem_alloc(sizeof (struct shrlock), KM_SLEEP); in add_share()
246 is_match_for_del(struct shrlock *shr, struct shrlock *element) in is_match_for_del()
292 del_share(struct vnode *vp, struct shrlock *shr) in del_share()
322 kmem_free(shrl->shr, sizeof (struct shrlock)); in del_share()
370 struct shrlock shr; in do_cleanshares()
468 print_share(struct shrlock *shr) in print_share()
/titanic_44/usr/src/uts/common/klm/
H A Dnlm_impl.h72 struct shrlock;
251 struct shrlock *ns_shr;
497 extern int nlm_shrlock(struct vnode *, int, struct shrlock *, int,
603 void nlm_shres_track(struct nlm_host *, vnode_t *, struct shrlock *);
604 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 *);
1210 nlm_shrlock(struct vnode *vp, int cmd, struct shrlock *shr, in nlm_shrlock()
1213 struct shrlock shlk; in nlm_shrlock()
1286 struct shrlock *shr, uint32_t orig_state) in nlm_reclaim_share()
1321 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.c265 static struct nlm_shres *nlm_shres_create_item(struct shrlock *, vnode_t *);
267 static bool_t nlm_shres_equal(struct shrlock *, struct shrlock *);
2119 nlm_shres_track(struct nlm_host *hostp, vnode_t *vp, struct shrlock *shrp) in nlm_shres_track()
2155 nlm_shres_untrack(struct nlm_host *hostp, vnode_t *vp, struct shrlock *shrp) in nlm_shres_untrack()
2225 nlm_shres_equal(struct shrlock *shrp1, struct shrlock *shrp2) in nlm_shres_equal()
2238 nlm_shres_create_item(struct shrlock *shrp, vnode_t *vp) in nlm_shres_create_item()
2257 kmem_free(nsp->ns_shr, sizeof (struct shrlock)); in nlm_shres_destroy_item()
H A Dnlm_service.c116 static void nlm_init_shrlock(struct shrlock *, nlm4_share *, struct nlm_host *);
1077 nlm_init_shrlock(struct shrlock *shr, in nlm_init_shrlock()
1134 struct shrlock shr; in nlm_do_share()
1201 struct shrlock shr; in nlm_do_unshare()
/titanic_44/usr/src/uts/common/nfs/
H A Dlm.h119 struct shrlock *shr, int flag, netobj *fh);
125 struct shrlock *shr, int flag, netobj *fh);
/titanic_44/usr/src/uts/common/fs/
H A Dfs_subr.h89 extern int fs_shrlock(struct vnode *, int, struct shrlock *, int,
H A Dfs_subr.c596 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),
1595 vhead_shrlock(vnode_t *vp, int cmd, struct shrlock *shr, int flag, in vhead_shrlock()
2675 vnext_shrlock(femarg_t *vf, int cmd, struct shrlock *shr, int flag, in vnext_shrlock()
H A Dvnode.c961 struct shrlock shr; in vn_openat()
4179 struct shrlock *shr, in fop_shrlock()
4189 VOPSTATS_UPDATE(vp, shrlock); in fop_shrlock()
/titanic_44/usr/src/lib/smbsrv/libfksmbsrv/common/sys/
H A Dvnode.h802 struct shrlock;
916 int (*vop_shrlock)(vnode_t *, int, struct shrlock *, \
1016 extern int fop_shrlock(vnode_t *, int, struct shrlock *, int, cred_t *,
/titanic_44/usr/src/uts/common/fs/smbsrv/
H A Dsmb_vops.c1346 struct shrlock shr; in smb_vop_shrlock()
1414 struct shrlock shr; in smb_vop_unshrlock()
/titanic_44/usr/src/uts/common/syscall/
H A Dfcntl.c82 struct shrlock shr; in fcntl()
/titanic_44/usr/src/cmd/stat/fsstat/
H A Dfsstat.c368 PRINT_VOPSTAT(niceflag, shrlock); in vop_display()
/titanic_44/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vop.c1112 struct shrlock *shr, in fop_shrlock()
/titanic_44/usr/src/uts/common/fs/lofs/
H A Dlofs_vnops.c1199 struct shrlock *shr, in lo_shrlock()
/titanic_44/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vnops.c175 static int smbfs_shrlock(vnode_t *, int, struct shrlock *, int, cred_t *,
3102 smbfs_shrlock(vnode_t *vp, int cmd, struct shrlock *shr, int flag, cred_t *cr, in smbfs_shrlock()
/titanic_44/usr/src/uts/common/fs/nfs/
H A Dnfs_vnops.c196 static int nfs_shrlock(vnode_t *, int, struct shrlock *, int, cred_t *,
5006 nfs_shrlock(vnode_t *vp, int cmd, struct shrlock *shr, int flag, cred_t *cr, in nfs_shrlock()
5010 struct shrlock nshr; in nfs_shrlock()
H A Dnfs3_vnops.c232 static int nfs3_shrlock(vnode_t *, int, struct shrlock *, int, cred_t *,
6660 nfs3_shrlock(vnode_t *vp, int cmd, struct shrlock *shr, int flag, cred_t *cr, in nfs3_shrlock()
6664 struct shrlock nshr; in nfs3_shrlock()
H A Dnfs_client.c2861 struct shrlock shr; in nfs_lockrelease()
/titanic_44/usr/src/uts/common/fs/cachefs/
H A Dcachefs_vnops.c223 static int cachefs_shrlock(vnode_t *, int, struct shrlock *, int,
9020 cachefs_shrlock(vnode_t *vp, int cmd, struct shrlock *shr, int flag, cred_t *cr, in cachefs_shrlock()

12