Home
last modified time | relevance | path

Searched refs:zv_volsize (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzvol_os.c308 pp->mediasize = zv->zv_volsize; in zvol_geom_open()
713 volsize = zv->zv_volsize; in zvol_geom_bio_strategy()
832 volsize = zv->zv_volsize; in zvol_cdev_read()
880 volsize = zv->zv_volsize; in zvol_cdev_write()
1128 *(off_t *)data = zv->zv_volsize; in zvol_cdev_ioctl()
1143 offset < 0 || offset >= zv->zv_volsize || in zvol_cdev_ioctl()
1290 pp->mediasize = zv->zv_volsize; in zvol_os_rename_minor()
1478 zv->zv_volsize = volsize; in zvol_os_create_minor()
1552 zv->zv_volsize = volsize; in zvol_os_update_volsize()
1570 pp->mediasize = zv->zv_volsize; in zvol_os_update_volsize()
[all …]
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzvol_os.c281 uint64_t volsize = zv->zv_volsize; in zvol_write()
364 if (end > zv->zv_volsize) { in zvol_discard()
459 uint64_t volsize = zv->zv_volsize; in zvol_read()
532 if (io_has_data(bio, rq) && offset + size > zv->zv_volsize) { in zvol_request_impl()
977 zv->zv_volsize >> SECTOR_BITS); in zvol_revalidate_disk()
1659 zv->zv_volsize = volsize; in zvol_os_create_minor()
1668 set_capacity(zv->zv_zso->zvo_disk, zv->zv_volsize >> 9); in zvol_os_create_minor()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzvol_impl.h40 uint64_t zv_volsize; /* advertised space */ member
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzvol.c345 zv->zv_volsize = volsize; in zvol_set_volsize()
785 zv->zv_volsize = volsize; in zvol_setup_zv()