Home
last modified time | relevance | path

Searched refs:write_zeroes (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/nvme/target/
Dio-cmd-bdev.c171 le64_to_cpu(req->cmd->write_zeroes.slba); in blk_to_nvme_status()
428 struct nvme_write_zeroes_cmd *write_zeroes = &req->cmd->write_zeroes; in nvmet_bdev_execute_write_zeroes() local
437 sector = nvmet_lba_to_sect(req->ns, write_zeroes->slba); in nvmet_bdev_execute_write_zeroes()
438 nr_sector = (((sector_t)le16_to_cpu(write_zeroes->length) + 1) << in nvmet_bdev_execute_write_zeroes()
Dio-cmd-file.c336 struct nvme_write_zeroes_cmd *write_zeroes = &req->cmd->write_zeroes; in nvmet_file_write_zeroes_work() local
342 offset = le64_to_cpu(write_zeroes->slba) << req->ns->blksize_shift; in nvmet_file_write_zeroes_work()
343 len = (((sector_t)le16_to_cpu(write_zeroes->length) + 1) << in nvmet_file_write_zeroes_work()
/linux-6.6.21/drivers/nvme/host/
Dcore.c869 cmnd->write_zeroes.opcode = nvme_cmd_write_zeroes; in nvme_setup_write_zeroes()
870 cmnd->write_zeroes.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_write_zeroes()
871 cmnd->write_zeroes.slba = in nvme_setup_write_zeroes()
873 cmnd->write_zeroes.length = in nvme_setup_write_zeroes()
877 cmnd->write_zeroes.control |= cpu_to_le16(NVME_WZ_DEAC); in nvme_setup_write_zeroes()
880 cmnd->write_zeroes.control |= cpu_to_le16(NVME_RW_PRINFO_PRACT); in nvme_setup_write_zeroes()
/linux-6.6.21/include/linux/
Dnvme.h1795 struct nvme_write_zeroes_cmd write_zeroes; member