Searched refs:nvme_ioctl (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/cmd/nvmeadm/ |
H A D | nvmeadm_dev.c | 30 nvme_ioctl(int fd, int ioc, size_t *bufsize, void **buf, uint64_t arg, in nvme_ioctl() function 79 (void) nvme_ioctl(fd, NVME_IOC_CAPABILITIES, &bufsize, &cap, 0, NULL); in nvme_capabilities() 90 (void) nvme_ioctl(fd, NVME_IOC_VERSION, &bufsize, &vs, 0, NULL); in nvme_version() 101 (void) nvme_ioctl(fd, NVME_IOC_IDENTIFY_CTRL, &bufsize, &idctl, 0, in nvme_identify_ctrl() 113 (void) nvme_ioctl(fd, NVME_IOC_IDENTIFY_NSID, &bufsize, &idns, 0, NULL); in nvme_identify_nsid() 123 (void) nvme_ioctl(fd, NVME_IOC_GET_LOGPAGE, bufsize, &buf, logpage, in nvme_get_logpage() 133 return (nvme_ioctl(fd, NVME_IOC_GET_FEATURES, bufsize, buf, in nvme_get_feature() 142 (void) nvme_ioctl(fd, NVME_IOC_INTR_CNT, NULL, NULL, 0, &res); in nvme_intr_cnt() 154 return (nvme_ioctl(fd, NVME_IOC_FORMAT, NULL, NULL, frmt.r, NULL)); in nvme_format_nvm() 160 return (nvme_ioctl(fd, NVME_IOC_DETACH, NULL, NULL, 0, NULL)); in nvme_detach() [all …]
|
/titanic_44/usr/src/uts/common/io/nvme/ |
H A D | nvme.c | 373 static int nvme_ioctl(dev_t, int, intptr_t, int, cred_t *, int *); 464 .cb_ioctl = nvme_ioctl, 3820 nvme_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cred_p, in nvme_ioctl() function 3832 int (*nvme_ioctl[])(nvme_t *, int, nvme_ioctl_t *, int, cred_t *) = { in nvme_ioctl() local 3895 if (IS_NVME_IOC(cmd) && nvme_ioctl[NVME_IOC_CMD(cmd)] != NULL) in nvme_ioctl() 3896 rv = nvme_ioctl[NVME_IOC_CMD(cmd)](nvme, nsid, &nioc, mode, in nvme_ioctl()
|