/linux/kernel/cgroup/ |
H A D | pids.c | 72 struct pids_cgroup *pids; in pids_css_alloc() local 75 if (!pids) in pids_css_alloc() 79 return &pids->css; in pids_css_alloc() 207 pids_charge(pids, 1); in pids_can_attach() 228 pids_uncharge(pids, 1); in pids_cancel_attach() 239 struct pids_cgroup *pids; in pids_can_fork() local 246 pids = css_pids(css); in pids_can_fork() 263 struct pids_cgroup *pids; in pids_cancel_fork() local 269 pids = css_pids(css); in pids_cancel_fork() 270 pids_uncharge(pids, 1); in pids_cancel_fork() [all …]
|
/linux/Documentation/admin-guide/cgroup-v1/ |
H A D | pids.rst | 26 that pids.current > pids.max. However, it is not possible to violate a cgroup 47 # mount -t cgroup -o pids none /sys/fs/cgroup/pids 52 # echo 2 > /sys/fs/cgroup/pids/parent/pids.max 54 # cat /sys/fs/cgroup/pids/parent/pids.current 61 # cat /sys/fs/cgroup/pids/parent/pids.current 72 # cat /sys/fs/cgroup/pids/parent/pids.current 74 # cat /sys/fs/cgroup/pids/parent/child/pids.current 76 # cat /sys/fs/cgroup/pids/parent/child/pids.max 84 pids.current):: 86 # echo 1 > /sys/fs/cgroup/pids/parent/pids.max [all …]
|
H A D | index.rst | 23 pids
|
/linux/tools/testing/selftests/arm64/fp/ |
H A D | sve-stress | 10 pids= 17 if [ -n "$pids" ]; then 18 kill $pids 19 wait $pids 20 pids= 46 pids=$pids\ $! 53 kill -USR1 $pids 55 pids=$pids\ $!
|
H A D | za-stress | 10 pids= 17 if [ -n "$pids" ]; then 18 kill $pids 19 wait $pids 20 pids= 46 pids=$pids\ $! 53 kill -USR1 $pids 55 pids=$pids\ $!
|
H A D | ssve-stress | 10 pids= 17 if [ -n "$pids" ]; then 18 kill $pids 19 wait $pids 20 pids= 46 pids=$pids\ $! 53 kill -USR1 $pids 55 pids=$pids\ $!
|
H A D | fpsimd-stress | 10 pids= 17 if [ -n "$pids" ]; then 18 kill $pids 19 wait $pids 20 pids= 47 pids=$pids\ $! 54 kill -USR1 $pids 56 pids=$pids\ $!
|
/linux/tools/testing/selftests/cgroup/ |
H A D | test_kill.c | 58 pid_t pids[100]; in test_cgkill_simple() local 71 pids[i] = cg_run_nowait(cgroup, child_fn, NULL); in test_cgkill_simple() 86 wait_for_pid(pids[i]); in test_cgkill_simple() 115 pid_t pids[5]; in test_cgkill_tree() local 164 pids[0] = cg_run_nowait(cgroup[2], child_fn, NULL); in test_cgkill_tree() 165 pids[1] = cg_run_nowait(cgroup[7], child_fn, NULL); in test_cgkill_tree() 166 pids[2] = cg_run_nowait(cgroup[9], child_fn, NULL); in test_cgkill_tree() 167 pids[3] = cg_run_nowait(cgroup[9], child_fn, NULL); in test_cgkill_tree() 168 pids[4] = cg_run_nowait(cgroup[9], child_fn, NULL); in test_cgkill_tree() 190 wait_for_pid(pids[i]); in test_cgkill_tree()
|
/linux/Documentation/userspace-api/media/dvb/ |
H A D | dmx-get-pes-pids.rst | 20 ``int ioctl(fd, DMX_GET_PES_PIDS, __u16 pids[5])`` 28 ``pids`` 41 pids[DMX_PES_AUDIO] 0 first audio PID 42 pids[DMX_PES_VIDEO] 1 first video PID 43 pids[DMX_PES_TELETEXT] 2 first teletext PID 44 pids[DMX_PES_SUBTITLE] 3 first subtitle PID 45 pids[DMX_PES_PCR] 4 first Program Clock Reference PID
|
/linux/tools/testing/selftests/perf_events/ |
H A D | remove_on_exec.c | 200 pid_t pids[30]; in TEST_F() local 203 for (i = 0; i < sizeof(pids) / sizeof(pids[0]); i++) { in TEST_F() 204 pids[i] = fork(); in TEST_F() 205 if (pids[i] == 0) { in TEST_F() 217 for (i = 0; i < sizeof(pids) / sizeof(pids[0]); i++) { in TEST_F() 219 EXPECT_EQ(waitpid(pids[i], &tmp, WNOHANG), 0); in TEST_F() 220 EXPECT_EQ(kill(pids[i], SIGKILL), 0); in TEST_F()
|
/linux/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | multi_ebb_procs_test.c | 77 pid_t pids[NR_CHILDREN]; in multi_ebb_procs() local 85 pids[i] = fork(); in multi_ebb_procs() 86 if (pids[i] == 0) in multi_ebb_procs() 96 kill(pids[i], SIGINT); in multi_ebb_procs() 98 rc |= wait_for_child(pids[i]); in multi_ebb_procs()
|
/linux/drivers/usb/early/ |
H A D | ehci-dbgp.c | 197 u32 pids, lpid; in dbgp_wait_until_done() local 203 pids = readl(&ehci_debug->pids); in dbgp_wait_until_done() 270 u32 pids, ctrl; in dbgp_bulk_write() local 277 pids = readl(&ehci_debug->pids); in dbgp_bulk_write() 278 pids = dbgp_pid_write_update(pids, USB_PID_OUT); in dbgp_bulk_write() 287 writel(pids, &ehci_debug->pids); in dbgp_bulk_write() 296 u32 pids, addr, ctrl; in dbgp_bulk_read() local 304 pids = readl(&ehci_debug->pids); in dbgp_bulk_read() 305 pids = dbgp_pid_read_update(pids, USB_PID_IN); in dbgp_bulk_read() 313 writel(pids, &ehci_debug->pids); in dbgp_bulk_read() [all …]
|
/linux/tools/testing/selftests/mm/ |
H A D | migration.c | 26 pid_t *pids; in FIXTURE() local 53 self->pids = malloc(self->nthreads * sizeof(*self->pids)); in FIXTURE_SETUP() 54 ASSERT_NE(self->pids, NULL); in FIXTURE_SETUP() 60 free(self->pids); in FIXTURE_TEARDOWN() 166 self->pids[i] = pid; 172 ASSERT_EQ(kill(self->pids[i], SIGTERM), 0);
|
/linux/drivers/media/firewire/ |
H A D | firedtv-dvb.c | 53 u16 pids[16]; in fdtv_start_feed() local 96 collect_channels(fdtv, &pidc, pids); in fdtv_start_feed() 106 ret = avc_tuner_set_pids(fdtv, pidc, pids); in fdtv_start_feed() 124 u16 pids[16]; in fdtv_stop_feed() local 135 demux->pids[dvbdmxfeed->pes_type] |= 0x8000; in fdtv_stop_feed() 149 collect_channels(fdtv, &pidc, pids); in fdtv_stop_feed() 151 ret = avc_tuner_set_pids(fdtv, pidc, pids); in fdtv_stop_feed()
|
/linux/tools/testing/selftests/livepatch/ |
H A D | test-syscall.sh | 20 pids[$i]="$!" 23 pid_list=$(echo ${pids[@]} | tr ' ' ',') 32 for pid in ${pids[@]}; do
|
/linux/tools/testing/selftests/net/ |
H A D | unicast_extensions.sh | 129 ip netns pids $foo_ns | xargs -r kill -9 130 ip netns pids $bar_ns | xargs -r kill -9 154 ip netns pids $foo_ns | xargs -r kill -9 155 ip netns pids $bar_ns | xargs -r kill -9 156 ip netns pids $router_ns | xargs -r kill -9
|
/linux/scripts/ |
H A D | bootgraph.pl | 60 my %pids; 80 $pids{$func} = $1; 102 $pids{$func} = $pid; 178 my $pid = $pids{$key};
|
/linux/mm/damon/ |
H A D | dbgfs.c | 409 put_pid(pids[i]); in dbgfs_put_pids() 422 struct pid **pids; in str_to_pids() local 430 pids = kmalloc_array(nr_ints, sizeof(*pids), GFP_KERNEL); in str_to_pids() 431 if (!pids) in str_to_pids() 436 if (!pids[*nr_pids]) { in str_to_pids() 437 dbgfs_put_pids(pids, *nr_pids); in str_to_pids() 439 kfree(pids); in str_to_pids() 446 return pids; in str_to_pids() 462 struct pid **pids) in dbgfs_set_targets() argument 479 dbgfs_put_pids(pids, nr_targets); in dbgfs_set_targets() [all …]
|
/linux/tools/kvm/kvm_stat/ |
H A D | kvm_stat | 1145 pids = [] 1148 pids.append(int(line[0])) 1150 return pids 1267 if len(pids) == 1: 1482 pids = [] 1489 if len(pids) == 0: 1492 if len(pids) > 1: 1496 pid = pids[0] 1712 if len(pids) == 0: 1715 if len(pids) > 1: [all …]
|
/linux/Documentation/netlink/specs/ |
H A D | ovs_datapath.yaml | 29 name: vport-pids 108 name: per-cpu-pids 136 - per-cpu-pids
|
/linux/tools/mm/ |
H A D | thpmaps | 431 pids = set() 442 pids.add(int(line.strip())) 445 pids = pids.union(args.pid) 450 pids.add(int(pid)) 455 for pid in pids:
|
/linux/include/linux/sched/ |
H A D | signal.h | 164 struct pid *pids[PIDTYPE_MAX]; member 673 pid = task->signal->pids[type]; in task_pid_type() 679 return task->signal->pids[PIDTYPE_TGID]; in task_tgid() 689 return task->signal->pids[PIDTYPE_PGID]; in task_pgrp() 694 return task->signal->pids[PIDTYPE_SID]; in task_session()
|
/linux/tools/testing/selftests/net/netfilter/ |
H A D | nft_synproxy.sh | 16 ip netns pids "$ns1" | xargs kill 2>/dev/null 17 ip netns pids "$ns2" | xargs kill 2>/dev/null
|
H A D | conntrack_tcp_unreplied.sh | 22 ip netns pids "$ns1" | xargs kill 2>/dev/null 23 ip netns pids "$ns2" | xargs kill 2>/dev/null
|
/linux/drivers/staging/media/av7110/ |
H A D | av7110.c | 724 av7110->pids[DMX_PES_VIDEO] = 0; in SetPIDs() 725 av7110->pids[DMX_PES_AUDIO] = 0; in SetPIDs() 726 av7110->pids[DMX_PES_TELETEXT] = 0; in SetPIDs() 727 av7110->pids[DMX_PES_PCR] = 0; in SetPIDs() 747 av7110->pids[DMX_PES_VIDEO] = vpid; in ChangePIDs() 749 av7110->pids[DMX_PES_AUDIO] = apid; in ChangePIDs() 755 av7110->pids[DMX_PES_SUBTITLE] = 0; in ChangePIDs() 864 u16 *pid = dvbdmx->pids, npids[5]; in dvb_feed_start_pid() 907 u16 *pid = dvbdmx->pids, npids[5]; in dvb_feed_stop_pid() 1936 av7110->pids[DMX_PES_AUDIO], in av7110_fe_lock_fix() [all …]
|