Lines Matching defs:lockp
1281 volatile uint8_t *lockp = (volatile uint8_t *)&mp->mutex_lockw;
1306 if (set_lock_byte(lockp) == 0) {
1334 if (*lockp == 0 && set_lock_byte(lockp) == 0) {
1382 if (set_lock_byte(lockp) == 0) {
1433 volatile uint8_t *lockp;
1442 lockp = (volatile uint8_t *)&mp->mutex_lockw;
1445 if (*lockp == 0 && set_lock_byte(lockp) == 0)
1470 volatile uint64_t *lockp = (volatile uint64_t *)&mp->mutex_lockword64;
1512 if (set_lock_byte64(lockp, udp->pid) == 0) {
1540 if ((*lockp & LOCKMASK64) == 0 &&
1549 if ((*lockp & LOCKMASK64) == 0 &&
1550 set_lock_byte64(lockp, udp->pid) == 0) {
1587 if (set_lock_byte64(lockp, udp->pid) == 0) {
2938 volatile uint8_t *lockp = (volatile uint8_t *)&mp->mutex_lockw;
2950 if (*lockp == 0) { /* lock byte appears to be clear */
2952 if (set_lock_byte(lockp) == 0)