Lines Matching refs:readSem
1202 struct semaphore readSem; member
1216 up( &(pSem->readSem) );
1250 struct QuecSem readSem; local
1285 sema_init( &readSem.readSem, 0 );
1286 readSem.magic = QUEC_SEM_MAGIC;
1293 &readSem ) == false)
1304 result = down_interruptible( &readSem.readSem );
1307 result = down_timeout(&readSem.readSem, msecs_to_jiffies(200));
1323 if ((*ppNotifyList)->mpData == &readSem)
3688 struct QuecSem *readSem = kmalloc(sizeof(struct QuecSem ), GFP_KERNEL); local
3689 readSem->magic = QUEC_SEM_MAGIC;
3690 sema_init( &readSem->readSem, 0 );
3694 result = ReadAsync( pDev, QMICTL, transactionID, UpSem, readSem );
3724 if (down_timeout( &readSem->readSem, msecs_to_jiffies(interval) ) == 0)
3727 if (down_trylock( &readSem->readSem ) == 0)
3730 kfree(readSem);
3759 readSem->magic = 0;