taglinefilesource code
lock890fs/ext/namei.cstatic int lock = 0;
lock893fs/ext/namei.cwhile (lock)
lock895fs/ext/namei.clock = 1;
lock898fs/ext/namei.clock = 0;
lock756fs/minix/namei.cstatic int lock = 0;
lock759fs/minix/namei.cwhile (lock)
lock761fs/minix/namei.clock = 1;
lock764fs/minix/namei.clock = 0;
lock63fs/msdos/misc.cstatic int lock = 0;
lock70fs/msdos/misc.cwhile (lock) sleep_on(&wait);
lock71fs/msdos/misc.clock = 1;
lock83fs/msdos/misc.clock = 0;
lock89fs/msdos/misc.clock = 0;
lock1408kernel/chr_drv/console.cstatic int lock = 0;
lock1410kernel/chr_drv/console.cif (new_console == fg_console || lock)
lock1412kernel/chr_drv/console.clock = 1;
lock1419kernel/chr_drv/console.clock = 0;