Searched refs:nguid (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/drivers/infiniband/hw/qib/ |
D | qib_eeprom.c | 154 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()
|
D | qib.h | 962 u32 nguid; member
|
/linux-6.12.1/drivers/nvme/host/ |
D | sysfs.c | 115 if (memchr_inv(ids->nguid, 0, sizeof(ids->nguid))) in wwid_show() 116 return sysfs_emit(buf, "eui.%16phN\n", ids->nguid); in wwid_show() 137 return sysfs_emit(buf, "%pU\n", dev_to_ns_head(dev)->ids.nguid); in nguid_show() 139 static DEVICE_ATTR_RO(nguid); 152 return sysfs_emit(buf, "%pU\n", ids->nguid); in uuid_show() 274 !memchr_inv(ids->nguid, 0, sizeof(ids->nguid))) in nvme_ns_attrs_are_visible() 278 if (!memchr_inv(ids->nguid, 0, sizeof(ids->nguid))) in nvme_ns_attrs_are_visible()
|
D | core.c | 1477 memcpy(ids->nguid, data + sizeof(*cur), NVME_NIDT_NGUID_LEN); in nvme_process_ns_desc() 1612 !memchr_inv(ids->nguid, 0, sizeof(ids->nguid))) in nvme_ns_info_from_identify() 1613 memcpy(ids->nguid, id->nguid, sizeof(ids->nguid)); in nvme_ns_info_from_identify() 1863 memcmp(&a->nguid, &b->nguid, sizeof(a->nguid)) == 0 && in nvme_ns_ids_equal() 2324 if (memchr_inv(ids->nguid, 0, sizeof(ids->nguid))) { in nvme_ns_get_unique_id() 2325 memcpy(id, &ids->nguid, sizeof(ids->nguid)); in nvme_ns_get_unique_id() 2326 return sizeof(ids->nguid); in nvme_ns_get_unique_id() 3526 bool has_nguid = memchr_inv(ids->nguid, 0, sizeof(ids->nguid)); in nvme_subsys_check_duplicate_ids() 3536 memcmp(&ids->nguid, &h->ids.nguid, sizeof(ids->nguid)) == 0) in nvme_subsys_check_duplicate_ids() 3735 memset(&info->ids.nguid, 0, sizeof(info->ids.nguid)); in nvme_init_ns_head()
|
D | nvme.h | 452 u8 nguid[16]; member
|
/linux-6.12.1/drivers/nvme/target/ |
D | admin-cmd.c | 554 memcpy(&id->nguid, &req->ns->nguid, sizeof(id->nguid)); in nvmet_execute_identify_ns() 659 if (memchr_inv(req->ns->nguid, 0, sizeof(req->ns->nguid))) { in nvmet_execute_identify_desclist() 662 &req->ns->nguid, &off); in nvmet_execute_identify_desclist()
|
D | configfs.c | 607 return sprintf(page, "%pUb\n", &to_nvmet_ns(item)->nguid); in nvmet_ns_device_nguid_show() 615 u8 nguid[16]; in nvmet_ns_device_nguid_store() local 636 nguid[i] = (hex_to_bin(p[0]) << 4) | hex_to_bin(p[1]); in nvmet_ns_device_nguid_store() 643 memcpy(&ns->nguid, nguid, sizeof(nguid)); in nvmet_ns_device_nguid_store()
|
D | passthru.c | 203 memset(id->nguid, 0, NVME_NIDT_NGUID_LEN); in nvmet_passthru_override_id_ns()
|
D | nvmet.h | 68 u8 nguid[16]; member
|
/linux-6.12.1/include/linux/ |
D | nvme.h | 432 __u8 nguid[16]; member
|