Searched refs:id_ns (Results 1 – 4 of 4) sorted by relevance
32 NvmeIdNs *id_ns = &ns->id_ns; in nvme_ns_init_format() local37 ns->lbaf = id_ns->lbaf[NVME_ID_NS_FLBAS_INDEX(id_ns->flbas)]; in nvme_ns_init_format()45 id_ns->ncap = id_ns->nsze; in nvme_ns_init_format()46 id_ns->nuse = id_ns->ncap; in nvme_ns_init_format()57 id_ns->npda = id_ns->npdg = npdg - 1; in nvme_ns_init_format()63 NvmeIdNs *id_ns = &ns->id_ns; in nvme_ns_init() local92 memcpy(&id_ns->nguid, &ns->params.nguid.data, sizeof(id_ns->nguid)); in nvme_ns_init()103 id_ns->dpc = 0x1f; in nvme_ns_init()141 id_ns->flbas |= i; in nvme_ns_init()309 ns->id_ns.ncap = ns->id_ns.nsze; in nvme_ns_init_zoned()[all …]
24 if ((NVME_ID_NS_DPS_TYPE(ns->id_ns.dps) == NVME_ID_NS_DPS_TYPE_1) && in nvme_check_prinfo()29 if ((NVME_ID_NS_DPS_TYPE(ns->id_ns.dps) == NVME_ID_NS_DPS_TYPE_3) && in nvme_check_prinfo()71 if (!(ns->id_ns.dps & NVME_ID_NS_DPS_FIRST_EIGHT)) { in nvme_dif_pract_generate_dif_crc16()91 if (NVME_ID_NS_DPS_TYPE(ns->id_ns.dps) != NVME_ID_NS_DPS_TYPE_3) { in nvme_dif_pract_generate_dif_crc16()105 if (!(ns->id_ns.dps & NVME_ID_NS_DPS_FIRST_EIGHT)) { in nvme_dif_pract_generate_dif_crc64()158 switch (NVME_ID_NS_DPS_TYPE(ns->id_ns.dps)) { in nvme_dif_prchk_crc16()226 switch (NVME_ID_NS_DPS_TYPE(ns->id_ns.dps)) { in nvme_dif_prchk_crc64()310 if (!(ns->id_ns.dps & NVME_ID_NS_DPS_FIRST_EIGHT)) { in nvme_dif_check()365 if (!(ns->id_ns.dps & NVME_ID_NS_DPS_FIRST_EIGHT)) { in nvme_dif_mangle_mdata()593 if (ns->id_ns.dps & NVME_ID_NS_DPS_FIRST_EIGHT) { in nvme_dif_rw()[all …]
2260 if (NVME_ID_NS_DPS_TYPE(ns->id_ns.dps)) { in nvme_verify_cb()2366 if (NVME_ID_NS_DPS_TYPE(ns->id_ns.dps)) { in nvme_compare_mdata_cb()2664 if (NVME_ID_NS_DPS_TYPE(ns->id_ns.dps)) { in nvme_verify()2890 if (copy_len > ns->id_ns.mcl) { in nvme_check_copy_mcl()3117 sns->id_ns.dps != dns->id_ns.dps)) { in nvme_copy_matching_ns_format()3327 if (nr > ns->id_ns.msrc + 1) { in nvme_copy()3856 if (unlikely(*slba >= ns->id_ns.nsze)) { in nvme_get_mgmt_zone_slba_idx()6522 ns->id_ns.nlbaf = ns->nlbaf - 1; in nvme_set_feature()6524 ns->id_ns.nlbaf = MIN(ns->id_ns.nlbaf, 15); in nvme_set_feature()6728 ns->id_ns.dps = (pil << 3) | pi; in nvme_format_set()[all …]
229 NvmeIdNs id_ns; member303 return !!NVME_ID_NS_FLBAS_EXTENDED(ns->id_ns.flbas); in nvme_ns_ext()