taglinefilesource code
lock1378drivers/block/sbpcd.cstatic int yy_LockDoor(char lock)
lock1383drivers/block/sbpcd.cDPRINTF((DBG_LCK,"SBPCD: yy_LockDoor: %d (drive %d)\n", lock, d));
lock1388drivers/block/sbpcd.cif (lock==1) drvcmd[1]=0x01;
lock1395drivers/block/sbpcd.cif (lock==1) drvcmd[1]=0x01;
lock2098drivers/char/console.cstatic int lock = 0;
lock2100drivers/char/console.cif (new_console == fg_console || lock)
lock2107drivers/char/console.clock = 1;
lock2122drivers/char/console.clock = 0;
lock600drivers/net/3c505.cskb->lock     = 0;
lock623drivers/net/de600.cskb->lock = 0;
lock274drivers/net/ewrk3.cunsigned char lock;                 /* Lock the page register */
lock736drivers/net/ewrk3.clp->lock = 0;                             /* Ensure there are no locks */
lock753drivers/net/ewrk3.cif (dev->tbusy || lp->lock) {
lock807drivers/net/ewrk3.cwhile (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */
lock869drivers/net/ewrk3.clp->lock = 0;         /* unlock the page register */
lock975drivers/net/ewrk3.cif ((tmpLock = set_bit(0, (void *)&lp->lock)) == 1) {   /* Assert lock */
lock1090drivers/net/ewrk3.clp->lock = 0;                           /* Unlock the page register */
lock1245drivers/net/ewrk3.cwhile (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */
lock1308drivers/net/ewrk3.clp->lock = 0;                              /* Unlock the page register */
lock1648drivers/net/ewrk3.cwhile (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */
lock1661drivers/net/ewrk3.clp->lock = 0;                               /* Unlock the page register */
lock207drivers/net/lance.cchar lock;
lock606drivers/net/lance.clp->lock = 0, lp->tx_full = 0;
lock694drivers/net/lance.cif (set_bit(0, (void*)&lp->lock) != 0) {
lock741drivers/net/lance.clp->lock = 0;
lock139drivers/net/ni65.cint lock,xmit_queued;
lock315drivers/net/ni65.cp->lock = 0;
lock597drivers/net/ni65.cif(set_bit(0,(void*) &p->lock) != 0)
lock625drivers/net/ni65.cp->lock = 0;
lock583drivers/net/znet.cskb->lock = 0;
lock882fs/ext/namei.cstatic int lock = 0;
lock885fs/ext/namei.cwhile (lock)
lock887fs/ext/namei.clock = 1;
lock890fs/ext/namei.clock = 0;
lock819fs/minix/namei.cstatic int lock = 0;
lock822fs/minix/namei.cwhile (lock)
lock824fs/minix/namei.clock = 1;
lock827fs/minix/namei.clock = 0;
lock99fs/nfs/inode.cserver->lock = 0;
lock234fs/nfs/sock.cwhile (server->lock)
lock236fs/nfs/sock.cserver->lock = 1;
lock238fs/nfs/sock.cserver->lock = 0;
lock811fs/sysv/namei.cstatic int lock = 0;
lock814fs/sysv/namei.cwhile (lock)
lock816fs/sysv/namei.clock = 1;
lock819fs/sysv/namei.clock = 0;
lock837fs/xiafs/namei.cstatic int lock = 0;
lock840fs/xiafs/namei.cwhile (lock)
lock842fs/xiafs/namei.clock = 1;
lock845fs/xiafs/namei.clock = 0;
lock8include/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)
lock71include/linux/skbuff.hunsigned char      tries,lock,localroute,pkt_type;
lock343net/inet/skbuff.cif (skb->lock)
lock413net/inet/skbuff.cskb->lock = 0;
lock516net/inet/skbuff.cn->lock=0;
lock529net/inet/skbuff.cif(skb->lock)
lock533net/inet/skbuff.cskb->lock++;
lock538net/inet/skbuff.cif(skb->lock==0)
lock540net/inet/skbuff.cskb->lock--;
lock541net/inet/skbuff.cif(skb->lock==0)
lock551net/inet/skbuff.cif(skb->lock==1)
lock554net/inet/skbuff.cif (!--skb->lock && (skb->free == 1 || skb->free == 3))
lock565net/inet/skbuff.creturn skb->lock? 1 : 0;