summaryrefslogtreecommitdiff
path: root/include/linux/types.h
diff options
context:
space:
mode:
authorAlex Williamson <alex@shazbot.org>2026-01-19 20:25:24 +0300
committerAlex Williamson <alex@shazbot.org>2026-01-19 20:25:24 +0300
commitfab06e956fce42f07ad35ca53073504bad2a080f (patch)
tree01bdb66e0e8c9b96a26eb376690b0bdfe2db36f9 /include/linux/types.h
parente5f19b619fa0b691ccb537d72240bd20eb72087c (diff)
parentb703b31ea8cd22c1915cfdd6d8e39bf39ec64c8b (diff)
downloadlinux-fab06e956fce42f07ad35ca53073504bad2a080f.tar.xz
Merge tag 'common_phys_vec_via_vfio' into v6.20/vfio/next
* Reuse common phys_vec, phase out dma_buf_phys_vec Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'include/linux/types.h')
-rw-r--r--include/linux/types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/types.h b/include/linux/types.h
index d4437e9c452c..d673747eda8a 100644
--- a/include/linux/types.h
+++ b/include/linux/types.h
@@ -171,6 +171,11 @@ typedef u64 phys_addr_t;
typedef u32 phys_addr_t;
#endif
+struct phys_vec {
+ phys_addr_t paddr;
+ size_t len;
+};
+
typedef phys_addr_t resource_size_t;
/*