/freebsd-current/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( [all...] |
/freebsd-current/usr.sbin/rpc.lockd/ |
H A D | lockd_lock.h | 7 enum nlm_stats getlock(nlm4_lockargs *lckarg, struct svc_req *rqstp, 15 /* flags for testlock, getlock & unlock */ 16 #define LOCK_ASYNC 0x01 /* async version (getlock only) */ 18 #define LOCK_MON 0x04 /* monitored lock (getlock only) */
|
H A D | lock_proc.c | 530 res.stat.stat = getlock(&arg4, rqstp, LOCK_MON); 551 res.stat.stat = getlock(&arg4, rqstp, LOCK_ASYNC | LOCK_MON); 1001 res.stat.stat = (enum nlm4_stats)getlock(arg, rqstp, LOCK_MON | LOCK_V4); 1014 res.stat.stat = (enum nlm4_stats)getlock(arg, rqstp, LOCK_MON | LOCK_ASYNC | LOCK_V4);
|
H A D | lockd_lock.c | 1896 * getlock: try to acquire the lock. 1904 getlock(nlm4_lockargs *lckarg, struct svc_req *rqstp, const int flags) function 1909 debuglog("Entering getlock...\n"); 1963 debuglog("Exiting getlock...\n");
|
/freebsd-current/contrib/lib9p/backend/ |
H A D | backend.h | 62 int (*getlock)(void *, struct l9p_request *); member in struct:l9p_backend
|
H A D | fs.c | 2743 switch (req->lr_req.getlock.type) { 2752 req->lr_resp.getlock = req->lr_req.getlock; 2753 req->lr_resp.getlock.type = L9PL_LOCK_TYPE_UNLOCK; 2754 req->lr_resp.getlock.client_id = strdup(""); /* XXX what should go here? */ 3027 backend->getlock = fs_getlock;
|
/freebsd-current/contrib/lib9p/ |
H A D | pack.c | 785 l9p_pu8(msg, &fcall->getlock.type); 786 l9p_pu64(msg, &fcall->getlock.start); 787 l9p_pu64(msg, &fcall->getlock.length); 788 l9p_pu32(msg, &fcall->getlock.proc_id); 789 r = l9p_pustring(msg, &fcall->getlock.client_id); 945 free(fcall->getlock.client_id);
|
H A D | utils.c | 125 X(GETLOCK, "getlock"), 1217 fcall->getlock.type, 1218 fcall->getlock.start, fcall->getlock.length, 1219 fcall->getlock.proc_id, fcall->getlock.client_id);
|
H A D | fcall.h | 615 struct l9p_f_getlock getlock; member in union:l9p_fcall
|
H A D | request.c | 1346 error = be->getlock != NULL ? be->getlock(be->softc, req) : ENOSYS;
|
/freebsd-current/sys/netpfil/ipfilter/netinet/ |
H A D | ip_nat.c | 977 int error = 0, ret, arg, getlock; local 1007 getlock = (mode & NAT_LOCKHELD) ? 0 : 1; 1144 error = ipf_nat_siocaddnat(softc, softn, nt, getlock); 1176 ipf_nat_siocdelnat(softc, softn, n, getlock); 1217 if (getlock) { 1236 if (getlock) { 1256 if (getlock) { 1274 if (getlock) { 1288 if (getlock) { 1294 if (getlock) { 1411 ipf_nat_siocaddnat(ipf_main_softc_t *softc, ipf_nat_softc_t *softn, ipnat_t *n, int getlock) argument 1631 ipf_nat_siocdelnat(ipf_main_softc_t *softc, ipf_nat_softc_t *softn, ipnat_t *n, int getlock) argument 1661 ipf_nat_getsz(ipf_main_softc_t *softc, caddr_t data, int getlock) argument 1752 ipf_nat_getent(ipf_main_softc_t *softc, caddr_t data, int getlock) argument 1884 ipf_nat_putent(ipf_main_softc_t *softc, caddr_t data, int getlock) argument [all...] |