Home
last modified time | relevance | path

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

/openbmc/linux/drivers/vfio/pci/mlx5/
H A Dmain.c95 buf->allocated_length += filled * PAGE_SIZE; in mlx5vf_add_migration_pages()
334 data.stop_copy_size = cpu_to_le64(migf->buf->allocated_length); in mlx5vf_add_stop_copy_header()
514 if (migf->buf && migf->buf->allocated_length >= length) { in mlx5vf_pci_save_device_inc_data()
652 if (vhca_buf->allocated_length < requested_length) { in mlx5vf_resume_read_image_no_header()
655 DIV_ROUND_UP(requested_length - vhca_buf->allocated_length, in mlx5vf_resume_read_image_no_header()
856 if (vhca_buf_header->allocated_length < migf->record_size) { in mlx5vf_resume_write()
884 if (vhca_buf->allocated_length < size) { in mlx5vf_resume_write()
H A Dcmd.h63 u64 allocated_length; member
H A Dcmd.c298 size_t npages = buf ? DIV_ROUND_UP(buf->allocated_length, PAGE_SIZE) : in _create_mkey()
355 if (buf->dmaed || !buf->allocated_length) in mlx5vf_dma_data_buffer()
452 if (buf->allocated_length >= length) { in mlx5vf_get_data_buffer()
607 MLX5_SET(save_vhca_state_in, in, size, buf->allocated_length); in mlx5vf_cmd_save_vhca_state()