tag | line | file | source code |
lock | 1394 | 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 | 296 | drivers/net/eql.c | eql->queue->lock = 0; |
lock | 1005 | drivers/net/eql.c | printk ("eql: lock == %d\n", queue->lock); |
lock | 1006 | drivers/net/eql.c | if (queue->lock) |
lock | 1011 | drivers/net/eql.c | queue->lock = 1; |
lock | 1013 | drivers/net/eql.c | queue->lock = 1; |
lock | 1021 | drivers/net/eql.c | if (queue->lock != 0) |
lock | 1023 | drivers/net/eql.c | queue->lock = 0; |
lock | 1033 | drivers/net/eql.c | return test_bit(1, (void *) &queue->lock); |
lock | 273 | drivers/net/ewrk3.c | u_char lock; /* Lock the page register */ |
lock | 713 | drivers/net/ewrk3.c | lp->lock = 0; /* Ensure there are no locks */ |
lock | 730 | drivers/net/ewrk3.c | if (dev->tbusy || lp->lock) { |
lock | 782 | drivers/net/ewrk3.c | while (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */ |
lock | 849 | drivers/net/ewrk3.c | lp->lock = 0; /* unlock the page register */ |
lock | 952 | drivers/net/ewrk3.c | if ((tmpLock = set_bit(0, (void *)&lp->lock)) == 1) { /* Assert lock */ |
lock | 1069 | drivers/net/ewrk3.c | lp->lock = 0; /* Unlock the page register */ |
lock | 1219 | drivers/net/ewrk3.c | while (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */ |
lock | 1284 | drivers/net/ewrk3.c | lp->lock = 0; /* Unlock the page register */ |
lock | 1743 | drivers/net/ewrk3.c | while (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */ |
lock | 1757 | drivers/net/ewrk3.c | lp->lock = 0; /* Unlock the page register */ |
lock | 227 | drivers/net/lance.c | char lock; |
lock | 690 | drivers/net/lance.c | lp->lock = 0, lp->tx_full = 0; |
lock | 792 | drivers/net/lance.c | if (set_bit(0, (void*)&lp->lock) != 0) { |
lock | 840 | drivers/net/lance.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 | 552 | fs/ncpfs/sock.c | if (server->lock == 0) |
lock | 675 | fs/ncpfs/sock.c | if (server->lock != 0) |
lock | 680 | fs/ncpfs/sock.c | while (server->lock) |
lock | 682 | fs/ncpfs/sock.c | server->lock = 1; |
lock | 688 | fs/ncpfs/sock.c | if (server->lock != 1) |
lock | 693 | fs/ncpfs/sock.c | server->lock = 0; |
lock | 131 | 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 | 11 | include/asm-sparc/smp_lock.h | extern _inline_ unsigned char ldstub(klock_t *lock) |
lock | 17 | include/asm-sparc/smp_lock.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 | 92 | 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 | 600 | net/core/skbuff.c | if (skb->lock) |
lock | 694 | net/core/skbuff.c | skb->lock = 0; |
lock | 779 | net/core/skbuff.c | n->lock = 0; |
lock | 835 | net/core/skbuff.c | n->lock=0; |
lock | 850 | net/core/skbuff.c | if(skb->lock) |
lock | 854 | net/core/skbuff.c | skb->lock++; |
lock | 859 | net/core/skbuff.c | if(skb->lock==0) |
lock | 861 | net/core/skbuff.c | skb->lock--; |
lock | 862 | net/core/skbuff.c | if(skb->lock==0) |
lock | 872 | net/core/skbuff.c | if(skb->lock) |
lock | 875 | net/core/skbuff.c | skb->lock--; |
lock | 877 | net/core/skbuff.c | if (!skb->lock && (skb->free == 1 || skb->free == 3)) |
lock | 898 | net/core/skbuff.c | return skb->lock? 1 : 0; |
lock | 83 | net/ipv4/ip_output.c | newskb->lock=0; |