taglinefilesource code
lock136drivers/cdrom/mcdx.cvolatile int lock;    /* exclusive usage */
lock851drivers/cdrom/mcdx.cwhile (stuffp->lock)
lock859drivers/cdrom/mcdx.cstuffp->lock = 1;
lock926drivers/cdrom/mcdx.cstuffp->lock = 0;
lock1189drivers/cdrom/mcdx.cwhile (stuffp->lock)
lock1203drivers/cdrom/mcdx.cstuffp->lock = current->pid;
lock1232drivers/cdrom/mcdx.cstuffp->lock = 0;
lock1273drivers/cdrom/mcdx.cstuffp->lock = 0;
lock1686drivers/cdrom/mcdx.cmcdx_lockdoor(struct s_drive_stuff *stuffp, int lock, int tries)
lock1690drivers/cdrom/mcdx.ccmd[1] = lock ? 0x01 : 0x00;
lock2035drivers/cdrom/sbpcd.cstatic int cc_LockDoor(char lock)
lock2040drivers/cdrom/sbpcd.cmsg(DBG_LCK,"cc_LockDoor: %d (drive %d)\n", lock, d);
lock2047drivers/cdrom/sbpcd.cif (lock==1) drvcmd[1]=0x01;
lock2053drivers/cdrom/sbpcd.cif (lock==1) drvcmd[4]=0x01;
lock2059drivers/cdrom/sbpcd.cif (lock==1) drvcmd[1]=0x01;
lock2065drivers/cdrom/sbpcd.cif (lock==1) drvcmd[4]=0x01;
lock2113drivers/char/console.cstatic int lock = 0;
lock2115drivers/char/console.cif (new_console == fg_console || lock)
lock2122drivers/char/console.clock = 1;
lock2137drivers/char/console.clock = 0;
lock845drivers/char/scc.cif (!rx_timer_cb.lock)
lock851drivers/char/scc.crx_timer_cb.lock = 1;
lock1341drivers/char/scc.crx_timer_cb.lock = 0;
lock2389drivers/char/scc.crx_timer_cb.lock = 0;
lock2391drivers/char/scc.crx_timer_cb.lock = 1;
lock286drivers/net/eql.ceql->queue->lock = 0;
lock1101drivers/net/eql.cprintk ("eql: lock == %d\n", queue->lock);
lock1102drivers/net/eql.cif (queue->lock)
lock1107drivers/net/eql.cqueue->lock = 1;
lock1109drivers/net/eql.cqueue->lock = 1;
lock1119drivers/net/eql.cif (queue->lock != 0)
lock1121drivers/net/eql.cqueue->lock = 0;
lock1133drivers/net/eql.creturn test_bit(1, (void *) &queue->lock);
lock274drivers/net/ewrk3.cunsigned char lock;                 /* Lock the page register */
lock747drivers/net/ewrk3.clp->lock = 0;                             /* Ensure there are no locks */
lock764drivers/net/ewrk3.cif (dev->tbusy || lp->lock) {
lock818drivers/net/ewrk3.cwhile (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */
lock880drivers/net/ewrk3.clp->lock = 0;         /* unlock the page register */
lock985drivers/net/ewrk3.cif ((tmpLock = set_bit(0, (void *)&lp->lock)) == 1) {   /* Assert lock */
lock1102drivers/net/ewrk3.clp->lock = 0;                           /* Unlock the page register */
lock1254drivers/net/ewrk3.cwhile (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */
lock1319drivers/net/ewrk3.clp->lock = 0;                              /* Unlock the page register */
lock1679drivers/net/ewrk3.cwhile (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */
lock1692drivers/net/ewrk3.clp->lock = 0;                               /* Unlock the page register */
lock206drivers/net/lance.cchar lock;
lock669drivers/net/lance.clp->lock = 0, lp->tx_full = 0;
lock771drivers/net/lance.cif (set_bit(0, (void*)&lp->lock) != 0) {
lock819drivers/net/lance.clp->lock = 0;
lock136drivers/net/ni65.cint lock,xmit_queued;
lock315drivers/net/ni65.cp->lock = 0;
lock596drivers/net/ni65.cif(set_bit(0,(void*) &p->lock) != 0)
lock624drivers/net/ni65.cp->lock = 0;
lock891fs/ext/namei.cstatic int lock = 0;
lock894fs/ext/namei.cwhile (lock)
lock896fs/ext/namei.clock = 1;
lock899fs/ext/namei.clock = 0;
lock822fs/minix/namei.cstatic int lock = 0;
lock825fs/minix/namei.cwhile (lock)
lock827fs/minix/namei.clock = 1;
lock830fs/minix/namei.clock = 0;
lock115fs/nfs/inode.cserver->lock = 0;
lock228fs/smbfs/inode.cserver->lock = 0;
lock385fs/smbfs/proc.cwhile (server->lock)
lock387fs/smbfs/proc.cserver->lock = 1;
lock393fs/smbfs/proc.cif (server->lock != 1) {
lock397fs/smbfs/proc.cserver->lock = 0;
lock814fs/sysv/namei.cstatic int lock = 0;
lock817fs/sysv/namei.cwhile (lock)
lock819fs/sysv/namei.clock = 1;
lock822fs/sysv/namei.clock = 0;
lock838fs/xiafs/namei.cstatic int lock = 0;
lock841fs/xiafs/namei.cwhile (lock)
lock843fs/xiafs/namei.clock = 1;
lock846fs/xiafs/namei.clock = 0;
lock21include/asm-i386/locks.hwhile(lock_set_bit(0,&sp->lock))
lock35include/asm-i386/locks.hwhile(sp->lock)
lock65include/asm-i386/locks.hlock_clear_bit(0,&sp->lock);sp->cpu= NO_PROC_ID;
lock78include/asm-i386/locks.hif(lock_set_bit(0,&sp->lock))
lock52include/linux/if_eql.hchar lock;
lock11include/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;
lock77include/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) {
lock452net/core/skbuff.cif (skb->lock)
lock546net/core/skbuff.cskb->lock = 0;
lock637net/core/skbuff.cn->lock=0;
lock653net/core/skbuff.cif(skb->lock)
lock657net/core/skbuff.cskb->lock++;
lock662net/core/skbuff.cif(skb->lock==0)
lock664net/core/skbuff.cskb->lock--;
lock665net/core/skbuff.cif(skb->lock==0)
lock675net/core/skbuff.cif(skb->lock==1)
lock678net/core/skbuff.cif (!--skb->lock && (skb->free == 1 || skb->free == 3))
lock699net/core/skbuff.creturn skb->lock? 1 : 0;
lock82net/ipv4/ip_output.cnewskb->lock=0;