/mm/ |
D | dmapool.c | 46 struct device *dev; member 65 show_pools(struct device *dev, struct device_attribute *attr, char *buf) in show_pools() argument 81 list_for_each_entry(pool, &dev->dma_pools, pools) { in show_pools() 130 struct dma_pool *dma_pool_create(const char *name, struct device *dev, in dma_pool_create() argument 155 retval = kmalloc_node(sizeof(*retval), GFP_KERNEL, dev_to_node(dev)); in dma_pool_create() 161 retval->dev = dev; in dma_pool_create() 181 if (list_empty(&dev->dma_pools)) in dma_pool_create() 183 list_add(&retval->pools, &dev->dma_pools); in dma_pool_create() 188 err = device_create_file(dev, &dev_attr_pools); in dma_pool_create() 226 page->vaddr = dma_alloc_coherent(pool->dev, pool->allocation, in pool_alloc_page() [all …]
|
D | backing-dev.c | 132 static ssize_t read_ahead_kb_store(struct device *dev, in read_ahead_kb_store() argument 136 struct backing_dev_info *bdi = dev_get_drvdata(dev); in read_ahead_kb_store() 152 static ssize_t name##_show(struct device *dev, \ 155 struct backing_dev_info *bdi = dev_get_drvdata(dev); \ 163 static ssize_t min_ratio_store(struct device *dev, in min_ratio_store() argument 166 struct backing_dev_info *bdi = dev_get_drvdata(dev); in min_ratio_store() 182 static ssize_t max_ratio_store(struct device *dev, in max_ratio_store() argument 185 struct backing_dev_info *bdi = dev_get_drvdata(dev); in max_ratio_store() 201 static ssize_t stable_pages_required_show(struct device *dev, in stable_pages_required_show() argument 205 dev_warn_once(dev, in stable_pages_required_show() [all …]
|
D | memremap.c | 426 void *devm_memremap_pages(struct device *dev, struct dev_pagemap *pgmap) in devm_memremap_pages() argument 431 ret = memremap_pages(pgmap, dev_to_node(dev)); in devm_memremap_pages() 435 error = devm_add_action_or_reset(dev, devm_memremap_pages_release, in devm_memremap_pages() 443 void devm_memunmap_pages(struct device *dev, struct dev_pagemap *pgmap) in devm_memunmap_pages() argument 445 devm_release_action(dev, devm_memremap_pages_release, pgmap); in devm_memunmap_pages()
|
D | memory-failure.c | 111 dev_t dev; in hwpoison_filter_dev() local 127 dev = mapping->host->i_sb->s_dev; in hwpoison_filter_dev() 129 hwpoison_filter_dev_major != MAJOR(dev)) in hwpoison_filter_dev() 132 hwpoison_filter_dev_minor != MINOR(dev)) in hwpoison_filter_dev()
|
D | compaction.c | 2700 static ssize_t sysfs_compact_node(struct device *dev, in sysfs_compact_node() argument 2704 int nid = dev->id; in sysfs_compact_node() 2719 return device_create_file(&node->dev, &dev_attr_compact); in compaction_register_node() 2724 return device_remove_file(&node->dev, &dev_attr_compact); in compaction_unregister_node()
|
D | Makefile | 51 util.o mmzone.o vmstat.o backing-dev.o \
|
D | memory_hotplug.c | 1011 return device_online(&mem->dev); in online_memory_block() 1884 rc = device_offline(&mem->dev); in try_offline_memory_block() 1904 rc = device_online(&mem->dev); in try_reonline_memory_block()
|
D | shmem.c | 2306 umode_t mode, dev_t dev, unsigned long flags) in shmem_get_inode() argument 2337 init_special_inode(inode, mode, dev); in shmem_get_inode() 2894 shmem_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in shmem_mknod() argument 2899 inode = shmem_get_inode(dir->i_sb, dir, mode, dev, VM_NORESERVE); in shmem_mknod() 4169 #define shmem_get_inode(sb, dir, mode, dev, flags) ramfs_get_inode(sb, dir, mode, dev) argument
|
D | hugetlb.c | 3090 struct node_hstate *nhs = &node_hstates[node->dev.id]; in hugetlb_unregister_node() 3115 struct node_hstate *nhs = &node_hstates[node->dev.id]; in hugetlb_register_node() 3122 &node->dev.kobj); in hugetlb_register_node() 3132 h->name, node->dev.id); in hugetlb_register_node() 3150 if (node->dev.id == nid) in hugetlb_register_all_nodes()
|