Searched refs:wsem (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/lib/
H A Dlocking-selftest.c262 #include "locking-selftest-wsem.h"
343 #include "locking-selftest-wsem.h"
371 #include "locking-selftest-wsem.h"
399 #include "locking-selftest-wsem.h"
428 #include "locking-selftest-wsem.h"
456 #include "locking-selftest-wsem.h"
484 #include "locking-selftest-wsem.h"
511 #include "locking-selftest-wsem.h"
539 #include "locking-selftest-wsem.h"
565 #include "locking-selftest-wsem.h"
1813 printk(" | spin |wlock |rlock |mutex | wsem | rsem |\n"); locking_selftest()
/linux-4.4.14/drivers/net/wan/
H A Dcosa.c128 struct semaphore wsem; member in struct:channel_data
577 sema_init(&chan->wsem, 1); cosa_probe()
851 up(&chan->wsem); chrdev_rx_done()
873 if (down_interruptible(&chan->wsem)) cosa_write()
882 up(&chan->wsem); cosa_write()
886 up(&chan->wsem); cosa_write()
906 up(&chan->wsem); cosa_write()
912 up(&chan->wsem); cosa_write()
922 up(&chan->wsem); chrdev_tx_done()

Completed in 68 milliseconds