Searched refs:getlock (Results 1 - 11 of 11) sorted by relevance

/freebsd-current/contrib/lua/src/
H A Dltests.h85 #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 Dlockd_lock.h7 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 Dlock_proc.c530 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 Dlockd_lock.c1896 * 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 Dbackend.h62 int (*getlock)(void *, struct l9p_request *); member in struct:l9p_backend
H A Dfs.c2743 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 Dpack.c785 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 Dutils.c125 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 Dfcall.h615 struct l9p_f_getlock getlock; member in union:l9p_fcall
H A Drequest.c1346 error = be->getlock != NULL ? be->getlock(be->softc, req) : ENOSYS;
/freebsd-current/sys/netpfil/ipfilter/netinet/
H A Dip_nat.c977 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...]

Completed in 2419 milliseconds