Home
last modified time | relevance | path

Searched refs:allocated_length (Results 1 – 5 of 5) sorted by relevance

/linux-6.15/drivers/vfio/pci/virtio/
H A Dcommon.h30 u64 allocated_length; member
H A Dmigrate.c93 buf->allocated_length += filled * PAGE_SIZE; in virtiovf_add_migration_pages()
177 if (buf->allocated_length >= length) { in virtiovf_get_data_buffer()
974 if (vhca_buf_header->allocated_length < migf->record_size) { in virtiovf_resume_write()
1006 if (vhca_buf->allocated_length < cmd_size) { in virtiovf_resume_write()
1008 DIV_ROUND_UP_ULL(cmd_size - vhca_buf->allocated_length, in virtiovf_resume_write()
/linux-6.15/drivers/vfio/pci/mlx5/
H A Dmain.c318 if (buf->allocated_length >= required_length) in mlx5vf_mig_file_get_stop_copy_buf()
391 data.stop_copy_size = cpu_to_le64(migf->buf[0]->allocated_length); in mlx5vf_add_stop_copy_header()
679 migf->buf[0]->allocated_length, DMA_FROM_DEVICE); in mlx5vf_pci_save_device_data()
920 if (vhca_buf_header->allocated_length < migf->record_size) { in mlx5vf_resume_write()
948 if (vhca_buf->allocated_length < size) { in mlx5vf_resume_write()
H A Dcmd.h59 u64 allocated_length; member
H A Dcmd.c321 size_t npages = buf ? DIV_ROUND_UP(buf->allocated_length, PAGE_SIZE) : in _create_mkey()
378 if (buf->dmaed || !buf->allocated_length) in mlx5vf_dma_data_buffer()
448 buf->allocated_length += filled * PAGE_SIZE; in mlx5vf_add_migration_pages()
524 if (buf->allocated_length >= length) { in mlx5vf_get_data_buffer()
719 MLX5_SET(save_vhca_state_in, in, size, buf->allocated_length); in mlx5vf_cmd_save_vhca_state()