Lines Matching defs:SegProc
311 } SegProc;
375 * All fields in list of SegProc (lp->clients)
380 * During devmap callbacks, the pointer to SegProc is stored as the private
382 * SegProc getting deleted) as the SegProc is not deleted until both the
402 /* Routines to find and allocate SegProc structures */
403 static SegProc *seglock_find_specific(SegLock *, void *);
404 static SegProc *seglock_alloc_specific(SegLock *, void *);
409 static void seglock_deleteclient(SegLock *, SegProc *);
410 static void garbage_collect_lock(SegLock *, SegProc *);
419 static int give_mapping(SegLock *, SegProc *, uint_t);
421 static int seglock_lockfault(devmap_cookie_t, SegProc *, SegLock *, uint_t);
661 SegProc *sdp;
706 SegProc *sdp = (SegProc *)oldpvt;
707 SegProc *ndp;
718 * Instead we allocate the child's SegProc by using the child as pointer
750 SegProc *sdp = (SegProc *)pvtp;
787 SegProc *sdp = (SegProc *)pvt;
798 /* should be using a SegProc that corresponds to current process */
995 /* Routine to find a SegProc corresponding to the tag */
997 static SegProc *
1000 SegProc *sdp;
1011 /* Routine to find (and if needed allocate) a SegProc corresponding to tag */
1013 static SegProc *
1016 SegProc *sdp;
1029 /* Allocate a new SegProc */
1030 sdp = kmem_zalloc(sizeof (SegProc), KM_SLEEP);
1043 seglock_deleteclient(SegLock *lp, SegProc *sdp)
1055 SegProc *tmp = lp->clients;
1062 kmem_free(sdp, sizeof (SegProc));
1066 * Routine to verify if a SegProc and SegLock
1074 garbage_collect_lock(SegLock *lp, SegProc *sdp)
1217 SegProc *sdp;
1257 SegProc *sdp;
1293 seglock_lockfault(devmap_cookie_t dhp, SegProc *sdp, SegLock *lp, uint_t rw)
1295 SegProc *owner = lp->owner;
1443 give_mapping(SegLock *lp, SegProc *sdp, uint_t rw)
1508 SegProc *owner = lp->owner;
1641 SegProc *sdp;