taglinefilesource code
sem524drivers/block/ide-cd.cstruct semaphore *sem,
sem561drivers/block/ide-cd.crq->sem = sem;
sem643drivers/block/ide-cd.cstruct semaphore *sem = NULL;
sem682drivers/block/ide-cd.csem = rq->sem;
sem683drivers/block/ide-cd.crq->sem = NULL;
sem690drivers/block/ide-cd.ccdrom_queue_request_sense (drive, sem, pc->sense_data, pc);
sem3063drivers/block/ide-tape.cstruct semaphore sem = MUTEX_LOCKED;
sem3072drivers/block/ide-tape.crq->sem=&sem;
sem3073drivers/block/ide-tape.cdown (&sem);
sem781drivers/block/ide.cif (rq->sem != NULL)
sem782drivers/block/ide.cup(rq->sem);
sem1632drivers/block/ide.crq->sem = NULL;
sem1676drivers/block/ide.cstruct semaphore sem = MUTEX_LOCKED;
sem1682drivers/block/ide.crq->sem = &sem;
sem1703drivers/block/ide.cdown(&sem);  /* wait for it to be serviced */
sem378drivers/block/ll_rw_blk.c!req->sem &&
sem392drivers/block/ll_rw_blk.c!req->sem &&
sem432drivers/block/ll_rw_blk.creq->sem = NULL;
sem444drivers/block/ll_rw_blk.cstruct semaphore sem = MUTEX_LOCKED;
sem472drivers/block/ll_rw_blk.creq->sem = &sem;
sem476drivers/block/ll_rw_blk.cdown(&sem);
sem564drivers/block/ll_rw_blk.cstruct semaphore sem = MUTEX_LOCKED;
sem604drivers/block/ll_rw_blk.creq[j]->sem = &sem;
sem611drivers/block/ll_rw_blk.cdown(&sem);
sem111drivers/scsi/eata_dma.cif (scmd->request.sem != NULL)
sem112drivers/scsi/eata_dma.cup(scmd->request.sem);
sem188drivers/scsi/eata_dma_proc.cstruct semaphore sem = MUTEX_LOCKED;
sem190drivers/scsi/eata_dma_proc.cscmd.request.sem = &sem;
sem193drivers/scsi/eata_dma_proc.cdown(&sem);
sem316drivers/scsi/eata_dma_proc.cstruct semaphore sem = MUTEX_LOCKED;
sem318drivers/scsi/eata_dma_proc.cscmd.request.sem = &sem;
sem321drivers/scsi/eata_dma_proc.cdown(&sem);
sem358drivers/scsi/scsi.cif (SCpnt->request.sem != NULL)
sem359drivers/scsi/scsi.cup(SCpnt->request.sem);
sem542drivers/scsi/scsi.cstruct semaphore sem = MUTEX_LOCKED;
sem543drivers/scsi/scsi.cSCpnt->request.sem = &sem;
sem548drivers/scsi/scsi.cdown (&sem);
sem584drivers/scsi/scsi.cstruct semaphore sem = MUTEX_LOCKED;
sem585drivers/scsi/scsi.cSCpnt->request.sem = &sem;
sem590drivers/scsi/scsi.cdown (&sem);
sem723drivers/scsi/scsi.cstruct semaphore sem = MUTEX_LOCKED;
sem725drivers/scsi/scsi.cSCpnt->request.sem = &sem;
sem729drivers/scsi/scsi.cdown (&sem);
sem920drivers/scsi/scsi.cSCpnt->request.sem = NULL; /* Wait until whole thing done */
sem927drivers/scsi/scsi.cSCpnt->request.sem = NULL;   /* And no one is waiting for the device 
sem1069drivers/scsi/scsi.cSCpnt->request.sem = NULL; /* Wait until whole thing done*/
sem1079drivers/scsi/scsi.cSCpnt->request.sem = NULL;   /* And no one is waiting for this 
sem493drivers/scsi/scsi.hif (req->sem != NULL) {
sem494drivers/scsi/scsi.hup(req->sem);
sem99drivers/scsi/scsi_ioctl.cif (req->sem != NULL) {
sem100drivers/scsi/scsi_ioctl.cup(req->sem);
sem111drivers/scsi/scsi_ioctl.cstruct semaphore sem = MUTEX_LOCKED;
sem112drivers/scsi/scsi_ioctl.cSCpnt->request.sem = &sem;
sem116drivers/scsi/scsi_ioctl.cdown(&sem);
sem243drivers/scsi/scsi_ioctl.cstruct semaphore sem = MUTEX_LOCKED;
sem244drivers/scsi/scsi_ioctl.cSCpnt->request.sem = &sem;
sem247drivers/scsi/scsi_ioctl.cdown(&sem);
sem947drivers/scsi/sd.cif (req->sem != NULL) {
sem948drivers/scsi/sd.cup(req->sem);
sem984drivers/scsi/sd.cstruct semaphore sem = MUTEX_LOCKED;
sem987drivers/scsi/sd.cSCpnt->request.sem = &sem;
sem992drivers/scsi/sd.cdown(&sem);
sem1019drivers/scsi/sd.cstruct semaphore sem = MUTEX_LOCKED;
sem1022drivers/scsi/sd.cSCpnt->request.sem = &sem;
sem1027drivers/scsi/sd.cdown(&sem);
sem1058drivers/scsi/sd.cstruct semaphore sem = MUTEX_LOCKED;
sem1061drivers/scsi/sd.cSCpnt->request.sem = &sem;
sem1066drivers/scsi/sd.cdown(&sem);  /* sleep until it is ready */
sem1205drivers/scsi/sd.cstruct semaphore sem = MUTEX_LOCKED;
sem1207drivers/scsi/sd.cSCpnt->request.sem = &sem;
sem1212drivers/scsi/sd.cdown(&sem);
sem970drivers/scsi/sr.cif (req->sem != NULL) {
sem971drivers/scsi/sr.cup(req->sem);
sem996drivers/scsi/sr.cstruct semaphore sem = MUTEX_LOCKED;
sem997drivers/scsi/sr.cSCpnt->request.sem = &sem;
sem1002drivers/scsi/sr.cdown(&sem);
sem28drivers/scsi/sr_ioctl.cif (req->sem != NULL) {
sem29drivers/scsi/sr_ioctl.cup(req->sem);
sem44drivers/scsi/sr_ioctl.cstruct semaphore sem = MUTEX_LOCKED;
sem45drivers/scsi/sr_ioctl.cSCpnt->request.sem = &sem;
sem49drivers/scsi/sr_ioctl.cdown(&sem);
sem219drivers/scsi/st.cup(SCpnt->request.sem);
sem240drivers/scsi/st.cSTp->sem = MUTEX_LOCKED;
sem241drivers/scsi/st.cSCpnt->request.sem = &(STp->sem);
sem248drivers/scsi/st.cdown(SCpnt->request.sem);
sem271drivers/scsi/st.cdown(&(STp->sem));
sem970drivers/scsi/st.cSTp->sem = MUTEX_LOCKED;
sem971drivers/scsi/st.cSCpnt->request.sem = &(STp->sem);
sem50drivers/scsi/st.hstruct semaphore sem;
sem391include/linux/blk.hif (req->sem != NULL)
sem392include/linux/blk.hup(req->sem);
sem29include/linux/blkdev.hstruct semaphore * sem;
sem430include/linux/sched.hextern void __down(struct semaphore * sem);
sem435include/linux/sched.hextern inline void down(struct semaphore * sem)
sem437include/linux/sched.hif (sem->count <= 0)
sem438include/linux/sched.h__down(sem);
sem439include/linux/sched.hsem->count--;
sem442include/linux/sched.hextern inline void up(struct semaphore * sem)
sem444include/linux/sched.hsem->count++;
sem445include/linux/sched.hwake_up(&sem->wait);
sem22include/linux/sem.hstruct sem      *sem_base;           /* ptr to first semaphore in array */
sem100ipc/sem.csize = sizeof (*sma) + nsems * sizeof (struct sem);
sem111ipc/sem.csma->sem_base = (struct sem *) &sma[1];
sem184ipc/sem.cstruct sem * curr = &sma->sem_base[sop->sem_num];
sem208ipc/sem.cstruct sem * curr = &sma->sem_base[sop->sem_num];
sem223ipc/sem.cstruct sem * curr = &sma->sem_base[sop->sem_num];
sem367ipc/sem.cstruct sem *curr = NULL;
sem699ipc/sem.cstruct sem * sem = &sma->sem_base[i];
sem700ipc/sem.csem->semval += u->semadj[i];
sem701ipc/sem.cif (sem->semval < 0)
sem702ipc/sem.csem->semval = 0; /* shouldn't happen */
sem703ipc/sem.csem->sempid = current->pid;
sem411kernel/sched.cvoid __down(struct semaphore * sem)
sem414kernel/sched.cadd_wait_queue(&sem->wait, &wait);
sem416kernel/sched.cwhile (sem->count <= 0) {
sem421kernel/sched.cremove_wait_queue(&sem->wait, &wait);