Home
last modified time | relevance | path

Searched refs:lbaf (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/cmd/nvmeadm/
H A Dnvmeadm.c876 do_format_common(int fd, const nvme_process_arg_t *npa, unsigned long lbaf, in do_format_common() argument
890 if (nvme_format_nvm(fd, lbaf, ses) == B_FALSE) { in do_format_common()
913 unsigned long lbaf; in do_format() local
925 lbaf = strtoul(npa->npa_argv[0], NULL, 10); in do_format()
927 if (errno != 0 || lbaf > NVME_FRMT_MAX_LBAF) in do_format()
928 errx(-1, "invalid LBA format %d", lbaf + 1); in do_format()
930 if (npa->npa_idns->id_lbaf[lbaf].lbaf_ms != 0) in do_format()
933 lbaf = npa->npa_idns->id_flbas.lba_format; in do_format()
936 return (do_format_common(fd, npa, lbaf, 0)); in do_format()
950 unsigned long lbaf; in do_secure_erase() local
[all …]
H A Dnvmeadm_dev.c147 nvme_format_nvm(int fd, uint8_t lbaf, uint8_t ses) in nvme_format_nvm() argument
151 frmt.b.fm_lbaf = lbaf & 0xf; in nvme_format_nvm()
/titanic_41/usr/src/uts/common/io/nvme/
H A Dnvme.c1610 nvme_format_nvm(nvme_t *nvme, uint32_t nsid, uint8_t lbaf, boolean_t ms, in nvme_format_nvm() argument
1617 format_nvm.b.fm_lbaf = lbaf & 0xf; in nvme_format_nvm()