Lines Matching refs:filled_size
148 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()
1006 migf->filled_size = offsetof(struct mtty_data, ports); in mtty_save_device_data()
1009 __func__, migf->filled_size); in mtty_save_device_data()
1056 __func__, len, migf->filled_size + len); in mtty_resume_write()
1058 if (migf->filled_size < offsetof(struct mtty_data, ports) && in mtty_resume_write()
1059 migf->filled_size + len >= offsetof(struct mtty_data, ports)) { in mtty_resume_write()
1073 migf->filled_size += len; in mtty_resume_write()