taglinefilesource code
lock147drivers/block/mcdx.cvolatile int lock;    /* exclusive usage */
lock866drivers/block/mcdx.cwhile (stuffp->lock)
lock874drivers/block/mcdx.cstuffp->lock = 1;
lock941drivers/block/mcdx.cstuffp->lock = 0;
lock1210drivers/block/mcdx.cwhile (stuffp->lock)
lock1224drivers/block/mcdx.cstuffp->lock = current->pid;
lock1253drivers/block/mcdx.cstuffp->lock = 0;
lock1294drivers/block/mcdx.cstuffp->lock = 0;
lock1707drivers/block/mcdx.cmcdx_lockdoor(struct s_drive_stuff *stuffp, int lock, int tries)
lock1711drivers/block/mcdx.ccmd[1] = lock ? 0x01 : 0x00;
lock2046drivers/block/sbpcd.cstatic int cc_LockDoor(char lock)
lock2051drivers/block/sbpcd.cmsg(DBG_LCK,"cc_LockDoor: %d (drive %d)\n", lock, d);
lock2058drivers/block/sbpcd.cif (lock==1) drvcmd[1]=0x01;
lock2064drivers/block/sbpcd.cif (lock==1) drvcmd[4]=0x01;
lock2070drivers/block/sbpcd.cif (lock==1) drvcmd[1]=0x01;
lock2076drivers/block/sbpcd.cif (lock==1) drvcmd[4]=0x01;
lock2317drivers/char/console.cstatic int lock = 0;
lock2319drivers/char/console.cif (new_console == fg_console || lock)
lock2326drivers/char/console.clock = 1;
lock2341drivers/char/console.clock = 0;
lock849drivers/char/scc.cif (!rx_timer_cb.lock)
lock855drivers/char/scc.crx_timer_cb.lock = 1;
lock1345drivers/char/scc.crx_timer_cb.lock = 0;
lock2390drivers/char/scc.crx_timer_cb.lock = 0;
lock2392drivers/char/scc.crx_timer_cb.lock = 1;
lock290drivers/net/eql.ceql->queue->lock = 0;
lock1109drivers/net/eql.cprintk ("eql: lock == %d\n", queue->lock);
lock1110drivers/net/eql.cif (queue->lock)
lock1115drivers/net/eql.cqueue->lock = 1;
lock1117drivers/net/eql.cqueue->lock = 1;
lock1127drivers/net/eql.cif (queue->lock != 0)
lock1129drivers/net/eql.cqueue->lock = 0;
lock1141drivers/net/eql.creturn test_bit(1, (void *) &queue->lock);
lock277drivers/net/ewrk3.cunsigned char lock;                 /* Lock the page register */
lock753drivers/net/ewrk3.clp->lock = 0;                             /* Ensure there are no locks */
lock770drivers/net/ewrk3.cif (dev->tbusy || lp->lock) {
lock824drivers/net/ewrk3.cwhile (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */
lock886drivers/net/ewrk3.clp->lock = 0;         /* unlock the page register */
lock991drivers/net/ewrk3.cif ((tmpLock = set_bit(0, (void *)&lp->lock)) == 1) {   /* Assert lock */
lock1108drivers/net/ewrk3.clp->lock = 0;                           /* Unlock the page register */
lock1262drivers/net/ewrk3.cwhile (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */
lock1327drivers/net/ewrk3.clp->lock = 0;                              /* Unlock the page register */
lock1687drivers/net/ewrk3.cwhile (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */
lock1700drivers/net/ewrk3.clp->lock = 0;                               /* Unlock the page register */
lock207drivers/net/lance.cchar lock;
lock675drivers/net/lance.clp->lock = 0, lp->tx_full = 0;
lock777drivers/net/lance.cif (set_bit(0, (void*)&lp->lock) != 0) {
lock825drivers/net/lance.clp->lock = 0;
lock136drivers/net/ni65.cint lock,xmit_queued;
lock314drivers/net/ni65.cp->lock = 0;
lock595drivers/net/ni65.cif(set_bit(0,(void*) &p->lock) != 0)
lock623drivers/net/ni65.cp->lock = 0;
lock882fs/ext/namei.cstatic int lock = 0;
lock885fs/ext/namei.cwhile (lock)
lock887fs/ext/namei.clock = 1;
lock890fs/ext/namei.clock = 0;
lock824fs/minix/namei.cstatic int lock = 0;
lock827fs/minix/namei.cwhile (lock)
lock829fs/minix/namei.clock = 1;
lock832fs/minix/namei.clock = 0;
lock120fs/nfs/inode.cserver->lock = 0;
lock237fs/nfs/sock.cwhile (server->lock)
lock239fs/nfs/sock.cserver->lock = 1;
lock241fs/nfs/sock.cserver->lock = 0;
lock235fs/smbfs/inode.cserver->lock = 0;
lock392fs/smbfs/proc.cwhile (server->lock)
lock394fs/smbfs/proc.cserver->lock = 1;
lock400fs/smbfs/proc.cif (server->lock != 1) {
lock404fs/smbfs/proc.cserver->lock = 0;
lock816fs/sysv/namei.cstatic int lock = 0;
lock819fs/sysv/namei.cwhile (lock)
lock821fs/sysv/namei.clock = 1;
lock824fs/sysv/namei.clock = 0;
lock841fs/xiafs/namei.cstatic int lock = 0;
lock844fs/xiafs/namei.cwhile (lock)
lock846fs/xiafs/namei.clock = 1;
lock849fs/xiafs/namei.clock = 0;
lock50include/linux/if_eql.hchar lock;
lock9include/linux/nfs_fs_sb.hint lock;
lock9include/linux/pipe_fs_i.hunsigned int lock;
lock24include/linux/pipe_fs_i.h#define PIPE_LOCK(inode)  ((inode).u.pipe_i.lock)
lock269include/linux/scc.hchar       lock;
lock76include/linux/skbuff.hlock,      /* Are we locked ?        */
lock24include/linux/smb_fs_sb.hint                lock;            /* To prevent mismatch in
lock42kernel/dma.cint  lock;
lock62kernel/dma.cif (dma_chan_busy[i].lock) {
lock77kernel/dma.cif (xchg(&dma_chan_busy[dmanr].lock, 1) != 0)
lock94kernel/dma.cif (xchg(&dma_chan_busy[dmanr].lock, 0) == 0) {
lock446net/core/skbuff.cif (skb->lock)
lock538net/core/skbuff.cskb->lock = 0;
lock626net/core/skbuff.cn->lock=0;
lock642net/core/skbuff.cif(skb->lock)
lock646net/core/skbuff.cskb->lock++;
lock651net/core/skbuff.cif(skb->lock==0)
lock653net/core/skbuff.cskb->lock--;
lock654net/core/skbuff.cif(skb->lock==0)
lock664net/core/skbuff.cif(skb->lock==1)
lock667net/core/skbuff.cif (!--skb->lock && (skb->free == 1 || skb->free == 3))
lock688net/core/skbuff.creturn skb->lock? 1 : 0;
lock1765net/ipv4/ip.cnewskb->lock=0;