Home
last modified time | relevance | path

Searched refs:kobj (Results 1 – 8 of 8) sorted by relevance

/mm/
Dksm.c2845 static ssize_t sleep_millisecs_show(struct kobject *kobj, in sleep_millisecs_show() argument
2851 static ssize_t sleep_millisecs_store(struct kobject *kobj, in sleep_millisecs_store() argument
2869 static ssize_t pages_to_scan_show(struct kobject *kobj, in pages_to_scan_show() argument
2875 static ssize_t pages_to_scan_store(struct kobject *kobj, in pages_to_scan_store() argument
2892 static ssize_t run_show(struct kobject *kobj, struct kobj_attribute *attr, in run_show() argument
2898 static ssize_t run_store(struct kobject *kobj, struct kobj_attribute *attr, in run_store() argument
2941 static ssize_t merge_across_nodes_show(struct kobject *kobj, in merge_across_nodes_show() argument
2947 static ssize_t merge_across_nodes_store(struct kobject *kobj, in merge_across_nodes_store() argument
2998 static ssize_t use_zero_pages_show(struct kobject *kobj, in use_zero_pages_show() argument
3003 static ssize_t use_zero_pages_store(struct kobject *kobj, in use_zero_pages_store() argument
[all …]
Dkhugepaged.c117 static ssize_t scan_sleep_millisecs_show(struct kobject *kobj, in scan_sleep_millisecs_show() argument
124 static ssize_t scan_sleep_millisecs_store(struct kobject *kobj, in scan_sleep_millisecs_store() argument
145 static ssize_t alloc_sleep_millisecs_show(struct kobject *kobj, in alloc_sleep_millisecs_show() argument
152 static ssize_t alloc_sleep_millisecs_store(struct kobject *kobj, in alloc_sleep_millisecs_store() argument
173 static ssize_t pages_to_scan_show(struct kobject *kobj, in pages_to_scan_show() argument
179 static ssize_t pages_to_scan_store(struct kobject *kobj, in pages_to_scan_store() argument
198 static ssize_t pages_collapsed_show(struct kobject *kobj, in pages_collapsed_show() argument
207 static ssize_t full_scans_show(struct kobject *kobj, in full_scans_show() argument
216 static ssize_t khugepaged_defrag_show(struct kobject *kobj, in khugepaged_defrag_show() argument
219 return single_hugepage_flag_show(kobj, attr, buf, in khugepaged_defrag_show()
[all …]
Dhugetlb.c2562 static struct hstate *kobj_to_node_hstate(struct kobject *kobj, int *nidp);
2564 static struct hstate *kobj_to_hstate(struct kobject *kobj, int *nidp) in kobj_to_hstate() argument
2569 if (hstate_kobjs[i] == kobj) { in kobj_to_hstate()
2575 return kobj_to_node_hstate(kobj, nidp); in kobj_to_hstate()
2578 static ssize_t nr_hugepages_show_common(struct kobject *kobj, in nr_hugepages_show_common() argument
2585 h = kobj_to_hstate(kobj, &nid); in nr_hugepages_show_common()
2628 struct kobject *kobj, const char *buf, in nr_hugepages_store_common() argument
2640 h = kobj_to_hstate(kobj, &nid); in nr_hugepages_store_common()
2644 static ssize_t nr_hugepages_show(struct kobject *kobj, in nr_hugepages_show() argument
2647 return nr_hugepages_show_common(kobj, attr, buf); in nr_hugepages_show()
[all …]
Dhuge_memory.c163 static ssize_t enabled_show(struct kobject *kobj, in enabled_show() argument
174 static ssize_t enabled_store(struct kobject *kobj, in enabled_store() argument
205 ssize_t single_hugepage_flag_show(struct kobject *kobj, in single_hugepage_flag_show() argument
213 ssize_t single_hugepage_flag_store(struct kobject *kobj, in single_hugepage_flag_store() argument
235 static ssize_t defrag_show(struct kobject *kobj, in defrag_show() argument
249 static ssize_t defrag_store(struct kobject *kobj, in defrag_store() argument
291 static ssize_t use_zero_page_show(struct kobject *kobj, in use_zero_page_show() argument
294 return single_hugepage_flag_show(kobj, attr, buf, in use_zero_page_show()
297 static ssize_t use_zero_page_store(struct kobject *kobj, in use_zero_page_store() argument
300 return single_hugepage_flag_store(kobj, attr, buf, count, in use_zero_page_store()
[all …]
Dslub.c4908 #define to_slab(n) container_of(n, struct kmem_cache, kobj)
5499 static ssize_t slab_attr_show(struct kobject *kobj, in slab_attr_show() argument
5508 s = to_slab(kobj); in slab_attr_show()
5518 static ssize_t slab_attr_store(struct kobject *kobj, in slab_attr_store() argument
5527 s = to_slab(kobj); in slab_attr_store()
5639 static int uevent_filter(struct kset *kset, struct kobject *kobj) in uevent_filter() argument
5641 struct kobj_type *ktype = get_ktype(kobj); in uevent_filter()
5707 if (!s->kobj.state_in_sysfs) in sysfs_slab_remove_workfn()
5719 kobject_uevent(&s->kobj, KOBJ_REMOVE); in sysfs_slab_remove_workfn()
5721 kobject_put(&s->kobj); in sysfs_slab_remove_workfn()
[all …]
Dpage_idle.c121 static ssize_t page_idle_bitmap_read(struct file *file, struct kobject *kobj, in page_idle_bitmap_read() argument
166 static ssize_t page_idle_bitmap_write(struct file *file, struct kobject *kobj, in page_idle_bitmap_write() argument
Dswap_state.c790 static ssize_t vma_ra_enabled_show(struct kobject *kobj, in vma_ra_enabled_show() argument
795 static ssize_t vma_ra_enabled_store(struct kobject *kobj, in vma_ra_enabled_store() argument
Dshmem.c3934 static ssize_t shmem_enabled_show(struct kobject *kobj, in shmem_enabled_show() argument
3957 static ssize_t shmem_enabled_store(struct kobject *kobj, in shmem_enabled_store() argument