tag | line | file | source code |
lock | 2321 | arch/m68k/kernel/console.c | static int lock = 0; |
lock | 2323 | arch/m68k/kernel/console.c | if (/* new_console == fg_console || */ lock) |
lock | 2330 | arch/m68k/kernel/console.c | lock = 1; |
lock | 2371 | arch/m68k/kernel/console.c | lock = 0; |
lock | 1398 | drivers/block/ide-tape.c | printk ("Supports locking the medium - %s\n",capabilities->lock ? "Yes":"No"); |
lock | 305 | drivers/block/ide-tape.h | unsigned lock :1; /* Supports locking the volume */ |
lock | 141 | drivers/cdrom/mcdx.c | volatile int lock; /* exclusive usage */ |
lock | 932 | drivers/cdrom/mcdx.c | while (stuffp->lock) { |
lock | 935 | drivers/cdrom/mcdx.c | stuffp->lock)); |
lock | 938 | drivers/cdrom/mcdx.c | stuffp->lock = 1; |
lock | 1011 | drivers/cdrom/mcdx.c | stuffp->lock = 0; |
lock | 1312 | drivers/cdrom/mcdx.c | while (stuffp->lock) { |
lock | 1315 | drivers/cdrom/mcdx.c | stuffp->lock)); |
lock | 1326 | drivers/cdrom/mcdx.c | stuffp->lock = current->pid; |
lock | 1350 | drivers/cdrom/mcdx.c | stuffp->lock = 0; |
lock | 1390 | drivers/cdrom/mcdx.c | stuffp->lock = 0; |
lock | 1809 | drivers/cdrom/mcdx.c | mcdx_lockdoor(struct s_drive_stuff *stuffp, int lock, int tries) |
lock | 1813 | drivers/cdrom/mcdx.c | cmd[1] = lock ? 0x01 : 0x00; |
lock | 2024 | drivers/cdrom/sbpcd.c | static int cc_LockDoor(char lock) |
lock | 2029 | drivers/cdrom/sbpcd.c | msg(DBG_LCK,"cc_LockDoor: %d (drive %d)\n", lock, d); |
lock | 2036 | drivers/cdrom/sbpcd.c | if (lock==1) drvcmd[1]=0x01; |
lock | 2042 | drivers/cdrom/sbpcd.c | if (lock==1) drvcmd[4]=0x01; |
lock | 2048 | drivers/cdrom/sbpcd.c | if (lock==1) drvcmd[1]=0x01; |
lock | 2057 | drivers/cdrom/sbpcd.c | if (lock==1) drvcmd[4]=0x01; |
lock | 2214 | drivers/char/console.c | static int lock = 0; |
lock | 2216 | drivers/char/console.c | if (new_console == fg_console || lock) |
lock | 2223 | drivers/char/console.c | lock = 1; |
lock | 2238 | drivers/char/console.c | lock = 0; |
lock | 137 | drivers/isdn/pcbit/layer2.c | skb->lock++; |
lock | 102 | drivers/net/a2065.c | unsigned long lock; |
lock | 265 | drivers/net/a2065.c | priv->lock = 0, priv->tx_full = 0; |
lock | 566 | drivers/net/a2065.c | if (set_bit(0, (void*)&priv->lock) != 0) { |
lock | 641 | drivers/net/a2065.c | priv->lock = 0; |
lock | 109 | drivers/net/ariadne.c | unsigned long lock; |
lock | 315 | drivers/net/ariadne.c | priv->lock = 0, priv->tx_full = 0; |
lock | 605 | drivers/net/ariadne.c | if (set_bit(0, (void*)&priv->lock) != 0) { |
lock | 683 | drivers/net/ariadne.c | priv->lock = 0; |
lock | 228 | drivers/net/atarilance.c | int lock; |
lock | 673 | drivers/net/atarilance.c | lp->lock = 0; |
lock | 781 | drivers/net/atarilance.c | if (set_bit( 0, (void*)&lp->lock ) != 0) { |
lock | 836 | drivers/net/atarilance.c | lp->lock = 0; |
lock | 304 | drivers/net/eql.c | eql->queue->lock = 0; |
lock | 274 | drivers/net/ewrk3.c | u_char lock; /* Lock the page register */ |
lock | 714 | drivers/net/ewrk3.c | lp->lock = 0; /* Ensure there are no locks */ |
lock | 731 | drivers/net/ewrk3.c | if (dev->tbusy || lp->lock) { |
lock | 783 | drivers/net/ewrk3.c | while (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */ |
lock | 850 | drivers/net/ewrk3.c | lp->lock = 0; /* unlock the page register */ |
lock | 953 | drivers/net/ewrk3.c | if ((tmpLock = set_bit(0, (void *)&lp->lock)) == 1) { /* Assert lock */ |
lock | 1070 | drivers/net/ewrk3.c | lp->lock = 0; /* Unlock the page register */ |
lock | 1220 | drivers/net/ewrk3.c | while (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */ |
lock | 1285 | drivers/net/ewrk3.c | lp->lock = 0; /* Unlock the page register */ |
lock | 1744 | drivers/net/ewrk3.c | while (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */ |
lock | 1758 | drivers/net/ewrk3.c | lp->lock = 0; /* Unlock the page register */ |
lock | 235 | drivers/net/lance.c | unsigned long lock; |
lock | 716 | drivers/net/lance.c | lp->lock = 0, lp->tx_full = 0; |
lock | 818 | drivers/net/lance.c | if (set_bit(0, (void*)&lp->lock) != 0) { |
lock | 866 | drivers/net/lance.c | lp->lock = 0; |
lock | 137 | drivers/net/lance32.c | unsigned long lock; |
lock | 400 | drivers/net/lance32.c | lp->lock = 0, lp->tx_full = 0; |
lock | 508 | drivers/net/lance32.c | if (set_bit(0, (void*)&lp->lock) != 0) { |
lock | 541 | drivers/net/lance32.c | lp->lock = 0; |
lock | 216 | drivers/net/ni52.c | int lock,reseted; |
lock | 1172 | drivers/net/ni52.c | else if(set_bit(0,(void *) &p->lock)) { |
lock | 1251 | drivers/net/ni52.c | p->lock = 0; |
lock | 145 | drivers/net/ni65.c | int lock,xmit_queued; |
lock | 357 | drivers/net/ni65.c | p->lock = 0; |
lock | 704 | drivers/net/ni65.c | if (set_bit(0, (void*)&p->lock)) { |
lock | 740 | drivers/net/ni65.c | p->lock = 0; |
lock | 891 | fs/ext/namei.c | static int lock = 0; |
lock | 894 | fs/ext/namei.c | while (lock) |
lock | 896 | fs/ext/namei.c | lock = 1; |
lock | 899 | fs/ext/namei.c | lock = 0; |
lock | 822 | fs/minix/namei.c | static int lock = 0; |
lock | 825 | fs/minix/namei.c | while (lock) |
lock | 827 | fs/minix/namei.c | lock = 1; |
lock | 830 | fs/minix/namei.c | lock = 0; |
lock | 238 | fs/ncpfs/inode.c | server->lock = 0; |
lock | 22 | fs/ncpfs/ncplib_kernel.c | if (server->lock == 0) |
lock | 560 | fs/ncpfs/sock.c | if (server->lock == 0) |
lock | 683 | fs/ncpfs/sock.c | if (server->lock != 0) |
lock | 688 | fs/ncpfs/sock.c | while (server->lock) |
lock | 690 | fs/ncpfs/sock.c | server->lock = 1; |
lock | 696 | fs/ncpfs/sock.c | if (server->lock != 1) |
lock | 701 | fs/ncpfs/sock.c | server->lock = 0; |
lock | 146 | fs/nfs/inode.c | server->lock = 0; |
lock | 228 | fs/smbfs/inode.c | server->lock = 0; |
lock | 390 | fs/smbfs/proc.c | while (server->lock) |
lock | 392 | fs/smbfs/proc.c | server->lock = 1; |
lock | 398 | fs/smbfs/proc.c | if (server->lock != 1) { |
lock | 402 | fs/smbfs/proc.c | server->lock = 0; |
lock | 814 | fs/sysv/namei.c | static int lock = 0; |
lock | 817 | fs/sysv/namei.c | while (lock) |
lock | 819 | fs/sysv/namei.c | lock = 1; |
lock | 822 | fs/sysv/namei.c | lock = 0; |
lock | 838 | fs/xiafs/namei.c | static int lock = 0; |
lock | 841 | fs/xiafs/namei.c | while (lock) |
lock | 843 | fs/xiafs/namei.c | lock = 1; |
lock | 846 | fs/xiafs/namei.c | lock = 0; |
lock | 21 | include/asm-i386/locks.h | while(lock_set_bit(0,&sp->lock)) |
lock | 35 | include/asm-i386/locks.h | while(sp->lock) |
lock | 65 | include/asm-i386/locks.h | lock_clear_bit(0,&sp->lock);sp->cpu= NO_PROC_ID; |
lock | 78 | include/asm-i386/locks.h | if(lock_set_bit(0,&sp->lock)) |
lock | 10 | include/asm-sparc/atops.h | extern __inline volatile unsigned char ldstub(volatile unsigned char *lock) |
lock | 16 | include/asm-sparc/atops.h | "r" (lock)); |
lock | 52 | include/linux/if_eql.h | char lock; |
lock | 49 | include/linux/ncp_fs_sb.h | int lock; /* To prevent mismatch in protocols. */ |
lock | 11 | include/linux/nfs_fs_sb.h | int lock; |
lock | 9 | include/linux/pipe_fs_i.h | unsigned int lock; |
lock | 24 | include/linux/pipe_fs_i.h | #define PIPE_LOCK(inode) ((inode).u.pipe_i.lock) |
lock | 94 | include/linux/skbuff.h | lock, /* Are we locked ? */ |
lock | 24 | include/linux/smb_fs_sb.h | int lock; /* To prevent mismatch in |
lock | 42 | kernel/dma.c | int lock; |
lock | 62 | kernel/dma.c | if (dma_chan_busy[i].lock) { |
lock | 77 | kernel/dma.c | if (xchg(&dma_chan_busy[dmanr].lock, 1) != 0) |
lock | 94 | kernel/dma.c | if (xchg(&dma_chan_busy[dmanr].lock, 0) == 0) { |
lock | 588 | net/core/skbuff.c | if (skb->lock) |
lock | 682 | net/core/skbuff.c | skb->lock = 0; |
lock | 764 | net/core/skbuff.c | n->lock = 0; |
lock | 820 | net/core/skbuff.c | n->lock=0; |
lock | 835 | net/core/skbuff.c | if(skb->lock) |
lock | 839 | net/core/skbuff.c | skb->lock++; |
lock | 844 | net/core/skbuff.c | if(skb->lock==0) |
lock | 846 | net/core/skbuff.c | skb->lock--; |
lock | 847 | net/core/skbuff.c | if(skb->lock==0) |
lock | 857 | net/core/skbuff.c | if(skb->lock) |
lock | 860 | net/core/skbuff.c | skb->lock--; |
lock | 862 | net/core/skbuff.c | if (!skb->lock && (skb->free == 1 || skb->free == 3)) |
lock | 883 | net/core/skbuff.c | return skb->lock? 1 : 0; |
lock | 88 | net/ipv4/ip_output.c | newskb->lock=0; |