Searched refs:write_protected (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/block/
H A Dswim.c181 int write_protected; member in struct:floppy_state
542 if (rq_data_dir(req) == WRITE && fs->write_protected) redo_fd_request()
598 fs->write_protected = swim_readbit(base, WRITE_PROT); setup_medium()
648 if ((mode & FMODE_WRITE) && fs->write_protected) { floppy_open()
/linux-4.4.14/arch/x86/kvm/
H A Dmmu.c1347 bool write_protected = false; rmap_write_protect() local
1353 write_protected |= __rmap_write_protect(vcpu->kvm, rmapp, true); rmap_write_protect()
1356 return write_protected; rmap_write_protect()

Completed in 154 milliseconds