/device/soc/rockchip/common/sdk_linux/include/linux/sched/ |
H A D | signal.h | 90 /* current thread group signal load-balancing target: */
199 * getrlimit/setrlimit use task_lock(current->group_leader) to
277 struct task_struct *task = current;
in kernel_dequeue_signal() 290 spin_lock_irq(¤t->sighand->siglock);
in kernel_signal_stop() 291 if (current->jobctl & JOBCTL_STOP_DEQUEUED) {
in kernel_signal_stop() 294 spin_unlock_irq(¤t->sighand->siglock);
in kernel_signal_stop() 349 set_tsk_thread_flag(current, TIF_SIGPENDING);
in restart_syscall() 396 * should stop the current fault routine to handle the signals
403 (fatal_signal_pending(current) || (user_mode(regs) && signal_pending(current))));
in fault_signal_pending() [all...] |
/device/soc/rockchip/common/sdk_linux/include/linux/ |
H A D | cpuset.h | 64 #define cpuset_current_mems_allowed (current->mems_allowed) 109 return task_spread_page(current); in cpuset_do_page_mem_spread() 114 return task_spread_slab(current); in cpuset_do_slab_mem_spread() 136 return read_seqcount_begin(¤t->mems_allowed_seq); in read_mems_allowed_begin() 151 return read_seqcount_retry(¤t->mems_allowed_seq, seq); in read_mems_allowed_retry() 158 task_lock(current); in set_mems_allowed() 160 write_seqcount_begin(¤t->mems_allowed_seq); in set_mems_allowed() 161 current->mems_allowed = nodemask; in set_mems_allowed() 162 write_seqcount_end(¤t->mems_allowed_seq); in set_mems_allowed() 164 task_unlock(current); in set_mems_allowed() [all...] |
H A D | freezer.h | 64 if (likely(!freezing(current))) { in try_to_freeze_unsafe() 72 if (!(current->flags & PF_NOFREEZE)) { in try_to_freeze() 104 * freezer_do_not_count - tell freezer to ignore %current 106 * Tell freezers to ignore the current task when determining whether the 107 * target frozen state is reached. IOW, the current task will be 116 current->flags |= PF_FREEZER_SKIP; in freezer_do_not_count() 120 * freezer_count - tell freezer to stop ignoring %current 122 * Undo freezer_do_not_count(). It tells freezers that %current should be 128 current->flags &= ~PF_FREEZER_SKIP; in freezer_count() 141 current in freezer_count_unsafe() [all...] |
H A D | sched.h | 12 #include <asm/current.h>
135 current->task_state_change = _THIS_IP_; \
136 current->state = (state_value); \
142 current->task_state_change = _THIS_IP_; \
143 smp_store_mb(current->state, (state_value)); \
150 raw_spin_lock_irqsave(¤t->pi_lock, flags); \
151 current->task_state_change = _THIS_IP_; \
152 current->state = (state_value); \
153 raw_spin_unlock_irqrestore(¤t->pi_lock, flags); \
157 * set_current_state() includes a barrier so that the write of current [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/ |
H A D | mali_osk_misc.c | 61 return (u32)current->tgid; in _mali_osk_get_pid() 66 return (char *)current->comm; in _mali_osk_get_comm() 72 u32 tid = current->pid; in mali_osk_get_tid()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/ |
H A D | mali_osk_misc.c | 60 return (u32)current->tgid; in _mali_osk_get_pid() 65 return (char *)current->comm; in _mali_osk_get_comm() 72 u32 tid = current->pid; in _mali_osk_get_tid()
|
/device/soc/rockchip/common/sdk_linux/arch/arm64/kernel/ |
H A D | process.c | 308 current->thread.uw.tp_value = 0; in tls_thread_flush() 331 flush_ptrace_hw_breakpoint(current); in flush_thread() 347 if (current->mm) { in arch_dup_task_struct() 398 * Read the current TLS pointer from tpidr_el0 as it may be in copy_thread() 445 *task_user_tls(current) = read_sysreg(tpidr_el0); in tls_preserve_current_state() 499 * We store our current task in sp_el0, which is clobbered by userspace. Keep a 534 erratum_1418040_thread_switch(current); in erratum_1418040_new_exec() 580 if (!p || p == current || p->state == TASK_RUNNING) { in get_wchan() 608 if (!(current->personality & ADDR_NO_RANDOMIZE) && randomize_va_space) { in arch_align_stack() 619 current in arch_setup_new_exec() [all...] |
/device/soc/rockchip/rk3588/hardware/display/src/display_device/ |
H A D | drm_vsync_worker.cpp | 96 struct timespec current;
in WaitNextVBlank() local 100 clock_gettime(CLOCK_MONOTONIC, ¤t);
in WaitNextVBlank() 101 return (uint64_t)(current.tv_sec * SEC_TO_NSEC + current.tv_nsec);
in WaitNextVBlank()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/ |
H A D | osal_wait.c | 75 if (!signal_pending(current)) { in osal_wait_interruptible() 78 if (signal_pending(current)) { in osal_wait_interruptible() 145 if (!signal_pending(current)) { in osal_wait_timeout_interruptible() 149 if (signal_pending(current)) { in osal_wait_timeout_interruptible()
|
/device/soc/rockchip/common/sdk_linux/kernel/power/ |
H A D | process.c | 59 if (p == current || !freeze_task(p)) { in try_to_freeze_tasks() 116 if (p != current && !freezer_should_skip(p) && freezing(p) && !frozen(p)) { in try_to_freeze_tasks() 131 * The current thread will not be frozen. The same process that calls 146 current->flags |= PF_SUSPEND_TASK; in freeze_processes() 211 struct task_struct *curr = current; in thaw_processes()
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/ |
H A D | drv_mmz_userdev.c | 112 if (p->tgid == current->tgid) { in mmz_flush_dcache_mmb() 164 pmu->tpid = current->tgid; in mmz_userdev_open() 395 if (p->tgid == current->tgid) { in ioctl_mmb_user_map_cace_attr() 442 down_write(¤t->mm->mmap_sem); in ioctl_mmb_user_remap_get_virt_addr() 444 down_write(¤t->mm->mmap_lock); in ioctl_mmb_user_remap_get_virt_addr() 446 udata->tgid = current->tgid; in ioctl_mmb_user_remap_get_virt_addr() 450 pmu->mmap_tpid = current->tgid; in ioctl_mmb_user_remap_get_virt_addr() 464 up_write(¤t->mm->mmap_sem); in ioctl_mmb_user_remap_get_virt_addr() 466 up_write(¤t->mm->mmap_lock); in ioctl_mmb_user_remap_get_virt_addr() 561 if (current in ioctl_mmb_user_get_udata() [all...] |
/device/soc/rockchip/common/vendor/drivers/staging/android/fiq_debugger/ |
H A D | fiq_debugger_arm64.c | 159 if (!current) {
in fiq_debugger_dump_stacktrace() 160 output->printf(output, "current NULL\n");
in fiq_debugger_dump_stacktrace() 162 output->printf(output, "pid: %d comm: %s\n", current->pid, current->comm);
in fiq_debugger_dump_stacktrace() 171 walk_stackframe(current, &frame, report_trace, &sts);
in fiq_debugger_dump_stacktrace()
|
H A D | fiq_debugger_arm.c | 228 if (!current) {
in fiq_debugger_dump_stacktrace() 229 output->printf(output, "current NULL\n");
in fiq_debugger_dump_stacktrace() 231 output->printf(output, "pid: %d comm: %s\n", current->pid, current->comm);
in fiq_debugger_dump_stacktrace()
|
/device/soc/rockchip/rk3588/kernel/drivers/staging/android/fiq_debugger/ |
H A D | fiq_debugger_arm64.c | 183 if (!current) in fiq_debugger_dump_stacktrace() 184 output->printf(output, "current NULL\n"); in fiq_debugger_dump_stacktrace() 187 current->pid, current->comm); in fiq_debugger_dump_stacktrace() 196 walk_stackframe(current, &frame, report_trace, &sts); in fiq_debugger_dump_stacktrace()
|
/device/soc/rockchip/common/sdk_linux/kernel/sched/ |
H A D | wait.c | 281 wq_entry->private = current; in init_wait_entry() 293 if (signal_pending_state(state, current)) { in prepare_to_wait_event() 338 if (signal_pending(current)) { in do_wait_intr() 357 if (signal_pending(current)) { in do_wait_intr_irq() 374 * Sets current thread back to running state and removes 417 return (current->flags & PF_KTHREAD) && kthread_should_stop(); in is_kthread_should_stop() 446 * or woken_wake_function() sees our store to current->state. in wait_woken()
|
H A D | core.c | 280 * the current rq->clock timestamp, except that would require using in update_rq_clock_task() 625 * resched_curr - mark rq's current task 'to be rescheduled now'. 1787 * Calculate the current priority, i.e. the priority 1934 * Move (not current) task off this CPU, onto the destination CPU. We're doing 2126 /* Can the task run on the task's current CPU? If so, we're done */ in __set_cpus_allowed_ptr() 2948 * the soon-to-be-idle CPU as the current CPU is likely busy. in ttwu_queue_cond() 3145 if (p == current) { in try_to_wake_up() 3147 * We're waking current, this means 'p->on_rq' and 'task_cpu(p) in try_to_wake_up() 3326 * @p: Process for which the function is to be invoked, can be @current. 3398 * p is forked by current 4011 kcov_finish_switch(current); global() variable 4013 fire_sched_in_preempt_notifiers(current); global() variable [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/ |
H A D | mali_kbase_pm.c | 62 dev_dbg(kbdev->dev, "%s - reason = %d, pid = %d\n", __func__, suspend_handler, current->pid); in kbase_pm_context_active_handle_suspend() 138 dev_dbg(kbdev->dev, "%s %d (pid = %d)\n", __func__, kbdev->pm.active_count, current->pid); in kbase_pm_context_idle() 198 dev_dbg(kbdev->dev, ">wait_event - waiting for active_count == 0 (pid = %d)\n", current->pid); in kbase_pm_driver_suspend()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
H A D | drm_ioctl.c | 88 * out. This despite that with current drm device nodes are always bound to 199 client->pid = task_pid_vnr(current); in drm_getclient() 347 if (current->comm[0] == 'X' && req->value == 1) { in drm_setclientcap() 857 DRM_DEBUG("comm=\"%s\" pid=%d, dev=0x%lx, auth=%d, %s\n", current->comm, task_pid_nr(current), in drm_ioctl() 895 DRM_DEBUG("invalid ioctl: comm=\"%s\", pid=%d, dev=0x%lx, auth=%d, cmd=0x%02x, nr=0x%02x\n", current->comm, in drm_ioctl() 896 task_pid_nr(current), (long)old_encode_dev(file_priv->minor->kdev->devt), file_priv->authenticated, in drm_ioctl() 904 DRM_DEBUG("comm=\"%s\", pid=%d, ret=%d\n", current->comm, task_pid_nr(current), retcode); in drm_ioctl()
|
H A D | drm_file.c | 169 file->pid = get_pid(task_pid(current)); in drm_file_alloc() 267 DRM_DEBUG("comm=\"%s\", pid=%d, dev=0x%lx, open_count=%d\n", current->comm, task_pid_nr(current), in drm_file_free() 366 DRM_DEBUG("comm=\"%s\", pid=%d, minor=%d\n", current->comm, task_pid_nr(current), minor->index); in drm_open_helper() 685 * Mask of POLL flags indicating the current status of the file. 988 inflated_addr = current->mm->get_unmapped_area(NULL, 0, inflated_len, 0, flags); in drm_addr_inflate() 1057 addr = current->mm->get_unmapped_area(file, uaddr, len, pgoff, flags); in drm_get_unmapped_area() 1094 return current->mm->get_unmapped_area(file, uaddr, len, pgoff, flags); in drm_get_unmapped_area()
|
/device/soc/rockchip/common/sdk_linux/kernel/cgroup/ |
H A D | cpuset.c | 274 * @child_cs: loop cursor pointing to the current child 286 * @des_cs: loop cursor pointing to the current descendant 580 * If we replaced the flag and mask values of the current cpuset 1193 * The new cpumask, if present, or the current cpus_allowed must in update_parent_subparts_cpumask() 1652 /* on a wq worker, no need to worry about %current's mems_allowed */ in cpuset_migrate_mm_workfn() 1895 ret = task_cs(current) == cpuset_being_rebound; in current_cpuset_is_being_rebound() 2177 /* Process any previous ticks, then return current value. */ 2954 * Make sure the new task conform to the current state of its parent, 2965 task->mems_allowed = current->mems_allowed; in cpuset_fork() 3175 * the current partitio in cpuset_hotplug_update_tasks() [all...] |
/device/soc/rockchip/common/sdk_linux/ipc/ |
H A D | msg.c | 43 #include <asm/current.h> 53 unsigned long q_cbytes; /* current number of bytes on queue */ 195 mss->tsk = current; in ss_add() 294 ns = current->nsproxy->ipc_ns; in ksys_msgget() 590 ns = current->nsproxy->ipc_ns; in ksys_msgctl() 728 ns = current->nsproxy->ipc_ns; in compat_ksys_msgctl() 853 ns = current->nsproxy->ipc_ns; in do_msgsnd() 931 if (signal_pending(current)) { in do_msgsnd() 937 ipc_update_pid(&msq->q_lspid, task_tgid(current)); in do_msgsnd() 1089 if (testmsg(msg, *msgtyp, mode) && !security_msg_queue_msgrcv(&msq->q_perm, msg, current, *msgty in find_msg() [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ |
H A D | mali_kbase_context.c | 58 kctx->timeline.owner_tgid = task_tgid_nr(current);
in kbase_create_context() 66 kctx->tgid = current->tgid;
in kbase_create_context() 67 kctx->pid = current->pid;
in kbase_create_context()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/thirdparty/ |
H A D | mali_kbase_mmap.c | 46 * @gap_start: Start address of current memory area / gap in address space 151 struct mm_struct *mm = current->mm; in kbase_unmapped_area_topdown() 205 /* Check if current node has a suitable gap */ in kbase_unmapped_area_topdown() 257 struct mm_struct *mm = current->mm; in kbase_context_get_unmapped_area() 334 return current->mm->get_unmapped_area(kctx->filp, addr, len, pgoff, flags); in kbase_context_get_unmapped_area()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ |
H A D | mali_kbase_context.c | 62 kctx->timeline.owner_tgid = task_tgid_nr(current); in kbase_create_context() 70 kctx->tgid = current->tgid; in kbase_create_context() 71 kctx->pid = current->pid; in kbase_create_context()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ |
H A D | mali_kbase_pm.c | 64 suspend_handler, current->pid); in kbase_pm_context_active_handle_suspend() 142 kbdev->pm.active_count, current->pid); in kbase_pm_context_idle() 209 current->pid); in kbase_pm_driver_suspend()
|