Searched defs:kobj (Results 1 - 4 of 4) sorted by relevance

/mm/
H A Dhuge_memory.c250 static ssize_t double_flag_show(struct kobject *kobj, argument
263 static ssize_t double_flag_store(struct kobject *kobj, argument
287 static ssize_t enabled_show(struct kobject *kobj, argument
290 return double_flag_show(kobj, attr, buf,
294 static ssize_t enabled_store(struct kobject *kobj, argument
300 ret = double_flag_store(kobj, attr, buf, count,
320 static ssize_t single_flag_show(struct kobject *kobj, argument
328 static ssize_t single_flag_store(struct kobject *kobj, argument
355 static ssize_t defrag_show(struct kobject *kobj, argument
358 return double_flag_show(kobj, att
362 defrag_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
373 use_zero_page_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
379 use_zero_page_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
388 debug_cow_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
394 debug_cow_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
419 scan_sleep_millisecs_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
426 scan_sleep_millisecs_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
446 alloc_sleep_millisecs_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
453 alloc_sleep_millisecs_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
473 pages_to_scan_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
479 pages_to_scan_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
498 pages_collapsed_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
507 full_scans_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
516 khugepaged_defrag_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
522 khugepaged_defrag_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
541 khugepaged_max_ptes_none_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
547 khugepaged_max_ptes_none_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
[all...]
H A Dksm.c2084 static ssize_t sleep_millisecs_show(struct kobject *kobj, argument
2090 static ssize_t sleep_millisecs_store(struct kobject *kobj, argument
2107 static ssize_t pages_to_scan_show(struct kobject *kobj, argument
2113 static ssize_t pages_to_scan_store(struct kobject *kobj, argument
2130 static ssize_t run_show(struct kobject *kobj, struct kobj_attribute *attr, argument
2136 static ssize_t run_store(struct kobject *kobj, struct kobj_attribute *attr, argument
2179 static ssize_t merge_across_nodes_show(struct kobject *kobj, argument
2185 static ssize_t merge_across_nodes_store(struct kobject *kobj, argument
2236 static ssize_t pages_shared_show(struct kobject *kobj, argument
2243 static ssize_t pages_sharing_show(struct kobject *kobj, argument
2250 pages_unshared_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
2257 pages_volatile_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
2274 full_scans_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
[all...]
H A Dhugetlb.c1707 static struct hstate *kobj_to_node_hstate(struct kobject *kobj, int *nidp);
1709 static struct hstate *kobj_to_hstate(struct kobject *kobj, int *nidp) argument
1714 if (hstate_kobjs[i] == kobj) {
1720 return kobj_to_node_hstate(kobj, nidp);
1723 static ssize_t nr_hugepages_show_common(struct kobject *kobj, argument
1730 h = kobj_to_hstate(kobj, &nid);
1782 struct kobject *kobj, const char *buf,
1794 h = kobj_to_hstate(kobj, &nid);
1798 static ssize_t nr_hugepages_show(struct kobject *kobj, argument
1801 return nr_hugepages_show_common(kobj, att
1781 nr_hugepages_store_common(bool obey_mempolicy, struct kobject *kobj, const char *buf, size_t len) argument
1804 nr_hugepages_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) argument
1817 nr_hugepages_mempolicy_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
1823 nr_hugepages_mempolicy_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) argument
1832 nr_overcommit_hugepages_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
1839 nr_overcommit_hugepages_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
1861 free_hugepages_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
1878 resv_hugepages_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
1886 surplus_hugepages_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
1987 kobj_to_node_hstate(struct kobject *kobj, int *nidp) argument
2105 kobj_to_node_hstate(struct kobject *kobj, int *nidp) argument
[all...]
H A Dslub.c4278 #define to_slab(n) container_of(n, struct kmem_cache, kobj)
4869 static ssize_t slab_attr_show(struct kobject *kobj, argument
4878 s = to_slab(kobj);
4888 static ssize_t slab_attr_store(struct kobject *kobj, argument
4897 s = to_slab(kobj);
5010 static int uevent_filter(struct kset *kset, struct kobject *kobj) argument
5012 struct kobj_type *ktype = get_ktype(kobj);
5083 sysfs_remove_link(&slab_kset->kobj, s->name);
5093 s->kobj.kset = cache_kset(s);
5094 err = kobject_init_and_add(&s->kobj,
[all...]

Completed in 280 milliseconds