taglinefilesource code
lock1215drivers/block/ide-tape.cprintk ("Supports locking the medium - %s\n",capabilities->lock ? "Yes":"No");
lock239drivers/block/ide-tape.hunsigned lock    :1;  /* Supports locking the volume */
lock133drivers/cdrom/mcdx.cvolatile int lock;    /* exclusive usage */
lock884drivers/cdrom/mcdx.cwhile (stuffp->lock)
lock892drivers/cdrom/mcdx.cstuffp->lock = 1;
lock963drivers/cdrom/mcdx.cstuffp->lock = 0;
lock1231drivers/cdrom/mcdx.cwhile (stuffp->lock)
lock1245drivers/cdrom/mcdx.cstuffp->lock = current->pid;
lock1266drivers/cdrom/mcdx.cstuffp->lock = 0;
lock1307drivers/cdrom/mcdx.cstuffp->lock = 0;
lock1720drivers/cdrom/mcdx.cmcdx_lockdoor(struct s_drive_stuff *stuffp, int lock, int tries)
lock1724drivers/cdrom/mcdx.ccmd[1] = lock ? 0x01 : 0x00;
lock1952drivers/cdrom/sbpcd.cstatic int cc_LockDoor(char lock)
lock1957drivers/cdrom/sbpcd.cmsg(DBG_LCK,"cc_LockDoor: %d (drive %d)\n", lock, d);
lock1964drivers/cdrom/sbpcd.cif (lock==1) drvcmd[1]=0x01;
lock1970drivers/cdrom/sbpcd.cif (lock==1) drvcmd[4]=0x01;
lock1976drivers/cdrom/sbpcd.cif (lock==1) drvcmd[1]=0x01;
lock1982drivers/cdrom/sbpcd.cif (lock==1) drvcmd[4]=0x01;
lock2181drivers/char/console.cstatic int lock = 0;
lock2183drivers/char/console.cif (new_console == fg_console || lock)
lock2190drivers/char/console.clock = 1;
lock2205drivers/char/console.clock = 0;
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 */
lock749drivers/net/ewrk3.clp->lock = 0;                             /* Ensure there are no locks */
lock766drivers/net/ewrk3.cif (dev->tbusy || lp->lock) {
lock820drivers/net/ewrk3.cwhile (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */
lock882drivers/net/ewrk3.clp->lock = 0;         /* unlock the page register */
lock987drivers/net/ewrk3.cif ((tmpLock = set_bit(0, (void *)&lp->lock)) == 1) {   /* Assert lock */
lock1104drivers/net/ewrk3.clp->lock = 0;                           /* Unlock the page register */
lock1261drivers/net/ewrk3.cwhile (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */
lock1351drivers/net/ewrk3.clp->lock = 0;                              /* Unlock the page register */
lock1712drivers/net/ewrk3.cwhile (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */
lock1725drivers/net/ewrk3.clp->lock = 0;                               /* Unlock the page register */
lock206drivers/net/lance.cchar lock;
lock667drivers/net/lance.clp->lock = 0, lp->tx_full = 0;
lock769drivers/net/lance.cif (set_bit(0, (void*)&lp->lock) != 0) {
lock817drivers/net/lance.clp->lock = 0;
lock138drivers/net/ni65.cint lock,xmit_queued;
lock317drivers/net/ni65.cp->lock = 0;
lock598drivers/net/ni65.cif(set_bit(0,(void*) &p->lock) != 0)
lock626drivers/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)
lock79include/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)
lock550net/core/skbuff.cskb->lock = 0;
lock633net/core/skbuff.cn->lock = 0;
lock685net/core/skbuff.cn->lock=0;
lock701net/core/skbuff.cif(skb->lock)
lock705net/core/skbuff.cskb->lock++;
lock710net/core/skbuff.cif(skb->lock==0)
lock712net/core/skbuff.cskb->lock--;
lock713net/core/skbuff.cif(skb->lock==0)
lock723net/core/skbuff.cif(skb->lock==1)
lock726net/core/skbuff.cif (!--skb->lock && (skb->free == 1 || skb->free == 3))
lock747net/core/skbuff.creturn skb->lock? 1 : 0;
lock82net/ipv4/ip_output.cnewskb->lock=0;