Home
last modified time | relevance | path

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

12

/include/linux/
Dfreezer.h56 if (freezing(current)) { in try_to_freeze()
92 if (current->mm) in freezer_do_not_count()
93 current->flags |= PF_FREEZER_SKIP; in freezer_do_not_count()
102 if (current->mm) { in freezer_count()
103 current->flags &= ~PF_FREEZER_SKIP; in freezer_count()
121 current->flags &= ~PF_NOFREEZE; in set_freezable()
130 current->flags &= ~(PF_NOFREEZE | PF_FREEZER_NOSIG); in set_freezable_with_signal()
143 (condition) || freezing(current)); \
144 if (__retval && !freezing(current)) \
158 (condition) || freezing(current), \
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()
Dtracehook.h74 int ptrace = task_ptrace(current); in ptrace_report_syscall()
86 if (current->exit_code) { in ptrace_report_syscall()
87 send_sig(current->exit_code, current, 1); in ptrace_report_syscall()
88 current->exit_code = 0; in ptrace_report_syscall()
198 unlikely(task_ptrace(current) & PT_PTRACED)) in tracehook_report_exec()
199 send_sig(SIGTRAP, current, 0); in tracehook_report_exec()
232 if (current->ptrace & PT_TRACE_VFORK) in tracehook_prepare_clone()
235 if (current->ptrace & PT_TRACE_CLONE) in tracehook_prepare_clone()
237 } else if (current->ptrace & PT_TRACE_FORK) in tracehook_prepare_clone()
487 return notify || (current->ptrace & PT_PTRACED); in tracehook_notify_jctl()
Dirqflags.h25 # define trace_hardirq_enter() do { current->hardirq_context++; } while (0)
26 # define trace_hardirq_exit() do { current->hardirq_context--; } while (0)
27 # define trace_softirq_enter() do { current->softirq_context++; } while (0)
28 # define trace_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()
Dcpuset.h27 #define cpuset_current_mems_allowed (current->mems_allowed)
70 return current->flags & PF_SPREAD_PAGE; in cpuset_do_page_mem_spread()
75 return current->flags & PF_SPREAD_SLAB; in cpuset_do_slab_mem_spread()
Dptrace.h150 if (mask && likely(!(current->ptrace & mask))) in ptrace_event()
152 current->ptrace_message = message; in ptrace_event()
174 child->ptrace = current->ptrace; in ptrace_init_task()
175 ptrace_link(child, current->parent); in ptrace_init_task()
Dwait.h253 if (!signal_pending(current)) { \
294 if (!signal_pending(current)) { \
342 if (!signal_pending(current)) { \
369 if (!fatal_signal_pending(current)) { \
446 .private = current, \
455 .private = current, \
464 (wait)->private = current; \
Dhardirq.h142 account_system_vtime(current); \
158 account_system_vtime(current); \
Dsmp_lock.h7 #define kernel_locked() (current->lock_depth >= 0)
Dutsname.h82 return &current->nsproxy->uts_ns->name; in utsname()
Dfdtable.h86 #define fcheck(fd) fcheck_files(current->files, fd)
Dpersonality.h116 ((current->personality == (pers)) ? 0 : __set_personality(pers))
Dkvm_host.h142 current->tgid, (vcpu)->vcpu_id , ## __VA_ARGS__); \
374 account_system_vtime(current); in kvm_guest_enter()
375 current->flags |= PF_VCPU; in kvm_guest_enter()
380 account_system_vtime(current); in kvm_guest_exit()
381 current->flags &= ~PF_VCPU; in kvm_guest_exit()
Dcred.h217 (current->cred)
306 current->cred->xxx; \
/include/asm-mn10300/
Dcurrent.h21 register struct task_struct *const current asm("e2") __attribute__((used));
23 #define get_current() current
34 #define current get_current() macro
Dfpu.h46 struct task_struct *__tsk = current; \
55 struct task_struct *__tsk = current; \
Dsystem.h32 current->thread.wchan = (u_long) __builtin_return_address(0); \
35 current->thread.wchan = 0; \
/include/asm-frv/
Dcurrent.h20 register struct task_struct *current asm("gr29");
22 #define get_current() current
Dpage.h69 ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \
/include/linux/sunrpc/
Dtypes.h20 #define signalled() (signal_pending(current))
/include/asm-m32r/
Dcurrent.h13 #define current (get_current()) macro
/include/drm/
Ddrm_os_linux.h10 #define DRM_CURRENTPID task_pid_nr(current)
85 DECLARE_WAITQUEUE(entry, current); \
98 if (signal_pending(current)) { \
/include/net/9p/
D9p.h67 format , task_pid_nr(current) , ## arg); \
70 format , __func__, task_pid_nr(current) , ## arg); \
81 format , __func__, task_pid_nr(current), ## arg); \
/include/acpi/platform/
Daclinux.h110 return current; in acpi_os_get_thread_id()

12