/mm/ |
D | failslab.c | 8 struct fault_attr attr; member 12 .attr = FAULT_ATTR_INITIALIZER, 33 return should_fail(&failslab.attr, s->object_size); in __should_failslab() 38 return setup_fault_attr(&failslab.attr, str); in setup_failslab() 48 dir = fault_create_debugfs_attr("failslab", NULL, &failslab.attr); in failslab_debugfs_init()
|
D | ksm.c | 2841 struct kobj_attribute *attr, char *buf) in sleep_millisecs_show() argument 2847 struct kobj_attribute *attr, in sleep_millisecs_store() argument 2865 struct kobj_attribute *attr, char *buf) in pages_to_scan_show() argument 2871 struct kobj_attribute *attr, in pages_to_scan_store() argument 2887 static ssize_t run_show(struct kobject *kobj, struct kobj_attribute *attr, in run_show() argument 2893 static ssize_t run_store(struct kobject *kobj, struct kobj_attribute *attr, in run_store() argument 2937 struct kobj_attribute *attr, char *buf) in merge_across_nodes_show() argument 2943 struct kobj_attribute *attr, in merge_across_nodes_store() argument 2994 struct kobj_attribute *attr, char *buf) in use_zero_pages_show() argument 2999 struct kobj_attribute *attr, in use_zero_pages_store() argument [all …]
|
D | khugepaged.c | 124 struct kobj_attribute *attr, in scan_sleep_millisecs_show() argument 131 struct kobj_attribute *attr, in scan_sleep_millisecs_store() argument 152 struct kobj_attribute *attr, in alloc_sleep_millisecs_show() argument 159 struct kobj_attribute *attr, in alloc_sleep_millisecs_store() argument 180 struct kobj_attribute *attr, in pages_to_scan_show() argument 186 struct kobj_attribute *attr, in pages_to_scan_store() argument 205 struct kobj_attribute *attr, in pages_collapsed_show() argument 214 struct kobj_attribute *attr, in full_scans_show() argument 223 struct kobj_attribute *attr, char *buf) in khugepaged_defrag_show() argument 225 return single_hugepage_flag_show(kobj, attr, buf, in khugepaged_defrag_show() [all …]
|
D | slub.c | 5013 #define to_slab_attr(n) container_of(n, struct slab_attribute, attr) 5017 struct attribute attr; member 5406 &slab_size_attr.attr, 5407 &object_size_attr.attr, 5408 &objs_per_slab_attr.attr, 5409 &order_attr.attr, 5410 &min_partial_attr.attr, 5411 &cpu_partial_attr.attr, 5412 &objects_attr.attr, 5413 &objects_partial_attr.attr, [all …]
|
D | cma_sysfs.c | 36 struct kobj_attribute *attr, char *buf) in alloc_pages_success_show() argument 46 struct kobj_attribute *attr, char *buf) in alloc_pages_fail_show() argument 64 &alloc_pages_success_attr.attr, 65 &alloc_pages_fail_attr.attr,
|
D | backing-dev.c | 133 struct device_attribute *attr, in read_ahead_kb_store() argument 153 struct device_attribute *attr, char *page) \ 164 struct device_attribute *attr, const char *buf, size_t count) in min_ratio_store() argument 183 struct device_attribute *attr, const char *buf, size_t count) in max_ratio_store() argument 202 struct device_attribute *attr, in stable_pages_required_show() argument 212 &dev_attr_read_ahead_kb.attr, 213 &dev_attr_min_ratio.attr, 214 &dev_attr_max_ratio.attr, 215 &dev_attr_stable_pages_required.attr,
|
D | huge_memory.c | 176 struct kobj_attribute *attr, char *buf) in enabled_show() argument 187 struct kobj_attribute *attr, in enabled_store() argument 215 struct kobj_attribute *attr, char *buf, in single_hugepage_flag_show() argument 223 struct kobj_attribute *attr, in single_hugepage_flag_store() argument 245 struct kobj_attribute *attr, char *buf) in defrag_show() argument 259 struct kobj_attribute *attr, in defrag_store() argument 296 struct kobj_attribute *attr, char *buf) in use_zero_page_show() argument 298 return single_hugepage_flag_show(kobj, attr, buf, in use_zero_page_show() 302 struct kobj_attribute *attr, const char *buf, size_t count) in use_zero_page_store() argument 304 return single_hugepage_flag_store(kobj, attr, buf, count, in use_zero_page_store() [all …]
|
D | page_idle.c | 119 struct bin_attribute *attr, char *buf, in page_idle_bitmap_read() argument 164 struct bin_attribute *attr, char *buf, in page_idle_bitmap_write() argument
|
D | hugetlb.c | 2808 struct kobj_attribute *attr, char *buf) in nr_hugepages_show_common() argument 2874 struct kobj_attribute *attr, char *buf) in nr_hugepages_show() argument 2876 return nr_hugepages_show_common(kobj, attr, buf); in nr_hugepages_show() 2880 struct kobj_attribute *attr, const char *buf, size_t len) in nr_hugepages_store() argument 2893 struct kobj_attribute *attr, char *buf) in nr_hugepages_mempolicy_show() argument 2895 return nr_hugepages_show_common(kobj, attr, buf); in nr_hugepages_mempolicy_show() 2899 struct kobj_attribute *attr, const char *buf, size_t len) in nr_hugepages_mempolicy_store() argument 2908 struct kobj_attribute *attr, char *buf) in nr_overcommit_hugepages_show() argument 2915 struct kobj_attribute *attr, const char *buf, size_t count) in nr_overcommit_hugepages_store() argument 2937 struct kobj_attribute *attr, char *buf) in free_hugepages_show() argument [all …]
|
D | swap_state.c | 906 struct kobj_attribute *attr, char *buf) in vma_ra_enabled_show() argument 911 struct kobj_attribute *attr, in vma_ra_enabled_store() argument 928 &vma_ra_enabled_attr.attr,
|
D | shmem.c | 1095 static int shmem_setattr(struct dentry *dentry, struct iattr *attr) in shmem_setattr() argument 1102 error = setattr_prepare(dentry, attr); in shmem_setattr() 1106 if (S_ISREG(inode->i_mode) && (attr->ia_valid & ATTR_SIZE)) { in shmem_setattr() 1108 loff_t newsize = attr->ia_size; in shmem_setattr() 1156 setattr_copy(inode, attr); in shmem_setattr() 1157 if (attr->ia_valid & ATTR_MODE) in shmem_setattr() 4020 struct kobj_attribute *attr, char *buf) in shmem_enabled_show() argument 4043 struct kobj_attribute *attr, const char *buf, size_t count) in shmem_enabled_store() argument
|
D | dmapool.c | 65 show_pools(struct device *dev, struct device_attribute *attr, char *buf) in show_pools() argument
|
D | page_alloc.c | 3669 struct fault_attr attr; member 3675 .attr = FAULT_ATTR_INITIALIZER, 3683 return setup_fault_attr(&fail_page_alloc.attr, str); in setup_fail_page_alloc() 3699 return should_fail(&fail_page_alloc.attr, 1 << order); in __should_fail_alloc_page() 3710 &fail_page_alloc.attr); in fail_page_alloc_debugfs()
|
D | compaction.c | 2701 struct device_attribute *attr, in sysfs_compact_node() argument
|