tag | line | file | source code |
lock | 1378 | drivers/block/sbpcd.c | static int yy_LockDoor(char lock) |
lock | 1383 | drivers/block/sbpcd.c | DPRINTF((DBG_LCK,"SBPCD: yy_LockDoor: %d (drive %d)\n", lock, d)); |
lock | 1388 | drivers/block/sbpcd.c | if (lock==1) drvcmd[1]=0x01; |
lock | 1395 | drivers/block/sbpcd.c | if (lock==1) drvcmd[1]=0x01; |
lock | 2098 | drivers/char/console.c | static int lock = 0; |
lock | 2100 | drivers/char/console.c | if (new_console == fg_console || lock) |
lock | 2107 | drivers/char/console.c | lock = 1; |
lock | 2122 | drivers/char/console.c | lock = 0; |
lock | 600 | drivers/net/3c505.c | skb->lock = 0; |
lock | 623 | drivers/net/de600.c | skb->lock = 0; |
lock | 274 | drivers/net/ewrk3.c | unsigned char lock; /* Lock the page register */ |
lock | 736 | drivers/net/ewrk3.c | lp->lock = 0; /* Ensure there are no locks */ |
lock | 753 | drivers/net/ewrk3.c | if (dev->tbusy || lp->lock) { |
lock | 807 | drivers/net/ewrk3.c | while (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */ |
lock | 869 | drivers/net/ewrk3.c | lp->lock = 0; /* unlock the page register */ |
lock | 975 | drivers/net/ewrk3.c | if ((tmpLock = set_bit(0, (void *)&lp->lock)) == 1) { /* Assert lock */ |
lock | 1090 | drivers/net/ewrk3.c | lp->lock = 0; /* Unlock the page register */ |
lock | 1245 | drivers/net/ewrk3.c | while (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */ |
lock | 1308 | drivers/net/ewrk3.c | lp->lock = 0; /* Unlock the page register */ |
lock | 1648 | drivers/net/ewrk3.c | while (set_bit(0, (void *)&lp->lock) != 0); /* Wait for lock to free */ |
lock | 1661 | drivers/net/ewrk3.c | lp->lock = 0; /* Unlock the page register */ |
lock | 207 | drivers/net/lance.c | char lock; |
lock | 606 | drivers/net/lance.c | lp->lock = 0, lp->tx_full = 0; |
lock | 694 | drivers/net/lance.c | if (set_bit(0, (void*)&lp->lock) != 0) { |
lock | 741 | drivers/net/lance.c | lp->lock = 0; |
lock | 139 | drivers/net/ni65.c | int lock,xmit_queued; |
lock | 315 | drivers/net/ni65.c | p->lock = 0; |
lock | 597 | drivers/net/ni65.c | if(set_bit(0,(void*) &p->lock) != 0) |
lock | 625 | drivers/net/ni65.c | p->lock = 0; |
lock | 583 | drivers/net/znet.c | skb->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 | 819 | fs/minix/namei.c | static int lock = 0; |
lock | 822 | fs/minix/namei.c | while (lock) |
lock | 824 | fs/minix/namei.c | lock = 1; |
lock | 827 | fs/minix/namei.c | lock = 0; |
lock | 99 | fs/nfs/inode.c | server->lock = 0; |
lock | 234 | fs/nfs/sock.c | while (server->lock) |
lock | 236 | fs/nfs/sock.c | server->lock = 1; |
lock | 238 | fs/nfs/sock.c | server->lock = 0; |
lock | 811 | fs/sysv/namei.c | static int lock = 0; |
lock | 814 | fs/sysv/namei.c | while (lock) |
lock | 816 | fs/sysv/namei.c | lock = 1; |
lock | 819 | fs/sysv/namei.c | lock = 0; |
lock | 837 | fs/xiafs/namei.c | static int lock = 0; |
lock | 840 | fs/xiafs/namei.c | while (lock) |
lock | 842 | fs/xiafs/namei.c | lock = 1; |
lock | 845 | fs/xiafs/namei.c | lock = 0; |
lock | 8 | 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 | 71 | include/linux/skbuff.h | unsigned char tries,lock,localroute,pkt_type; |
lock | 343 | net/inet/skbuff.c | if (skb->lock) |
lock | 413 | net/inet/skbuff.c | skb->lock = 0; |
lock | 516 | net/inet/skbuff.c | n->lock=0; |
lock | 529 | net/inet/skbuff.c | if(skb->lock) |
lock | 533 | net/inet/skbuff.c | skb->lock++; |
lock | 538 | net/inet/skbuff.c | if(skb->lock==0) |
lock | 540 | net/inet/skbuff.c | skb->lock--; |
lock | 541 | net/inet/skbuff.c | if(skb->lock==0) |
lock | 551 | net/inet/skbuff.c | if(skb->lock==1) |
lock | 554 | net/inet/skbuff.c | if (!--skb->lock && (skb->free == 1 || skb->free == 3)) |
lock | 565 | net/inet/skbuff.c | return skb->lock? 1 : 0; |