Lines Matching defs:task
306 /* Check if the vma is being used as a stack by this task */
369 /* Is the current task 32bit ? */
457 * @task: task used to check RLIMIT_MEMLOCK
460 * Assumes @task and @mm are valid (i.e. at least one reference on each), and
468 struct task_struct *task, bool bypass_rlim)
478 limit = task_rlimit(task, RLIMIT_MEMLOCK) >> PAGE_SHIFT;
489 pr_debug("%s: [%d] caller %ps %c%lu %lu/%lu%s\n", __func__, task->pid,
491 locked_vm << PAGE_SHIFT, task_rlimit(task, RLIMIT_MEMLOCK),
635 * Context: Either preemptible task context or not-NMI interrupt.
1007 * @task: the task whose cmdline value to copy.
1015 int get_cmdline(struct task_struct *task, char *buffer, int buflen)
1019 struct mm_struct *mm = get_task_mm(task);
1038 res = access_process_vm(task, arg_start, buffer, len, FOLL_FORCE);
1052 res += access_process_vm(task, env_start,