Lines Matching defs:pcb
344 pcb_t pcb;
346 pcb = THREAD_TO_PCB(thread);
347 ids = pcb->ids;
357 simple_lock(&pcb->lock);
359 if (pcb->ids == NULL) {
360 pcb->ids = ids;
361 simple_unlock(&pcb->lock);
363 simple_unlock(&pcb->lock);
378 pcb_t pcb;
380 pcb = THREAD_TO_PCB(thread);
381 ids = pcb->ids;
391 simple_lock(&pcb->lock);
393 if (pcb->ids == NULL) {
394 pcb->ids = ids;
395 simple_unlock(&pcb->lock);
397 simple_unlock(&pcb->lock);
1707 /* If we're switching ourselves, reset the pcb addresses etc. */