Home
last modified time | relevance | path

Searched refs:filled_size (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/vfio/pci/qat/
Dmain.c45 ssize_t filled_size; member
87 migf->filled_size = 0; in qat_vf_disable_fd()
180 if (*offs > migf->filled_size || *offs < 0) { in qat_vf_save_read()
190 len = min_t(size_t, migf->filled_size - *offs, len); in qat_vf_save_read()
233 migf->filled_size = qat_vdev->mdev->state_size; in qat_vf_save_state()
246 migf->filled_size = qat_vdev->mdev->setup_size; in qat_vf_save_setup()
325 migf->filled_size += len; in qat_vf_resume_write()
331 ret = qat_vfmig_load_setup(mig_dev, migf->filled_size); in qat_vf_resume_write()
367 migf->filled_size = 0; in qat_vf_resume_device_data()
/linux-6.12.1/samples/vfio-mdev/
Dmtty.c148 ssize_t filled_size; member
787 migf->filled_size = 0; in mtty_disable_file()
868 if (*pos > migf->filled_size) { in mtty_precopy_ioctl()
875 info.initial_bytes = migf->filled_size - *pos; in mtty_precopy_ioctl()
904 if (*pos > migf->filled_size) { in mtty_save_read()
909 len = min_t(size_t, migf->filled_size - *pos, len); in mtty_save_read()
941 migf->filled_size += sizeof(struct serial_port); in mtty_save_state()
944 "%s filled to %zu\n", __func__, migf->filled_size); in mtty_save_state()
955 if (migf->filled_size < mtty_data_size(mdev_state)) { in mtty_load_state()
958 migf->filled_size); in mtty_load_state()
[all …]