| /OK3568_Linux_fs/kernel/kernel/cgroup/ |
| H A D | pids.c | 63 static struct pids_cgroup *parent_pids(struct pids_cgroup *pids) in parent_pids() argument 65 return css_pids(pids->css.parent); in parent_pids() 71 struct pids_cgroup *pids; in pids_css_alloc() local 73 pids = kzalloc(sizeof(struct pids_cgroup), GFP_KERNEL); in pids_css_alloc() 74 if (!pids) in pids_css_alloc() 77 atomic64_set(&pids->counter, 0); in pids_css_alloc() 78 atomic64_set(&pids->limit, PIDS_MAX); in pids_css_alloc() 79 atomic64_set(&pids->events_limit, 0); in pids_css_alloc() 80 return &pids->css; in pids_css_alloc() 96 static void pids_cancel(struct pids_cgroup *pids, int num) in pids_cancel() argument [all …]
|
| H A D | Makefile | 5 obj-$(CONFIG_CGROUP_PIDS) += pids.o
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/cgroup-v1/ |
| H A D | pids.rst | 19 In order to use the `pids` controller, set the maximum number of tasks in 20 pids.max (this is not available in the root cgroup for obvious reasons). The 21 number of processes currently in the cgroup is given by pids.current. 24 to have pids.current > pids.max. This can be done by either setting the limit to 25 be smaller than pids.current, or attaching enough processes to the cgroup such 26 that pids.current > pids.max. However, it is not possible to violate a cgroup 30 To set a cgroup to have no limit, set pids.max to "max". This is the default for 34 pids.current tracks all child cgroup hierarchies, so parent/pids.current is a 35 superset of parent/child/pids.current. 37 The pids.events file contains event counters: [all …]
|
| H A D | index.rst | 22 pids
|
| /OK3568_Linux_fs/kernel/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 | 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\ $!
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/mptcp/ |
| H A D | diag.sh | 9 pids=() 17 for pid in ${pids[@]}; do 20 pids=() 26 for pid in ${pids[@]}; do 84 pids[0]=$! 89 pids[1]=$! 97 pids[0]=$! 100 pids[1]=$! 108 pids[$((I*2))]=$! 114 pids[$((I*2 + 1))]=$!
|
| /OK3568_Linux_fs/kernel/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
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/runtime/cases/ |
| H A D | oe_syslog.py | 25 def verif_not_running(self, pids): argument 26 for pid in pids: 33 pids = [] 38 return 1, pids 39 pids.append(pid) 40 return 0, pids 68 status, pids = self.verify_running(names)
|
| /OK3568_Linux_fs/kernel/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() 204 lpid = DBGP_PID_GET(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() [all …]
|
| /OK3568_Linux_fs/kernel/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 87 pids[i] = fork(); in multi_ebb_procs() 88 if (pids[i] == 0) in multi_ebb_procs() 98 kill(pids[i], SIGINT); in multi_ebb_procs() 100 rc |= wait_for_child(pids[i]); in multi_ebb_procs()
|
| /OK3568_Linux_fs/kernel/tools/perf/include/bpf/ |
| H A D | pid_filter.h | 10 static int pid_filter__add(struct bpf_map *pids, pid_t pid) in pid_filter__add() argument 13 return bpf_map_update_elem(pids, &pid, &value, BPF_NOEXIST); in pid_filter__add() 16 static bool pid_filter__has(struct bpf_map *pids, pid_t pid) in pid_filter__has() argument 18 return bpf_map_lookup_elem(pids, &pid) != NULL; in pid_filter__has()
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/utils/ |
| H A D | qemutinyrunner.py | 148 pids = {} 154 if data[1] not in pids: 155 pids[data[1]] = [] 157 pids[data[1]].append(data[0]) 160 if parent_pid not in pids: 164 newparents = pids[parent_pid] 168 if p in pids: 169 for n in pids[p]:
|
| /OK3568_Linux_fs/external/xserver/Xext/ |
| H A D | xcmisc.c | 96 XID *pids; in ProcXCMiscGetXIDList() local 104 pids = xallocarray(stuff->count, sizeof(XID)); in ProcXCMiscGetXIDList() 105 if (!pids) { in ProcXCMiscGetXIDList() 108 count = GetXIDList(client, stuff->count, pids); in ProcXCMiscGetXIDList() 123 WriteSwappedDataToClient(client, count * sizeof(XID), pids); in ProcXCMiscGetXIDList() 125 free(pids); in ProcXCMiscGetXIDList()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/scripts/ |
| H A D | bootgraph.pl | 60 my %pids; 80 $pids{$func} = $1; 102 $pids{$func} = $pid; 178 my $pid = $pids{$key};
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/umplock/ |
| H A D | umplock_driver.c | 48 u32 pids[MAX_PIDS]; member 112 if (device.pids[i] == pid) { in umplock_find_client_valid() 327 device.pids[i] = 0; in do_umplock_zap() 364 if (device.pids[i] == lock_cmd->pid) { in do_umplock_client_add() 370 if (device.pids[i] == 0) { in do_umplock_client_add() 371 device.pids[i] = lock_cmd->pid; in do_umplock_client_add() 421 device.pids[p_index] = 0; in do_umplock_client_delete() 592 memset(&device.pids, 0, sizeof(u32) * MAX_PIDS); in umplock_initialize_module() 605 memset(&device.pids, 0, sizeof(u32) * MAX_PIDS); in umplock_cleanup_module()
|
| /OK3568_Linux_fs/kernel/tools/kvm/kvm_stat/ |
| H A D | kvm_stat | 1077 pids = [] 1080 pids.append(int(line[0])) 1082 return pids 1198 pids = self.get_pid_from_gname(self._gname) 1199 if len(pids) == 1: 1200 self._refresh_header(pids[0]) 1201 self._update_pid(pids[0]) 1414 pids = [] 1416 pids = self.get_pid_from_gname(guest) 1421 if len(pids) == 0: [all …]
|
| /OK3568_Linux_fs/app/forlinx/flapp/src/libs/core/ |
| H A D | terminal.cpp | 44 QString pids = execCmd(cmd); in killProcess() local 45 list = pids.split("\n"); in killProcess()
|
| /OK3568_Linux_fs/kernel/include/linux/sched/ |
| H A D | signal.h | 154 struct pid *pids[PIDTYPE_MAX]; member 647 pid = task->signal->pids[type]; in task_pid_type() 653 return task->signal->pids[PIDTYPE_TGID]; in task_tgid() 663 return task->signal->pids[PIDTYPE_PGID]; in task_pgrp() 668 return task->signal->pids[PIDTYPE_SID]; in task_session()
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/ttpci/ |
| 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() 751 av7110->pids[DMX_PES_TELETEXT] = ttpid; in ChangePIDs() 753 av7110->pids[DMX_PES_PCR] = pcrpid; in ChangePIDs() 755 av7110->pids[DMX_PES_SUBTITLE] = 0; in ChangePIDs() 758 pcrpid = av7110->pids[DMX_PES_PCR]; in ChangePIDs() [all …]
|
| /OK3568_Linux_fs/kernel/tools/bpf/bpftool/Documentation/ |
| H A D | bpftool-link.rst | 83 pids test_progs(223) 94 "pids": [{
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/netfilter/ |
| H A D | conntrack_vrf.sh | 44 ip netns pids $ns0 | xargs kill 2>/dev/null 45 ip netns pids $ns1 | xargs kill 2>/dev/null
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | cgroup_subsys.h | 57 SUBSYS(pids)
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | string2.h | 36 char *asprintf__tp_filter_pids(size_t npids, pid_t *pids);
|