Searched refs:getlock (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/cmd/consadm/ |
H A D | consadm.c | 110 static int getlock(void); 342 getlock(void) in getlock() function 373 lckfd = getlock(); in addtolist() 428 lckfd = getlock(); in removefromlist() 573 lckfd = getlock(); in setfallback() 845 lckfd = getlock(); in persistlist()
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_nat.c | 608 int error = 0, ret, arg, getlock; local 617 getlock = 0; 619 getlock = (mode & NAT_LOCKHELD) ? 0 : 1; 740 error = nat_siocaddnat(nt, np, getlock, ifs); 757 nat_siocdelnat(n, np, getlock, ifs); 781 if (getlock) { 811 if (getlock) { 821 if (getlock) { 835 if (getlock) { 856 error = fr_natputent(data, getlock, ifs); [all …]
|
/illumos-gate/usr/src/lib/lib9p/common/ |
H A D | pack.c | 788 l9p_pu8(msg, &fcall->getlock.type); in l9p_pufcall() 789 l9p_pu64(msg, &fcall->getlock.start); in l9p_pufcall() 790 l9p_pu64(msg, &fcall->getlock.length); in l9p_pufcall() 791 l9p_pu32(msg, &fcall->getlock.proc_id); in l9p_pufcall() 792 r = l9p_pustring(msg, &fcall->getlock.client_id); in l9p_pufcall() 948 free(fcall->getlock.client_id); in l9p_freefcall()
|
H A D | utils.c | 1312 fcall->getlock.type, in l9p_describe_fcall() 1313 fcall->getlock.start, fcall->getlock.length, in l9p_describe_fcall() 1314 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 | 1352 error = be->getlock != NULL ? be->getlock(be->softc, req) : ENOSYS; in l9p_dispatch_tgetlock()
|
/illumos-gate/usr/src/lib/lib9p/common/backend/ |
H A D | backend.h | 62 int (*getlock)(void *, struct l9p_request *); member
|
H A D | fs.c | 2853 switch (req->lr_req.getlock.type) { in fs_getlock() 2862 req->lr_resp.getlock = req->lr_req.getlock; in fs_getlock() 2863 req->lr_resp.getlock.type = L9PL_LOCK_TYPE_UNLOCK; in fs_getlock() 2864 req->lr_resp.getlock.client_id = strdup(""); /* XXX what should go here? */ in fs_getlock() 3153 backend->getlock = fs_getlock; in l9p_backend_fs_init()
|