taglinefilesource code
lock2321arch/m68k/kernel/console.cstatic int lock = 0;
lock2323arch/m68k/kernel/console.cif (/* new_console == fg_console || */ lock)
lock2330arch/m68k/kernel/console.clock = 1;
lock2371arch/m68k/kernel/console.clock = 0;
lock1398drivers/block/ide-tape.cprintk ("Supports locking the medium - %s\n",capabilities->lock ? "Yes":"No");
lock305drivers/block/ide-tape.hunsigned lock    :1;  /* Supports locking the volume */
lock141drivers/cdrom/mcdx.cvolatile int lock;    /* exclusive usage */
lock932drivers/cdrom/mcdx.cwhile (stuffp->lock) {
lock935drivers/cdrom/mcdx.cstuffp->lock));
lock938drivers/cdrom/mcdx.cstuffp->lock = 1;
lock1011drivers/cdrom/mcdx.cstuffp->lock = 0;
lock1312drivers/cdrom/mcdx.cwhile (stuffp->lock) {
lock1315drivers/cdrom/mcdx.cstuffp->lock));
lock1326drivers/cdrom/mcdx.cstuffp->lock = current->pid;
lock1350drivers/cdrom/mcdx.cstuffp->lock = 0;
lock1390drivers/cdrom/mcdx.cstuffp->lock = 0;
lock1809drivers/cdrom/mcdx.cmcdx_lockdoor(struct s_drive_stuff *stuffp, int lock, int tries)
lock1813drivers/cdrom/mcdx.ccmd[1] = lock ? 0x01 : 0x00;
lock2024drivers/cdrom/sbpcd.cstatic int cc_LockDoor(char lock)
lock2029drivers/cdrom/sbpcd.cmsg(DBG_LCK,"cc_LockDoor: %d (drive %d)\n", lock, d);
lock2036drivers/cdrom/sbpcd.cif (lock==1) drvcmd[1]=0x01;
lock2042drivers/cdrom/sbpcd.cif (lock==1) drvcmd[4]=0x01;
lock2048drivers/cdrom/sbpcd.cif (lock==1) drvcmd[1]=0x01;
lock2057drivers/cdrom/sbpcd.cif (lock==1) drvcmd[4]=0x01;
lock2214drivers/char/console.cstatic int lock = 0;
lock2216drivers/char/console.cif (new_console == fg_console || lock)
lock2223drivers/char/console.clock = 1;
lock2238drivers/char/console.clock = 0;
lock137drivers/isdn/pcbit/layer2.cskb->lock++;
lock102drivers/net/a2065.cunsigned long lock;
lock265drivers/net/a2065.cpriv->lock = 0, priv->tx_full = 0;
lock566drivers/net/a2065.cif (set_bit(0, (void*)&priv->lock) != 0) {
lock641drivers/net/a2065.cpriv->lock = 0;
lock109drivers/net/ariadne.cunsigned long lock;
lock315drivers/net/ariadne.cpriv->lock = 0, priv->tx_full = 0;
lock605drivers/net/ariadne.cif (set_bit(0, (void*)&priv->lock) != 0) {
lock683drivers/net/ariadne.cpriv->lock = 0;
lock228drivers/net/atarilance.cint          lock;
lock673drivers/net/atarilance.clp->lock = 0;
lock781drivers/net/atarilance.cif (set_bit( 0, (void*)&lp->lock ) != 0) {
lock836drivers/net/atarilance.clp->lock = 0;
lock304drivers/net/eql.ceql->queue->lock = 0;
lock274drivers/net/ewrk3.cu_char lock;                        /* Lock the page register */
lock714drivers/net/ewrk3.clp->lock = 0;                             /* Ensure there are no locks */
lock731drivers/net/ewrk3.cif (dev->tbusy || lp->lock) {
lock783drivers/net/ewrk3.cwhile (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */
lock850drivers/net/ewrk3.clp->lock = 0;         /* unlock the page register */
lock953drivers/net/ewrk3.cif ((tmpLock = set_bit(0, (void *)&lp->lock)) == 1) {   /* Assert lock */
lock1070drivers/net/ewrk3.clp->lock = 0;                           /* Unlock the page register */
lock1220drivers/net/ewrk3.cwhile (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */
lock1285drivers/net/ewrk3.clp->lock = 0;                              /* Unlock the page register */
lock1744drivers/net/ewrk3.cwhile (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */
lock1758drivers/net/ewrk3.clp->lock = 0;                               /* Unlock the page register */
lock235drivers/net/lance.cunsigned long lock;
lock716drivers/net/lance.clp->lock = 0, lp->tx_full = 0;
lock818drivers/net/lance.cif (set_bit(0, (void*)&lp->lock) != 0) {
lock866drivers/net/lance.clp->lock = 0;
lock137drivers/net/lance32.cunsigned long lock;
lock400drivers/net/lance32.clp->lock = 0, lp->tx_full = 0;
lock508drivers/net/lance32.cif (set_bit(0, (void*)&lp->lock) != 0) {
lock541drivers/net/lance32.clp->lock = 0;
lock216drivers/net/ni52.cint lock,reseted;
lock1172drivers/net/ni52.celse if(set_bit(0,(void *) &p->lock)) {
lock1251drivers/net/ni52.cp->lock = 0;
lock145drivers/net/ni65.cint lock,xmit_queued;
lock357drivers/net/ni65.cp->lock = 0;
lock704drivers/net/ni65.cif (set_bit(0, (void*)&p->lock)) {
lock740drivers/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;
lock238fs/ncpfs/inode.cserver->lock        = 0;
lock22fs/ncpfs/ncplib_kernel.cif (server->lock == 0)
lock560fs/ncpfs/sock.cif (server->lock == 0)
lock683fs/ncpfs/sock.cif (server->lock != 0)
lock688fs/ncpfs/sock.cwhile (server->lock)
lock690fs/ncpfs/sock.cserver->lock = 1;
lock696fs/ncpfs/sock.cif (server->lock != 1)
lock701fs/ncpfs/sock.cserver->lock = 0;
lock146fs/nfs/inode.cserver->lock = 0;
lock228fs/smbfs/inode.cserver->lock = 0;
lock390fs/smbfs/proc.cwhile (server->lock)
lock392fs/smbfs/proc.cserver->lock = 1;
lock398fs/smbfs/proc.cif (server->lock != 1) {
lock402fs/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))
lock10include/asm-sparc/atops.hextern __inline volatile unsigned char ldstub(volatile unsigned char *lock)
lock16include/asm-sparc/atops.h"r" (lock));
lock52include/linux/if_eql.hchar lock;
lock49include/linux/ncp_fs_sb.hint        lock;  /* To prevent mismatch in protocols. */
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)
lock94include/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) {
lock588net/core/skbuff.cif (skb->lock)
lock682net/core/skbuff.cskb->lock = 0;
lock764net/core/skbuff.cn->lock = 0;
lock820net/core/skbuff.cn->lock=0;
lock835net/core/skbuff.cif(skb->lock)
lock839net/core/skbuff.cskb->lock++;
lock844net/core/skbuff.cif(skb->lock==0)
lock846net/core/skbuff.cskb->lock--;
lock847net/core/skbuff.cif(skb->lock==0)
lock857net/core/skbuff.cif(skb->lock)
lock860net/core/skbuff.cskb->lock--;
lock862net/core/skbuff.cif (!skb->lock && (skb->free == 1 || skb->free == 3))
lock883net/core/skbuff.creturn skb->lock? 1 : 0;
lock88net/ipv4/ip_output.cnewskb->lock=0;