Searched refs:zvol_name (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/contrib/openzfs/udev/ |
H A D | zvol_id.c | 69 char zvol_name[MAXNAMELEN + strlen("-part") + 10]; in main() local 70 if (ioctl(fd, BLKZNAME, zvol_name) == -1) { in main() 77 len = strlen(zvol_name); in main() 79 sprintf(zvol_name + len, "-part%s", dev_part + 1); in main() 80 len = strlen(zvol_name); in main() 84 if (isblank(zvol_name[i])) in main() 85 zvol_name[i] = '+'; in main() 87 puts(zvol_name); in main()
|
/freebsd/tests/sys/aio/ |
H A D | aio_test.c | 985 char zvol_name[160]; in aio_zvol_setup() local 995 snprintf(zvol_name, sizeof(zvol_name), "%s/%s_%s", pool_name, ZVOL_NAME, in aio_zvol_setup() 1015 ZVOL_SIZE, zvol_name); in aio_zvol_setup() 1019 snprintf(devname, sizeof(devname), "/dev/zvol/%s", zvol_name); in aio_zvol_setup()
|