Searched refs:NVME_IDENTIFY_BUFSIZE (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/common/nvme/ |
H A D | nvme_identify.c | 45 return (nvme_field_range_check(field, NVME_IDENTIFY_BUFSIZE, in nvme_identify_field_valid_buf() 46 NVME_IDENTIFY_BUFSIZE, msg, msglen, len)); in nvme_identify_field_valid_buf()
|
/illumos-gate/usr/src/lib/libnvme/common/ |
H A D | libnvme_identify.c | 175 if (len < NVME_IDENTIFY_BUFSIZE) { in nvme_id_req_set_output() 178 NVME_IDENTIFY_BUFSIZE)); in nvme_id_req_set_output()
|
/illumos-gate/usr/src/cmd/nvmeadm/ |
H A D | nvmeadm.c | 57 CTASSERT(sizeof (nvme_identify_ctrl_t) == NVME_IDENTIFY_BUFSIZE); 66 CTASSERT(sizeof (nvme_identify_nsid_t) == NVME_IDENTIFY_BUFSIZE); 73 CTASSERT(sizeof (nvme_identify_nsid_list_t) == NVME_IDENTIFY_BUFSIZE); 1277 if ((idnslist = malloc(NVME_IDENTIFY_BUFSIZE)) == NULL) { in do_identify_ctrl() 1295 NVME_IDENTIFY_BUFSIZE)) { in do_identify_ctrl() 1314 if ((ctlist = malloc(NVME_IDENTIFY_BUFSIZE)) == NULL) { in do_identify_ctrl() 1326 NVME_IDENTIFY_BUFSIZE)) { in do_identify_ctrl() 1422 if ((ctlist = malloc(NVME_IDENTIFY_BUFSIZE)) == NULL) { in do_identify_ns() 1435 NVME_IDENTIFY_BUFSIZE)) { in do_identify_ns() 1454 if ((nsdesc = malloc(NVME_IDENTIFY_BUFSIZE)) == NULL) { in do_identify_ns() [all …]
|
H A D | nvmeadm_print.c | 1823 for (ptr = (uintptr_t)desc, end = ptr + NVME_IDENTIFY_BUFSIZE; in nvme_print_identify_nsid_desc()
|
/illumos-gate/usr/src/test/nvme-tests/tests/ioctl/ |
H A D | basic-identify.c | 50 if ((data = malloc(NVME_IDENTIFY_BUFSIZE)) == NULL) { in main()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | nvme.h | 780 #define NVME_IDENTIFY_BUFSIZE 4096 /* buffer size for Identify */ macro 1207 uint32_t nl_nsid[NVME_IDENTIFY_BUFSIZE / sizeof (uint32_t)]; 1214 uint16_t cl_ctlid[NVME_IDENTIFY_BUFSIZE / sizeof (uint16_t) - 1];
|
/illumos-gate/usr/src/uts/common/io/nvme/ |
H A D | nvme.c | 2786 if (nvme_zalloc_dma(nvme, NVME_IDENTIFY_BUFSIZE, DDI_DMA_READ, in nvme_identify() 2825 *buf = kmem_alloc(NVME_IDENTIFY_BUFSIZE, KM_SLEEP); in nvme_identify() 2826 bcopy(cmd->nc_dma->nd_memp, *buf, NVME_IDENTIFY_BUFSIZE); in nvme_identify() 3376 kmem_free(nslist, NVME_IDENTIFY_BUFSIZE); in nvme_allocated_ns() 3419 kmem_free(nslist, NVME_IDENTIFY_BUFSIZE); in nvme_active_ns() 4827 kmem_free(nvme->n_idcomns, NVME_IDENTIFY_BUFSIZE); in nvme_detach() 4830 kmem_free(nvme->n_idctl, NVME_IDENTIFY_BUFSIZE); in nvme_detach() 5734 kmem_free(idbuf, NVME_IDENTIFY_BUFSIZE); in nvme_ioctl_ctrl_info() 5809 kmem_free(idbuf, NVME_IDENTIFY_BUFSIZE); in nvme_ioctl_ns_info() 5899 NVME_IDENTIFY_BUFSIZE, mode & FKIOCTL); in nvme_ioctl_identify() [all …]
|