Searched refs:LOCK (Results 1 - 18 of 18) sorted by relevance

/haiku/headers/private/userlandfs/legacy/
H A Dlock.h37 #ifdef LOCK
38 #undef LOCK macro
41 #define LOCK(l) if (atomic_add(&l.c, -1) <= 0) acquire_sem(l.s); macro
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/
H A Dlock.h37 #ifdef LOCK
38 #undef LOCK macro
41 #define LOCK(l) if (atomic_add(&l.c, -1) <= 0) acquire_sem(l.s); macro
H A Dfs_cache.c466 LOCK(iovec_lock);
497 LOCK(iovec_lock);
551 LOCK(bc.lock);
820 LOCK(bc.lock);
1098 LOCK(bc.lock);
1130 LOCK(bc.lock);
1172 LOCK(bc.lock);
1191 LOCK(bc.lock);
1236 LOCK(bc.lock);
1252 LOCK(b
[all...]
/haiku/src/add-ons/kernel/file_systems/websearchfs/
H A Dvnidpool.c48 if (LOCK(&pool->lock) < B_OK)
67 if (LOCK(&pool->lock) < B_OK)
90 if (LOCK(&pool->lock) < B_OK)
H A Dlock.h28 static inline status_t LOCK(lock *l) function
43 //#define LOCK(l) if (atomic_add(&l.c, -1) <= 0) acquire_sem(l.s);
H A Dwebsearchfs.c193 err = LOCK(&ns->l);
240 err = LOCK(&ns->l);
247 //LOCK(&node->l);
253 LOCK(&node->parent->l);
271 err = LOCK(&ns->l);
320 err = LOCK(&base->l);
327 *vnid = base->parent->vnid; // XXX: LOCK(&base->l) ?
332 if (base) { // XXX: LOCK(&base->l) ?
367 err = LOCK(&node->l);
395 err = LOCK(
[all...]
H A Dwebsearchfs.h18 #define LOCK mutex_lock macro
/haiku/src/tests/kits/storage/virtualdrive/
H A Dlock.h33 #define LOCK(l) if (atomic_add(&l.c, -1) <= 0) acquire_sem(l.s); macro
H A Dvirtualdrive.cpp100 LOCK(driverlock);
/haiku/src/add-ons/accelerants/skeleton/engine/
H A Dinfo.c249 CRTCW(LOCK, 0x57);
261 CRTC2W(LOCK, 0x57);
327 CRTCW(LOCK, 0x57);
339 CRTC2W(LOCK, 0x57);
2100 CRTCW(LOCK, 0x57);
2136 CRTC2W(LOCK, 0x57);
H A Dgeneral.c440 // CRTCW(LOCK, 0x57);
448 CRTC2W(LOCK, 0x57);
/haiku/src/add-ons/accelerants/via/engine/
H A Dinfo.c162 CRTCW(LOCK, 0x57);
198 CRTC2W(LOCK, 0x57);
H A Dgeneral.c455 SEQW(LOCK, 0x01);
/haiku/src/add-ons/accelerants/nvidia/engine/
H A Dnv_info.c261 CRTCW(LOCK, 0x57);
273 CRTC2W(LOCK, 0x57);
339 CRTCW(LOCK, 0x57);
351 CRTC2W(LOCK, 0x57);
2238 CRTCW(LOCK, 0x57);
2274 CRTC2W(LOCK, 0x57);
H A Dnv_general.c1730 CRTCW(LOCK, 0x57);
1737 CRTC2W(LOCK, 0x57);
/haiku/src/add-ons/accelerants/matrox/engine/
H A Dmga_general.c597 MAVW(LOCK,0x01);
754 //MAVW(LOCK,0x01);
H A Dmga_maventv.c695 MAVW(LOCK, 0x01);
/haiku/src/add-ons/kernel/drivers/disk/virtual/nbd/
H A Dnbd.c52 #define mutex_lock LOCK
183 //LOCK
302 //LOCK
335 //LOCK
640 //LOCK
656 //LOCK
713 //LOCK
730 //LOCK

Completed in 208 milliseconds