Searched refs:getlock (Results 1 – 11 of 11) sorted by relevance
/freebsd/contrib/lua/src/ |
H A D | ltests.h | 85 #define getlock(l) cast(struct L_EXTRA*, lua_getextraspace(l)) macro 87 (getlock(l)->lock = 0, getlock(l)->plock = &(getlock(l)->lock)) 89 lua_assert(getlock(l)->lock == 1 && getlock(l)->plock == &(getlock(l)->lock)) 91 lua_assert(getlock(l1)->plock == getlock(l)->plock) 93 lua_assert(getlock(l)->plock == getlock(l1)->plock) 94 #define lua_lock(l) lua_assert((*getlock(l)->plock)++ == 0) 95 #define lua_unlock(l) lua_assert(--(*getlock(l)->plock) == 0)
|
/freebsd/usr.sbin/rpc.lockd/ |
H A D | lockd_lock.h | 7 enum nlm_stats getlock(nlm4_lockargs *lckarg, struct svc_req *rqstp,
|
H A D | lock_proc.c | 530 res.stat.stat = getlock(&arg4, rqstp, LOCK_MON); in nlm_lock_1_svc() 551 res.stat.stat = getlock(&arg4, rqstp, LOCK_ASYNC | LOCK_MON); in nlm_lock_msg_1_svc() 1001 res.stat.stat = (enum nlm4_stats)getlock(arg, rqstp, LOCK_MON | LOCK_V4); in nlm4_lock_4_svc() 1014 res.stat.stat = (enum nlm4_stats)getlock(arg, rqstp, LOCK_MON | LOCK_ASYNC | LOCK_V4); in nlm4_lock_msg_4_svc()
|
H A D | lockd_lock.c | 1904 getlock(nlm4_lockargs *lckarg, struct svc_req *rqstp, const int flags) in getlock() function
|
/freebsd/contrib/lib9p/ |
H A D | pack.c | 785 l9p_pu8(msg, &fcall->getlock.type); in l9p_pufcall() 786 l9p_pu64(msg, &fcall->getlock.start); in l9p_pufcall() 787 l9p_pu64(msg, &fcall->getlock.length); in l9p_pufcall() 788 l9p_pu32(msg, &fcall->getlock.proc_id); in l9p_pufcall() 789 r = l9p_pustring(msg, &fcall->getlock.client_id); in l9p_pufcall() 945 free(fcall->getlock.client_id); in l9p_freefcall()
|
H A D | utils.c | 1217 fcall->getlock.type, in l9p_describe_fcall() 1218 fcall->getlock.start, fcall->getlock.length, in l9p_describe_fcall() 1219 fcall->getlock.proc_id, fcall->getlock.client_id); in l9p_describe_fcall()
|
H A D | fcall.h | 615 struct l9p_f_getlock getlock; member
|
H A D | request.c | 1346 error = be->getlock != NULL ? be->getlock(be->softc, req) : ENOSYS; in l9p_dispatch_tgetlock()
|
/freebsd/contrib/lib9p/backend/ |
H A D | backend.h | 62 int (*getlock)(void *, struct l9p_request *); member
|
H A D | fs.c | 2743 switch (req->lr_req.getlock.type) { in fs_getlock() 2752 req->lr_resp.getlock = req->lr_req.getlock; in fs_getlock() 2753 req->lr_resp.getlock.type = L9PL_LOCK_TYPE_UNLOCK; in fs_getlock() 2754 req->lr_resp.getlock.client_id = strdup(""); /* XXX what should go here? */ in fs_getlock() 3027 backend->getlock = fs_getlock; in l9p_backend_fs_init()
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ip_nat.c | 977 int error = 0, ret, arg, getlock; in ipf_nat_ioctl() local 1007 getlock = (mode & NAT_LOCKHELD) ? 0 : 1; in ipf_nat_ioctl() 1144 error = ipf_nat_siocaddnat(softc, softn, nt, getlock); in ipf_nat_ioctl() 1176 ipf_nat_siocdelnat(softc, softn, n, getlock); in ipf_nat_ioctl() 1217 if (getlock) { in ipf_nat_ioctl() 1236 if (getlock) { in ipf_nat_ioctl() 1256 if (getlock) { in ipf_nat_ioctl() 1274 if (getlock) { in ipf_nat_ioctl() 1288 if (getlock) { in ipf_nat_ioctl() 1294 if (getlock) { in ipf_nat_ioctl() [all …]
|