Searched refs:process (Results 1 - 200 of 3027) sorted by relevance

1234567891011>>

/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_process.c79 struct kfd_process *process; kfd_create_process() local
94 * take kfd processes mutex before starting of process creation kfd_create_process()
95 * so there won't be a case where two threads of the same process kfd_create_process()
100 /* A prior open of /dev/kfd could have already created the process. */ kfd_create_process()
101 process = find_process(thread); kfd_create_process()
102 if (process) kfd_create_process()
103 pr_debug("kfd: process already found\n"); kfd_create_process()
105 if (!process) kfd_create_process()
106 process = create_process(thread); kfd_create_process()
112 return process; kfd_create_process()
117 struct kfd_process *process; kfd_get_process() local
126 process = find_process(thread); kfd_get_process()
128 return process; kfd_get_process()
133 struct kfd_process *process; find_process_by_mm() local
135 hash_for_each_possible_rcu(kfd_processes_table, process, find_process_by_mm()
137 if (process->mm == mm) find_process_by_mm()
138 return process; find_process_by_mm()
165 pr_debug("Releasing process (pasid %d) in workqueue\n", kfd_process_wq_release()
172 pr_debug("Releasing pdd (topology id %d) for process (pasid %d) in workqueue\n", kfd_process_wq_release()
256 struct kfd_process *process; create_process() local
259 process = kzalloc(sizeof(*process), GFP_KERNEL); create_process()
261 if (!process) create_process()
264 process->queues = kmalloc_array(INITIAL_QUEUE_ARRAY_SIZE, create_process()
265 sizeof(process->queues[0]), GFP_KERNEL); create_process()
266 if (!process->queues) create_process()
269 process->pasid = kfd_pasid_alloc(); create_process()
270 if (process->pasid == 0) create_process()
273 mutex_init(&process->mutex); create_process()
275 process->mm = thread->mm; create_process()
278 process->mmu_notifier.ops = &kfd_process_mmu_notifier_ops; create_process()
279 err = __mmu_notifier_register(&process->mmu_notifier, process->mm); create_process()
283 hash_add_rcu(kfd_processes_table, &process->kfd_processes, create_process()
284 (uintptr_t)process->mm); create_process()
286 process->lead_thread = thread->group_leader; create_process()
288 process->queue_array_size = INITIAL_QUEUE_ARRAY_SIZE; create_process()
290 INIT_LIST_HEAD(&process->per_device_data); create_process()
292 err = pqm_init(&process->pqm, process); create_process()
296 /* init process apertures*/ create_process()
297 process->is_32bit_user_mode = is_compat_task(); create_process()
298 if (kfd_init_apertures(process) != 0) create_process()
301 return process; create_process()
304 pqm_uninit(&process->pqm); create_process()
306 hash_del_rcu(&process->kfd_processes); create_process()
308 mmu_notifier_unregister_no_release(&process->mmu_notifier, process->mm); create_process()
310 kfd_pasid_free(process->pasid); create_process()
312 kfree(process->queues); create_process()
314 kfree(process); create_process()
349 * Direct the IOMMU to bind the process (specifically the pasid->mm)
351 * Unbinding occurs when the process dies or the device is removed.
353 * Assumes that the process lock is held.
405 * amd_iommu_unbind_pasid() in when the process exits. kfd_unbind_process_from_device()
H A Dkfd_doorbell.c32 * and that's assures that any user process won't get access to the
45 * We map the doorbell address space into user-mode when a process creates
53 /* # of doorbell bytes allocated for each process. */ doorbell_process_allocation()
120 int kfd_doorbell_mmap(struct kfd_process *process, struct vm_area_struct *vma) kfd_doorbell_mmap() argument
127 * allocation of a single device & process. kfd_doorbell_mmap()
138 address = kfd_get_process_doorbells(dev, process); kfd_doorbell_mmap()
218 * to doorbells with the process's doorbell page
221 struct kfd_process *process, kfd_queue_id_to_doorbell()
227 * to the process's doorbells kfd_queue_id_to_doorbell()
230 process->pasid * (doorbell_process_allocation()/sizeof(u32)) + kfd_queue_id_to_doorbell()
245 struct kfd_process *process) kfd_get_process_doorbells()
248 process->pasid * doorbell_process_allocation(); kfd_get_process_doorbells()
220 kfd_queue_id_to_doorbell(struct kfd_dev *kfd, struct kfd_process *process, unsigned int queue_id) kfd_queue_id_to_doorbell() argument
244 kfd_get_process_doorbells(struct kfd_dev *dev, struct kfd_process *process) kfd_get_process_doorbells() argument
H A Dkfd_chardev.c103 struct kfd_process *process; kfd_open() local
119 process = kfd_create_process(current); kfd_open()
120 if (IS_ERR(process)) kfd_open()
121 return PTR_ERR(process); kfd_open()
123 dev_dbg(kfd_device, "process %d opened, compat mode (32 bit) - %d\n", kfd_open()
124 process->pasid, process->is_32bit_user_mode); kfd_open()
475 /*if the process-device list isn't empty*/ kfd_ioctl_get_process_apertures()
477 /* Run over all pdd of the process */ kfd_ioctl_get_process_apertures()
548 struct kfd_process *process; kfd_ioctl() local
576 process = kfd_get_process(current); kfd_ioctl()
577 if (IS_ERR(process)) { kfd_ioctl()
578 dev_dbg(kfd_device, "no process\n"); kfd_ioctl()
614 retcode = func(filep, process, kdata); kfd_ioctl()
636 struct kfd_process *process; kfd_mmap() local
638 process = kfd_get_process(current); kfd_mmap()
639 if (IS_ERR(process)) kfd_mmap()
640 return PTR_ERR(process); kfd_mmap()
642 return kfd_doorbell_mmap(process, vma); kfd_mmap()
H A Dkfd_process_queue_manager.c62 pr_info("amdkfd: Can not open more queues for process with pasid %d\n", find_available_queue_slot()
63 pqm->process->pasid); find_available_queue_slot()
83 pqm->process = p; pqm_init()
126 kfd_queue_id_to_doorbell(dev, pqm->process, qid); create_cp_queue()
137 (*q)->process = pqm->process; create_cp_queue()
169 pdd = kfd_get_process_device_data(dev, pqm->process); pqm_create_queue()
249 /* check if queues list is empty unregister process from device */ pqm_create_queue()
284 pdd = kfd_get_process_device_data(dev, pqm->process); pqm_destroy_queue()
H A Dkfd_priv.h198 * specific process.
247 * process.
326 * @process: The kfd process that created this queue.
348 struct kfd_process *process; member in struct:queue
375 struct kfd_process *process; member in struct:process_queue_manager
406 /* Data that is per-process-per device. */
409 * List of all per-device data for a process.
418 /* per-process-per device QCM data structure */
429 /* Is this process/pasid bound to this device? (amd_iommu_bind_pasid) */
448 * In any process, the thread that started main() is the lead
464 * one for each device the process is using.
470 /* The process's queues. */
478 /*Is the user space process 32 bit?*/
486 * \param p amdkfd process pointer.
529 int kfd_doorbell_mmap(struct kfd_process *process, struct vm_area_struct *vma);
536 struct kfd_process *process,
565 int kfd_init_apertures(struct kfd_process *process);
643 struct kfd_process *process);
H A Dkfd_device_queue_manager_cik.c117 if (qpd->pqm->process->is_32bit_user_mode) { register_process_cik()
126 pr_debug("kfd: is32bit process: %d sh_mem_bases nybble: 0x%X and register 0x%X\n", register_process_cik()
127 qpd->pqm->process->is_32bit_user_mode, temp, qpd->sh_mem_bases); register_process_cik()
/linux-4.1.27/arch/um/os-Linux/skas/
H A DMakefile6 obj-y := mem.o process.o
/linux-4.1.27/arch/score/kernel/
H A DMakefile7 obj-y += entry.o irq.o process.o ptrace.o \
H A Dprocess.c2 * arch/score/kernel/process.c
62 * When a process does an "exec", machine state like FPU and debug exit_thread()
69 * set up the kernel stack and exception frames for a new process flush_thread()
/linux-4.1.27/arch/openrisc/kernel/
H A DMakefile7 obj-y := setup.o or32_ksyms.o process.o dma.o \
H A Dprocess.c2 * OpenRISC process.c
17 * This file handles the architecture-dependent parts of process handling...
81 * When a process does an "exec", machine state like FPU and debug
109 * process to the new one p
/linux-4.1.27/arch/blackfin/include/asm/
H A Dl1layout.h17 /* Data that is "mapped" into the process VM at the start of the L1 scratch
18 memory, so that each process can access it at a fixed address. Used for
24 /* Not updated by the kernel; a user process can modify this to
H A Dptrace.h27 * These are saved onto the top kernel stack when the process
H A Dthread_info.h18 * for any process
23 * Size of kernel stack for each process. This must be a power of 2...
/linux-4.1.27/fs/nfsd/
H A Dauth.h11 * Set the current process's fsuid/fsgid etc to those of the NFS
/linux-4.1.27/include/linux/
H A Dpersonality.h12 * Change personality of the currently running process.
H A Dioprio.h23 * class, the default for any process. IDLE is the idle scheduling class, it
50 * if process has set io priority explicitly, use that. if not, convert
60 * Check for idle and rt task process, and return appropriate IO class.
H A Dseccomp.h15 * struct seccomp - the state of a seccomp'ed process
18 * system calls available to a process.
H A Dpid.h17 * A struct pid is the kernel's internal notion of a process identifier.
18 * It refers to individual tasks, process groups, and sessions. While
25 * problem. The process originally with that pid may have exited and the
26 * pid allocator wrapped, and another process could have come along
30 * task_struct has a problem. When the user space process exits
129 * ns_of_pid() is expected to be called for a process (task) that has
143 * is_child_reaper returns true if the pid is the init process
H A Dwait.h255 * The process is put to sleep (TASK_UNINTERRUPTIBLE) until the
294 * The process is put to sleep (TASK_INTERRUPTIBLE -- so as not to contribute
321 * The process is put to sleep (TASK_UNINTERRUPTIBLE) until the
372 * The process is put to sleep (TASK_UNINTERRUPTIBLE) until the
395 * The process is put to sleep (TASK_INTERRUPTIBLE) until the
425 * The process is put to sleep (TASK_INTERRUPTIBLE) until the
480 * The process is put to sleep (TASK_UNINTERRUPTIBLE) until the
506 * The process is put to sleep (TASK_INTERRUPTIBLE) until the
589 * The process is put to sleep (TASK_INTERRUPTIBLE) until the
616 * The process is put to sleep (TASK_INTERRUPTIBLE) until the
643 * The process is put to sleep (TASK_INTERRUPTIBLE) until the
655 * The process is put on the wait queue with an WQ_FLAG_EXCLUSIVE flag
656 * set thus when other process waits process on the list if this
657 * process is awaken further processes are not considered.
674 * The process is put to sleep (TASK_INTERRUPTIBLE) until the
686 * The process is put on the wait queue with an WQ_FLAG_EXCLUSIVE flag
687 * set thus when other process waits process on the list if this
688 * process is awaken further processes are not considered.
709 * The process is put to sleep (TASK_KILLABLE) until the
748 * The process is put to sleep (TASK_UNINTERRUPTIBLE) until the
776 * The process is put to sleep (TASK_UNINTERRUPTIBLE) until the
812 * The process is put to sleep (TASK_INTERRUPTIBLE) until the
844 * The process is put to sleep (TASK_INTERRUPTIBLE) until the
884 * The process is put to sleep (TASK_INTERRUPTIBLE) until the
968 * if the process received a signal and the mode permitted wakeup
993 * if the process received a signal and the mode permitted wakeup
1019 * @timeout elapsed, or non-zero if the @timeout elapsed or process
1046 * if the process received a signal and the mode permitted wakeup
1074 * set. Returns non-zero if a signal was delivered to the process and
1075 * the @mode allows that signal to wake the process.
1098 * set. Returns non-zero if a signal was delivered to the process and
1099 * the @mode allows that signal to wake the process.
1124 * set. Returns non-zero if a signal was delivered to the process and
1125 * the @mode allows that signal to wake the process.
H A Dthreads.h25 * This controls the default maximum pid allocated to a process
H A Derrno.h11 * process to see.
H A Dhardirq.h58 * Exit irq context and process softirqs if needed:
H A Doom.h90 * A coredumping process may sleep for an extended period in exit_mm(), task_will_free_mem()
91 * so the oom killer cannot assume that the process will promptly exit task_will_free_mem()
H A Dacct.h7 * BSD-style process accounting. The kernel accounting code and all
9 * process accounting log must include this file.
H A Dmempolicy.h24 * A mempolicy can be either associated with a process or with a VMA.
26 * the process policy is used. Interrupts ignore the memory policy
27 * of the current process.
30 * In process context there is no locking because only the process accesses
H A Dposix-timers.h33 * Bit 2 indicates whether a cpu clock refers to a thread or a process.
75 struct pid *it_pid; /* pid of process to send signal to */
H A Dkmod.h52 #define UMH_WAIT_EXEC 1 /* wait for the exec, but not the process */ request_module_nowait()
53 #define UMH_WAIT_PROC 2 /* wait for the process to complete */ request_module_nowait()
/linux-4.1.27/arch/c6x/kernel/
H A DMakefile7 obj-y := process.o traps.o irq.o signal.o ptrace.o
/linux-4.1.27/arch/cris/arch-v10/kernel/
H A DMakefile9 process.o setup.o signal.o traps.o time.o ptrace.o \
H A Dtraps.c21 * USP might not correspond to the current process for all cases this show_registers()
23 * current process. Experience shows that using USP is the way to go. show_registers()
/linux-4.1.27/arch/cris/arch-v32/kernel/
H A DMakefile9 process.o ptrace.o setup.o signal.o traps.o time.o \
/linux-4.1.27/arch/cris/kernel/
H A DMakefile9 obj-y := process.o traps.o irq.o ptrace.o setup.o time.o sys_cris.o
H A Dprocess.c2 * linux/arch/cris/kernel/process.c
12 * This file handles the architecture-dependent parts of process handling..
66 * When a process does an "exec", machine state like FPU and debug
/linux-4.1.27/arch/m32r/kernel/
H A DMakefile7 obj-y := process.o entry.o traps.o align.o irq.o setup.o time.o \
/linux-4.1.27/Documentation/trace/postprocess/
H A Dtrace-pagealloc-postprocess.pl10 # --read-procstat If the trace lacks process info, get it from /proc
161 die("Failed to math stat line for process name :: $statline");
176 die("Failed to match stat line process ppid:: $statline");
202 my $process = $1;
207 if ($opt_read_procstat && $process eq '') {
302 # Dump per-process stats
306 # Get the maximum process name
355 my $process;
359 $process = $process_pid;
360 $process =~ s/-([0-9])*$//;
361 if ($process eq '') {
362 $process = "NO_PROCESS_NAME";
365 $perprocess{$process}->{MM_PAGE_ALLOC} += $perprocesspid{$process_pid}->{MM_PAGE_ALLOC};
366 $perprocess{$process}->{MM_PAGE_ALLOC_ZONE_LOCKED} += $perprocesspid{$process_pid}->{MM_PAGE_ALLOC_ZONE_LOCKED};
367 $perprocess{$process}->{MM_PAGE_FREE} += $perprocesspid{$process_pid}->{MM_PAGE_FREE};
368 $perprocess{$process}->{MM_PAGE_FREE_BATCHED} += $perprocesspid{$process_pid}->{MM_PAGE_FREE_BATCHED};
369 $perprocess{$process}->{MM_PAGE_PCPU_DRAIN} += $perprocesspid{$process_pid}->{MM_PAGE_PCPU_DRAIN};
370 $perprocess{$process}->{HIGH_PCPU_DRAINS} += $perprocesspid{$process_pid}->{HIGH_PCPU_DRAINS};
371 $perprocess{$process}->{HIGH_PCPU_REFILLS} += $perprocesspid{$process_pid}->{HIGH_PCPU_REFILLS};
372 $perprocess{$process}->{MM_PAGE_ALLOC_EXTFRAG} += $perprocesspid{$process_pid}->{MM_PAGE_ALLOC_EXTFRAG};
373 $perprocess{$process}->{HIGH_EXT_FRAG} += $perprocesspid{$process_pid}->{HIGH_EXT_FRAG};
374 $perprocess{$process}->{HIGH_EXT_FRAGMENT_CHANGED} += $perprocesspid{$process_pid}->{HIGH_EXT_FRAGMENT_CHANGED};
375 $perprocess{$process}->{HIGH_EXT_FRAGMENT_SEVERE} += $perprocesspid{$process_pid}->{HIGH_EXT_FRAGMENT_SEVERE};
376 $perprocess{$process}->{HIGH_EXT_FRAGMENT_MODERATE} += $perprocesspid{$process_pid}->{HIGH_EXT_FRAGMENT_MODERATE};
377 $perprocess{$process}->{EVENT_UNKNOWN} += $perprocesspid{$process_pid}->{EVENT_UNKNOWN};
H A Dtrace-vmscan-postprocess.pl8 # --read-procstat If the trace lacks process info, get it from /proc
253 die("Failed to math stat line for process name :: $statline");
284 my $process = $1;
287 if ($process eq "") {
288 $process = $last_procmap{$pid};
289 $process_pid = "$process-$pid";
291 $last_procmap{$pid} = $process;
295 if ($opt_read_procstat && $process eq '') {
466 # Dump per-process stats
470 # Get the maximum process name
508 # Print out process activity
666 my $process;
670 $process = $process_pid;
671 $process =~ s/-([0-9])*$//;
672 if ($process eq '') {
673 $process = "NO_PROCESS_NAME";
676 $perprocess{$process}->{MM_VMSCAN_DIRECT_RECLAIM_BEGIN} += $perprocesspid{$process_pid}->{MM_VMSCAN_DIRECT_RECLAIM_BEGIN};
677 $perprocess{$process}->{MM_VMSCAN_KSWAPD_WAKE} += $perprocesspid{$process_pid}->{MM_VMSCAN_KSWAPD_WAKE};
678 $perprocess{$process}->{MM_VMSCAN_WAKEUP_KSWAPD} += $perprocesspid{$process_pid}->{MM_VMSCAN_WAKEUP_KSWAPD};
679 $perprocess{$process}->{HIGH_KSWAPD_REWAKEUP} += $perprocesspid{$process_pid}->{HIGH_KSWAPD_REWAKEUP};
680 $perprocess{$process}->{HIGH_NR_SCANNED} += $perprocesspid{$process_pid}->{HIGH_NR_SCANNED};
681 $perprocess{$process}->{HIGH_NR_FILE_SCANNED} += $perprocesspid{$process_pid}->{HIGH_NR_FILE_SCANNED};
682 $perprocess{$process}->{HIGH_NR_ANON_SCANNED} += $perprocesspid{$process_pid}->{HIGH_NR_ANON_SCANNED};
683 $perprocess{$process}->{HIGH_NR_RECLAIMED} += $perprocesspid{$process_pid}->{HIGH_NR_RECLAIMED};
684 $perprocess{$process}->{HIGH_NR_FILE_RECLAIMED} += $perprocesspid{$process_pid}->{HIGH_NR_FILE_RECLAIMED};
685 $perprocess{$process}->{HIGH_NR_ANON_RECLAIMED} += $perprocesspid{$process_pid}->{HIGH_NR_ANON_RECLAIMED};
686 $perprocess{$process}->{MM_VMSCAN_WRITEPAGE_FILE_SYNC} += $perprocesspid{$process_pid}->{MM_VMSCAN_WRITEPAGE_FILE_SYNC};
687 $perprocess{$process}->{MM_VMSCAN_WRITEPAGE_ANON_SYNC} += $perprocesspid{$process_pid}->{MM_VMSCAN_WRITEPAGE_ANON_SYNC};
688 $perprocess{$process}->{MM_VMSCAN_WRITEPAGE_FILE_ASYNC} += $perprocesspid{$process_pid}->{MM_VMSCAN_WRITEPAGE_FILE_ASYNC};
689 $perprocess{$process}->{MM_VMSCAN_WRITEPAGE_ANON_ASYNC} += $perprocesspid{$process_pid}->{MM_VMSCAN_WRITEPAGE_ANON_ASYNC};
692 $perprocess{$process}->{MM_VMSCAN_DIRECT_RECLAIM_BEGIN_PERORDER}[$order] += $perprocesspid{$process_pid}->{MM_VMSCAN_DIRECT_RECLAIM_BEGIN_PERORDER}[$order];
693 $perprocess{$process}->{MM_VMSCAN_WAKEUP_KSWAPD_PERORDER}[$order] += $perprocesspid{$process_pid}->{MM_VMSCAN_WAKEUP_KSWAPD_PERORDER}[$order];
694 $perprocess{$process}->{MM_VMSCAN_KSWAPD_WAKE_PERORDER}[$order] += $perprocesspid{$process_pid}->{MM_VMSCAN_KSWAPD_WAKE_PERORDER}[$order];
699 my $wr_index = $perprocess{$process}->{MM_VMSCAN_DIRECT_RECLAIM_END};
702 $perprocess{$process}->{HIGH_DIRECT_RECLAIM_LATENCY}[$wr_index] = $perprocesspid{$process_pid}->{HIGH_DIRECT_RECLAIM_LATENCY}[$rd_index];
706 $perprocess{$process}->{MM_VMSCAN_DIRECT_RECLAIM_END} = $wr_index;
709 my $wr_index = $perprocess{$process}->{MM_VMSCAN_KSWAPD_SLEEP};
712 $perprocess{$process}->{HIGH_KSWAPD_LATENCY}[$wr_index] = $perprocesspid{$process_pid}->{HIGH_KSWAPD_LATENCY}[$rd_index];
716 $perprocess{$process}->{MM_VMSCAN_DIRECT_RECLAIM_END} = $wr_index;
/linux-4.1.27/arch/um/os-Linux/
H A DMakefile6 obj-y = aio.o execvp.o file.o helper.o irq.o main.o mem.o process.o \
13 main.o mem.o process.o registers.o sigio.o signal.o start_up.o time.o \
H A Dhelper.c41 /* Returns either the pid of the child process we run or -E* on failure. */ run_helper()
155 printk(UM_KERN_ERR "helper_wait : waitpid process %d failed, " helper_wait()
159 printk(UM_KERN_ERR "helper_wait : process %d exited with " helper_wait()
H A Dutil.c81 * the calling process and UML crashes with SIGSEGV.
114 * We are about to SIGTERM this entire process group to ensure that os_dump_core()
/linux-4.1.27/include/uapi/linux/
H A Dprctl.h46 /* Get/set whether we use statistical process timing or accurate timestamp
47 * based process timing */
51 statistical process timing */
53 process timing */
55 #define PR_SET_NAME 15 /* Set process name */
56 #define PR_GET_NAME 16 /* Get process name */
58 /* Get/set process endian */
65 /* Get/set process seccomp mode */
73 /* Get/set the process' ability to use the timestamp counter instruction */
95 * This influences when the process gets killed on a memory corruption.
108 * Tune up process memory map specifics.
152 * A value of 0 mean "no process".
H A Dcoda_psdev.h19 wait_queue_head_t uc_sleep; /* process' wait queue */
H A Dnetfilter_bridge.h19 /* Packets coming from a local process. */
H A Dsecurebits.h15 *of the executable file* if the effective uid of the new process is
35 /* When set, a process can retain its capabilities even after
37 bit 2). Bit-4 is cleared when a process calls exec(); setting both
H A Dacct.h7 * BSD-style process accounting. The kernel accounting code and all
9 * process accounting log must include this file.
38 * process accounting file whenever a process exits.
103 /* bit set when the process ... */
H A Dcn_proc.h2 * cn_proc.h - process events connector
33 * From the user's point of view, the process
39 * parent process ID = parent->tgid
41 * child process ID = child->tgid
59 /* "last" is the last process event: exit,
H A Dkeyctl.h15 /* special process keyring shortcut IDs */
17 #define KEY_SPEC_PROCESS_KEYRING -2 /* - key ID for process-specific keyring */
55 #define KEYCTL_SESSION_TO_PARENT 18 /* apply session keyring to parent process */
H A Dnet.h50 SS_CONNECTING, /* in process of connecting */
52 SS_DISCONNECTING /* in process of disconnecting */
H A Dcapability.h128 process sending a signal must match the real or effective user ID
129 of the process receiving the signal. */
154 * to the current process' inheritable set
156 * Allow modification of the securebits for a process
178 /* Allow setting arbitrary process / process group ownership on
218 /* Allow ptrace() of any process */
222 /* Allow configuration of process accounting */
273 process. */
H A Dsched.h22 #define CLONE_UNTRACED 0x00800000 /* set if the tracing process can't force CLONE_PTRACE on this clone */
44 /* Can be ORed in to make sure the process is reverted back to SCHED_NORMAL on fork */
H A Delfcore.h40 short pr_why; /* XXX Reason for process halt */
80 char pr_state; /* numeric process state */
H A Dnetfilter_decnet.h35 /* Packets coming from a local process. */
H A Dnetfilter_ipv4.h50 /* Packets coming from a local process. */
H A Dnetfilter_ipv6.h54 /* Packets coming from a local process. */
/linux-4.1.27/drivers/md/
H A Ddm-builtin.c19 * 1. Some other process takes a reference to dm kobject
24 * 5. The other process that took the reference in step 1 drops it,
25 * dm_kobject_release is called from this process
31 * 10. The other process that was rescheduled in step 7 continues to run,
34 * Note that if the process that takes the foreign reference to dm kobject
36 * higher-priority processes that prevent the low-priority process from
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
H A Dbase.c38 u32 process, u32 message, u32 data0, u32 data1) nvkm_pmu_send()
48 /* we currently only support a single process at a time waiting nvkm_pmu_send()
55 pmu->recv.process = process; nvkm_pmu_send()
66 nv_wr32(pmu, 0x10a1c4, process); nvkm_pmu_send()
77 wait_event(pmu->recv.wait, (pmu->recv.process == 0)); nvkm_pmu_send()
90 u32 process, message, data0, data1; nvkm_pmu_recv() local
105 process = nv_rd32(pmu, 0x10a1c4); nvkm_pmu_recv()
114 /* wake process if it's waiting on a synchronous reply */ nvkm_pmu_recv()
115 if (pmu->recv.process) { nvkm_pmu_recv()
116 if (process == pmu->recv.process && nvkm_pmu_recv()
120 pmu->recv.process = 0; nvkm_pmu_recv()
130 (char)((process & 0x000000ff) >> 0), nvkm_pmu_recv()
131 (char)((process & 0x0000ff00) >> 8), nvkm_pmu_recv()
132 (char)((process & 0x00ff0000) >> 16), nvkm_pmu_recv()
133 (char)((process & 0xff000000) >> 24), nvkm_pmu_recv()
134 process, message, data0, data1); nvkm_pmu_recv()
37 nvkm_pmu_send(struct nvkm_pmu *pmu, u32 reply[2], u32 process, u32 message, u32 data0, u32 data1) nvkm_pmu_send() argument
/linux-4.1.27/scripts/basic/
H A DMakefile2 # Makefile.basic lists the most basic programs used during the build process.
9 # fixdep: Used to generate dependency information during build process
/linux-4.1.27/arch/um/kernel/skas/
H A DMakefile6 obj-y := clone.o mmu.o process.o syscall.o uaccess.o
/linux-4.1.27/arch/mn10300/include/asm/
H A Dmmu.h15 unsigned long tlbpid[NR_CPUS]; /* TLB PID for this process on
/linux-4.1.27/arch/avr32/kernel/
H A DMakefile10 obj-y += signal.o process.o time.o
/linux-4.1.27/arch/cris/include/arch-v32/arch/
H A Dtlb.h6 * to store the "process" it belongs to (=> fast mm context switch). The
H A Dptrace.h27 #define PT_ERP 21 /* This is actually the debugged process' PC */
79 unsigned long erp; /* This is actually the debugged process' PC */
H A Dprocessor.h23 * User-space process size. This is hardcoded into a few places, so don't
/linux-4.1.27/arch/hexagon/kernel/
H A DMakefile6 obj-y += process.o trampoline.o reset.o ptrace.o vdso.o
/linux-4.1.27/arch/powerpc/kernel/
H A Dptrace32.c56 * Read 4 bytes of the other process' storage compat_arch_ptrace()
60 * address in the other process of the 4 bytes that is to be read compat_arch_ptrace()
61 * (this is run in a 32-bit process looking at a 64-bit process) compat_arch_ptrace()
72 /* Get the addr in the other process that we want to read */ compat_arch_ptrace()
115 * Read 4 bytes out of the other process' pt_regs area compat_arch_ptrace()
118 * addr is the offset into the other process' pt_regs structure compat_arch_ptrace()
120 * (this is run in a 32-bit process looking at a 64-bit process) compat_arch_ptrace()
163 * Write 4 bytes into the other process' storage compat_arch_ptrace()
166 * 8 byte address in the other process where the 4 bytes compat_arch_ptrace()
168 * (this is run in a 32-bit process looking at a 64-bit process) compat_arch_ptrace()
176 /* Get the addr in the other process that we want to write into */ compat_arch_ptrace()
216 * Write 4 bytes into the other process' pt_regs area compat_arch_ptrace()
218 * addr is the offset into the other process' pt_regs structure compat_arch_ptrace()
220 * (this is run in a 32-bit process looking at a 64-bit process) compat_arch_ptrace()
H A Dreloc_64.S2 * Code to process dynamic relocations in the kernel.
68 * Run through the list of relocations and process the
/linux-4.1.27/drivers/iio/
H A Diio_core_trigger.h19 * iio_device_unregister_trigger_consumer() - reverse the registration process
36 * iio_device_unregister_trigger_consumer() - reverse the registration process
/linux-4.1.27/arch/xtensa/kernel/
H A DMakefile7 obj-y := align.o coprocessor.o entry.o irq.o pci-dma.o platform.o process.o \
24 # We need to post-process the generated vmlinux.lds scripts to convert
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dpmu.h19 u32 process; member in struct:nvkm_pmu::__anon4138
42 /* interface to MEMX process running on PMU */
/linux-4.1.27/arch/unicore32/kernel/
H A DMakefile6 obj-y := dma.o elf.o entry.o process.o ptrace.o
/linux-4.1.27/arch/microblaze/kernel/
H A DMakefile19 platform.o process.o prom.o ptrace.o \
H A Dirq.c51 /* process the entire interrupt tree in one go */ init_IRQ()
/linux-4.1.27/arch/score/include/asm/
H A Dptrace.h10 * Does the process account for user or for system time?
/linux-4.1.27/arch/frv/kernel/
H A DMakefile11 process.o traps.o ptrace.o signal.o dma.o \
H A Dprocess.c0 /* process.c: FRV specific parts of process handling
5 * - Derived from arch/m68k/kernel/process.c
126 * set up the kernel stack and exception frames for a new process
/linux-4.1.27/arch/m68k/kernel/
H A DMakefile16 obj-y := entry.o irq.o m68k_ksyms.o module.o process.o ptrace.o
/linux-4.1.27/tools/perf/tests/
H A Dthread-mg-share.c17 /* other process */ test__thread_mg_share()
33 /* create process with 4 threads */ test__thread_mg_share()
39 /* and create 1 separated process, without thread leader */ test__thread_mg_share()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
H A Dlproc_llite.c1332 struct ll_rw_process_info *process; ll_rw_stats_tally() local
1340 process = sbi->ll_rw_process_info; ll_rw_stats_tally()
1353 /* new process */ ll_rw_stats_tally()
1376 if (process[i].rw_pid == pid) { ll_rw_stats_tally()
1377 if (process[i].rw_last_file != file) { ll_rw_stats_tally()
1378 process[i].rw_range_start = pos; ll_rw_stats_tally()
1379 process[i].rw_last_file_pos = pos + count; ll_rw_stats_tally()
1380 process[i].rw_smallest_extent = count; ll_rw_stats_tally()
1381 process[i].rw_largest_extent = count; ll_rw_stats_tally()
1382 process[i].rw_offset = 0; ll_rw_stats_tally()
1383 process[i].rw_last_file = file; ll_rw_stats_tally()
1387 if (process[i].rw_last_file_pos != pos) { ll_rw_stats_tally()
1390 offset[*off_count].rw_op = process[i].rw_op; ll_rw_stats_tally()
1393 process[i].rw_range_start; ll_rw_stats_tally()
1395 process[i].rw_last_file_pos; ll_rw_stats_tally()
1397 process[i].rw_smallest_extent; ll_rw_stats_tally()
1399 process[i].rw_largest_extent; ll_rw_stats_tally()
1401 process[i].rw_offset; ll_rw_stats_tally()
1402 process[i].rw_op = rw; ll_rw_stats_tally()
1403 process[i].rw_range_start = pos; ll_rw_stats_tally()
1404 process[i].rw_smallest_extent = count; ll_rw_stats_tally()
1405 process[i].rw_largest_extent = count; ll_rw_stats_tally()
1406 process[i].rw_offset = pos - ll_rw_stats_tally()
1407 process[i].rw_last_file_pos; ll_rw_stats_tally()
1409 if (process[i].rw_smallest_extent > count) ll_rw_stats_tally()
1410 process[i].rw_smallest_extent = count; ll_rw_stats_tally()
1411 if (process[i].rw_largest_extent < count) ll_rw_stats_tally()
1412 process[i].rw_largest_extent = count; ll_rw_stats_tally()
1413 process[i].rw_last_file_pos = pos + count; ll_rw_stats_tally()
1419 process[*process_count].rw_pid = pid; ll_rw_stats_tally()
1420 process[*process_count].rw_op = rw; ll_rw_stats_tally()
1421 process[*process_count].rw_range_start = pos; ll_rw_stats_tally()
1422 process[*process_count].rw_last_file_pos = pos + count; ll_rw_stats_tally()
1423 process[*process_count].rw_smallest_extent = count; ll_rw_stats_tally()
1424 process[*process_count].rw_largest_extent = count; ll_rw_stats_tally()
1425 process[*process_count].rw_offset = 0; ll_rw_stats_tally()
1426 process[*process_count].rw_last_file = file; ll_rw_stats_tally()
1435 struct ll_rw_process_info *process = sbi->ll_rw_process_info; ll_rw_offset_stats_seq_show() local
1465 /* Then print the current offsets for each process */ ll_rw_offset_stats_seq_show()
1467 if (process[i].rw_pid != 0) ll_rw_offset_stats_seq_show()
1470 process[i].rw_op == READ ? 'R' : 'W', ll_rw_offset_stats_seq_show()
1471 process[i].rw_pid, ll_rw_offset_stats_seq_show()
1472 process[i].rw_range_start, ll_rw_offset_stats_seq_show()
1473 process[i].rw_last_file_pos, ll_rw_offset_stats_seq_show()
1474 (unsigned long)process[i].rw_smallest_extent, ll_rw_offset_stats_seq_show()
1475 (unsigned long)process[i].rw_largest_extent, ll_rw_offset_stats_seq_show()
1476 process[i].rw_offset); ll_rw_offset_stats_seq_show()
/linux-4.1.27/tools/perf/util/
H A Dheader.h119 int (*process)(struct perf_file_section *section,
127 perf_event__handler_t process);
130 perf_event__handler_t process);
136 perf_event__handler_t process);
143 perf_event__handler_t process,
H A Devent.c164 perf_event__handler_t process, perf_event__synthesize_comm()
172 if (process(tool, event, &synth_sample, machine) != 0) perf_event__synthesize_comm()
181 perf_event__handler_t process, perf_event__synthesize_fork()
189 * spawns all threads in a process perf_event__synthesize_fork()
204 if (process(tool, event, &synth_sample, machine) != 0) perf_event__synthesize_fork()
213 perf_event__handler_t process, perf_event__synthesize_mmap_events()
312 if (process(tool, event, &synth_sample, machine) != 0) { perf_event__synthesize_mmap_events()
323 perf_event__handler_t process, perf_event__synthesize_modules()
368 if (process(tool, event, &synth_sample, machine) != 0) { perf_event__synthesize_modules()
382 perf_event__handler_t process, __event__synthesize_thread()
395 process, machine); __event__synthesize_thread()
401 process, machine, mmap_data); __event__synthesize_thread()
430 ppid, process, machine) < 0) __event__synthesize_thread()
435 if (process(tool, comm_event, &synth_sample, machine) != 0) __event__synthesize_thread()
440 /* process the parent's maps too */ __event__synthesize_thread()
442 process, machine, mmap_data); __event__synthesize_thread()
454 perf_event__handler_t process, perf_event__synthesize_thread_map()
478 process, tool, machine, perf_event__synthesize_thread_map()
504 process, tool, machine, perf_event__synthesize_thread_map()
521 perf_event__handler_t process, perf_event__synthesize_threads()
562 1, process, tool, machine, mmap_data); perf_event__synthesize_threads()
611 perf_event__handler_t process, perf_event__synthesize_kernel_mmap()
661 err = process(tool, event, &synth_sample, machine); perf_event__synthesize_kernel_mmap()
162 perf_event__synthesize_comm(struct perf_tool *tool, union perf_event *event, pid_t pid, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_comm() argument
178 perf_event__synthesize_fork(struct perf_tool *tool, union perf_event *event, pid_t pid, pid_t tgid, pid_t ppid, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_fork() argument
210 perf_event__synthesize_mmap_events(struct perf_tool *tool, union perf_event *event, pid_t pid, pid_t tgid, perf_event__handler_t process, struct machine *machine, bool mmap_data) perf_event__synthesize_mmap_events() argument
322 perf_event__synthesize_modules(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_modules() argument
378 __event__synthesize_thread(union perf_event *comm_event, union perf_event *mmap_event, union perf_event *fork_event, pid_t pid, int full, perf_event__handler_t process, struct perf_tool *tool, struct machine *machine, bool mmap_data) __event__synthesize_thread() argument
452 perf_event__synthesize_thread_map(struct perf_tool *tool, struct thread_map *threads, perf_event__handler_t process, struct machine *machine, bool mmap_data) perf_event__synthesize_thread_map() argument
520 perf_event__synthesize_threads(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine, bool mmap_data) perf_event__synthesize_threads() argument
610 perf_event__synthesize_kernel_mmap(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_kernel_mmap() argument
H A Devent.h312 perf_event__handler_t process,
315 perf_event__handler_t process,
318 perf_event__handler_t process,
322 perf_event__handler_t process,
382 perf_event__handler_t process,
/linux-4.1.27/arch/mips/kernel/
H A Dptrace32.c39 * Tracing a 32-bit process with a 64-bit strace and vice versa will not
52 * Read 4 bytes of the other process' storage compat_arch_ptrace()
56 * address in the other process of the 4 bytes that is to be read compat_arch_ptrace()
57 * (this is run in a 32-bit process looking at a 64-bit process) compat_arch_ptrace()
68 /* Get the addr in the other process that we want to read */ compat_arch_ptrace()
164 * Write 4 bytes into the other process' storage compat_arch_ptrace()
167 * 8 byte address in the other process where the 4 bytes compat_arch_ptrace()
169 * (this is run in a 32-bit process looking at a 64-bit process) compat_arch_ptrace()
176 /* Get the addr in the other process that we want to write into */ compat_arch_ptrace()
H A Dmips-mt-fpaff.c17 * CPU mask used to set process affinity for MT VPEs/TCs with FPUs
34 * find_process_by_pid - find a process with a matching PID value.
44 * check the target process has a UID that matches the current process's
60 * mipsmt_sys_sched_setaffinity - set the cpu affinity of a process
151 * mipsmt_sys_sched_getaffinity - get the cpu affinity of a process
H A Dr2300_switch.S28 * Offset to the current process status flags, the first 32 bytes of the
34 * FPU context is saved iff the process has used it's FPU in the current
36 * space STATUS register should be 0, so that a process *always* starts its
39 * FPU will be enabled as soon as the process accesses FPU again, through
/linux-4.1.27/drivers/staging/ozwpan/
H A Dozcdev.c46 * Context: process and softirq
61 * Context: softirq or process
72 * Context: process
85 * Context: process
93 * Context: process
146 * Context: process
209 * Context: process
244 * Context: process
316 * Context: process
353 * Context: process
397 * Context: process
411 * Context: process
420 * Context: process
466 * Context: softirq or process
H A Dozmain.c33 * Context: process
55 * Context: process
H A Dozpd.c62 * Context: softirq or process
84 * Context: softirq or process
92 * Context: softirq or process
139 * Context: softirq or process
217 * Context: softirq or process
263 * Context: softirq or process
332 * Context: softirq or process
346 * Context: softirq or process
450 * Context: softirq or process
674 * Context: softirq or process
829 * Context: process
842 * Context: process
865 * Context: softirq or process
H A Dozusbsvc.c32 * Context: process
41 * Context: process
115 * Context: softirq or process
170 * Context: irq or process
255 * Context: softirq or process
H A Dozproto.c453 * Context: process
561 * Context: softirq or process
592 * Context: softirq or process
601 * Context: softirq or process
620 * Context: process
670 * Context: process
699 * Context: process
723 * Context: process
752 * Context: process
767 * Context: process
797 * Context: process
/linux-4.1.27/mm/
H A Dprocess_vm_access.c67 * @addr: start memory address of target process
125 /* Maximum number of entries for process pages array
131 * @pid: PID of process to read/write from/to
133 * @rvec: iovec array specifying where to copy to/from in the other process
136 * @vm_write: 0 if reading from other process, 1 if writing to other process
139 * process.
186 /* Get process information */ process_vm_rw_core()
236 * @pid: PID of process to read/write from/to
239 * @rvec: iovec array specifying where to copy to/from in the other process
242 * @vm_write: 0 if reading from other process, 1 if writing to other process
245 * process.
/linux-4.1.27/arch/sparc/kernel/
H A Dleon_pmc.c39 * See .../arch/sparc/kernel/process.c
63 * See .../arch/sparc/kernel/process.c
90 /* This driver is not critical to the boot process, don't care
H A Dpmc.c41 * See .../arch/sparc/kernel/process.c
95 /* This driver is not critical to the boot process
H A Dapc.c58 * See .../arch/sparc/kernel/process.c
191 /* This driver is not critical to the boot process
/linux-4.1.27/arch/tile/include/asm/
H A Dstack.h40 * a set of registers. If the registers are omitted, the process is
41 * assumed to be descheduled, and registers are read from the process's
68 /* Dump stack of current process, with registers to seed the backtrace. */
/linux-4.1.27/arch/metag/include/asm/
H A Dmmu_context.h23 * pgd of a process while it is running. While a process is not init_new_context()
80 switching from the init task to the first process. */ switch_mmu()
/linux-4.1.27/arch/arm/mach-ux500/
H A Did.h13 * @process: the manufacturing process, 0x40 is 40 nm 0x00 is "standard"
20 u8 process; member in struct:dbx500_asic_id
H A Dcpu.c113 if (dbx500_id.process == 0x00) ux500_get_process()
116 return sprintf(buf, "%02xnm\n", dbx500_id.process); ux500_get_process()
129 __ATTR(process, S_IRUGO, ux500_get_process, NULL);
/linux-4.1.27/drivers/oprofile/
H A Devent_buffer.h27 /* wake up the process sleeping on the event file */
/linux-4.1.27/arch/sparc/include/asm/
H A Dcurrent.h23 * Two stage process (inline + #define) for type-checking.
H A Dcacheflush_32.h50 * the windows of the current process are flushed onto its stack. This
51 * way the windows are all clean for the next process and the stack
/linux-4.1.27/arch/tile/kernel/
H A DMakefile7 pci-dma.o proc.o process.o ptrace.o reboot.o \
H A Dmessaging.c110 * Track time spent against the current process again and hv_message_intr()
111 * process any softirqs if they are waiting. hv_message_intr()
/linux-4.1.27/arch/um/drivers/
H A Dmconsole_kern.h17 /* All these methods are called in process context. */
H A Dmconsole_user.c17 * With uts namespaces, uts information becomes process-specific, so
18 * we need a process context. If we try handling this in interrupt
19 * context, we may hit an exiting process without a valid uts
H A Dstderr_console.c12 * boot process it becomes the default console.
/linux-4.1.27/include/uapi/asm-generic/
H A Dmman.h13 #define MAP_STACK 0x20000 /* give out an address that is best suited for process/thread stacks */
H A Dfcntl.h138 * Usually record locks held by a process are released on *any* close and are
141 * These cmd values will set locks that conflict with process-associated
143 * process. This means that they are inherited across fork() like BSD (flock)
H A Derrno-base.h6 #define ESRCH 3 /* No such process */
H A Dsiginfo.h219 /* hardware memory error detected in process but not consumed: action optional*/
226 #define TRAP_BRKPT (__SI_FAULT|1) /* process breakpoint */
227 #define TRAP_TRACE (__SI_FAULT|2) /* process trace trap */
228 #define TRAP_BRANCH (__SI_FAULT|3) /* process taken branch trap */
/linux-4.1.27/arch/mips/sni/
H A Dreset.c2 * linux/arch/mips/sni/process.c
/linux-4.1.27/arch/mn10300/kernel/
H A DMakefile9 obj-y := process.o signal.o entry.o traps.o irq.o \
H A Dfpu-nofpu.c16 * be meant for a process other than the current one
H A Dfpu.c32 * be meant for a process other than the current one
83 * process. fpu_setup_sigcontext()
117 * kill a process's FPU state during restoration after signal handling
/linux-4.1.27/arch/parisc/kernel/
H A DMakefile11 process.o processor.o pdc_cons.o pdc_chassis.o unwind.o \
H A Dbinfmt_elf32.c65 char pr_state; /* numeric process state */
84 * this is a 32 on 64 process. We could use PER_LINUX_32BIT, or we
/linux-4.1.27/arch/arm/mach-omap2/
H A Domap4-restart.c16 * @mode: the "reboot mode", see arch/arm/kernel/{setup,process}.c
H A Dam33xx-restart.c16 * @mode: the "reboot mode", see arch/arm/kernel/{setup,process}.c
H A Domap-secure.c79 * @process: Process ID
89 u32 rx51_secure_dispatcher(u32 idx, u32 process, u32 flag, u32 nargs, rx51_secure_dispatcher() argument
109 ret = omap_smc3(idx, process, flag, __pa(param)); rx51_secure_dispatcher()
H A Domap3-restart.c24 * @mode: the "reboot mode", see arch/arm/kernel/{setup,process}.c
H A Dti81xx-restart.c20 * @mode: the "reboot mode", see arch/arm/kernel/{setup,process}.c
H A Domap-secure.h64 extern u32 omap_smc3(u32 id, u32 process, u32 flag, u32 pargs);
68 extern u32 rx51_secure_dispatcher(u32 idx, u32 process, u32 flag, u32 nargs,
/linux-4.1.27/arch/arc/kernel/
H A DMakefile11 obj-y := arcksyms.o setup.o irq.o time.o reset.o ptrace.o entry.o process.o
/linux-4.1.27/include/asm-generic/
H A Dexec.h1 /* Generic process execution definitions, based on MN10300 definitions.
/linux-4.1.27/drivers/staging/skein/
H A Dskein_base.c49 * build/process the config block, type == CONFIG (could be skein_256_init()
70 /* Set up to process the data message portion of the hash (default) */ skein_256_init()
95 } else { /* here to pre-process a key */ skein_256_init_ext()
112 * build/process the config block, type == CONFIG (could be skein_256_init_ext()
131 /* Set up to process the data message portion of the hash (default) */ skein_256_init_ext()
138 /* process the input bytes */ skein_256_update()
147 /* process full blocks, if any */ skein_256_update()
167 * now process any remaining full blocks, directly from input skein_256_update()
171 /* number of full blocks to process */ skein_256_update()
208 /* process the final block */ skein_256_final()
271 * build/process the config block, type == CONFIG (could be skein_512_init()
296 /* Set up to process the data message portion of the hash (default) */ skein_512_init()
321 } else { /* here to pre-process a key */ skein_512_init_ext()
338 * build/process the config block, type == CONFIG (could be skein_512_init_ext()
356 /* Set up to process the data message portion of the hash (default) */ skein_512_init_ext()
363 /* process the input bytes */ skein_512_update()
372 /* process full blocks, if any */ skein_512_update()
392 * now process any remaining full blocks, directly from input skein_512_update()
396 /* number of full blocks to process */ skein_512_update()
433 /* process the final block */ skein_512_final()
493 * build/process the config block, type == CONFIG skein_1024_init()
515 /* Set up to process the data message portion of the hash (default) */ skein_1024_init()
540 } else { /* here to pre-process a key */ skein_1024_init_ext()
557 * build/process the config block, type == CONFIG (could be skein_1024_init_ext()
576 /* Set up to process the data message portion of the hash (default) */ skein_1024_init_ext()
583 /* process the input bytes */ skein_1024_update()
592 /* process full blocks, if any */ skein_1024_update()
612 * now process any remaining full blocks, directly from input skein_1024_update()
616 /* number of full blocks to process */ skein_1024_update()
653 /* process the final block */ skein_1024_final()
700 /* process the final block */ skein_256_final_pad()
722 /* process the final block */ skein_512_final_pad()
744 /* process the final block */ skein_1024_final_pad()
/linux-4.1.27/drivers/staging/lustre/include/linux/lnet/
H A Dapi.h67 * end-points but also memory region within a process address space.
68 * An ::lnet_nid_t addresses an end-point. An ::lnet_pid_t identifies a process
70 * process. Match bits is criteria to identify a region of memory inside a
73 * LNet creates a table of portals for each process during initialization.
75 * changed. A portal stays empty until the owning process starts to add
77 * it's an entry in the portals table of a process.
95 * incoming requests based on process ID or the match bits provided in the
160 * event from an EQ, and LNetEQWait() can be used to block a process until
/linux-4.1.27/arch/mips/include/uapi/asm/
H A Dtermios.h34 char t_suspc; /* stop process signal */
35 char t_dsuspc; /* delayed stop process signal */
/linux-4.1.27/arch/avr32/oprofile/
H A Dbacktrace.c27 /* copied from arch/avr32/kernel/process.c */ valid_stack_ptr()
75 /* Assume we have frame pointers in user mode process */ avr32_backtrace()
/linux-4.1.27/arch/m68k/68000/
H A Dentry.S137 jbsr process_int /* process the IRQ*/
148 jbsr process_int /* process the IRQ*/
159 jbsr process_int /* process the IRQ*/
170 jbsr process_int /* process the IRQ*/
181 jbsr process_int /* process the IRQ*/
192 jbsr process_int /* process the IRQ*/
203 jbsr process_int /* process the IRQ*/
214 jbsr process_int /* process the IRQ*/
/linux-4.1.27/net/netfilter/
H A Dxt_cgroup.c2 * Xtables module to match the process control group.
23 MODULE_DESCRIPTION("Xtables: process control group matching");
/linux-4.1.27/security/selinux/ss/
H A Dconstraint.h7 * used to prevent a process from transitioning to a new user
10 * process from labeling an object with a different user
/linux-4.1.27/tools/perf/bench/
H A Dnuma.c155 OPT_INTEGER('t', "nr_threads" , &p0.nr_threads, "number of threads per process"),
158 OPT_STRING('P', "mb_proc" , &p0.mb_proc_str, "MB", "process memory (MBs)"),
159 OPT_STRING('L', "mb_proc_locked", &p0.mb_proc_locked_str,"MB", "process serialized/locked memory access (MBs), <= process_memory"),
403 * Allocate process-local memory - this will either be shared between
404 * threads of this process, or only be accessed by this thread:
412 * Return a process-shared (global) mutex:
701 * The worker process does two types of work, a forwards going
809 * Count the number of nodes a process's threads
812 * A count of 1 means that the process is compressed
846 * Count the number of distinct process-threads a node contains.
849 * process. If all nodes on the system contain at most one
850 * process then we are well-converged.
967 * Count the number of distinct process groups present calc_convergence()
1066 printf("# thread %2d / %2d global mem: %p, process mem: %p, thread mem: %p\n", worker_thread()
1075 /* Here we will wait for the main process to start us all at once: */ worker_thread()
1079 /* Last one wake the main process: */ worker_thread()
1107 * Amount of work to be done under a process-global lock: worker_thread()
1208 * A worker process starts a couple of threads:
1221 set_taskname("process %d", process_nr); worker_process()
1237 printf(" # process %2d global mem: %p, process mem: %p\n", worker_process()
1276 printf(" # %5dx %5ldMB process shared mem operations\n", print_summary()
1443 dprintf(" # process %2d: PID %d\n", i, pid); __bench_numa()
1447 /* Child process: */ __bench_numa()
1489 /* Parent process: */ __bench_numa()
1683 /* Various NUMA process/thread layout bandwidth measurements: */
1684 { " 2x1-bw-process,", "mem", "-p", "2", "-t", "1", "-P", "1024", OPT_BW },
1685 { " 3x1-bw-process,", "mem", "-p", "3", "-t", "1", "-P", "1024", OPT_BW },
1686 { " 4x1-bw-process,", "mem", "-p", "4", "-t", "1", "-P", "1024", OPT_BW },
1687 { " 8x1-bw-process,", "mem", "-p", "8", "-t", "1", "-P", " 512", OPT_BW },
1688 { " 8x1-bw-process-NOTHP,",
1690 { "16x1-bw-process,", "mem", "-p", "16", "-t", "1", "-P", "256", OPT_BW },
/linux-4.1.27/include/trace/events/
H A Dsignal.h44 * Current process sends a 'sig' signal to 'task' process with
88 * A 'sig' signal is delivered to current process with 'info' siginfo,
/linux-4.1.27/arch/sparc/include/uapi/asm/
H A Dmman.h23 #define MAP_STACK 0x20000 /* give out an address that is best suited for process/thread stacks */
/linux-4.1.27/arch/um/kernel/
H A DMakefile14 physmem.o process.o ptrace.o reboot.o sigio.o \
/linux-4.1.27/arch/metag/include/uapi/asm/
H A Dsigcontext.h8 * user process so that it does not get trashed when we call the signal
/linux-4.1.27/arch/sh/kernel/
H A DMakefile16 machvec.o nmi_debug.o process.o \
/linux-4.1.27/arch/nios2/kernel/
H A Dsys_nios2.c39 * to this process. sys_cacheflush()
/linux-4.1.27/arch/powerpc/include/uapi/asm/
H A Dmman.h28 #define MAP_STACK 0x20000 /* give out an address that is best suited for process/thread stacks */
/linux-4.1.27/arch/blackfin/kernel/
H A DMakefile8 entry.o process.o bfin_ksyms.o ptrace.o setup.o signal.o \
/linux-4.1.27/arch/ia64/kernel/
H A Dinit_task.c25 * We need to make sure that this is properly aligned due to the way process stacks are
H A Dmca_drv.c151 * mca_hanlder_bh - Kill the process which occurred memory read error
159 printk(KERN_ERR "OS_MCA: process [cpu %d, pid: %d, uid: %d, " mca_handler_bh()
178 /* This process is about to be killed itself */ mca_handler_bh()
510 * offending process affected process OS MCA do recover_from_read_error()
512 * kernel mode user mode kill the process recover_from_read_error()
514 * user mode user mode kill the process recover_from_read_error()
516 * (*) You could terminate offending user-mode process recover_from_read_error()
518 * the process not have any locks of kernel. recover_from_read_error()
529 * If it is user-mode, then terminate affected process. recover_from_read_error()
556 "kill affected process - recovered."); recover_from_read_error()
/linux-4.1.27/arch/arm/include/debug/
H A Dexynos.S17 /* note, for the boot process to work we have to keep the UART
H A Ds5pv210.S16 /* note, for the boot process to work we have to keep the UART
/linux-4.1.27/arch/alpha/include/uapi/asm/
H A Dsetup.h8 * the initial process structure. Also, the console eats 3 MB for
/linux-4.1.27/scripts/
H A DMakefile3 # the kernel for the build process.
/linux-4.1.27/arch/tile/include/uapi/asm/
H A Dptrace.h96 #define PT_FLAGS_COMPAT 0x10000 /* process is an -m32 compat process */
/linux-4.1.27/arch/tile/mm/
H A Dmmap.c25 * Top of mmap area (just below the process stack).
50 * process VM image, sets up which VM layout function to use:
/linux-4.1.27/arch/s390/crypto/
H A Dsha_common.c35 /* process one stored block */ s390_sha_update()
46 /* process as many blocks as possible */ s390_sha_update()
/linux-4.1.27/arch/s390/include/asm/
H A Dthread_info.h11 * Size of kernel stack for each process
79 #define TIF_31BIT 16 /* 32bit process */
/linux-4.1.27/net/sunrpc/
H A Dauth_null.c33 * Lookup NULL creds for current process
52 * Match cred handle against current process
/linux-4.1.27/security/yama/
H A Dyama_lsm.c66 * @tracer: the task_struct of the process doing the ptrace
67 * @tracee: the task_struct of the process to be ptraced
168 * process-level granularity of control. The tracer group yama_task_prctl()
208 * task_is_descendant - walk up a process family tree looking for a match
209 * @parent: the process to compare against while walking up from child
210 * @child: the process to start from while looking upwards for parent
242 * @tracer: the task_struct of the process attempting ptrace
243 * @tracee: the task_struct of the process to be ptraced
/linux-4.1.27/drivers/staging/rtl8192u/
H A Dr819xU_firmware.c5 * process, the routine shall terminate immediately and return fail.
11 * NDIS_STATUS_FAILURE - the following initialization process should be terminated
12 * NDIS_STATUS_SUCCESS - if firmware initialization process success
119 * NDIS_STATUS_FAILURE - the following initialization process should
121 * NDIS_STATUS_SUCCESS - if firmware initialization process success
274 /* The firmware download process is just as following, init_firmware()
/linux-4.1.27/kernel/sched/
H A Dcputime.c130 * Account user cpu time to a process.
131 * @p: the process that the cpu time gets accounted to
140 /* Add user time to process. */ account_user_time()
155 * Account guest cpu time to a process.
156 * @p: the process that the cpu time gets accounted to
165 /* Add guest time to process. */ account_guest_time()
182 * Account system cpu time to a process and desired cpustat field
183 * @p: the process that the cpu time gets accounted to
192 /* Add system time to process. */ __account_system_time()
205 * Account system cpu time to a process.
206 * @p: the process that the cpu time gets accounted to
319 * Account a tick to a process and cpustat
320 * @p: the process that the cpu time gets accounted to
460 * @p: the process that the cpu time gets accounted to
490 * @p: the process from which the cpu time has been stolen
/linux-4.1.27/security/keys/
H A Dprocess_keys.c1 /* Manage a process's keyrings
41 * Install the user and user session keyrings for the current process's UID.
169 * Install a process keyring directly to a credentials struct.
171 * Returns -EEXIST if there was already a process keyring, 0 if one installed,
192 * Make sure a process keyring is installed for the current process. The
193 * existing process keyring is not replaced.
195 * Returns 0 if there is a process keyring by the end of this function, some
302 * Search the process keyrings attached to the supplied cred for the first
355 /* search the process keyring second */ search_my_process_keyrings()
427 * Search the process keyrings attached to the supplied cred for the first
446 /* if this process has an instantiation authorisation key, then we also search_process_keyrings()
447 * search the keyrings of the process mentioned there search_process_keyrings()
823 * Replace a process's session keyring on behalf of one of its children when
824 * the target process is about to resume userspace execution.
/linux-4.1.27/fs/nfs/
H A Ddelegation.c36 * @delegation: delegation to process
159 * nfs_inode_reclaim_delegation - process a delegation reclaim request
160 * @inode: inode to process
458 * @clp: nfs_client to process
506 * @inode: inode to process
522 * @inode: inode to process
587 * @clp: client to process
598 * @sb: sb to process
670 * @clp: client to process
693 * @clp: nfs_client to process
710 * @inode: inode to process
795 * @clp: nfs_client to process
810 * @clp: nfs_client to process
/linux-4.1.27/kernel/
H A Dcapability.c112 * process is the current process. As such, we can't be in this code
113 * at the same time as we are in the process of setting capabilities
114 * in this process. The net result is that we can limit our use of
115 * locks to when we are reading the caps of another process.
141 * sys_capget - get the capabilities of a given process.
206 * sys_capset - set capabilities for a process or (*) a group of processes
212 * Set capabilities for the current process only. The ability to any other
213 * process(es) has been deprecated and removed.
H A Dkmod.c15 Unblock all signals when we exec a usermode process.
159 * would be to run the parents of this process, counting how many times __request_module()
161 * process tables to get the command line, proc_pid_cmdline is static __request_module()
481 * @argv: arg vector for process
482 * @envp: environment for process
490 * exec the process and free the structure.
492 * The init function is used to customize the helper process prior to
493 * exec. A non-zero return code causes the process to error out, exit,
494 * and return the failure to the calling process
498 * Function must be runnable in either a process context or the
588 * @argv: arg vector for process
589 * @envp: environment for process
H A Dbacktracetest.c22 pr_info("Testing a backtrace from process context.\n"); backtrace_test_normal()
/linux-4.1.27/drivers/s390/cio/
H A Deadm_sch.c326 * eadm_subchannel_sch_event - process subchannel event
328 * @process: non-zero if function is called in process context
333 * be called again in process context.
335 static int eadm_subchannel_sch_event(struct subchannel *sch, int process) eadm_subchannel_sch_event() argument
/linux-4.1.27/include/uapi/linux/android/
H A Dbinder.h117 * from your process. That is, the process is being destroyed.
118 * You should handle this by exiting from your process. Note
246 * No parameters. The driver has determined that a process has no
247 * threads waiting to service incoming transactions. When a process
/linux-4.1.27/security/
H A Dcommoncap.c112 * cap_settime - Determine whether the current process may set the system clock
116 * Determine whether the current process may set the system clock and timezone
127 * cap_ptrace_access_check - Determine whether the current process may access
129 * @child: The process to be accessed
138 * Determine whether a process may access another, returning 0 if permission
166 * cap_ptrace_traceme - Determine whether another process may trace the current
176 * process, returning 0 if permission is granted, -ve if denied.
247 * process's capability sets. The changes are made to the proposed new
336 * Calculate the new process capability sets from the capability sets attached
565 * Since this is just a normal root execing a process. cap_bprm_set_creds()
668 * a process after a call to setuid, setreuid, or setresuid.
675 * capabilities of the process are cleared.
686 * A process may, via prctl(), elect to keep its capabilities when it
771 * So we check for increased caps on the target process.
846 * cap_task_prctl - Implement process control functions for this security module
847 * @option: The process control function requested
850 * Allow process control functions (sys_prctl()) to alter capabilities; may
887 * will ensure that the current process and all of its cap_task_prctl()
965 * If the process is attempting to map memory below dac_mmap_min_addr they need
/linux-4.1.27/drivers/net/wireless/
H A Dmac80211_hwsim.h35 * entities such as wmediumd to receive and process all broadcasted
101 * @HWSIM_ATTR_FLAGS: mac80211 transmission flags, used to process
122 * command to force radio removal when process that created the radio dies
/linux-4.1.27/include/linux/usb/
H A Dmsm_hsusb.h63 * process is not yet started.
137 * @chg_state: The state of charger detection process.
140 * detection process.
/linux-4.1.27/arch/hexagon/include/asm/
H A Dprocessor.h33 /* task_struct, defined elsewhere, is the "process descriptor" */
36 /* this is defined in arch/process.c */
83 /* Free all resources held by a thread; defined in process.c */
H A Dthread_info.h102 * - these are process state flags that various assembly files
115 #define TIF_MEMDIE 17 /* OOM killer killed process */
/linux-4.1.27/kernel/debug/kdb/
H A Dkdb_bt.c54 * btc [<cpu>] The current process on one cpu,
152 kdb_printf("No process with pid == %ld found\n", pid);
178 kdb_printf("no process for cpu %ld\n", cpu);
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_iov.c53 /* if there is no iov_data then there is no mailboxes to process */ fm10k_iov_event()
101 /* if there is no iov_data then there is no mailboxes to process */ fm10k_iov_mbx()
119 * To prevent this, store a pointer to the next VF mbx to process. Use fm10k_iov_mbx()
143 /* cleanup mailbox and process received messages */ fm10k_iov_mbx()
144 mbx->ops.process(hw, mbx); fm10k_iov_mbx()
148 * Otherwise, reset next_vf_mbx, and restart loop so that we process fm10k_iov_mbx()
251 /* no IOV support, not our message to process */ fm10k_iov_update_pvid()
255 /* glort outside our range, not our message to process */ fm10k_iov_update_pvid()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8188ee/
H A Dled.c65 "switch case not process\n"); rtl88ee_sw_led_on()
103 "switch case not process\n"); rtl88ee_sw_led_off()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ee/
H A Dled.c64 "switch case not process\n"); rtl92ee_sw_led_on()
94 "switch case not process\n"); rtl92ee_sw_led_off()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
H A Dfail.c99 /* If CFS_FAIL_ONCE is valid, only one process can fail, __cfs_fail_check_set()
100 * otherwise multi-process can fail at the same time. */ __cfs_fail_check_set()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723be/
H A Dled.c61 "switch case not process\n"); rtl8723be_sw_led_on()
103 "switch case not process\n"); rtl8723be_sw_led_off()
/linux-4.1.27/drivers/infiniband/hw/nes/
H A Dnes_user.h60 __u32 max_pds; /* maximum pds allowed for this user process */
61 __u32 max_qps; /* maximum qps allowed for this user process */
/linux-4.1.27/arch/x86/mm/
H A Dmmap.c50 * Top of mmap area (just below the process stack).
110 * process VM image, sets up which VM layout function to use:
/linux-4.1.27/arch/x86/include/asm/
H A Di387.h68 * If in process context and not atomic, we can take a spurious DNA fault. irq_ts_save()
69 * Otherwise, doing clts() in process context requires disabling preemption irq_ts_save()
/linux-4.1.27/drivers/tty/vt/
H A Dvt_ioctl.c572 * A process can indicate its willingness to accept signals vt_ioctl()
743 * If a vt is under process control, the kernel will not switch to it vt_ioctl()
744 * immediately, but postpone the operation until the process calls this vt_ioctl()
1310 * controlling process is gone and we've called reset_vc. complete_change_console()
1320 * If this new console is under process control, send it a signal complete_change_console()
1327 * tell us if the process has gone or something else complete_change_console()
1332 * The controlling process has died, so we revert back to complete_change_console()
1337 * this outside of VT_PROCESS but there is no single process complete_change_console()
1369 * If this vt is in process mode, then we need to handshake with change_console()
1370 * that process before switching. Essentially, we store where that change_console()
1374 * We also check to see if the controlling process still exists. change_console()
1376 * This is a cheap way to track process control. The worst thing change_console()
1377 * that can happen is: we send a signal to a process, it dies, and change_console()
1379 * user will try again, we'll detect the process is gone (unless change_console()
1387 * tell us if the process has gone or something else change_console()
1397 * return. The process needs to send us a change_console()
1404 * The controlling process has died, so we revert back to change_console()
1409 * this outside of VT_PROCESS but there is no single process change_console()
/linux-4.1.27/arch/nios2/include/asm/
H A Dthread_info.h22 * Size of the kernel stack for each process.
80 * - these are process state flags that various assembly files may need to
/linux-4.1.27/arch/powerpc/mm/
H A Dmmap.c31 * Top of mmap area (just below the process stack).
83 * process VM image, sets up which VM layout function to use:
/linux-4.1.27/arch/cris/include/arch-v10/arch/
H A Dptrace.h31 #define PT_IRP 19 /* This is actually the debugged process' PC */
79 unsigned long irp; /* This is actually the debugged process' PC */
H A Dprocessor.h27 * User space process size. This is hardcoded into a few places,
/linux-4.1.27/arch/m32r/include/asm/
H A Dprocessor.h55 * User space process size: 2GB (default).
104 /* User process Backup PSW */
/linux-4.1.27/fs/afs/
H A Dmain.c114 /* initialise the VL update process */ afs_init()
119 /* initialise the callback update process */ afs_init()
/linux-4.1.27/net/atm/
H A Dlec_arpc.h77 * protocol is in process.
82 * protocol is in process.
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dradeon_asic.c218 .process = &r100_irq_process,
286 .process = &r100_irq_process,
382 .process = &r100_irq_process,
450 .process = &r100_irq_process,
518 .process = &r100_irq_process,
586 .process = &r100_irq_process,
654 .process = &rs600_irq_process,
722 .process = &rs600_irq_process,
790 .process = &rs600_irq_process,
858 .process = &rs600_irq_process,
955 .process = &r600_irq_process,
1041 .process = &r600_irq_process,
1134 .process = &r600_irq_process,
1240 .process = &r600_irq_process,
1360 .process = &evergreen_irq_process,
1454 .process = &evergreen_irq_process,
1547 .process = &evergreen_irq_process,
1695 .process = &evergreen_irq_process,
1800 .process = &evergreen_irq_process,
1935 .process = &si_irq_process,
2104 .process = &cik_irq_process,
2217 .process = &cik_irq_process,
/linux-4.1.27/drivers/isdn/hardware/eicon/
H A Ddiva_dma.h40 and running in process context
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
H A Ddfs.h24 * ath9k_dfs_process_phyerr - process radar PHY error
/linux-4.1.27/drivers/input/serio/
H A Dlibps2.c34 * ps2_sendbyte() can only be called from a process context.
180 * ps2_command() can only be called from a process context
282 * to properly process ACK/NAK of a command from a PS/2 device.
339 * to properly store device's response to a command and notify process
/linux-4.1.27/arch/sh/mm/
H A Dasids-debugfs.c2 * debugfs ops for process ASIDs
/linux-4.1.27/arch/um/include/asm/
H A Dfixmap.h14 * in the boot process. We allocate these special addresses
H A Dprocessor-generic.h71 * User space process size: 3GB (default).
/linux-4.1.27/arch/microblaze/include/asm/
H A Dfixmap.h35 * in the boot process. We allocate these special addresses
/linux-4.1.27/drivers/usb/mon/
H A Dusb_mon.h40 * An instance of a process which opened a file (but can fork later)
/linux-4.1.27/fs/proc/
H A Dtask_nommu.c13 * Logic: we've got two memory sums for each process, "shared", and
15 * each process that owns it. Non-shared memory is counted
191 * the main process stack. nommu_vma_show()
206 * display mapping lines for a particular process's /proc/pid/maps
/linux-4.1.27/include/linux/platform_data/
H A Delm.h27 /* ELM support 8 error syndrome process */
/linux-4.1.27/include/linux/sched/
H A Dprio.h9 * Priority of a process goes from 0..MAX_PRIO-1, valid RT
/linux-4.1.27/arch/s390/kernel/
H A DMakefile31 obj-y := traps.o time.o process.o base.o early.o setup.o idle.o vtime.o
/linux-4.1.27/arch/mn10300/mm/
H A Dcache-inv-by-tag.S184 # process the way 0 slot
198 # process the way 1 slot
212 # process the way 2 slot
226 # process the way 3 slot
/linux-4.1.27/arch/powerpc/boot/
H A Depapr.c58 /* FIXME: we should process reserve entries */ epapr_platform_init()
/linux-4.1.27/arch/powerpc/include/asm/
H A Dfixmap.h31 * in the boot process. We allocate these special addresses
/linux-4.1.27/arch/arm64/include/asm/
H A Dfixmap.h26 * in the boot process.
/linux-4.1.27/arch/arm64/kernel/
H A DMakefile16 entry-fpsimd.o process.o ptrace.o setup.o signal.o \

Completed in 8152 milliseconds

1234567891011>>