| /Linux-v6.1/tools/perf/util/ |
| D | synthetic-events.h | 46 …nt__synthesize_attrs(struct perf_tool *tool, struct evlist *evlist, perf_event__handler_t process); 47 …ct perf_tool *tool, struct perf_event_attr *attr, u32 ids, u64 *id, perf_event__handler_t process); 48 …struct perf_tool *tool, struct dso *pos, u16 misc, perf_event__handler_t process, struct machine *… 49 … perf_tool *tool, const struct perf_cpu_map *cpus, perf_event__handler_t process, struct machine *… 50 …size_event_update_cpus(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process); 51 …size_event_update_name(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process); 52 …ize_event_update_scale(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process); 53 …size_event_update_unit(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process); 54 …tr(struct perf_tool *tool, struct evlist *evsel_list, perf_event__handler_t process, bool is_pipe); 55 int perf_event__synthesize_extra_kmaps(struct perf_tool *tool, perf_event__handler_t process, struc… [all …]
|
| D | synthetic-events.c | 53 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() 192 perf_event__handler_t process, in perf_event__synthesize_comm() argument 202 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_comm() 224 perf_event__handler_t process, in perf_event__synthesize_namespaces() argument 254 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_namespaces() 263 perf_event__handler_t process, in perf_event__synthesize_fork() argument 271 * spawns all threads in a process in perf_event__synthesize_fork() 287 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_fork() 424 perf_event__handler_t process, in perf_event__synthesize_mmap_events() argument [all …]
|
| /Linux-v6.1/drivers/gpu/drm/amd/amdkfd/ |
| D | kfd_process.c | 57 /* For process termination handling */ 186 mm = get_task_mm(pdd->process->lead_thread); in kfd_sdma_activity_worker() 257 * by current process. Translates acquired wave count into number of compute units 282 proc = pdd->process; in kfd_get_cu_occupancy() 284 pr_debug("Gpu-Id: %d has no active queues for process %d\n", in kfd_get_cu_occupancy() 500 if (!q || !q->process) in kfd_procfs_add_queue() 502 proc = q->process; in kfd_procfs_add_queue() 706 /* kfd_process_alloc_gpuvm - Allocate GPU VM for the KFD process 707 * This function should be only called right after the process 760 * process for IB usage The memory reserved is for KFD to submit [all …]
|
| D | kfd_priv.h | 100 * Size of the per-process TBA+TMA buffer: 2 pages 157 * Kernel module parameter to specify the maximum process 165 * Kernel module parameter to specify whether to send sigterm to HSA process on 195 * Don't evict process queues on vm fault 313 /* Maximum process number mapped to HW scheduler */ 373 * specific process. 425 * process. 538 * @process: The kfd process that created this queue. 564 struct kfd_process *process; member 604 struct kfd_process *process; member [all …]
|
| /Linux-v6.1/tools/lib/traceevent/Documentation/ |
| D | libtraceevent-commands.txt | 8 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-v6.1/Documentation/security/keys/ |
| D | request-key.rst | 9 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-v6.1/drivers/staging/media/atomisp/pci/ |
| D | isp2401_input_system_private.h | 46 /* 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-v6.1/Documentation/locking/ |
| D | rt-mutex-design.rst | 24 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-v6.1/Documentation/x86/ |
| D | sva.rst | 39 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. 110 PASID is initialized as INVALID_IOASID (-1) when a process is created. [all …]
|
| /Linux-v6.1/tools/memory-model/litmus-tests/ |
| D | README | 28 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 75 in one process, and use an acquire load followed by a pair of 76 spin_is_locked() calls in the other process. 79 Protect the access with a lock in one process, and use an 81 in the other process. [all …]
|
| /Linux-v6.1/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_mes.c | 69 struct amdgpu_mes_process *process, in amdgpu_mes_queue_doorbell_get() argument 76 found = find_next_zero_bit(process->doorbell_bitmap, in amdgpu_mes_queue_doorbell_get() 80 found = find_first_zero_bit(process->doorbell_bitmap, in amdgpu_mes_queue_doorbell_get() 89 set_bit(found, process->doorbell_bitmap); in amdgpu_mes_queue_doorbell_get() 92 process->doorbell_index, found); in amdgpu_mes_queue_doorbell_get() 98 struct amdgpu_mes_process *process, in amdgpu_mes_queue_doorbell_free() argument 104 (process->doorbell_index * in amdgpu_mes_queue_doorbell_free() 108 old = test_and_clear_bit(doorbell_id, process->doorbell_bitmap); in amdgpu_mes_queue_doorbell_free() 269 struct amdgpu_mes_process *process; in amdgpu_mes_create_process() local 272 /* allocate the mes process buffer */ in amdgpu_mes_create_process() [all …]
|
| /Linux-v6.1/Documentation/trace/postprocess/ |
| D | trace-pagealloc-postprocess.pl | 10 # --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 …]
|
| D | trace-vmscan-postprocess.pl | 8 # --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-v6.1/arch/powerpc/kernel/ptrace/ |
| D | ptrace32.c | 47 * Read 4 bytes of the other process' storage in compat_arch_ptrace() 51 * address in the other process of the 4 bytes that is to be read in compat_arch_ptrace() 52 * (this is run in a 32-bit process looking at a 64-bit process) in compat_arch_ptrace() 63 /* Get the addr in the other process that we want to read */ in compat_arch_ptrace() 105 * Read 4 bytes out of the other process' pt_regs area in compat_arch_ptrace() 108 * addr is the offset into the other process' pt_regs structure in compat_arch_ptrace() 110 * (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-v6.1/Documentation/accounting/ |
| D | taskstats.rst | 7 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-v6.1/Documentation/admin-guide/LSM/ |
| D | Yama.rst | 14 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
|
| D | Smack.rst | 53 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-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
| D | gt215.c | 31 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-v6.1/include/uapi/linux/ |
| D | acct.h | 3 * 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/task ... */ 112 #define AGROUP 0x20 /* ... was the last task of the process (task group) */
|
| D | membarrier.h | 60 * 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 …]
|
| D | seccomp.h | 38 #define SECCOMP_RET_KILL_PROCESS 0x80000000U /* kill the process */ 86 * If set by the process supervising the syscalls of another process the 88 * An attacker can exploit the time while the supervised process is waiting on 89 * a response from the supervising process to rewrite syscall arguments which 93 * in scenarios where a more privileged process supervises the syscalls of a 94 * lesser privileged process to get around kernel-enforced security 95 * restrictions when the privileged process deems this safe. In other words, 96 * in order to continue a syscall the supervising process should be sure that 149 /* On success, the return value is the remote process's added fd number */
|
| /Linux-v6.1/Documentation/userspace-api/ |
| D | unshare.rst | 29 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-v6.1/Documentation/driver-api/rapidio/ |
| D | rapidio.rst | 126 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-v6.1/Documentation/driver-api/surface_aggregator/clients/ |
| D | dtx.rst | 49 Detachment Process 72 Note that the detachment process is governed fully by the EC. The 74 commands from user-space to the EC, i.e. it does not influence this process. 76 The detachment process is started with the user pressing the *detach* button 106 detachment process. Furthermore, the EC will send a detach-request event, 107 similar to the user pressing the detach-button to cancel said process (see 123 No other actions will be performed, i.e. the detachment process will neither 127 - Execute ``SDTX_IOCTL_LATCH_CANCEL``. This will abort the detachment process, 131 does not trigger a new detachment process if none is currently in 134 - Do nothing. The detachment process eventually times out as described in [all …]
|
| /Linux-v6.1/Documentation/mm/ |
| D | page_migration.rst | 8 nodes in a NUMA system while the process is running. This means that the 9 virtual addresses that the process sees do not change. However, the 16 by moving pages near to the processor where the process accessing that memory 19 Page migration allows a process to manually relocate the node on which its 21 a new memory policy via mbind(). The pages of a process can also be relocated 22 from another process using the sys_migrate_pages() function call. The 24 process that are located on the from nodes to the destination nodes. 30 pages of a process are located. See also the numa_maps documentation in the 34 a process to a processor on a distant node. A batch scheduler or an 35 administrator may detect the situation and move the pages of the process [all …]
|