tag | line | file | source code |
lock | 1215 | drivers/block/ide-tape.c | printk ("Supports locking the medium - %s\n",capabilities->lock ? "Yes":"No"); |
lock | 239 | drivers/block/ide-tape.h | unsigned lock :1; /* Supports locking the volume */ |
lock | 133 | drivers/cdrom/mcdx.c | volatile int lock; /* exclusive usage */ |
lock | 884 | drivers/cdrom/mcdx.c | while (stuffp->lock) |
lock | 892 | drivers/cdrom/mcdx.c | stuffp->lock = 1; |
lock | 963 | drivers/cdrom/mcdx.c | stuffp->lock = 0; |
lock | 1231 | drivers/cdrom/mcdx.c | while (stuffp->lock) |
lock | 1245 | drivers/cdrom/mcdx.c | stuffp->lock = current->pid; |
lock | 1266 | drivers/cdrom/mcdx.c | stuffp->lock = 0; |
lock | 1307 | drivers/cdrom/mcdx.c | stuffp->lock = 0; |
lock | 1720 | drivers/cdrom/mcdx.c | mcdx_lockdoor(struct s_drive_stuff *stuffp, int lock, int tries) |
lock | 1724 | drivers/cdrom/mcdx.c | cmd[1] = lock ? 0x01 : 0x00; |
lock | 1952 | drivers/cdrom/sbpcd.c | static int cc_LockDoor(char lock) |
lock | 1957 | drivers/cdrom/sbpcd.c | msg(DBG_LCK,"cc_LockDoor: %d (drive %d)\n", lock, d); |
lock | 1964 | drivers/cdrom/sbpcd.c | if (lock==1) drvcmd[1]=0x01; |
lock | 1970 | drivers/cdrom/sbpcd.c | if (lock==1) drvcmd[4]=0x01; |
lock | 1976 | drivers/cdrom/sbpcd.c | if (lock==1) drvcmd[1]=0x01; |
lock | 1982 | drivers/cdrom/sbpcd.c | if (lock==1) drvcmd[4]=0x01; |
lock | 2181 | drivers/char/console.c | static int lock = 0; |
lock | 2183 | drivers/char/console.c | if (new_console == fg_console || lock) |
lock | 2190 | drivers/char/console.c | lock = 1; |
lock | 2205 | drivers/char/console.c | lock = 0; |
lock | 286 | drivers/net/eql.c | eql->queue->lock = 0; |
lock | 1101 | drivers/net/eql.c | printk ("eql: lock == %d\n", queue->lock); |
lock | 1102 | drivers/net/eql.c | if (queue->lock) |
lock | 1107 | drivers/net/eql.c | queue->lock = 1; |
lock | 1109 | drivers/net/eql.c | queue->lock = 1; |
lock | 1119 | drivers/net/eql.c | if (queue->lock != 0) |
lock | 1121 | drivers/net/eql.c | queue->lock = 0; |
lock | 1133 | drivers/net/eql.c | return test_bit(1, (void *) &queue->lock); |
lock | 274 | drivers/net/ewrk3.c | unsigned char lock; /* Lock the page register */ |
lock | 749 | drivers/net/ewrk3.c | lp->lock = 0; /* Ensure there are no locks */ |
lock | 766 | drivers/net/ewrk3.c | if (dev->tbusy || lp->lock) { |
lock | 820 | drivers/net/ewrk3.c | while (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */ |
lock | 882 | drivers/net/ewrk3.c | lp->lock = 0; /* unlock the page register */ |
lock | 987 | drivers/net/ewrk3.c | if ((tmpLock = set_bit(0, (void *)&lp->lock)) == 1) { /* Assert lock */ |
lock | 1104 | drivers/net/ewrk3.c | lp->lock = 0; /* Unlock the page register */ |
lock | 1261 | drivers/net/ewrk3.c | while (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */ |
lock | 1351 | drivers/net/ewrk3.c | lp->lock = 0; /* Unlock the page register */ |
lock | 1712 | drivers/net/ewrk3.c | while (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */ |
lock | 1725 | drivers/net/ewrk3.c | lp->lock = 0; /* Unlock the page register */ |
lock | 206 | drivers/net/lance.c | char lock; |
lock | 667 | drivers/net/lance.c | lp->lock = 0, lp->tx_full = 0; |
lock | 769 | drivers/net/lance.c | if (set_bit(0, (void*)&lp->lock) != 0) { |
lock | 817 | drivers/net/lance.c | lp->lock = 0; |
lock | 138 | drivers/net/ni65.c | int lock,xmit_queued; |
lock | 317 | drivers/net/ni65.c | p->lock = 0; |
lock | 598 | drivers/net/ni65.c | if(set_bit(0,(void*) &p->lock) != 0) |
lock | 626 | 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 | 115 | fs/nfs/inode.c | server->lock = 0; |
lock | 228 | fs/smbfs/inode.c | server->lock = 0; |
lock | 385 | fs/smbfs/proc.c | while (server->lock) |
lock | 387 | fs/smbfs/proc.c | server->lock = 1; |
lock | 393 | fs/smbfs/proc.c | if (server->lock != 1) { |
lock | 397 | 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 | 52 | include/linux/if_eql.h | char lock; |
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 | 79 | 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 | 452 | net/core/skbuff.c | if (skb->lock) |
lock | 550 | net/core/skbuff.c | skb->lock = 0; |
lock | 633 | net/core/skbuff.c | n->lock = 0; |
lock | 685 | net/core/skbuff.c | n->lock=0; |
lock | 701 | net/core/skbuff.c | if(skb->lock) |
lock | 705 | net/core/skbuff.c | skb->lock++; |
lock | 710 | net/core/skbuff.c | if(skb->lock==0) |
lock | 712 | net/core/skbuff.c | skb->lock--; |
lock | 713 | net/core/skbuff.c | if(skb->lock==0) |
lock | 723 | net/core/skbuff.c | if(skb->lock==1) |
lock | 726 | net/core/skbuff.c | if (!--skb->lock && (skb->free == 1 || skb->free == 3)) |
lock | 747 | net/core/skbuff.c | return skb->lock? 1 : 0; |
lock | 82 | net/ipv4/ip_output.c | newskb->lock=0; |