Home
last modified time | relevance | path

Searched refs:procs (Results 1 – 25 of 33) sorted by relevance

12

/linux/tools/tracing/rtla/src/
H A Dtimerlat_u.c102 static int timerlat_u_send_kill(pid_t *procs) in timerlat_u_send_kill() argument
108 if (!procs[i]) in timerlat_u_send_kill()
110 retval = kill(procs[i], SIGKILL); in timerlat_u_send_kill()
114 err_msg("Error killing child process %d\n", procs[i]); in timerlat_u_send_kill()
138 pid_t *procs; in timerlat_u_dispatcher()
143 debug_msg("Dispatching timerlat u procs\n"); in timerlat_u_dispatcher()
145 procs = calloc(nr_cpus, sizeof(pid_t)); in timerlat_u_dispatcher()
146 if (!procs) in timerlat_u_dispatcher()
172 timerlat_u_send_kill(procs); in timerlat_u_dispatcher()
178 procs[ in timerlat_u_dispatcher()
139 pid_t *procs; timerlat_u_dispatcher() local
[all...]
/linux/tools/testing/selftests/sched/
H A Dcs_prctl_test.c73 static struct child_args procs[MAX_PROCESSES]; variable
98 kill(procs[pidx].cpid, 15); in __handle_error()
280 create_processes(num_processes, num_threads, procs); in main()
282 disp_processes(num_processes, procs); in main()
288 disp_processes(num_processes, procs); in main()
294 pid = procs[pidx].cpid; in main()
297 validate(get_cs_cookie(0) == get_cs_cookie(procs[pidx].thr_tids[0])); in main()
302 disp_processes(num_processes, procs); in main()
306 validate(get_cs_cookie(pid) == get_cs_cookie(procs[pidx].thr_tids[0])); in main()
312 disp_processes(num_processes, procs); in main()
[all …]
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_debugfs.c31 static struct list_head procs; variable
106 INIT_LIST_HEAD(&procs); in kfd_debugfs_init()
153 list_add(&entry->list, &procs); in kfd_debugfs_add_process()
178 list_for_each_entry_safe(entry, next, &procs, list) { in kfd_debugfs_remove_process()
/linux/scripts/
H A Dgenerate_initcall_order.pl27 my $procs = <$fh>;
30 if (!($procs =~ /^\d+$/)) {
34 return int($procs);
/linux/drivers/android/binder/
H A Drust_binder_main.rs544 let procs = ctx.get_all_procs()?; in rust_binder_transactions_show_impl() localVariable
545 for proc in procs { in rust_binder_transactions_show_impl()
558 let procs = ctx.get_all_procs()?; in rust_binder_stats_show_impl() localVariable
559 for proc in procs { in rust_binder_stats_show_impl()
571 let procs = ctx.get_all_procs()?; in rust_binder_state_show_impl() localVariable
572 for proc in procs { in rust_binder_state_show_impl()
584 let procs = ctx.get_procs_with_pid(pid)?; in rust_binder_proc_show_impl() localVariable
585 for proc in procs { in rust_binder_proc_show_impl()
H A Dcontext.rs158 let mut procs = KVVec::with_capacity(lock.all_procs.len(), GFP_KERNEL)?; in get_all_procs() localVariable
160 procs.push(Arc::clone(proc), GFP_KERNEL)?; in get_all_procs()
162 Ok(procs) in get_all_procs()
H A Dprocess.rs1544 let mut procs = KVec::with_capacity(3, GFP_KERNEL)?; in ioctl_freeze() localVariable
1549 procs.push(proc, GFP_KERNEL)?; in ioctl_freeze()
1553 for proc in procs { in ioctl_freeze()
/linux/net/sunrpc/
H A Dstats.c208 const struct rpc_procinfo *procs) in _print_name() argument
210 if (procs[op].p_name) in _print_name()
211 seq_printf(seq, "\t%12s: ", procs[op].p_name); in _print_name()
232 int op, const struct rpc_procinfo *procs) in _print_rpc_iostats() argument
234 _print_name(seq, op, procs); in _print_rpc_iostats()
H A Drpcb_clnt.c1086 .procs = rpcb_procedures2,
1094 .procs = rpcb_procedures3,
1102 .procs = rpcb_procedures4,
/linux/tools/memory-model/scripts/
H A Dparseargs.sh120 --procs|--proc)
121 checkarg --procs "(number)" "$#" "$2" '^[0-9]\+$' '^--'
H A DREADME84 scripts/initlitmushist.sh --timeout 10m --procs 10
95 scripts/checklitmushist.sh --timeout 10m --procs 10
98 scripts/checkghlitmus.sh --timeout 10m --procs 10
/linux/tools/testing/selftests/cgroup/
H A Dtest_cpuset_prs.sh171 ERRMSG=$((echo $$ > cgroup.procs) |& cat)
178 echo $$ > $CGROUP2/cgroup.procs # Move out the task
541 TFILE=$CGRP/cgroup.procs
633 echo 0 > $CGROUP2/cgroup.procs
1134 echo $$ > $CGROUP2/cgroup.procs
1170 echo 0 > cgroup.procs
1196 echo 0 > ../cgroup.procs
/linux/tools/testing/selftests/mm/
H A Dwrite_hugetlb_memory.sh17 echo $$ > ${cgroup_path:-/dev/cgroup/memory}/"$cgroup"/cgroup.procs
H A Dhugetlb_reparenting_test.sh146 echo $$ >$CGROUP_ROOT/$cgroup/cgroup.procs
154 echo $$ >$CGROUP_ROOT/cgroup.procs
H A Dcharge_reserved_hugetlb.sh54 echo $$ >$cgroup_path/cgroup.procs
/linux/include/uapi/linux/
H A Dsysinfo.h17 __u16 procs; /* Number of current processes */ member
/linux/drivers/staging/media/sunxi/cedrus/
H A DTODO14 This will make it possible to register two different procs (decoder and
/linux/Documentation/admin-guide/cgroup-v1/
H A Dpids.rst54 # echo $$ > /sys/fs/cgroup/pids/parent/cgroup.procs
72 # echo $$ > /sys/fs/cgroup/pids/parent/child/cgroup.procs
H A Dcgroups.rst242 - cgroup.procs: list of thread group IDs in the cgroup. This list is
420 cgroup.procs notify_on_release tasks
459 You can use the cgroup.procs file instead of the tasks file to move all
461 threadgroup to cgroup.procs causes all tasks in that threadgroup to be
462 attached to the cgroup. Writing 0 to cgroup.procs moves all tasks
/linux/Documentation/networking/
H A Dip_dynaddr.rst8 dynamically changing packet source address (and socket's if local procs).
/linux/fs/nfs/
H A Dmount_clnt.c444 .procs = mnt_procedures,
452 .procs = mnt3_procedures,
/linux/samples/bpf/
H A Dtcp_bpf.readme9 echo $$ >> /tmp/cgroupv2/foo/cgroup.procs
H A Ddo_hbm_test.sh218 echo $$ >> $cg_dir/cgroup.procs
/linux/net/sunrpc/auth_gss/
H A Dgss_rpc_upcall.c386 .procs = gssp_procedures,
/linux/Documentation/admin-guide/
H A Dcgroup-v2.rst270 "cgroup.procs". When read, it lists the PIDs of all processes which
276 target cgroup's "cgroup.procs" file. Only one process can be migrated
285 zombie process does not appear in "cgroup.procs" and thus can't be
386 behaves the same way as "cgroup.procs". While "cgroup.threads" can be
394 "cgroup.procs" in a threaded domain cgroup contains the PIDs of all
396 However, "cgroup.procs" can be written to from anywhere in the subtree
544 user by granting write access of the directory and its "cgroup.procs",
557 "cgroup.procs", "cgroup.threads", "cgroup.subtree_control", etc.).
581 "cgroup.procs" file.
583 - The writer must have write access to the "cgroup.procs" file.
[all …]

12