Searched refs:fua (Results 1 – 8 of 8) sorted by relevance
/drivers/nvdimm/ |
D | pmem.c | 307 int nid = dev_to_node(dev), fua, wbc; in pmem_attach_disk() local 337 fua = nvdimm_has_flush(nd_region); in pmem_attach_disk() 338 if (!IS_ENABLED(CONFIG_ARCH_HAS_UACCESS_FLUSHCACHE) || fua < 0) { in pmem_attach_disk() 340 fua = 0; in pmem_attach_disk() 386 blk_queue_write_cache(q, wbc, fua); in pmem_attach_disk()
|
/drivers/scsi/aacraid/ |
D | aachba.c | 1356 static int aac_write_raw_io(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua) in aac_write_raw_io() argument 1374 writecmd2->flags = (fua && ((aac_cache & 5) != 1) && in aac_write_raw_io() 1393 writecmd->flags = (fua && ((aac_cache & 5) != 1) && in aac_write_raw_io() 1420 static int aac_write_block64(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua) in aac_write_block64() argument 1455 static int aac_write_block(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua) in aac_write_block() argument 2366 int fua; in aac_write() local 2382 fua = 0; in aac_write() 2395 fua = scsicmd->cmnd[1] & 0x8; in aac_write() 2403 fua = scsicmd->cmnd[1] & 0x8; in aac_write() 2408 fua = scsicmd->cmnd[1] & 0x8; in aac_write() [all …]
|
D | aacraid.h | 922 int (*adapter_write)(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua); 1711 #define aac_adapter_write(fib,cmd,lba,count,fua) \ argument 1712 ((fib)->dev)->a_ops.adapter_write(fib,cmd,lba,count,fua)
|
/drivers/md/ |
D | dm-table.c | 1828 bool wc = false, fua = false; in dm_table_set_restrictions() local 1843 fua = true; in dm_table_set_restrictions() 1845 blk_queue_write_cache(q, wc, fua); in dm_table_set_restrictions()
|
D | dm-integrity.c | 244 bool fua; member 1136 if (unlikely(dio->fua) && likely(!bio->bi_status) && likely(!dm_integrity_failed(ic))) in do_endio_flush() 1355 dio->fua = dio->write && bio->bi_opf & REQ_FUA; in dm_integrity_map() 1356 if (unlikely(dio->fua)) { in dm_integrity_map()
|
D | raid5.c | 1806 bool fua = false, sync = false, discard = false; in ops_complete_reconstruct() local 1812 fua |= test_bit(R5_WantFUA, &sh->dev[i].flags); in ops_complete_reconstruct() 1826 if (fua) in ops_complete_reconstruct()
|
/drivers/ata/ |
D | libata-core.c | 147 module_param_named(fua, libata_fua, int, 0444); 148 MODULE_PARM_DESC(fua, "FUA support (0=off [default], 1=on)"); 659 int index, fua, lba48, write; in ata_rwcmd_protocol() local 661 fua = (tf->flags & ATA_TFLAG_FUA) ? 4 : 0; in ata_rwcmd_protocol() 677 cmd = ata_rw_cmds[index + fua + lba48 + write]; in ata_rwcmd_protocol()
|
/drivers/scsi/ |
D | sd.c | 145 bool wc = false, fua = false; in sd_set_flush_flag() local 150 fua = true; in sd_set_flush_flag() 153 blk_queue_write_cache(sdkp->disk->queue, wc, fua); in sd_set_flush_flag()
|