Home
last modified time | relevance | path

Searched refs:nvme_id_ns_p (Results 1 – 2 of 2) sorted by relevance

/external/f2fs-tools/tools/sg_write_buffer/
Dsg_pt_common.c47 const uint8_t * nvme_id_ns_p, int pdt, in sg_make_vpd_devid_for_nvme() argument
92 if (NULL == nvme_id_ns_p) in sg_make_vpd_devid_for_nvme()
98 have_nguid = ! sg_all_zeros(nvme_id_ns_p + 104, 16); in sg_make_vpd_devid_for_nvme()
99 have_eui64 = ! sg_all_zeros(nvme_id_ns_p + 120, 8); in sg_make_vpd_devid_for_nvme()
108 memcpy(dop + n + 4, nvme_id_ns_p + 104, 16); in sg_make_vpd_devid_for_nvme()
117 snprintf(b, sizeof(b), "%02X", nvme_id_ns_p[104 + k]); in sg_make_vpd_devid_for_nvme()
127 memcpy(dop + n + 4, nvme_id_ns_p + 120, 8); in sg_make_vpd_devid_for_nvme()
136 snprintf(b, sizeof(b), "%02X", nvme_id_ns_p[120 + k]); in sg_make_vpd_devid_for_nvme()
/external/f2fs-tools/tools/sg_write_buffer/include/
Dsg_pt_nvme.h165 const uint8_t * nvme_id_ns_p, int pdt,