Home
last modified time | relevance | path

Searched refs:attr (Results 1 – 10 of 10) sorted by relevance

/mm/
Dhuge_memory.c251 struct kobj_attribute *attr, char *buf, in double_flag_show() argument
264 struct kobj_attribute *attr, in double_flag_store() argument
288 struct kobj_attribute *attr, char *buf) in enabled_show() argument
290 return double_flag_show(kobj, attr, buf, in enabled_show()
295 struct kobj_attribute *attr, in enabled_store() argument
300 ret = double_flag_store(kobj, attr, buf, count, in enabled_store()
321 struct kobj_attribute *attr, char *buf, in single_flag_show() argument
329 struct kobj_attribute *attr, in single_flag_store() argument
356 struct kobj_attribute *attr, char *buf) in defrag_show() argument
358 return double_flag_show(kobj, attr, buf, in defrag_show()
[all …]
Dslub.c4359 #define to_slab_attr(n) container_of(n, struct slab_attribute, attr)
4363 struct attribute attr; member
4875 &slab_size_attr.attr,
4876 &object_size_attr.attr,
4877 &objs_per_slab_attr.attr,
4878 &order_attr.attr,
4879 &min_partial_attr.attr,
4880 &cpu_partial_attr.attr,
4881 &objects_attr.attr,
4882 &objects_partial_attr.attr,
[all …]
Dfailslab.c5 struct fault_attr attr; member
9 .attr = FAULT_ATTR_INITIALIZER,
25 return should_fail(&failslab.attr, size); in should_failslab()
30 return setup_fault_attr(&failslab.attr, str); in setup_failslab()
40 dir = fault_create_debugfs_attr("failslab", NULL, &failslab.attr); in failslab_debugfs_init()
Dksm.c2086 struct kobj_attribute *attr, char *buf) in sleep_millisecs_show() argument
2092 struct kobj_attribute *attr, in sleep_millisecs_store() argument
2109 struct kobj_attribute *attr, char *buf) in pages_to_scan_show() argument
2115 struct kobj_attribute *attr, in pages_to_scan_store() argument
2131 static ssize_t run_show(struct kobject *kobj, struct kobj_attribute *attr, in run_show() argument
2137 static ssize_t run_store(struct kobject *kobj, struct kobj_attribute *attr, in run_store() argument
2181 struct kobj_attribute *attr, char *buf) in merge_across_nodes_show() argument
2187 struct kobj_attribute *attr, in merge_across_nodes_store() argument
2238 struct kobj_attribute *attr, char *buf) in pages_shared_show() argument
2245 struct kobj_attribute *attr, char *buf) in pages_sharing_show() argument
[all …]
Dbacking-dev.c163 struct device_attribute *attr, in read_ahead_kb_store() argument
183 struct device_attribute *attr, char *page) \
194 struct device_attribute *attr, const char *buf, size_t count) in min_ratio_store() argument
213 struct device_attribute *attr, const char *buf, size_t count) in max_ratio_store() argument
232 struct device_attribute *attr, in stable_pages_required_show() argument
243 &dev_attr_read_ahead_kb.attr,
244 &dev_attr_min_ratio.attr,
245 &dev_attr_max_ratio.attr,
246 &dev_attr_stable_pages_required.attr,
Dhugetlb.c1755 struct kobj_attribute *attr, char *buf) in nr_hugepages_show_common() argument
1830 struct kobj_attribute *attr, char *buf) in nr_hugepages_show() argument
1832 return nr_hugepages_show_common(kobj, attr, buf); in nr_hugepages_show()
1836 struct kobj_attribute *attr, const char *buf, size_t len) in nr_hugepages_store() argument
1849 struct kobj_attribute *attr, char *buf) in nr_hugepages_mempolicy_show() argument
1851 return nr_hugepages_show_common(kobj, attr, buf); in nr_hugepages_mempolicy_show()
1855 struct kobj_attribute *attr, const char *buf, size_t len) in nr_hugepages_mempolicy_store() argument
1864 struct kobj_attribute *attr, char *buf) in nr_overcommit_hugepages_show() argument
1871 struct kobj_attribute *attr, const char *buf, size_t count) in nr_overcommit_hugepages_store() argument
1893 struct kobj_attribute *attr, char *buf) in free_hugepages_show() argument
[all …]
Dshmem.c550 static int shmem_setattr(struct dentry *dentry, struct iattr *attr) in shmem_setattr() argument
556 error = inode_change_ok(inode, attr); in shmem_setattr()
560 if (S_ISREG(inode->i_mode) && (attr->ia_valid & ATTR_SIZE)) { in shmem_setattr()
562 loff_t newsize = attr->ia_size; in shmem_setattr()
586 setattr_copy(inode, attr); in shmem_setattr()
587 if (attr->ia_valid & ATTR_MODE) in shmem_setattr()
Ddmapool.c68 show_pools(struct device *dev, struct device_attribute *attr, char *buf) in show_pools() argument
Dpage_alloc.c1665 struct fault_attr attr; member
1671 .attr = FAULT_ATTR_INITIALIZER,
1679 return setup_fault_attr(&fail_page_alloc.attr, str); in setup_fail_page_alloc()
1694 return should_fail(&fail_page_alloc.attr, 1 << order); in should_fail_alloc_page()
1705 &fail_page_alloc.attr); in fail_page_alloc_debugfs()
Dcompaction.c1524 struct device_attribute *attr, in sysfs_compact_node() argument