Searched refs:current (Results 376 - 400 of 2004) sorted by relevance

<<11121314151617181920>>

/linux-master/arch/s390/kernel/
H A Dvdso.c114 current->mm->context.vdso_base = vma->vm_start;
144 struct mm_struct *mm = current->mm;
180 current->mm->context.vdso_base = vdso_text_start;
234 if (current->flags & PF_RANDOMIZE)
235 addr = vdso_addr(current->mm->start_stack + PAGE_SIZE, size);
/linux-master/arch/x86/um/
H A Dtls_32.c236 if (unlikely(task == current &&
239 "without flushed TLS.", current->pid);
268 idx = get_free_idx(current);
280 return set_tls_entry(current, &info, idx, 1);
313 ret = get_tls_entry(current, &info, idx);
/linux-master/kernel/
H A Dexit.c305 * [S] tsk = current [S] cond = true
352 retval = will_become_orphaned_pgrp(task_pgrp(current), NULL);
419 self.task = current;
447 struct task_struct *c, *g, *p = current;
457 * The current owner is exiting/execing and there are no other
536 struct mm_struct *mm = current->mm;
538 exit_mm_release(current, mm);
543 BUG_ON(mm != current->active_mm);
545 task_lock(current);
558 current
[all...]
H A Dcred.c26 current->comm, current->pid, ##__VA_ARGS__)
32 current->comm, current->pid, ##__VA_ARGS__); \
104 BUG_ON(cred == current->cred);
105 BUG_ON(cred == current->real_cred);
208 struct task_struct *task = current;
254 * Prepare credentials for current to perform an execve()
287 * The new process gets the current process's subjective credentials as its
379 * commit_creds - Install new credentials upon the current tas
[all...]
H A Dsoftirq.c152 if (!current->softirq_disable_cnt) {
171 current->softirq_disable_cnt = newcnt;
186 DEBUG_LOCKS_WARN_ON(current->softirq_disable_cnt !=
196 current->softirq_disable_cnt = newcnt;
313 * is set and before current->softirq_enabled is cleared.
327 current->preempt_disable_ip = get_lock_parent_ip();
424 * We can safely execute softirq on the current stack if
514 unsigned long old_flags = current->flags;
522 * Mask out PF_MEMALLOC as the current task context is borrowed for the
526 current
[all...]
/linux-master/arch/m68k/ifpsp060/src/
H A Disp.S300 set EXC_EXTWPTR, LV+4 # offset of current PC
301 set EXC_EXTWORD, LV+2 # offset of current ext opword
302 set EXC_OPWORD, LV+0 # offset of current opword
373 # and "chk2" can cause a "Chk" exception. In both cases, the current #
1005 mov.l EXC_A0(%a6),%a0 # Get current a0
1009 mov.l EXC_A1(%a6),%a0 # Get current a1
1013 mov.l EXC_A2(%a6),%a0 # Get current a2
1017 mov.l EXC_A3(%a6),%a0 # Get current a3
1021 mov.l EXC_A4(%a6),%a0 # Get current a4
1025 mov.l EXC_A5(%a6),%a0 # Get current a
[all...]
/linux-master/mm/
H A Dnommu.c101 vma = find_vma(current->mm, (unsigned long)objp);
151 mmap_write_lock(current->mm);
152 vma = find_vma(current->mm, (unsigned long)ret);
155 mmap_write_unlock(current->mm);
367 struct mm_struct *mm = current->mm;
573 current->pid);
797 if (current->personality & READ_IMPLIES_EXEC) {
816 (current->personality & READ_IMPLIES_EXEC))
856 if (!(prot & PROT_WRITE) && !current->ptrace)
990 len, current
[all...]
H A Dhighmem.c10 * 64-bit physical space. With current x86 CPUs this
50 * n means that there are (n-1) current users of it.
157 struct kmap_ctrl *kctrl = &current->kmap_ctrl;
259 DECLARE_WAITQUEUE(wait, current);
320 * Returns the page's current virtual memory address, or NULL if no mapping
467 current->kmap_ctrl.idx += KM_INCR;
468 BUG_ON(current->kmap_ctrl.idx >= KM_MAX_IDX);
469 return current->kmap_ctrl.idx - 1;
474 return current->kmap_ctrl.idx - 1;
479 current
[all...]
/linux-master/arch/x86/kernel/
H A Dvm86_32.c87 #define VFLAGS (*(unsigned short *)&(current->thread.vm86->veflags))
88 #define VEFLAGS (current->thread.vm86->veflags)
98 struct task_struct *tsk = current;
100 struct vm86 *vm86 = current->thread.vm86;
201 struct task_struct *tsk = current;
229 current->comm, task_pid_nr(current),
251 pr_info_once("vm86: '%s' uses VM86_SCREEN_BITMAP, which is no longer supported\n", get_task_comm(comm, current));
380 set_flags(VEFLAGS, flags, current->thread.vm86->veflags_mask);
390 set_flags(VFLAGS, flags, current
[all...]
H A Ddumpstack_64.c176 if (task != current)
194 task = task ? : current;
209 if (task == current)
/linux-master/arch/powerpc/math-emu/
H A Dmath_efp.c200 vc.wp[0] = current->thread.evr[fc];
202 va.wp[0] = current->thread.evr[fa];
204 vb.wp[0] = current->thread.evr[fb];
680 &= ~(FP_EX_INVALID | FP_EX_UNDERFLOW) | current->thread.spefscr_last;
683 current->thread.spefscr_last = __FPU_FPSCR;
685 current->thread.evr[fc] = vc.wp[0];
695 if (current->thread.fpexc_mode & PR_FP_EXC_SW_ENABLE) {
697 && (current->thread.fpexc_mode & PR_FP_EXC_DIV))
700 && (current->thread.fpexc_mode & PR_FP_EXC_OVF))
703 && (current
[all...]
/linux-master/arch/sparc/include/asm/
H A Delf_64.h209 if (personality(current->personality) != PER_LINUX32) \
211 (current->personality & (~PER_MASK))); \
221 (unsigned long)current->mm->context.vdso); \
/linux-master/mm/kmsan/
H A Dreport.c160 if (!current->kmsan_ctx.allow_reporting)
165 current->kmsan_ctx.allow_reporting = false;
218 current->kmsan_ctx.allow_reporting = true;
/linux-master/arch/sh/kernel/
H A Dprocess_32.c70 free_thread_xstate(current);
76 struct task_struct *tsk = current;
99 struct task_struct *tsk = current;
/linux-master/arch/csky/kernel/
H A Dstacktrace.c25 } else if (task == NULL || task == current) {
53 pc = ftrace_graph_ret_addr(current, NULL, frame->ra,
69 } else if (task == NULL || task == current) {
/linux-master/arch/nios2/mm/
H A Dfault.c47 struct task_struct *tsk = current;
171 if (unhandled_signal(current, SIGSEGV) && printk_ratelimit()) {
173 "cause %ld\n", current->comm, SIGSEGV, address, cause);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtask_kfunc_success.c216 struct task_struct *current, *acquired; local
221 current = bpf_get_current_task_btf();
222 acquired = bpf_task_acquire(current);
/linux-master/arch/arc/kernel/
H A Dkgdb.c60 current->thread.callee_reg);
66 current->thread.callee_reg);
114 current->thread.callee_reg,
/linux-master/drivers/vdpa/mlx5/core/
H A Dmlx5_vdpa.h140 current->pid, ##__VA_ARGS__)
144 current->pid, ##__VA_ARGS__)
148 current->pid, ##__VA_ARGS__)
/linux-master/arch/m68k/include/asm/
H A Dcacheflush_mm.h158 /* This is needed whenever the virtual mapping of the current
199 if (mm == current->mm)
211 if (vma->vm_mm == current->mm)
217 if (vma->vm_mm == current->mm)
/linux-master/arch/mips/kernel/
H A Dvdso.c81 if (current->flags & PF_RANDOMIZE) {
91 struct mips_vdso_image *image = current->thread.abi->vdso;
92 struct mm_struct *mm = current->mm;
116 * is the current clocksource, in case it comes into use later on. We
/linux-master/arch/arm64/include/asm/
H A Delf.h164 current->personality &= ~READ_IMPLIES_EXEC; \
171 (elf_addr_t)current->mm->context.vdso); \
234 * current->mm->context.vdso to it triggers a cast warning of \
238 (Elf64_Off)current->mm->context.vdso); \
/linux-master/drivers/md/persistent-data/
H A Ddm-block-manager.c105 if (lock->holders[i] == current) {
207 __add_holder(lock, current);
212 get_task_struct(current);
214 w.task = current;
220 put_task_struct(current);
235 __add_holder(lock, current);
249 __del_holder(lock, current);
270 __add_holder(lock, current);
275 get_task_struct(current);
276 w.task = current;
[all...]
/linux-master/kernel/rcu/
H A Dtiny.c76 set_tsk_need_resched(current);
195 if (unlikely(is_idle_task(current))) {
230 if (unlikely(is_idle_task(current))) {
/linux-master/arch/powerpc/include/asm/
H A Delf.h93 if (personality(current->personality) != PER_LINUX32) \
95 (current->personality & (~PER_MASK))); \
170 VDSO_AUX_ENT(AT_SYSINFO_EHDR, (unsigned long)current->mm->context.vdso);\

Completed in 257 milliseconds

<<11121314151617181920>>