Home
last modified time | relevance | path

Searched refs:pi_type (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/nvme/target/
Dio-cmd-bdev.c66 ns->pi_type = NVME_NS_DPS_PI_TYPE1; in nvmet_bdev_ns_enable_integrity()
68 ns->pi_type = NVME_NS_DPS_PI_TYPE3; in nvmet_bdev_ns_enable_integrity()
101 ns->pi_type = 0; in nvmet_bdev_ns_enable()
Drdma.c579 u16 control, u8 pi_type) in nvmet_rdma_set_sig_domain() argument
591 if (pi_type == NVME_NS_DPS_PI_TYPE3) in nvmet_rdma_set_sig_domain()
600 u8 pi_type = req->ns->pi_type; in nvmet_rdma_set_sig_attrs() local
611 pi_type); in nvmet_rdma_set_sig_attrs()
620 pi_type); in nvmet_rdma_set_sig_attrs()
622 pi_type); in nvmet_rdma_set_sig_attrs()
Dnvmet.h83 int pi_type; member
668 return ns->pi_type && ns->metadata_size == sizeof(struct t10_pi_tuple); in nvmet_ns_has_pi()
Dadmin-cmd.c564 id->dps = req->ns->pi_type; in nvmet_execute_identify_ns()
/linux-6.1.9/drivers/nvme/host/
Drdma.c1378 u16 control, u8 pi_type) in nvme_rdma_set_sig_domain() argument
1390 if (pi_type == NVME_NS_DPS_PI_TYPE3) in nvme_rdma_set_sig_domain()
1396 u8 pi_type) in nvme_rdma_set_sig_attrs() argument
1405 pi_type); in nvme_rdma_set_sig_attrs()
1412 pi_type); in nvme_rdma_set_sig_attrs()
1414 pi_type); in nvme_rdma_set_sig_attrs()
1456 req->mr->sig_attrs, ns->pi_type); in nvme_rdma_map_sg_pi()
Dnvme.h478 u8 pi_type; member
502 return ns->pi_type && ns->ms == ns->pi_size; in nvme_ns_has_pi()
Dcore.c857 switch (ns->pi_type) { in nvme_setup_write_zeroes()
908 switch (ns->pi_type) { in nvme_setup_rw()
1646 switch (ns->pi_type) { in nvme_init_integrity()
1789 ns->pi_type = id->dps & NVME_NS_DPS_PI_MASK; in nvme_init_ms()
1791 ns->pi_type = 0; in nvme_init_ms()