Home
last modified time | relevance | path

Searched refs:nguid (Results 1 – 8 of 8) sorted by relevance

/drivers/infiniband/hw/qib/
Dqib_eeprom.c154 if (t && dd0->nguid > 1 && t <= dd0->nguid) { in qib_get_eeprom_info()
174 dd->nguid = 1; in qib_get_eeprom_info()
236 dd->nguid = ifp->if_numguid; in qib_get_eeprom_info()
Dqib.h962 u32 nguid; member
/drivers/nvme/target/
Dadmin-cmd.c555 memcpy(&id->nguid, &req->ns->nguid, sizeof(id->nguid)); in nvmet_execute_identify_ns()
650 if (memchr_inv(req->ns->nguid, 0, sizeof(req->ns->nguid))) { in nvmet_execute_identify_desclist()
653 &req->ns->nguid, &off); in nvmet_execute_identify_desclist()
Dconfigfs.c447 return sprintf(page, "%pUb\n", &to_nvmet_ns(item)->nguid); in nvmet_ns_device_nguid_show()
455 u8 nguid[16]; in nvmet_ns_device_nguid_store() local
476 nguid[i] = (hex_to_bin(p[0]) << 4) | hex_to_bin(p[1]); in nvmet_ns_device_nguid_store()
483 memcpy(&ns->nguid, nguid, sizeof(nguid)); in nvmet_ns_device_nguid_store()
Dpassthru.c203 memset(id->nguid, 0, NVME_NIDT_NGUID_LEN); in nvmet_passthru_override_id_ns()
Dnvmet.h66 u8 nguid[16]; member
/drivers/nvme/host/
Dcore.c1396 memcpy(ids->nguid, data + sizeof(*cur), NVME_NIDT_NGUID_LEN); in nvme_process_ns_desc()
1530 !memchr_inv(ids->nguid, 0, sizeof(ids->nguid))) in nvme_ns_info_from_identify()
1531 memcpy(ids->nguid, id->nguid, sizeof(ids->nguid)); in nvme_ns_info_from_identify()
1786 memcmp(&a->nguid, &b->nguid, sizeof(a->nguid)) == 0 && in nvme_ns_ids_equal()
3476 if (memchr_inv(ids->nguid, 0, sizeof(ids->nguid))) in wwid_show()
3477 return sysfs_emit(buf, "eui.%16phN\n", ids->nguid); in wwid_show()
3498 return sysfs_emit(buf, "%pU\n", dev_to_ns_head(dev)->ids.nguid); in nguid_show()
3500 static DEVICE_ATTR_RO(nguid);
3513 return sysfs_emit(buf, "%pU\n", ids->nguid); in uuid_show()
3554 !memchr_inv(ids->nguid, 0, sizeof(ids->nguid))) in nvme_ns_id_attrs_are_visible()
[all …]
Dnvme.h426 u8 nguid[16]; member