函数名称:devm_memremap 函数原型:void *devm_memremap(struct device *dev, resource_size_t offset, size_t size, unsigned long flags) 返回类型:void 参数: 类型参数名称 struct device * dev resource_size_t offset size_t size unsigned long flags 144...
void *devm_memremap(struct device *dev, resource_size_t offset, size_t size, unsigned long flags) { void **ptr, *addr; ptr = devres_alloc_node(devm_memremap_release, sizeof(*ptr), GFP_KERNEL, dev_to_node(dev)); if (!ptr) return ERR_PTR(-ENOMEM); addr = memremap(offset, size...
Creation of NVDIMM/pmem device fails in devm_memremap_pages Raw [ 4.267935] ---[ cut here ]--- [ 4.268424] devm_memremap_pages attempted on mixed region [mem 0xbb800000-0xbffd6fff flags 0x200] [ 4.268926] WARNING: CPU: 0 PID: 691 at kernel/memremap.c:207 devm_memremap_pages+0x341...
void devm_memunmap(struct device *dev, void *addr); void *__devm_memremap_pages(struct device *dev, struct resource *res); #ifdef CONFIG_PCI /* * The PCI specifications (Rev 3.0, 3.2.5 "Transaction Ordering and 0 comments on commit 1d0827b Please sign in to comment. Footer...