tag | line | file | source code |
lock | 147 | drivers/block/mcdx.c | volatile int lock; /* exclusive usage */ |
lock | 866 | drivers/block/mcdx.c | while (stuffp->lock) |
lock | 874 | drivers/block/mcdx.c | stuffp->lock = 1; |
lock | 941 | drivers/block/mcdx.c | stuffp->lock = 0; |
lock | 1210 | drivers/block/mcdx.c | while (stuffp->lock) |
lock | 1224 | drivers/block/mcdx.c | stuffp->lock = current->pid; |
lock | 1253 | drivers/block/mcdx.c | stuffp->lock = 0; |
lock | 1294 | drivers/block/mcdx.c | stuffp->lock = 0; |
lock | 1707 | drivers/block/mcdx.c | mcdx_lockdoor(struct s_drive_stuff *stuffp, int lock, int tries) |
lock | 1711 | drivers/block/mcdx.c | cmd[1] = lock ? 0x01 : 0x00; |
lock | 2046 | drivers/block/sbpcd.c | static int cc_LockDoor(char lock) |
lock | 2051 | drivers/block/sbpcd.c | msg(DBG_LCK,"cc_LockDoor: %d (drive %d)\n", lock, d); |
lock | 2058 | drivers/block/sbpcd.c | if (lock==1) drvcmd[1]=0x01; |
lock | 2064 | drivers/block/sbpcd.c | if (lock==1) drvcmd[4]=0x01; |
lock | 2070 | drivers/block/sbpcd.c | if (lock==1) drvcmd[1]=0x01; |
lock | 2076 | drivers/block/sbpcd.c | if (lock==1) drvcmd[4]=0x01; |
lock | 2317 | drivers/char/console.c | static int lock = 0; |
lock | 2319 | drivers/char/console.c | if (new_console == fg_console || lock) |
lock | 2326 | drivers/char/console.c | lock = 1; |
lock | 2341 | drivers/char/console.c | lock = 0; |
lock | 849 | drivers/char/scc.c | if (!rx_timer_cb.lock) |
lock | 855 | drivers/char/scc.c | rx_timer_cb.lock = 1; |
lock | 1345 | drivers/char/scc.c | rx_timer_cb.lock = 0; |
lock | 2390 | drivers/char/scc.c | rx_timer_cb.lock = 0; |
lock | 2392 | drivers/char/scc.c | rx_timer_cb.lock = 1; |
lock | 290 | drivers/net/eql.c | eql->queue->lock = 0; |
lock | 1109 | drivers/net/eql.c | printk ("eql: lock == %d\n", queue->lock); |
lock | 1110 | drivers/net/eql.c | if (queue->lock) |
lock | 1115 | drivers/net/eql.c | queue->lock = 1; |
lock | 1117 | drivers/net/eql.c | queue->lock = 1; |
lock | 1127 | drivers/net/eql.c | if (queue->lock != 0) |
lock | 1129 | drivers/net/eql.c | queue->lock = 0; |
lock | 1141 | drivers/net/eql.c | return test_bit(1, (void *) &queue->lock); |
lock | 277 | drivers/net/ewrk3.c | unsigned char lock; /* Lock the page register */ |
lock | 753 | drivers/net/ewrk3.c | lp->lock = 0; /* Ensure there are no locks */ |
lock | 770 | drivers/net/ewrk3.c | if (dev->tbusy || lp->lock) { |
lock | 824 | drivers/net/ewrk3.c | while (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */ |
lock | 886 | drivers/net/ewrk3.c | lp->lock = 0; /* unlock the page register */ |
lock | 991 | drivers/net/ewrk3.c | if ((tmpLock = set_bit(0, (void *)&lp->lock)) == 1) { /* Assert lock */ |
lock | 1108 | drivers/net/ewrk3.c | lp->lock = 0; /* Unlock the page register */ |
lock | 1262 | drivers/net/ewrk3.c | while (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */ |
lock | 1327 | drivers/net/ewrk3.c | lp->lock = 0; /* Unlock the page register */ |
lock | 1687 | drivers/net/ewrk3.c | while (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */ |
lock | 1700 | drivers/net/ewrk3.c | lp->lock = 0; /* Unlock the page register */ |
lock | 207 | drivers/net/lance.c | char lock; |
lock | 675 | drivers/net/lance.c | lp->lock = 0, lp->tx_full = 0; |
lock | 777 | drivers/net/lance.c | if (set_bit(0, (void*)&lp->lock) != 0) { |
lock | 825 | drivers/net/lance.c | lp->lock = 0; |
lock | 136 | drivers/net/ni65.c | int lock,xmit_queued; |
lock | 314 | drivers/net/ni65.c | p->lock = 0; |
lock | 595 | drivers/net/ni65.c | if(set_bit(0,(void*) &p->lock) != 0) |
lock | 623 | drivers/net/ni65.c | p->lock = 0; |
lock | 882 | fs/ext/namei.c | static int lock = 0; |
lock | 885 | fs/ext/namei.c | while (lock) |
lock | 887 | fs/ext/namei.c | lock = 1; |
lock | 890 | fs/ext/namei.c | lock = 0; |
lock | 824 | fs/minix/namei.c | static int lock = 0; |
lock | 827 | fs/minix/namei.c | while (lock) |
lock | 829 | fs/minix/namei.c | lock = 1; |
lock | 832 | fs/minix/namei.c | lock = 0; |
lock | 120 | fs/nfs/inode.c | server->lock = 0; |
lock | 237 | fs/nfs/sock.c | while (server->lock) |
lock | 239 | fs/nfs/sock.c | server->lock = 1; |
lock | 241 | fs/nfs/sock.c | server->lock = 0; |
lock | 235 | fs/smbfs/inode.c | server->lock = 0; |
lock | 392 | fs/smbfs/proc.c | while (server->lock) |
lock | 394 | fs/smbfs/proc.c | server->lock = 1; |
lock | 400 | fs/smbfs/proc.c | if (server->lock != 1) { |
lock | 404 | fs/smbfs/proc.c | server->lock = 0; |
lock | 816 | fs/sysv/namei.c | static int lock = 0; |
lock | 819 | fs/sysv/namei.c | while (lock) |
lock | 821 | fs/sysv/namei.c | lock = 1; |
lock | 824 | fs/sysv/namei.c | lock = 0; |
lock | 841 | fs/xiafs/namei.c | static int lock = 0; |
lock | 844 | fs/xiafs/namei.c | while (lock) |
lock | 846 | fs/xiafs/namei.c | lock = 1; |
lock | 849 | fs/xiafs/namei.c | lock = 0; |
lock | 50 | include/linux/if_eql.h | char lock; |
lock | 9 | 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 | 76 | 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 | 446 | net/core/skbuff.c | if (skb->lock) |
lock | 538 | net/core/skbuff.c | skb->lock = 0; |
lock | 626 | net/core/skbuff.c | n->lock=0; |
lock | 642 | net/core/skbuff.c | if(skb->lock) |
lock | 646 | net/core/skbuff.c | skb->lock++; |
lock | 651 | net/core/skbuff.c | if(skb->lock==0) |
lock | 653 | net/core/skbuff.c | skb->lock--; |
lock | 654 | net/core/skbuff.c | if(skb->lock==0) |
lock | 664 | net/core/skbuff.c | if(skb->lock==1) |
lock | 667 | net/core/skbuff.c | if (!--skb->lock && (skb->free == 1 || skb->free == 3)) |
lock | 688 | net/core/skbuff.c | return skb->lock? 1 : 0; |
lock | 1765 | net/ipv4/ip.c | newskb->lock=0; |