Home
last modified time | relevance | path

Searched refs:args (Results 1 – 6 of 6) sorted by relevance

/mm/
Dmigrate.c2642 int migrate_vma_setup(struct migrate_vma *args) in migrate_vma_setup() argument
2644 long nr_pages = (args->end - args->start) >> PAGE_SHIFT; in migrate_vma_setup()
2646 args->start &= PAGE_MASK; in migrate_vma_setup()
2647 args->end &= PAGE_MASK; in migrate_vma_setup()
2648 if (!args->vma || is_vm_hugetlb_page(args->vma) || in migrate_vma_setup()
2649 (args->vma->vm_flags & VM_SPECIAL) || vma_is_dax(args->vma)) in migrate_vma_setup()
2653 if (args->start < args->vma->vm_start || in migrate_vma_setup()
2654 args->start >= args->vma->vm_end) in migrate_vma_setup()
2656 if (args->end <= args->vma->vm_start || args->end > args->vma->vm_end) in migrate_vma_setup()
2658 if (!args->src || !args->dst) in migrate_vma_setup()
[all …]
Dbacking-dev.c932 int bdi_register_va(struct backing_dev_info *bdi, const char *fmt, va_list args) in bdi_register_va() argument
940 dev = device_create_vargs(bdi_class, NULL, MKDEV(0, 0), bdi, fmt, args); in bdi_register_va()
969 va_list args; in bdi_register() local
972 va_start(args, fmt); in bdi_register()
973 ret = bdi_register_va(bdi, fmt, args); in bdi_register()
974 va_end(args); in bdi_register()
Dvmpressure.c363 struct eventfd_ctx *eventfd, const char *args) in vmpressure_register_event() argument
373 spec_orig = spec = kstrndup(args, MAX_VMPRESSURE_ARGS_LEN, GFP_KERNEL); in vmpressure_register_event()
Dslub.c622 va_list args; in slab_bug() local
624 va_start(args, fmt); in slab_bug()
626 vaf.va = &args; in slab_bug()
632 va_end(args); in slab_bug()
638 va_list args; in slab_fix() local
640 va_start(args, fmt); in slab_fix()
642 vaf.va = &args; in slab_fix()
644 va_end(args); in slab_fix()
699 va_list args; in slab_err() local
702 va_start(args, fmt); in slab_err()
[all …]
Dmemcontrol.c158 struct eventfd_ctx *eventfd, const char *args);
4054 struct eventfd_ctx *eventfd, const char *args, enum res_type type) in __mem_cgroup_usage_register_event() argument
4062 ret = page_counter_memparse(args, "-1", &threshold); in __mem_cgroup_usage_register_event()
4135 struct eventfd_ctx *eventfd, const char *args) in mem_cgroup_usage_register_event() argument
4137 return __mem_cgroup_usage_register_event(memcg, eventfd, args, _MEM); in mem_cgroup_usage_register_event()
4141 struct eventfd_ctx *eventfd, const char *args) in memsw_cgroup_usage_register_event() argument
4143 return __mem_cgroup_usage_register_event(memcg, eventfd, args, _MEMSWAP); in memsw_cgroup_usage_register_event()
4238 struct eventfd_ctx *eventfd, const char *args) in mem_cgroup_oom_register_event() argument
Dpage_alloc.c3751 va_list args; in warn_alloc() local
3757 va_start(args, fmt); in warn_alloc()
3759 vaf.va = &args; in warn_alloc()
3763 va_end(args); in warn_alloc()