Searched refs:dev (Results 1 – 8 of 8) sorted by relevance
/mm/ |
D | dmapool.c | 49 struct device *dev; member 68 show_pools(struct device *dev, struct device_attribute *attr, char *buf) in show_pools() argument 84 list_for_each_entry(pool, &dev->dma_pools, pools) { in show_pools() 131 struct dma_pool *dma_pool_create(const char *name, struct device *dev, in dma_pool_create() argument 158 retval = kmalloc_node(sizeof(*retval), GFP_KERNEL, dev_to_node(dev)); in dma_pool_create() 164 retval->dev = dev; in dma_pool_create() 184 if (list_empty(&dev->dma_pools)) in dma_pool_create() 186 list_add(&retval->pools, &dev->dma_pools); in dma_pool_create() 191 err = device_create_file(dev, &dev_attr_pools); in dma_pool_create() 229 page->vaddr = dma_alloc_coherent(pool->dev, pool->allocation, in pool_alloc_page() [all …]
|
D | backing-dev.c | 162 static ssize_t read_ahead_kb_store(struct device *dev, in read_ahead_kb_store() argument 166 struct backing_dev_info *bdi = dev_get_drvdata(dev); in read_ahead_kb_store() 182 static ssize_t name##_show(struct device *dev, \ 185 struct backing_dev_info *bdi = dev_get_drvdata(dev); \ 193 static ssize_t min_ratio_store(struct device *dev, in min_ratio_store() argument 196 struct backing_dev_info *bdi = dev_get_drvdata(dev); in min_ratio_store() 212 static ssize_t max_ratio_store(struct device *dev, in max_ratio_store() argument 215 struct backing_dev_info *bdi = dev_get_drvdata(dev); in max_ratio_store() 231 static ssize_t stable_pages_required_show(struct device *dev, in stable_pages_required_show() argument 235 struct backing_dev_info *bdi = dev_get_drvdata(dev); in stable_pages_required_show() [all …]
|
D | compaction.c | 1523 static ssize_t sysfs_compact_node(struct device *dev, in sysfs_compact_node() argument 1527 int nid = dev->id; in sysfs_compact_node() 1542 return device_create_file(&node->dev, &dev_attr_compact); in compaction_register_node() 1547 return device_remove_file(&node->dev, &dev_attr_compact); in compaction_unregister_node()
|
D | memory-failure.c | 82 dev_t dev; in hwpoison_filter_dev() local 98 dev = mapping->host->i_sb->s_dev; in hwpoison_filter_dev() 100 hwpoison_filter_dev_major != MAJOR(dev)) in hwpoison_filter_dev() 103 hwpoison_filter_dev_minor != MINOR(dev)) in hwpoison_filter_dev()
|
D | Makefile | 38 util.o mmzone.o vmstat.o backing-dev.o \
|
D | shmem.c | 1404 umode_t mode, dev_t dev, unsigned long flags) in shmem_get_inode() argument 1433 init_special_inode(inode, mode, dev); in shmem_get_inode() 2209 shmem_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in shmem_mknod() argument 2214 inode = shmem_get_inode(dir->i_sb, dir, mode, dev, VM_NORESERVE); in shmem_mknod() 3314 #define shmem_get_inode(sb, dir, mode, dev, flags) ramfs_get_inode(sb, dir, mode, dev) argument
|
D | hugetlb.c | 2044 struct node_hstate *nhs = &node_hstates[node->dev.id]; in hugetlb_unregister_node() 2088 struct node_hstate *nhs = &node_hstates[node->dev.id]; in hugetlb_register_node() 2095 &node->dev.kobj); in hugetlb_register_node() 2105 h->name, node->dev.id); in hugetlb_register_node() 2123 if (node->dev.id == nid) in hugetlb_register_all_nodes()
|
D | memory_hotplug.c | 1858 kobject_put(&mem->dev.kobj); in walk_memory_range() 1864 kobject_put(&mem->dev.kobj); in walk_memory_range()
|