taglinefilesource code
lock1369drivers/block/ide-tape.cprintk ("Supports locking the medium - %s\n",capabilities->lock ? "Yes":"No");
lock288drivers/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;
lock1982drivers/cdrom/sbpcd.cstatic int cc_LockDoor(char lock)
lock1987drivers/cdrom/sbpcd.cmsg(DBG_LCK,"cc_LockDoor: %d (drive %d)\n", lock, d);
lock1994drivers/cdrom/sbpcd.cif (lock==1) drvcmd[1]=0x01;
lock2000drivers/cdrom/sbpcd.cif (lock==1) drvcmd[4]=0x01;
lock2006drivers/cdrom/sbpcd.cif (lock==1) drvcmd[1]=0x01;
lock2015drivers/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);
lock271drivers/net/ewrk3.cu_char lock;                        /* Lock the page register */
lock711drivers/net/ewrk3.clp->lock = 0;                             /* Ensure there are no locks */
lock728drivers/net/ewrk3.cif (dev->tbusy || lp->lock) {
lock780drivers/net/ewrk3.cwhile (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */
lock847drivers/net/ewrk3.clp->lock = 0;         /* unlock the page register */
lock950drivers/net/ewrk3.cif ((tmpLock = set_bit(0, (void *)&lp->lock)) == 1) {   /* Assert lock */
lock1067drivers/net/ewrk3.clp->lock = 0;                           /* Unlock the page register */
lock1217drivers/net/ewrk3.cwhile (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */
lock1282drivers/net/ewrk3.clp->lock = 0;                              /* Unlock the page register */
lock1741drivers/net/ewrk3.cwhile (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */
lock1755drivers/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;
lock245fs/ncpfs/inode.cserver->lock        = 0;
lock15fs/ncpfs/ncplib_kernel.cif (server->lock == 0)
lock477fs/ncpfs/sock.cif (server->lock == 0)
lock585fs/ncpfs/sock.cif (server->lock != 0)
lock590fs/ncpfs/sock.cwhile (server->lock)
lock592fs/ncpfs/sock.cserver->lock = 1;
lock598fs/ncpfs/sock.cif (server->lock != 1)
lock603fs/ncpfs/sock.cserver->lock = 0;
lock115fs/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))
lock52include/linux/if_eql.hchar lock;
lock48include/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)
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;
lock83net/ipv4/ip_output.cnewskb->lock=0;