Home
last modified time | relevance | path

Searched refs:device (Results 1 – 8 of 8) sorted by relevance

/mm/
Ddmapool.c46 struct device *dev;
65 show_pools(struct device *dev, struct device_attribute *attr, char *buf) in show_pools()
130 struct dma_pool *dma_pool_create(const char *name, struct device *dev, in dma_pool_create()
480 static void dmam_pool_release(struct device *dev, void *res) in dmam_pool_release()
487 static int dmam_pool_match(struct device *dev, void *res, void *match_data) in dmam_pool_match()
506 struct dma_pool *dmam_pool_create(const char *name, struct device *dev, in dmam_pool_create()
533 struct device *dev = pool->dev; in dmam_pool_destroy()
Dhmm.c964 long hmm_range_dma_map(struct hmm_range *range, struct device *device, in hmm_range_dma_map() argument
1003 daddrs[i] = dma_map_page(device, page, 0, PAGE_SIZE, dir); in hmm_range_dma_map()
1004 if (dma_mapping_error(device, daddrs[i])) { in hmm_range_dma_map()
1023 if (dma_mapping_error(device, daddrs[i])) in hmm_range_dma_map()
1030 dma_unmap_page(device, daddrs[i], PAGE_SIZE, dir); in hmm_range_dma_map()
1052 struct device *device, in hmm_range_dma_unmap() argument
1089 dma_unmap_page(device, daddrs[i], PAGE_SIZE, dir); in hmm_range_dma_unmap()
Dbacking-dev.c134 static ssize_t read_ahead_kb_store(struct device *dev, in read_ahead_kb_store()
154 static ssize_t name##_show(struct device *dev, \
165 static ssize_t min_ratio_store(struct device *dev, in min_ratio_store()
184 static ssize_t max_ratio_store(struct device *dev, in max_ratio_store()
203 static ssize_t stable_pages_required_show(struct device *dev, in stable_pages_required_show()
934 struct device *dev; in bdi_register_va()
979 int bdi_register_owner(struct backing_dev_info *bdi, struct device *owner) in bdi_register_owner()
DKconfig461 of a "backing" store for a swap device. The data is stored into
468 and swap data is stored as normal on the matching swap device.
508 used as device private area. This parameter sets the maximum
534 This can result in a significant I/O reduction on swap device and,
535 in the case where decompressing from RAM is faster that swap device
660 or other device driver discovered memory regions, in the
662 "device-physical" addresses which is needed for using a DAX
671 # Helpers to mirror range of the CPU page tables of a process into device page
680 bool "Unaddressable device memory (GPU memory, ...)"
685 Allows creation of struct pages to represent unaddressable device
[all …]
Dmemremap.c343 void *devm_memremap_pages(struct device *dev, struct dev_pagemap *pgmap) in devm_memremap_pages()
360 void devm_memunmap_pages(struct device *dev, struct dev_pagemap *pgmap) in devm_memunmap_pages()
Dswapfile.c1760 int swap_type_of(dev_t device, sector_t offset, struct block_device **bdev_p) in swap_type_of() argument
1765 if (device) in swap_type_of()
1766 bdev = bdget(device); in swap_type_of()
Dmemcontrol.c5868 bool device = false; in mem_cgroup_move_charge_pte_range() local
5876 device = true; in mem_cgroup_move_charge_pte_range()
5888 if (!device && isolate_lru_page(page)) in mem_cgroup_move_charge_pte_range()
5896 if (!device) in mem_cgroup_move_charge_pte_range()
Dcompaction.c2467 static ssize_t sysfs_compact_node(struct device *dev, in sysfs_compact_node()