tag | line | file | source code |
lock | 136 | drivers/cdrom/mcdx.c | volatile int lock; /* exclusive usage */ |
lock | 851 | drivers/cdrom/mcdx.c | while (stuffp->lock) |
lock | 859 | drivers/cdrom/mcdx.c | stuffp->lock = 1; |
lock | 926 | drivers/cdrom/mcdx.c | stuffp->lock = 0; |
lock | 1189 | drivers/cdrom/mcdx.c | while (stuffp->lock) |
lock | 1203 | drivers/cdrom/mcdx.c | stuffp->lock = current->pid; |
lock | 1232 | drivers/cdrom/mcdx.c | stuffp->lock = 0; |
lock | 1273 | drivers/cdrom/mcdx.c | stuffp->lock = 0; |
lock | 1686 | drivers/cdrom/mcdx.c | mcdx_lockdoor(struct s_drive_stuff *stuffp, int lock, int tries) |
lock | 1690 | drivers/cdrom/mcdx.c | cmd[1] = lock ? 0x01 : 0x00; |
lock | 2035 | drivers/cdrom/sbpcd.c | static int cc_LockDoor(char lock) |
lock | 2040 | drivers/cdrom/sbpcd.c | msg(DBG_LCK,"cc_LockDoor: %d (drive %d)\n", lock, d); |
lock | 2047 | drivers/cdrom/sbpcd.c | if (lock==1) drvcmd[1]=0x01; |
lock | 2053 | drivers/cdrom/sbpcd.c | if (lock==1) drvcmd[4]=0x01; |
lock | 2059 | drivers/cdrom/sbpcd.c | if (lock==1) drvcmd[1]=0x01; |
lock | 2065 | drivers/cdrom/sbpcd.c | if (lock==1) drvcmd[4]=0x01; |
lock | 2113 | drivers/char/console.c | static int lock = 0; |
lock | 2115 | drivers/char/console.c | if (new_console == fg_console || lock) |
lock | 2122 | drivers/char/console.c | lock = 1; |
lock | 2137 | drivers/char/console.c | lock = 0; |
lock | 845 | drivers/char/scc.c | if (!rx_timer_cb.lock) |
lock | 851 | drivers/char/scc.c | rx_timer_cb.lock = 1; |
lock | 1341 | drivers/char/scc.c | rx_timer_cb.lock = 0; |
lock | 2389 | drivers/char/scc.c | rx_timer_cb.lock = 0; |
lock | 2391 | drivers/char/scc.c | rx_timer_cb.lock = 1; |
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 | 747 | drivers/net/ewrk3.c | lp->lock = 0; /* Ensure there are no locks */ |
lock | 764 | drivers/net/ewrk3.c | if (dev->tbusy || lp->lock) { |
lock | 818 | drivers/net/ewrk3.c | while (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */ |
lock | 880 | drivers/net/ewrk3.c | lp->lock = 0; /* unlock the page register */ |
lock | 985 | drivers/net/ewrk3.c | if ((tmpLock = set_bit(0, (void *)&lp->lock)) == 1) { /* Assert lock */ |
lock | 1102 | drivers/net/ewrk3.c | lp->lock = 0; /* Unlock the page register */ |
lock | 1254 | drivers/net/ewrk3.c | while (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */ |
lock | 1319 | drivers/net/ewrk3.c | lp->lock = 0; /* Unlock the page register */ |
lock | 1679 | drivers/net/ewrk3.c | while (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */ |
lock | 1692 | drivers/net/ewrk3.c | lp->lock = 0; /* Unlock the page register */ |
lock | 206 | drivers/net/lance.c | char lock; |
lock | 669 | drivers/net/lance.c | lp->lock = 0, lp->tx_full = 0; |
lock | 771 | drivers/net/lance.c | if (set_bit(0, (void*)&lp->lock) != 0) { |
lock | 819 | drivers/net/lance.c | lp->lock = 0; |
lock | 136 | drivers/net/ni65.c | int lock,xmit_queued; |
lock | 315 | drivers/net/ni65.c | p->lock = 0; |
lock | 596 | drivers/net/ni65.c | if(set_bit(0,(void*) &p->lock) != 0) |
lock | 624 | 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 | 269 | include/linux/scc.h | char lock; |
lock | 77 | 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 | 546 | net/core/skbuff.c | skb->lock = 0; |
lock | 637 | net/core/skbuff.c | n->lock=0; |
lock | 653 | net/core/skbuff.c | if(skb->lock) |
lock | 657 | net/core/skbuff.c | skb->lock++; |
lock | 662 | net/core/skbuff.c | if(skb->lock==0) |
lock | 664 | net/core/skbuff.c | skb->lock--; |
lock | 665 | net/core/skbuff.c | if(skb->lock==0) |
lock | 675 | net/core/skbuff.c | if(skb->lock==1) |
lock | 678 | net/core/skbuff.c | if (!--skb->lock && (skb->free == 1 || skb->free == 3)) |
lock | 699 | net/core/skbuff.c | return skb->lock? 1 : 0; |
lock | 82 | net/ipv4/ip_output.c | newskb->lock=0; |