taglinefilesource code
lock1394drivers/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;
lock296drivers/net/eql.ceql->queue->lock = 0;
lock1005drivers/net/eql.cprintk ("eql: lock == %d\n", queue->lock);
lock1006drivers/net/eql.cif (queue->lock)
lock1011drivers/net/eql.cqueue->lock = 1;
lock1013drivers/net/eql.cqueue->lock = 1;
lock1021drivers/net/eql.cif (queue->lock != 0)
lock1023drivers/net/eql.cqueue->lock = 0;
lock1033drivers/net/eql.creturn test_bit(1, (void *) &queue->lock);
lock273drivers/net/ewrk3.cu_char lock;                        /* Lock the page register */
lock713drivers/net/ewrk3.clp->lock = 0;                             /* Ensure there are no locks */
lock730drivers/net/ewrk3.cif (dev->tbusy || lp->lock) {
lock782drivers/net/ewrk3.cwhile (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */
lock849drivers/net/ewrk3.clp->lock = 0;         /* unlock the page register */
lock952drivers/net/ewrk3.cif ((tmpLock = set_bit(0, (void *)&lp->lock)) == 1) {   /* Assert lock */
lock1069drivers/net/ewrk3.clp->lock = 0;                           /* Unlock the page register */
lock1219drivers/net/ewrk3.cwhile (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */
lock1284drivers/net/ewrk3.clp->lock = 0;                              /* Unlock the page register */
lock1743drivers/net/ewrk3.cwhile (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */
lock1757drivers/net/ewrk3.clp->lock = 0;                               /* Unlock the page register */
lock227drivers/net/lance.cchar lock;
lock690drivers/net/lance.clp->lock = 0, lp->tx_full = 0;
lock792drivers/net/lance.cif (set_bit(0, (void*)&lp->lock) != 0) {
lock840drivers/net/lance.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)
lock552fs/ncpfs/sock.cif (server->lock == 0)
lock675fs/ncpfs/sock.cif (server->lock != 0)
lock680fs/ncpfs/sock.cwhile (server->lock)
lock682fs/ncpfs/sock.cserver->lock = 1;
lock688fs/ncpfs/sock.cif (server->lock != 1)
lock693fs/ncpfs/sock.cserver->lock = 0;
lock131fs/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))
lock11include/asm-sparc/smp_lock.hextern _inline_ unsigned char ldstub(klock_t *lock)
lock17include/asm-sparc/smp_lock.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)
lock92include/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) {
lock600net/core/skbuff.cif (skb->lock)
lock694net/core/skbuff.cskb->lock = 0;
lock779net/core/skbuff.cn->lock = 0;
lock835net/core/skbuff.cn->lock=0;
lock850net/core/skbuff.cif(skb->lock)
lock854net/core/skbuff.cskb->lock++;
lock859net/core/skbuff.cif(skb->lock==0)
lock861net/core/skbuff.cskb->lock--;
lock862net/core/skbuff.cif(skb->lock==0)
lock872net/core/skbuff.cif(skb->lock)
lock875net/core/skbuff.cskb->lock--;
lock877net/core/skbuff.cif (!skb->lock && (skb->free == 1 || skb->free == 3))
lock898net/core/skbuff.creturn skb->lock? 1 : 0;
lock83net/ipv4/ip_output.cnewskb->lock=0;