| /kernel/liteos_a/testsuites/unittest/process/basic/process/ |
| D | config.gni | 45 [ "$TEST_UNITTEST_DIR/process/basic/process" ] 48 [ "$TEST_UNITTEST_DIR/process/basic/process/process_process_test.cpp" ] 51 "$TEST_UNITTEST_DIR/process/basic/process/smoke/process_test_001.cpp", 52 "$TEST_UNITTEST_DIR/process/basic/process/smoke/process_test_002.cpp", 53 "$TEST_UNITTEST_DIR/process/basic/process/smoke/process_test_004.cpp", 54 "$TEST_UNITTEST_DIR/process/basic/process/smoke/process_test_005.cpp", 55 "$TEST_UNITTEST_DIR/process/basic/process/smoke/process_test_006.cpp", 56 "$TEST_UNITTEST_DIR/process/basic/process/smoke/process_test_008.cpp", 57 "$TEST_UNITTEST_DIR/process/basic/process/smoke/process_test_009.cpp", 58 "$TEST_UNITTEST_DIR/process/basic/process/smoke/process_test_010.cpp", [all …]
|
| /kernel/liteos_a/testsuites/unittest/process/plimits/ |
| D | config.gni | 44 process_plimits_include_dirs = [ "$TEST_UNITTEST_DIR/process/plimits" ] 47 [ "$TEST_UNITTEST_DIR/process/plimits/process_plimits_test.cpp" ] 50 "$TEST_UNITTEST_DIR/process/plimits/smoke/It_process_plimits_001.cpp", 51 "$TEST_UNITTEST_DIR/process/plimits/smoke/It_process_plimits_002.cpp", 52 "$TEST_UNITTEST_DIR/process/plimits/smoke/It_process_plimits_003.cpp", 53 "$TEST_UNITTEST_DIR/process/plimits/smoke/It_process_plimits_004.cpp", 54 "$TEST_UNITTEST_DIR/process/plimits/smoke/It_process_plimits_005.cpp", 55 "$TEST_UNITTEST_DIR/process/plimits/smoke/It_process_plimits_006.cpp", 56 "$TEST_UNITTEST_DIR/process/plimits/smoke/It_process_plimits_007.cpp", 57 "$TEST_UNITTEST_DIR/process/plimits/smoke/It_process_plimits_008.cpp", [all …]
|
| /kernel/liteos_a/testsuites/unittest/process/basic/pthread/ |
| D | config.gni | 45 [ "$TEST_UNITTEST_DIR/process/basic/pthread" ] 48 [ "$TEST_UNITTEST_DIR/process/basic/pthread/process_pthread_test.cpp" ] 51 "$TEST_UNITTEST_DIR/process/basic/pthread/smoke/pthread_atfork_test_001.cpp", 52 "$TEST_UNITTEST_DIR/process/basic/pthread/smoke/pthread_atfork_test_002.cpp", 53 "$TEST_UNITTEST_DIR/process/basic/pthread/smoke/pthread_cond_test_001.cpp", 54 "$TEST_UNITTEST_DIR/process/basic/pthread/smoke/pthread_cond_test_002.cpp", 55 "$TEST_UNITTEST_DIR/process/basic/pthread/smoke/pthread_cond_test_003.cpp", 56 "$TEST_UNITTEST_DIR/process/basic/pthread/smoke/pthread_cond_test_004.cpp", 57 "$TEST_UNITTEST_DIR/process/basic/pthread/smoke/pthread_once_test_001.cpp", 58 "$TEST_UNITTEST_DIR/process/basic/pthread/smoke/pthread_test_003.cpp", [all …]
|
| /kernel/liteos_a/kernel/base/include/ |
| D | los_process_pri.h | 79 …UINTPTR pgroupLeader; /**< Process group leader is the the process that created the group … 80 LOS_DL_LIST processList; /**< List of processes under this process group */ 82 LOS_DL_LIST groupList; /**< Process group list */ 86 CHAR processName[OS_PCB_NAME_LEN]; /**< Process name */ 87 UINT32 processID; /**< Process ID */ 88 …UINT16 processStatus; /**< [15:4] Process Status; [3:0] The number of… 89 running in the process */ 92 struct ProcessCB *parentProcess; /**< Parent process */ 93 UINT32 exitCode; /**< Process exit status */ 94 … LOS_DL_LIST pendList; /**< Block list to which the process belongs */ [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/tools/perf/util/ |
| D | synthetic-events.h | 32 …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 …]
|
| 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() 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 …]
|
| /kernel/liteos_a/testsuites/unittest/process/lock/mutex/ |
| D | config.gni | 32 process_lock_mutex_include_dirs = [ "$TEST_UNITTEST_DIR/process/lock/mutex" ] 35 [ "$TEST_UNITTEST_DIR/process/lock/mutex/process_mutex_test.cpp" ] 38 "$TEST_UNITTEST_DIR/process/lock/mutex/smoke/pthread_mutex_test_001.cpp", 39 "$TEST_UNITTEST_DIR/process/lock/mutex/smoke/pthread_mutex_test_002.cpp", 40 "$TEST_UNITTEST_DIR/process/lock/mutex/smoke/pthread_mutex_test_003.cpp", 41 "$TEST_UNITTEST_DIR/process/lock/mutex/smoke/pthread_mutex_test_004.cpp", 42 "$TEST_UNITTEST_DIR/process/lock/mutex/smoke/pthread_mutex_test_005.cpp", 43 "$TEST_UNITTEST_DIR/process/lock/mutex/smoke/pthread_mutex_test_006.cpp", 44 "$TEST_UNITTEST_DIR/process/lock/mutex/smoke/pthread_mutex_test_007.cpp", 45 "$TEST_UNITTEST_DIR/process/lock/mutex/smoke/pthread_mutex_test_008.cpp", [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
| D | kfd_process.c | 55 /* 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() 465 if (!q || !q->process) in kfd_procfs_add_queue() 467 proc = q->process; in kfd_procfs_add_queue() 647 /* kfd_process_alloc_gpuvm - Allocate GPU VM for the KFD process 648 * This function should be only called right after the process 678 * will take care of the bo removal when the process finishes. in kfd_process_alloc_gpuvm() [all …]
|
| /kernel/liteos_a/testsuites/unittest/process/fs/ |
| D | config.gni | 44 process_fs_include_dirs = [ "$TEST_UNITTEST_DIR/process/fs" ] 47 [ "$TEST_UNITTEST_DIR/process/fs/process_fs_test.cpp" ] 50 "$TEST_UNITTEST_DIR/process/fs/smoke/It_process_fs_001.cpp", 51 "$TEST_UNITTEST_DIR/process/fs/smoke/It_process_fs_002.cpp", 52 "$TEST_UNITTEST_DIR/process/fs/smoke/It_process_fs_003.cpp", 53 "$TEST_UNITTEST_DIR/process/fs/smoke/It_process_fs_004.cpp", 54 "$TEST_UNITTEST_DIR/process/fs/smoke/It_process_fs_005.cpp", 55 "$TEST_UNITTEST_DIR/process/fs/smoke/It_process_fs_007.cpp", 56 "$TEST_UNITTEST_DIR/process/fs/smoke/It_process_fs_008.cpp", 57 "$TEST_UNITTEST_DIR/process/fs/smoke/It_process_fs_009.cpp", [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/ |
| D | kfd_process.c | 57 /* For process termination handling */ 185 mm = get_task_mm(pdd->process->lead_thread); in kfd_sdma_activity_worker() 256 * by current process. Translates acquired wave count into number of compute units 281 proc = pdd->process; in kfd_get_cu_occupancy() 283 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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/Documentation/arch/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 IOMMU_PASID_INVALID (-1) when a process is created. [all …]
|
| /kernel/linux/linux-5.10/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 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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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. 107 PASID is cleared when a process is created. The PASID allocation and MSR [all …]
|
| /kernel/linux/common_modules/memory_security/src/ |
| D | jit_process.c | 57 struct jit_process *process = kmalloc(sizeof(struct jit_process), GFP_KERNEL); in update_process_jit_space() local 58 if (process == NULL) { in update_process_jit_space() 63 process->cookie = cookie; in update_process_jit_space() 64 process->pid = pid; in update_process_jit_space() 65 process->head.next = &(process->head); in update_process_jit_space() 66 process->head.prev = &(process->head); in update_process_jit_space() 69 rb_link_node(&(process->node), result.parent, result.node); in update_process_jit_space() 70 rb_insert_color(&(process->node), root); in update_process_jit_space() 73 return &(process->head); in update_process_jit_space()
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|