dev_pagemapRegular
4.4: Absent ⚠️
4.8: ✅struct dev_pagemap {
struct vmem_altmap *altmap;
const struct resource *res;
struct percpu_ref *ref;
struct device *dev;
};
4.10: ✅struct dev_pagemap {
struct vmem_altmap *altmap;
const struct resource *res;
struct percpu_ref *ref;
struct device *dev;
};
4.13: ✅struct dev_pagemap {
struct vmem_altmap *altmap;
const struct resource *res;
struct percpu_ref *ref;
struct device *dev;
};
4.15: ✅struct dev_pagemap {
dev_page_fault_t page_fault;
dev_page_free_t page_free;
struct vmem_altmap *altmap;
const struct resource *res;
struct percpu_ref *ref;
struct device *dev;
void *data;
enum memory_type type;
};
4.18: ✅struct dev_pagemap {
dev_page_fault_t page_fault;
dev_page_free_t page_free;
struct vmem_altmap altmap;
bool altmap_valid;
struct resource res;
struct percpu_ref *ref;
struct device *dev;
void *data;
enum memory_type type;
};
5.0: ✅struct dev_pagemap {
dev_page_free_t page_free;
struct vmem_altmap altmap;
bool altmap_valid;
struct resource res;
struct percpu_ref *ref;
void (*kill)(struct percpu_ref *);
struct device *dev;
void *data;
enum memory_type type;
u64 pci_p2pdma_bus_offset;
};
5.3: ✅struct dev_pagemap {
struct vmem_altmap altmap;
struct resource res;
struct percpu_ref *ref;
struct percpu_ref internal_ref;
struct completion done;
struct device *dev;
enum memory_type type;
unsigned int flags;
u64 pci_p2pdma_bus_offset;
const struct dev_pagemap_ops *ops;
};
5.4: ✅struct dev_pagemap {
struct vmem_altmap altmap;
struct resource res;
struct percpu_ref *ref;
struct percpu_ref internal_ref;
struct completion done;
enum memory_type type;
unsigned int flags;
const struct dev_pagemap_ops *ops;
};
5.8: ✅struct dev_pagemap {
struct vmem_altmap altmap;
struct resource res;
struct percpu_ref *ref;
struct percpu_ref internal_ref;
struct completion done;
enum memory_type type;
unsigned int flags;
const struct dev_pagemap_ops *ops;
void *owner;
};
5.11: ✅struct dev_pagemap {
struct vmem_altmap altmap;
struct percpu_ref *ref;
struct percpu_ref internal_ref;
struct completion done;
enum memory_type type;
unsigned int flags;
const struct dev_pagemap_ops *ops;
void *owner;
int nr_range;
struct range range;
struct range ranges[0];
};
5.13: ✅struct dev_pagemap {
struct vmem_altmap altmap;
struct percpu_ref *ref;
struct percpu_ref internal_ref;
struct completion done;
enum memory_type type;
unsigned int flags;
const struct dev_pagemap_ops *ops;
void *owner;
int nr_range;
struct range range;
struct range ranges[0];
};
5.15: ✅struct dev_pagemap {
struct vmem_altmap altmap;
struct percpu_ref *ref;
struct percpu_ref internal_ref;
struct completion done;
enum memory_type type;
unsigned int flags;
const struct dev_pagemap_ops *ops;
void *owner;
int nr_range;
struct range range;
struct range ranges[0];
};
5.19: ✅struct dev_pagemap {
struct vmem_altmap altmap;
struct percpu_ref ref;
struct completion done;
enum memory_type type;
unsigned int flags;
long unsigned int vmemmap_shift;
const struct dev_pagemap_ops *ops;
void *owner;
int nr_range;
struct range range;
struct range ranges[0];
};
6.2: ✅struct dev_pagemap {
struct vmem_altmap altmap;
struct percpu_ref ref;
struct completion done;
enum memory_type type;
unsigned int flags;
long unsigned int vmemmap_shift;
const struct dev_pagemap_ops *ops;
void *owner;
int nr_range;
struct range range;
struct range ranges[0];
};
6.5: ✅struct dev_pagemap {
struct vmem_altmap altmap;
struct percpu_ref ref;
struct completion done;
enum memory_type type;
unsigned int flags;
long unsigned int vmemmap_shift;
const struct dev_pagemap_ops *ops;
void *owner;
int nr_range;
struct range range;
struct (anon) __empty_ranges;
struct range ranges[0];
};
6.8: ✅struct dev_pagemap {
struct vmem_altmap altmap;
struct percpu_ref ref;
struct completion done;
enum memory_type type;
unsigned int flags;
long unsigned int vmemmap_shift;
const struct dev_pagemap_ops *ops;
void *owner;
int nr_range;
struct range range;
struct (anon) __empty_ranges;
struct range ranges[0];
};
arm64: ✅struct dev_pagemap {
struct vmem_altmap altmap;
struct resource res;
struct percpu_ref *ref;
struct percpu_ref internal_ref;
struct completion done;
enum memory_type type;
unsigned int flags;
const struct dev_pagemap_ops *ops;
};
armhf: ✅struct dev_pagemap {
struct vmem_altmap altmap;
struct resource res;
struct percpu_ref *ref;
struct percpu_ref internal_ref;
struct completion done;
enum memory_type type;
unsigned int flags;
const struct dev_pagemap_ops *ops;
};
ppc64el: ✅struct dev_pagemap {
struct vmem_altmap altmap;
struct resource res;
struct percpu_ref *ref;
struct percpu_ref internal_ref;
struct completion done;
enum memory_type type;
unsigned int flags;
const struct dev_pagemap_ops *ops;
};
riscv64: ✅struct dev_pagemap {
struct vmem_altmap altmap;
struct resource res;
struct percpu_ref *ref;
struct percpu_ref internal_ref;
struct completion done;
enum memory_type type;
unsigned int flags;
const struct dev_pagemap_ops *ops;
};
aws: ✅struct dev_pagemap {
struct vmem_altmap altmap;
struct resource res;
struct percpu_ref *ref;
struct percpu_ref internal_ref;
struct completion done;
enum memory_type type;
unsigned int flags;
const struct dev_pagemap_ops *ops;
};
azure: ✅struct dev_pagemap {
struct vmem_altmap altmap;
struct resource res;
struct percpu_ref *ref;
struct percpu_ref internal_ref;
struct completion done;
enum memory_type type;
unsigned int flags;
const struct dev_pagemap_ops *ops;
};
gcp: ✅struct dev_pagemap {
struct vmem_altmap altmap;
struct resource res;
struct percpu_ref *ref;
struct percpu_ref internal_ref;
struct completion done;
enum memory_type type;
unsigned int flags;
const struct dev_pagemap_ops *ops;
};
lowlatency: ✅struct dev_pagemap {
struct vmem_altmap altmap;
struct resource res;
struct percpu_ref *ref;
struct percpu_ref internal_ref;
struct completion done;
enum memory_type type;
unsigned int flags;
const struct dev_pagemap_ops *ops;
};
Regular
4.8 and 4.10 ✅
4.10 and 4.13 ✅
4.13 and 4.15 ⚠️dev_page_fault_t page_fault
dev_page_free_t page_free
void *data
enum memory_type type
4.15 and 4.18 ⚠️bool altmap_valid
struct vmem_altmap *altmap ➡️ struct vmem_altmap altmap
const struct resource *res ➡️ struct resource res
4.18 and 5.0 ⚠️void (*kill)(struct percpu_ref *)
u64 pci_p2pdma_bus_offset
dev_page_fault_t page_fault
5.0 and 5.3 ⚠️struct percpu_ref internal_ref
struct completion done
unsigned int flags
const struct dev_pagemap_ops *ops
dev_page_free_t page_free
bool altmap_valid
void (*kill)(struct percpu_ref *)
void *data
5.3 and 5.4 ⚠️struct device *dev
u64 pci_p2pdma_bus_offset
5.4 and 5.8 ⚠️void *owner
5.8 and 5.11 ⚠️int nr_range
struct range range
struct range ranges[0]
struct resource res
5.11 and 5.13 ✅
5.13 and 5.15 ✅
5.15 and 5.19 ⚠️long unsigned int vmemmap_shift
struct percpu_ref internal_ref
struct percpu_ref *ref ➡️ struct percpu_ref ref
5.19 and 6.2 ✅
6.2 and 6.5 ⚠️struct (anon) __empty_ranges
6.5 and 6.8 ✅
amd64 and arm64 ✅
amd64 and armhf ✅
amd64 and ppc64el ✅
amd64 and riscv64 ✅
generic and aws ✅
generic and azure ✅
generic and gcp ✅
generic and lowlatency ✅