/mm/ |
D | swap_cgroup.c | 11 unsigned long length; member 47 for (idx = 0; idx < ctrl->length; idx++) { in swap_cgroup_prepare() 171 unsigned long length; in swap_cgroup_swapon() local 177 length = DIV_ROUND_UP(max_pages, SC_PER_PAGE); in swap_cgroup_swapon() 178 array_size = length * sizeof(void *); in swap_cgroup_swapon() 186 ctrl->length = length; in swap_cgroup_swapon() 192 ctrl->length = 0; in swap_cgroup_swapon() 209 unsigned long i, length; in swap_cgroup_swapoff() local 218 length = ctrl->length; in swap_cgroup_swapoff() 220 ctrl->length = 0; in swap_cgroup_swapoff() [all …]
|
D | mmap.c | 1816 unsigned long length, low_limit, high_limit, gap_start, gap_end; in unmapped_area() local 1819 length = info->length + info->align_mask; in unmapped_area() 1820 if (length < info->length) in unmapped_area() 1824 if (info->high_limit < length) in unmapped_area() 1826 high_limit = info->high_limit - length; in unmapped_area() 1830 low_limit = info->low_limit + length; in unmapped_area() 1836 if (vma->rb_subtree_gap < length) in unmapped_area() 1846 if (left->rb_subtree_gap >= length) { in unmapped_area() 1858 gap_end > gap_start && gap_end - gap_start >= length) in unmapped_area() 1866 if (right->rb_subtree_gap >= length) { in unmapped_area() [all …]
|
D | vmalloc.c | 2015 unsigned long offset, length; in aligned_vread() local 2018 length = PAGE_SIZE - offset; in aligned_vread() 2019 if (length > count) in aligned_vread() 2020 length = count; in aligned_vread() 2035 memcpy(buf, map + offset, length); in aligned_vread() 2038 memset(buf, 0, length); in aligned_vread() 2040 addr += length; in aligned_vread() 2041 buf += length; in aligned_vread() 2042 copied += length; in aligned_vread() 2043 count -= length; in aligned_vread() [all …]
|
D | util.c | 185 long length; in strndup_user() local 187 length = strnlen_user(s, n); in strndup_user() 189 if (!length) in strndup_user() 192 if (length > n) in strndup_user() 195 p = memdup_user(s, length); in strndup_user() 200 p[length - 1] = '\0'; in strndup_user()
|
D | slub.c | 535 unsigned int length) in print_section() argument 539 length, 1); in print_section() 839 int length; in slab_pad_check() local 846 length = (PAGE_SIZE << compound_order(page)) - s->reserved; in slab_pad_check() 847 end = start + length; in slab_pad_check() 848 remainder = length % s->size; in slab_pad_check() 4923 const char *buf, size_t length) in order_store() argument 4936 return length; in order_store() 4951 size_t length) in min_partial_store() argument 4961 return length; in min_partial_store() [all …]
|
D | zswap.c | 156 unsigned int length; member 887 ret = crypto_comp_decompress(tfm, src, entry->length, in zswap_writeback_entry() 1053 entry->length = dlen; in zswap_frontswap_store() 1113 ret = crypto_comp_decompress(tfm, src, entry->length, dst, &dlen); in zswap_frontswap_load()
|
D | page_alloc.c | 4937 void __user *buffer, size_t *length, in numa_zonelist_order_handler() argument 4944 return proc_dostring(table, write, buffer, length, ppos); in numa_zonelist_order_handler() 7055 void __user *buffer, size_t *length, loff_t *ppos) in core_initcall() 7059 rc = proc_dointvec_minmax(table, write, buffer, length, ppos); in core_initcall() 7071 void __user *buffer, size_t *length, loff_t *ppos) in watermark_scale_factor_sysctl_handler() argument 7075 rc = proc_dointvec_minmax(table, write, buffer, length, ppos); in watermark_scale_factor_sysctl_handler() 7101 void __user *buffer, size_t *length, loff_t *ppos) in sysctl_min_unmapped_ratio_sysctl_handler() argument 7105 rc = proc_dointvec_minmax(table, write, buffer, length, ppos); in sysctl_min_unmapped_ratio_sysctl_handler() 7128 void __user *buffer, size_t *length, loff_t *ppos) in sysctl_min_slab_ratio_sysctl_handler() argument 7132 rc = proc_dointvec_minmax(table, write, buffer, length, ppos); in sysctl_min_slab_ratio_sysctl_handler() [all …]
|
D | truncate.c | 114 unsigned int length) in do_invalidatepage() argument 124 (*invalidatepage)(page, offset, length); in do_invalidatepage()
|
D | hugetlb.c | 2916 void __user *buffer, size_t *length, loff_t *ppos) in hugetlb_sysctl_handler_common() argument 2927 ret = proc_doulongvec_minmax(table, write, buffer, length, ppos); in hugetlb_sysctl_handler_common() 2933 NUMA_NO_NODE, tmp, *length); in hugetlb_sysctl_handler_common() 2939 void __user *buffer, size_t *length, loff_t *ppos) in hugetlb_sysctl_handler() argument 2943 buffer, length, ppos); in hugetlb_sysctl_handler() 2948 void __user *buffer, size_t *length, loff_t *ppos) in hugetlb_mempolicy_sysctl_handler() argument 2951 buffer, length, ppos); in hugetlb_mempolicy_sysctl_handler() 2957 size_t *length, loff_t *ppos) in hugetlb_overcommit_handler() argument 2973 ret = proc_doulongvec_minmax(table, write, buffer, length, ppos); in hugetlb_overcommit_handler()
|
D | compaction.c | 1847 void __user *buffer, size_t *length, loff_t *ppos) in sysctl_compaction_handler() argument 1856 void __user *buffer, size_t *length, loff_t *ppos) in sysctl_extfrag_handler() argument 1858 proc_dointvec_minmax(table, write, buffer, length, ppos); in sysctl_extfrag_handler()
|
D | page-writeback.c | 1973 void __user *buffer, size_t *length, loff_t *ppos) in dirty_writeback_centisecs_handler() argument 1975 proc_dointvec(table, write, buffer, length, ppos); in dirty_writeback_centisecs_handler()
|