Searched refs:idns (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/cmd/nvmeadm/ |
H A D | nvmeadm_print.c | 394 nvme_print_nsid_summary(nvme_identify_nsid_t *idns) in nvme_print_nsid_summary() argument 396 int bsize = 1 << idns->id_lbaf[idns->id_flbas.lba_format].lbaf_lbads; in nvme_print_nsid_summary() 401 idns->id_nsize * bsize / 1024 / 1024, in nvme_print_nsid_summary() 402 idns->id_ncap * bsize / 1024 / 1024, in nvme_print_nsid_summary() 403 idns->id_nuse * bsize / 1024 / 1024); in nvme_print_nsid_summary() 601 nvme_print_identify_nsid(nvme_identify_nsid_t *idns, nvme_version_t *version) in nvme_print_identify_nsid() argument 603 int bsize = 1 << idns->id_lbaf[idns->id_flbas.lba_format].lbaf_lbads; in nvme_print_identify_nsid() 609 idns->id_nsize * bsize / 1024 / 1024, NULL, "MB"); in nvme_print_identify_nsid() 611 idns->id_ncap * bsize / 1024 / 1024, NULL, "MB"); in nvme_print_identify_nsid() 613 idns->id_nuse * bsize / 1024 / 1024, NULL, "MB"); in nvme_print_identify_nsid() [all …]
|
H A D | nvmeadm_dev.c | 110 void *idns = NULL; in nvme_identify_nsid() local 113 (void) nvme_ioctl(fd, NVME_IOC_IDENTIFY_NSID, &bufsize, &idns, 0, NULL); in nvme_identify_nsid() 115 return (idns); in nvme_identify_nsid()
|
/titanic_41/usr/src/uts/common/io/nvme/ |
H A D | nvme.c | 2146 nvme_identify_nsid_t *idns; in nvme_init_ns() local 2151 if (nvme_identify(nvme, nsid, (void **)&idns) != 0) { in nvme_init_ns() 2157 ns->ns_idns = idns; in nvme_init_ns() 2159 ns->ns_block_count = idns->id_nsize; in nvme_init_ns() 2161 1 << idns->id_lbaf[idns->id_flbas.lba_format].lbaf_lbads; in nvme_init_ns() 2168 bcopy(idns->id_eui64, ns->ns_eui64, sizeof (ns->ns_eui64)); in nvme_init_ns() 2190 for (int j = 0; j <= idns->id_nlbaf; j++) { in nvme_init_ns() 2191 if (idns->id_lbaf[j].lbaf_lbads == 0) in nvme_init_ns() 2193 if (idns->id_lbaf[j].lbaf_ms != 0) in nvme_init_ns() 2195 if (idns->id_lbaf[j].lbaf_rp >= last_rp) in nvme_init_ns() [all …]
|