Home
last modified time | relevance | path

Searched refs:do_lock (Results 1 – 2 of 2) sorted by relevance

/linux/arch/powerpc/kernel/
H A Deeh_pe.c869 static struct pci_bus *_eeh_pe_bus_get(struct eeh_pe *pe, bool do_lock) in _eeh_pe_bus_get() argument
884 if (do_lock) in _eeh_pe_bus_get()
889 if (do_lock) in _eeh_pe_bus_get()
/linux/drivers/scsi/
H A Dst.c931 static int do_door_lock(struct scsi_tape * STp, int do_lock) in do_door_lock() argument
935 DEBC_printk(STp, "%socking drive door.\n", do_lock ? "L" : "Unl"); in do_door_lock()
938 do_lock ? SCSI_REMOVAL_PREVENT : SCSI_REMOVAL_ALLOW); in do_door_lock()
940 STp->door_locked = do_lock ? ST_LOCKED_EXPLICIT : ST_UNLOCKED; in do_door_lock()