Home
last modified time | relevance | path

Searched refs:current (Results 1 – 25 of 45) sorted by relevance

12

/include/linux/
Dtracehook.h60 int ptrace = current->ptrace; in ptrace_report_syscall()
72 if (current->exit_code) { in ptrace_report_syscall()
73 send_sig(current->exit_code, current, 1); in ptrace_report_syscall()
74 current->exit_code = 0; in ptrace_report_syscall()
77 return fatal_signal_pending(current); in ptrace_report_syscall()
126 user_single_step_siginfo(current, regs, &info); in tracehook_report_syscall_exit()
127 force_sig_info(SIGTRAP, &info, current); in tracehook_report_syscall_exit()
189 if (unlikely(current->task_works)) in tracehook_notify_resume()
Dcontext_tracking.h78 vtime_guest_enter(current); in guest_enter()
80 current->flags |= PF_VCPU; in guest_enter()
86 vtime_guest_exit(current); in guest_exit()
88 current->flags &= ~PF_VCPU; in guest_exit()
99 vtime_account_system(current); in guest_enter()
100 current->flags |= PF_VCPU; in guest_enter()
106 vtime_account_system(current); in guest_exit()
107 current->flags &= ~PF_VCPU; in guest_exit()
Ddelayacct.h55 if (current->delays) in delayacct_set_flag()
56 current->delays->flags |= flag; in delayacct_set_flag()
61 if (current->delays) in delayacct_clear_flag()
62 current->delays->flags &= ~flag; in delayacct_clear_flag()
86 if (current->delays) in delayacct_blkio_start()
92 if (current->delays) in delayacct_blkio_end()
114 if (current->delays) in delayacct_freepages_start()
120 if (current->delays) in delayacct_freepages_end()
Dcpuset.h47 #define cpuset_current_mems_allowed (current->mems_allowed)
97 return task_spread_page(current); in cpuset_do_page_mem_spread()
102 return task_spread_slab(current); in cpuset_do_slab_mem_spread()
120 return read_seqcount_begin(&current->mems_allowed_seq); in read_mems_allowed_begin()
131 return read_seqcount_retry(&current->mems_allowed_seq, seq); in read_mems_allowed_retry()
138 task_lock(current); in set_mems_allowed()
140 write_seqcount_begin(&current->mems_allowed_seq); in set_mems_allowed()
141 current->mems_allowed = nodemask; in set_mems_allowed()
142 write_seqcount_end(&current->mems_allowed_seq); in set_mems_allowed()
144 task_unlock(current); in set_mems_allowed()
Dptrace.h144 if (unlikely(ptrace_event_enabled(current, event))) { in ptrace_event()
145 current->ptrace_message = message; in ptrace_event()
149 if ((current->ptrace & (PT_PTRACED|PT_SEIZED)) == PT_PTRACED) in ptrace_event()
150 send_sig(SIGTRAP, current, 0); in ptrace_event()
177 ns = task_active_pid_ns(rcu_dereference(current->parent)); in ptrace_event_pid()
203 if (unlikely(ptrace) && current->ptrace) { in ptrace_init_task()
204 child->ptrace = current->ptrace; in ptrace_init_task()
205 __ptrace_link(child, current->parent); in ptrace_init_task()
384 #define current_pt_regs() task_pt_regs(current)
397 #define signal_pt_regs() task_pt_regs(current)
Dhardirq.h37 account_irq_enter_time(current); \
53 account_irq_exit_time(current); \
Dirqflags.h26 # define trace_hardirq_enter() do { current->hardirq_context++; } while (0)
27 # define trace_hardirq_exit() do { current->hardirq_context--; } while (0)
28 # define lockdep_softirq_enter() do { current->softirq_context++; } while (0)
29 # define lockdep_softirq_exit() do { current->softirq_context--; } while (0)
Dtask_io_accounting_ops.h12 current->ioac.read_bytes += bytes; in task_io_account_read()
26 current->ioac.write_bytes += bytes; in task_io_account_write()
40 current->ioac.cancelled_write_bytes += bytes; in task_io_account_cancelled_write()
Dmemcontrol.h114 WARN_ON(current->memcg_oom.may_oom); in mem_cgroup_oom_enable()
115 current->memcg_oom.may_oom = 1; in mem_cgroup_oom_enable()
120 WARN_ON(!current->memcg_oom.may_oom); in mem_cgroup_oom_disable()
121 current->memcg_oom.may_oom = 0; in mem_cgroup_oom_disable()
456 if (in_interrupt() || (!current->mm) || (current->flags & PF_KTHREAD)) in memcg_kmem_newpage_charge()
460 if (unlikely(fatal_signal_pending(current))) in memcg_kmem_newpage_charge()
512 if (in_interrupt() || (!current->mm) || (current->flags & PF_KTHREAD)) in memcg_kmem_get_cache()
514 if (unlikely(fatal_signal_pending(current))) in memcg_kmem_get_cache()
Dfreezer.h57 if (likely(!freezing(current))) in try_to_freeze_unsafe()
64 if (!(current->flags & PF_NOFREEZE)) in try_to_freeze()
108 current->flags |= PF_FREEZER_SKIP; in freezer_do_not_count()
120 current->flags &= ~PF_FREEZER_SKIP; in freezer_count()
133 current->flags &= ~PF_FREEZER_SKIP; in freezer_count_unsafe()
Doom.h37 current->signal->oom_flags |= OOM_FLAG_ORIGIN; in set_current_oom_origin()
42 current->signal->oom_flags &= ~OOM_FLAG_ORIGIN; in clear_current_oom_origin()
Dpersonality.h52 ((current->personality == (pers)) ? 0 : __set_personality(pers))
Dsched.h272 do { current->state = (state_value); } while (0)
274 set_mb(current->state, (state_value))
2078 #define clear_used_math() clear_stopped_child_used_math(current)
2079 #define set_used_math() set_stopped_child_used_math(current)
2083 conditional_stopped_child_used_math(condition, current)
2085 do { (child)->flags &= ~PF_USED_MATH, (child)->flags |= current->flags & PF_USED_MATH; } while (0)
2088 #define used_math() tsk_used_math(current)
2095 if (unlikely(current->flags & PF_MEMALLOC_NOIO)) in memalloc_noio_flags()
2102 unsigned int flags = current->flags & PF_MEMALLOC_NOIO; in memalloc_noio_save()
2103 current->flags |= PF_MEMALLOC_NOIO; in memalloc_noio_save()
[all …]
Delf.h15 set_personality(PER_LINUX | (current->personality & (~PER_MASK)))
Dutsname.h73 return &current->nsproxy->uts_ns->name; in utsname()
Dcred.h185 __validate_process_creds(current, __FILE__, __LINE__); \
268 rcu_dereference_protected(current->cred, 1)
277 rcu_dereference_protected(current->real_cred, 1)
Daio.h67 .ki_obj.tsk = current, in init_sync_kiocb()
/include/drm/
Ddrm_os_linux.h23 #define DRM_CURRENTPID task_pid_nr(current)
45 DECLARE_WAITQUEUE(entry, current); \
58 if (signal_pending(current)) { \
/include/linux/sunrpc/
Dtypes.h20 #define signalled() (signal_pending(current))
/include/asm-generic/
Dcurrent.h7 #define current get_current() macro
/include/trace/events/
Dsyscalls.h30 syscall_get_arguments(current, regs, 0, 6, __entry->args);
55 __entry->id = syscall_get_nr(current, regs);
Dpower_cpu_migrate.h45 __define_cpu_migrate_event(current);
Dblock.h203 memcpy(__entry->comm, current->comm, TASK_COMM_LEN);
276 memcpy(__entry->comm, current->comm, TASK_COMM_LEN);
341 memcpy(__entry->comm, current->comm, TASK_COMM_LEN);
408 memcpy(__entry->comm, current->comm, TASK_COMM_LEN);
437 memcpy(__entry->comm, current->comm, TASK_COMM_LEN);
499 memcpy(__entry->comm, current->comm, TASK_COMM_LEN);
518 memcpy(__entry->comm, current->comm, TASK_COMM_LEN);
571 memcpy(__entry->comm, current->comm, TASK_COMM_LEN);
/include/net/
Dcls_cgroup.h48 classid = task_cls_classid(current); in sock_update_classid()
/include/acpi/platform/
Daclinuxex.h107 return (acpi_thread_id) (unsigned long)current; in acpi_os_get_thread_id()

12