Home
last modified time | relevance | path

Searched full:process (Results 1 – 25 of 3039) sorted by relevance

12345678910>>...122

/Linux-v5.10/tools/perf/util/
Dsynthetic-events.h32 …nt__synthesize_attrs(struct perf_tool *tool, struct evlist *evlist, perf_event__handler_t process);
33 …ct perf_tool *tool, struct perf_event_attr *attr, u32 ids, u64 *id, perf_event__handler_t process);
34 …struct perf_tool *tool, struct dso *pos, u16 misc, perf_event__handler_t process, struct machine *…
35 …struct perf_tool *tool, struct perf_cpu_map *cpus, perf_event__handler_t process, struct machine *…
36 …size_event_update_cpus(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process);
37 …size_event_update_name(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process);
38 …ize_event_update_scale(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process);
39 …size_event_update_unit(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process);
40 …tr(struct perf_tool *tool, struct evlist *evsel_list, perf_event__handler_t process, bool is_pipe);
41 int perf_event__synthesize_extra_kmaps(struct perf_tool *tool, perf_event__handler_t process, struc…
[all …]
Dsynthetic-events.c53 perf_event__handler_t process) in perf_tool__process_synth_event() argument
65 return process(tool, event, &synth_sample, machine); in perf_tool__process_synth_event()
178 perf_event__handler_t process, in perf_event__synthesize_comm() argument
186 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_comm()
208 perf_event__handler_t process, in perf_event__synthesize_namespaces() argument
238 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_namespaces()
247 perf_event__handler_t process, in perf_event__synthesize_fork() argument
255 * spawns all threads in a process in perf_event__synthesize_fork()
271 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_fork()
353 perf_event__handler_t process, in perf_event__synthesize_mmap_events() argument
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_process.c55 /* For process termination handling */
183 mm = get_task_mm(pdd->process->lead_thread); in kfd_sdma_activity_worker()
254 * by current process. Translates acquired wave count into number of compute units
280 proc = pdd->process; in kfd_get_cu_occupancy()
282 pr_debug("Gpu-Id: %d has no active queues for process %d\n", in kfd_get_cu_occupancy()
469 if (!q || !q->process) in kfd_procfs_add_queue()
471 proc = q->process; in kfd_procfs_add_queue()
651 /* kfd_process_alloc_gpuvm - Allocate GPU VM for the KFD process
652 * This function should be only called right after the process
682 * will take care of the bo removal when the process finishes. in kfd_process_alloc_gpuvm()
[all …]
Dkfd_priv.h97 * Size of the per-process TBA+TMA buffer: 2 pages
135 * Kernel module parameter to specify the maximum process
143 * Kernel module parameter to specify whether to send sigterm to HSA process on
284 /* Maximum process number mapped to HW scheduler */
344 * specific process.
397 * process.
498 * @process: The kfd process that created this queue.
524 struct kfd_process *process; member
558 struct kfd_process *process; member
577 * process termination
[all …]
Dkfd_process_queue_manager.c56 pr_info("Cannot open more queues for process with pasid 0x%x\n", in find_available_queue_slot()
57 pqm->process->pasid); in find_available_queue_slot()
98 pdd = kfd_get_process_device_data(dev, pqm->process); in pqm_set_gws()
100 pr_err("Process device data doesn't exist\n"); in pqm_set_gws()
104 /* Only allow one queue per process can have GWS assigned */ in pqm_set_gws()
112 ret = amdgpu_amdkfd_add_gws_to_process(pdd->process->kgd_process_info, in pqm_set_gws()
115 ret = amdgpu_amdkfd_remove_gws_from_process(pdd->process->kgd_process_info, in pqm_set_gws()
143 pqm->process = p; in pqm_init()
154 amdgpu_amdkfd_remove_gws_from_process(pqm->process->kgd_process_info, in pqm_uninit()
184 (*q)->process = pqm->process; in init_user_queue()
[all …]
/Linux-v5.10/tools/lib/traceevent/Documentation/
Dlibtraceevent-commands.txt8 Manage pid to process name mappings.
26 These functions can be used to handle the mapping between pid and process name.
28 of the process, instead of its pid. This information can be retrieved from
31 The _tep_register_comm()_ function registers a _pid_ / process name mapping.
33 The _pid_ argument is the process ID, the _comm_ argument is the process name,
36 The _tep_override_comm()_ function registers a _pid_ / process name mapping.
37 If a process with the same pid is already registered, the process name string is
38 udapted with the new one. The _pid_ argument is the process ID, the _comm_
39 argument is the process name, _tep_ is the event context. The _comm_ is
42 The _tep_is_pid_registered()_ function checks if a pid has a process name
[all …]
/Linux-v5.10/Documentation/security/keys/
Drequest-key.rst9 The process starts by either the kernel requesting a service by calling
63 The userspace interface links the key to a keyring associated with the process
73 The Process
78 1) Process A calls request_key() [the userspace syscall calls the kernel
81 2) request_key() searches the process's subscribed keyrings to see if there's
83 and callout_info is not set, an error is returned. Otherwise the process
91 b) An authorisation key V that refers to key U and notes that process A
107 This will permit it to then search the keyrings of process A with the
108 UID, GID, groups and security info of process A as if it was process A,
124 context specified by auth key X will still be process A, as it was in auth key
[all …]
/Linux-v5.10/drivers/staging/media/atomisp/pci/
Disp2401_input_system_private.h46 /* Get the state of the ibuf-controller process */
148 * ibuf-controller process. in ibuf_ctrl_get_state()
170 * ibuf-controller process. in ibuf_ctrl_dump_state()
173 ia_css_print("IBUF controller ID %d Process ID %d num_items 0x%x\n", ID, i, in ibuf_ctrl_dump_state()
175 ia_css_print("IBUF controller ID %d Process ID %d num_stores 0x%x\n", ID, i, in ibuf_ctrl_dump_state()
177 ia_css_print("IBUF controller ID %d Process ID %d dma_channel 0x%x\n", ID, i, in ibuf_ctrl_dump_state()
179 ia_css_print("IBUF controller ID %d Process ID %d dma_command 0x%x\n", ID, i, in ibuf_ctrl_dump_state()
181 ia_css_print("IBUF controller ID %d Process ID %d ibuf_st_addr 0x%x\n", ID, i, in ibuf_ctrl_dump_state()
183 ia_css_print("IBUF controller ID %d Process ID %d ibuf_stride 0x%x\n", ID, i, in ibuf_ctrl_dump_state()
185 ia_css_print("IBUF controller ID %d Process ID %d ibuf_end_addr 0x%x\n", ID, i, in ibuf_ctrl_dump_state()
[all …]
/Linux-v5.10/Documentation/locking/
Drt-mutex-design.rst24 Priority inversion is when a lower priority process executes while a higher
25 priority process wants to run. This happens for several reasons, and
26 most of the time it can't be helped. Anytime a high priority process wants
27 to use a resource that a lower priority process has (a mutex for example),
28 the high priority process must wait until the lower priority process is done
31 priority process is prevented from running by a lower priority process for
36 priority process, C is the lowest, and B is in between. A tries to grab a lock
39 but by doing so, it is in fact preempting A which is a higher priority process.
64 PI is where a process inherits the priority of another process if the other
65 process blocks on a lock owned by the current process. To make this easier
[all …]
/Linux-v5.10/tools/memory-model/litmus-tests/
DREADME28 variable by a different process? This litmus test is forbidden
36 variable by a different process?
40 litmus test is visible to an external process whose accesses are
41 separated by smp_mb(). This addition of an external process to
54 load-buffering litmus test, where each process reads from one
59 litmus test, where each process reads from one of two variables then
71 in one process, and use an acquire load followed by a pair of
72 spin_is_locked() calls in the other process.
75 Protect the access with a lock in one process, and use an
77 in the other process.
[all …]
/Linux-v5.10/Documentation/x86/
Dsva.rst39 executed in the hardware by SWQ interface, SIOV uses Process Address Space
53 record, and the PASID (process address space ID) of the current process.
64 Process Address Space Tagging
76 - Allocate the PASID, and program the process page-table (%cr3 register) in the
92 The kernel must allocate a PASID on behalf of each process which will use
93 ENQCMD and program it into the new MSR to communicate the process identity to
95 from this process. When a user submits a work descriptor to a device using the
100 entry in IOMMU with the process address used by the CPU (e.g. %cr3 register in
105 process share the same page tables, thus the same MSR value.
107 PASID is cleared when a process is created. The PASID allocation and MSR
[all …]
/Linux-v5.10/Documentation/trace/postprocess/
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
317 …"Process", "Pages", "Pages", "Pages", "Pages", "PCPU", "PCPU", "PCPU", "Fragment", "F…
355 my $process;
359 $process = $process_pid;
[all …]
Dtrace-vmscan-postprocess.pl8 # --read-procstat If the trace lacks process info, get it from /proc
254 die("Failed to math stat line for process name :: $statline");
285 my $process = $1;
288 if ($process eq "") {
289 $process = $last_procmap{$pid};
290 $process_pid = "$process-$pid";
292 $last_procmap{$pid} = $process;
296 if ($opt_read_procstat && $process eq '') {
467 # Dump per-process stats
471 # Get the maximum process name
[all …]
/Linux-v5.10/arch/powerpc/kernel/ptrace/
Dptrace32.c45 * Read 4 bytes of the other process' storage in compat_arch_ptrace()
49 * address in the other process of the 4 bytes that is to be read in compat_arch_ptrace()
50 * (this is run in a 32-bit process looking at a 64-bit process) in compat_arch_ptrace()
61 /* Get the addr in the other process that we want to read */ in compat_arch_ptrace()
104 * Read 4 bytes out of the other process' pt_regs area in compat_arch_ptrace()
107 * addr is the offset into the other process' pt_regs structure in compat_arch_ptrace()
109 * (this is run in a 32-bit process looking at a 64-bit process) in compat_arch_ptrace()
152 * Write 4 bytes into the other process' storage in compat_arch_ptrace()
155 * 8 byte address in the other process where the 4 bytes in compat_arch_ptrace()
157 * (this is run in a 32-bit process looking at a 64-bit process) in compat_arch_ptrace()
[all …]
/Linux-v5.10/Documentation/accounting/
Dtaskstats.rst7 per-process statistics from the kernel to userspace.
22 "tgid", "process" and "thread group" are used interchangeably and refer to the
23 tasks that share an mm_struct i.e. the traditional Unix process. Despite the
25 leader - a process is deemed alive as long as it has any task belonging to it.
33 statistics for all tasks of the process (if tgid is specified).
49 send commands and process responses, listen for per-tid/tgid exit data,
81 the task/process for which userspace wants statistics.
112 e) TASKSTATS_TYPE_TGID: contains tgid of process to which task belongs
113 f) TASKSTATS_TYPE_STATS: contains the per-tgid stats for exiting task's process
119 Taskstats provides per-process stats, in addition to per-task stats, since
[all …]
/Linux-v5.10/Documentation/admin-guide/LSM/
DYama.rst14 malware. One particularly troubling weakness of the Linux process
33 parent to a child process (i.e. direct "gdb EXE" and "strace EXE" still
38 between a debugging process and its inferior (crash handlers, etc),
40 other process (and its descendants) are allowed to call ``PTRACE_ATTACH``
41 against it. Only one such declared debugging process can exists for
44 to ptrace each other. If a process wishes to entirely disable these ptrace
46 so that any otherwise allowed process (even those in external pid namespaces)
52 a process can ``PTRACE_ATTACH`` to any other
53 process running under the same uid, as long as it is dumpable (i.e.
59 a process must have a predefined relationship
DSmack.rst53 report if a process with one label has access
79 name space. A process must have ``CAP_MAC_ADMIN`` to change any of these
87 of the process that created it.
90 The Smack label of a process that execs a program file with
94 Don't allow the file to be mmapped by a process whose Smack
95 label does not allow all of the access permitted to a process
105 creating process. If the object being created is a directory
123 A process can see the Smack label it is running with by
124 reading ``/proc/self/attr/current``. A process with ``CAP_MAC_ADMIN``
125 can set the process Smack by writing there.
[all …]
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
Dgt215.c31 u32 process, u32 message, u32 data0, u32 data1) in gt215_pmu_send() argument
49 /* we currently only support a single process at a time waiting in gt215_pmu_send()
55 pmu->recv.process = process; in gt215_pmu_send()
66 nvkm_wr32(device, 0x10a1c4, process); in gt215_pmu_send()
77 wait_event(pmu->recv.wait, (pmu->recv.process == 0)); in gt215_pmu_send()
91 u32 process, message, data0, data1; in gt215_pmu_recv() local
106 process = nvkm_rd32(device, 0x10a1c4); in gt215_pmu_recv()
115 /* wake process if it's waiting on a synchronous reply */ in gt215_pmu_recv()
116 if (pmu->recv.process) { in gt215_pmu_recv()
117 if (process == pmu->recv.process && in gt215_pmu_recv()
[all …]
/Linux-v5.10/Documentation/userspace-api/
Dunshare.rst29 as multiple execution contexts within a process. These kernels provide
48 shared resources without creating a new process. unshare() is a natural
50 the concept of process/thread as a virtual machine.
56 where creating a new process to control sharing/unsharing of process
58 when creating a new process using fork or clone, unshare() can benefit
67 the kernel's per-process namespace mechanism. Polyinstantiated directories,
85 decide what needs to be shared at the time of creating the process
89 ability to unshare() after the process was created can be very
126 unshare - disassociate parts of the process execution context
134 unshare() allows a process to disassociate parts of its execution
[all …]
/Linux-v5.10/Documentation/driver-api/rapidio/
Drapidio.rst126 several methods to initiate an enumeration and/or discovery process:
128 (a) Statically linked enumeration and discovery process can be started
138 expires the discovery process is terminated without obtaining RapidIO network
139 information. NOTE: a timed out discovery process may be restarted later using
143 (b) Statically linked enumeration and discovery process can be started by
146 endpoints have been successfully booted, an enumeration process shall be
148 completed a discovery process can be started on all remaining endpoints.
150 (c) Modular enumeration and discovery process can be started by a command from
152 process can be started by issuing a user-space command.
155 (d) Modular enumeration and discovery process can be started by a module
[all …]
/Linux-v5.10/include/uapi/linux/
Dacct.h3 * BSD Process Accounting for Linux - Definitions
8 * BSD-style process accounting. The kernel accounting code and all
10 * process accounting log must include this file.
39 * process accounting file whenever a process exits.
53 __u32 ac_btime; /* Process Creation Time */
83 __u32 ac_pid; /* Process ID */
84 __u32 ac_ppid; /* Parent Process ID */
86 __u32 ac_btime; /* Process Creation Time */
106 /* bit set when the process ... */
Dmembarrier.h60 * non-registered process.
62 * Register the process intent to receive
67 * thread belonging to the same process as the current
76 * same process as the caller thread. This
81 * overhead. A process needs to register its
86 * Register the process intent to use
100 * covers threads from the same process as the
107 * is returned. A process needs to register its
112 * Register the process intent to use
127 * is returned. A process needs to register its
[all …]
Dseccomp.h36 #define SECCOMP_RET_KILL_PROCESS 0x80000000U /* kill the process */
84 * If set by the process supervising the syscalls of another process the
86 * An attacker can exploit the time while the supervised process is waiting on
87 * a response from the supervising process to rewrite syscall arguments which
91 * in scenarios where a more privileged process supervises the syscalls of a
92 * lesser privileged process to get around kernel-enforced security
93 * restrictions when the privileged process deems this safe. In other words,
94 * in order to continue a syscall the supervising process should be sure that
146 /* On success, the return value is the remote process's added fd number */
/Linux-v5.10/drivers/gpu/drm/amd/display/modules/hdcp/
Dhdcp_psp.c40 in->process.msg1_desc.msg_id = TA_HDCP_HDCP2_MSG_ID__NULL_MESSAGE; in hdcp2_message_init()
41 in->process.msg1_desc.msg_size = 0; in hdcp2_message_init()
42 in->process.msg2_desc.msg_id = TA_HDCP_HDCP2_MSG_ID__NULL_MESSAGE; in hdcp2_message_init()
43 in->process.msg2_desc.msg_size = 0; in hdcp2_message_init()
44 in->process.msg3_desc.msg_id = TA_HDCP_HDCP2_MSG_ID__NULL_MESSAGE; in hdcp2_message_init()
45 in->process.msg3_desc.msg_size = 0; in hdcp2_message_init()
516 msg_in->process.msg1_desc.msg_id = TA_HDCP_HDCP2_MSG_ID__AKE_SEND_CERT; in mod_hdcp_hdcp2_validate_ake_cert()
517 msg_in->process.msg1_desc.msg_size = TA_HDCP_HDCP2_MSG_ID_MAX_SIZE__AKE_SEND_CERT; in mod_hdcp_hdcp2_validate_ake_cert()
519 memcpy(&msg_in->process.receiver_message[0], hdcp->auth.msg.hdcp2.ake_cert, in mod_hdcp_hdcp2_validate_ake_cert()
540 if (msg_out->process.msg1_status == in mod_hdcp_hdcp2_validate_ake_cert()
[all …]
/Linux-v5.10/Documentation/translations/zh_CN/process/
D5.Posting.rst3 :Original: :ref:`Documentation/process/5.Posting.rst <development_posting>`
15 :ref:`Documentation/translations/zh_CN/process/submitting-patches.rst <cn_submittingpatches>`,
16 :ref:`Documentation/process/submitting-drivers.rst <submittingdrivers>`
17 和 :ref:`Documentation/translations/zh_CN/process/submit-checklist.rst <cn_submitchecklist>`.
148 :ref:`Documentation/translations/zh_CN/process/submitting-patches.rst <cn_submittingpatches>`
159 :ref:`Documentation/translations/zh_CN/process/submitting-patches.rst <cn_submittingpatches>`
166 :ref:`Documentation/translations/zh_CN/process/submitting-patches.rst <cn_submittingpatches>`
174 :ref:`Documentation/translations/zh_CN/process/submitting-patches.rst <cn_submittingpatches>`
191 :ref:`Documentation/translations/zh_CN/process/email-clients.rst <cn_email_clients>`

12345678910>>...122