Home
last modified time | relevance | path

Searched refs:pids (Results 1 – 25 of 50) sorted by relevance

12

/Linux-v5.4/kernel/cgroup/
Dpids.c62 static struct pids_cgroup *parent_pids(struct pids_cgroup *pids) in parent_pids() argument
64 return css_pids(pids->css.parent); in parent_pids()
70 struct pids_cgroup *pids; in pids_css_alloc() local
72 pids = kzalloc(sizeof(struct pids_cgroup), GFP_KERNEL); in pids_css_alloc()
73 if (!pids) in pids_css_alloc()
76 pids->limit = PIDS_MAX; in pids_css_alloc()
77 atomic64_set(&pids->counter, 0); in pids_css_alloc()
78 atomic64_set(&pids->events_limit, 0); in pids_css_alloc()
79 return &pids->css; in pids_css_alloc()
95 static void pids_cancel(struct pids_cgroup *pids, int num) in pids_cancel() argument
[all …]
DMakefile5 obj-$(CONFIG_CGROUP_PIDS) += pids.o
/Linux-v5.4/Documentation/admin-guide/cgroup-v1/
Dpids.rst19 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 …]
Dindex.rst20 pids
/Linux-v5.4/Documentation/media/uapi/dvb/
Ddmx-get-pes-pids.rst25 .. c:function:: int ioctl(fd, DMX_GET_PES_PIDS, __u16 pids[5])
34 ``pids``
48 pids[DMX_PES_AUDIO] 0 first audio PID
49 pids[DMX_PES_VIDEO] 1 first video PID
50 pids[DMX_PES_TELETEXT] 2 first teletext PID
51 pids[DMX_PES_SUBTITLE] 3 first subtitle PID
52 pids[DMX_PES_PCR] 4 first Program Clock Reference PID
Ddmx_fcalls.rst31 dmx-get-pes-pids
/Linux-v5.4/tools/perf/include/bpf/
Dpid_filter.h10 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()
/Linux-v5.4/tools/testing/selftests/powerpc/pmu/ebb/
Dmulti_ebb_procs_test.c79 pid_t pids[NR_CHILDREN]; in multi_ebb_procs() local
89 pids[i] = fork(); in multi_ebb_procs()
90 if (pids[i] == 0) in multi_ebb_procs()
100 kill(pids[i], SIGINT); in multi_ebb_procs()
102 rc |= wait_for_child(pids[i]); in multi_ebb_procs()
/Linux-v5.4/drivers/usb/early/
Dehci-dbgp.c202 u32 pids, lpid; in dbgp_wait_until_done() local
208 pids = readl(&ehci_debug->pids); in dbgp_wait_until_done()
209 lpid = DBGP_PID_GET(pids); in dbgp_wait_until_done()
275 u32 pids, ctrl; in dbgp_bulk_write() local
282 pids = readl(&ehci_debug->pids); in dbgp_bulk_write()
283 pids = dbgp_pid_write_update(pids, USB_PID_OUT); in dbgp_bulk_write()
292 writel(pids, &ehci_debug->pids); in dbgp_bulk_write()
301 u32 pids, addr, ctrl; in dbgp_bulk_read() local
309 pids = readl(&ehci_debug->pids); in dbgp_bulk_read()
310 pids = dbgp_pid_read_update(pids, USB_PID_IN); in dbgp_bulk_read()
[all …]
/Linux-v5.4/fs/f2fs/
Dtrace.c16 static RADIX_TREE(pids, GFP_ATOMIC);
66 p = radix_tree_lookup(&pids, pid); in f2fs_trace_pid()
70 radix_tree_delete(&pids, pid); in f2fs_trace_pid()
72 if (radix_tree_insert(&pids, pid, current)) { in f2fs_trace_pid()
142 radix_tree_for_each_slot(slot, &pids, &iter, first_index) { in gang_lookup_pids()
162 radix_tree_delete(&pids, pid[idx]); in f2fs_destroy_trace_ios()
/Linux-v5.4/drivers/media/firewire/
Dfiredtv-dvb.c53 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-v5.4/scripts/
Dbootgraph.pl60 my %pids;
80 $pids{$func} = $1;
102 $pids{$func} = $pid;
178 my $pid = $pids{$key};
/Linux-v5.4/tools/kvm/kvm_stat/
Dkvm_stat1062 pids = []
1065 pids.append(int(line[0]))
1067 return pids
1183 pids = self.get_pid_from_gname(self._gname)
1184 if len(pids) == 1:
1185 self._refresh_header(pids[0])
1186 self._update_pid(pids[0])
1400 pids = []
1402 pids = self.get_pid_from_gname(guest)
1407 if len(pids) == 0:
[all …]
/Linux-v5.4/include/linux/sched/
Dsignal.h151 struct pid *pids[PIDTYPE_MAX]; member
600 pid = task->signal->pids[type]; in task_pid_type()
606 return task->signal->pids[PIDTYPE_TGID]; in task_tgid()
616 return task->signal->pids[PIDTYPE_PGID]; in task_pgrp()
621 return task->signal->pids[PIDTYPE_SID]; in task_session()
/Linux-v5.4/drivers/media/pci/ttpci/
Dav7110.c723 av7110->pids[DMX_PES_VIDEO] = 0; in SetPIDs()
724 av7110->pids[DMX_PES_AUDIO] = 0; in SetPIDs()
725 av7110->pids[DMX_PES_TELETEXT] = 0; in SetPIDs()
726 av7110->pids[DMX_PES_PCR] = 0; in SetPIDs()
746 av7110->pids[DMX_PES_VIDEO] = vpid; in ChangePIDs()
748 av7110->pids[DMX_PES_AUDIO] = apid; in ChangePIDs()
750 av7110->pids[DMX_PES_TELETEXT] = ttpid; in ChangePIDs()
752 av7110->pids[DMX_PES_PCR] = pcrpid; in ChangePIDs()
754 av7110->pids[DMX_PES_SUBTITLE] = 0; in ChangePIDs()
757 pcrpid = av7110->pids[DMX_PES_PCR]; in ChangePIDs()
[all …]
/Linux-v5.4/include/linux/
Dcgroup_subsys.h57 SUBSYS(pids)
/Linux-v5.4/include/linux/usb/
Dehci-dbgp.h37 u32 pids; member
/Linux-v5.4/sound/core/
Dcontrol_compat.c18 u32 pids; member
35 if (get_user(ptr, &data32->pids) || in snd_ctl_elem_list_compat()
36 put_user(compat_ptr(ptr), &data->pids)) in snd_ctl_elem_list_compat()
/Linux-v5.4/net/openvswitch/
Dvport.h38 int ovs_vport_set_upcall_portids(struct vport *, const struct nlattr *pids);
/Linux-v5.4/tools/perf/Documentation/
Dperf-sched.txt94 --color-pids::
95 Highlight the given pids.
/Linux-v5.4/samples/bpf/
Ddo_hbm_test.sh293 pids=`pgrep netperf`
294 for p in $pids ; do
/Linux-v5.4/include/media/
Ddvb_demux.h224 u16 pids[DMX_PES_OTHER]; member
Ddemux.h587 int (*get_pes_pids)(struct dmx_demux *demux, u16 *pids);
/Linux-v5.4/drivers/media/dvb-core/
Ddvb_demux.c722 demux->pids[pes_type] = pid; in dmx_ts_feed_set()
1235 static int dvbdmx_get_pes_pids(struct dmx_demux *demux, u16 * pids) in dvbdmx_get_pes_pids() argument
1239 memcpy(pids, dvbdemux->pids, 5 * sizeof(u16)); in dvbdmx_get_pes_pids()
1280 dvbdemux->pids[i] = 0xffff; in dvb_dmx_init()
/Linux-v5.4/tools/perf/bench/
Dnuma.c1489 pid_t *pids, pid, wpid; in __bench_numa() local
1501 pids = zalloc(g->p.nr_proc * sizeof(*pids)); in __bench_numa()
1525 pids[i] = pid; in __bench_numa()
1566 wpid = waitpid(pids[i], &wait_stat, 0); in __bench_numa()
1650 free(pids); in __bench_numa()

12