/linux-4.4.14/kernel/ |
D | cgroup_pids.c | 59 static struct pids_cgroup *parent_pids(struct pids_cgroup *pids) in parent_pids() argument 61 return css_pids(pids->css.parent); in parent_pids() 67 struct pids_cgroup *pids; in pids_css_alloc() local 69 pids = kzalloc(sizeof(struct pids_cgroup), GFP_KERNEL); in pids_css_alloc() 70 if (!pids) in pids_css_alloc() 73 pids->limit = PIDS_MAX; in pids_css_alloc() 74 atomic64_set(&pids->counter, 0); in pids_css_alloc() 75 return &pids->css; in pids_css_alloc() 91 static void pids_cancel(struct pids_cgroup *pids, int num) in pids_cancel() argument 97 WARN_ON_ONCE(atomic64_add_negative(-num, &pids->counter)); in pids_cancel() [all …]
|
D | pid.c | 391 struct pid_link *link = &task->pids[type]; in attach_pid() 402 link = &task->pids[type]; in __change_pid() 431 new->pids[type].pid = old->pids[type].pid; in transfer_pid() 432 hlist_replace_rcu(&old->pids[type].node, &new->pids[type].node); in transfer_pid() 443 result = hlist_entry(first, struct task_struct, pids[(type)].node); in pid_task() 470 pid = get_pid(rcu_dereference(task->pids[type].pid)); in get_task_pid() 531 nr = pid_nr_ns(rcu_dereference(task->pids[type].pid), ns); in __task_pid_nr_ns()
|
D | fork.c | 1232 task->pids[type].pid = pid; in init_task_pid() 1680 init_idle_pids(task->pids); in fork_idle()
|
D | exit.c | 912 return task->pids[type].pid; in task_pid_type()
|
/linux-4.4.14/Documentation/cgroups/ |
D | pids.txt | 18 In order to use the `pids` controller, set the maximum number of tasks in 19 pids.max (this is not available in the root cgroup for obvious reasons). The 20 number of processes currently in the cgroup is given by pids.current. 23 to have pids.current > pids.max. This can be done by either setting the limit to 24 be smaller than pids.current, or attaching enough processes to the cgroup such 25 that pids.current > pids.max. However, it is not possible to violate a cgroup 29 To set a cgroup to have no limit, set pids.max to "max". This is the default for 33 pids.current tracks all child cgroup hierarchies, so parent/pids.current is a 34 superset of parent/child/pids.current. 39 First, we mount the pids controller: [all …]
|
D | 00-INDEX | 25 pids.txt
|
D | unified-hierarchy.txt | 366 - The "cgroup.procs" file is not sorted. pids will be unique unless
|
D | cpusets.txt | 66 task pids assigned to a cpuset.
|
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/ |
D | multi_ebb_procs_test.c | 79 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-4.4.14/fs/f2fs/ |
D | trace.c | 19 static RADIX_TREE(pids, GFP_ATOMIC); 67 p = radix_tree_lookup(&pids, pid); in f2fs_trace_pid() 71 radix_tree_delete(&pids, pid); in f2fs_trace_pid() 73 f2fs_radix_tree_insert(&pids, pid, current); in f2fs_trace_pid() 136 radix_tree_for_each_slot(slot, &pids, &iter, first_index) { in gang_lookup_pids() 156 radix_tree_delete(&pids, pid[idx]); in f2fs_destroy_trace_ios()
|
/linux-4.4.14/drivers/usb/early/ |
D | ehci-dbgp.c | 202 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-4.4.14/Documentation/kdump/ |
D | gdbmacros.txt | 18 set $pid_off=((size_t)&((struct task_struct *)0)->pids[1].pid_list.next) 34 set $next_th=(((char *)$next_t->pids[1].pid_list.next) - $pid_off) 48 set $next_th=(((char *)$next_th->pids[1].pid_list.next) - $pid_off) 59 set $pid_off=((size_t)&((struct task_struct *)0)->pids[1].pid_list.next) 77 set $next_th=(((char *)$next_t->pids[1].pid_list.next) - $pid_off) 92 set $next_th=(((char *)$next_th->pids[1].pid_list.next) - $pid_off) 104 set $pid_off=((size_t)&((struct task_struct *)0)->pids[1].pid_list.next) 116 set $next_th=(((char *)$next_t->pids[1].pid_list.next) - $pid_off) 122 set $next_th=(((char *)$next_th->pids[1].pid_list.next) - $pid_off) 148 set $pid_off=((size_t)&((struct task_struct *)0)->pids[1].pid_list.next) [all …]
|
/linux-4.4.14/drivers/media/firewire/ |
D | firedtv-dvb.c | 57 u16 pids[16]; in fdtv_start_feed() local 100 collect_channels(fdtv, &pidc, pids); in fdtv_start_feed() 110 ret = avc_tuner_set_pids(fdtv, pidc, pids); in fdtv_start_feed() 128 u16 pids[16]; in fdtv_stop_feed() local 139 demux->pids[dvbdmxfeed->pes_type] |= 0x8000; in fdtv_stop_feed() 153 collect_channels(fdtv, &pidc, pids); in fdtv_stop_feed() 155 ret = avc_tuner_set_pids(fdtv, pidc, pids); in fdtv_stop_feed()
|
/linux-4.4.14/scripts/ |
D | bootgraph.pl | 74 my %pids; 94 $pids{$func} = $1; 116 $pids{$func} = $pid; 192 my $pid = $pids{$key};
|
/linux-4.4.14/kernel/trace/ |
D | trace_events.c | 501 pid = bsearch(&search_pid, filtered_pids->pids, in check_ignore_pid() 605 free_pages((unsigned long)pid_list->pids, pid_list->order); in __ftrace_clear_event_pids() 969 return (void *)&pid_list->pids[*pos]; in p_start() 990 return (void *)&pid_list->pids[*pos]; in p_next() 1646 pid_list->pids = (void *)__get_free_pages(GFP_KERNEL, in ftrace_event_pid_write() 1648 if (!pid_list->pids) in ftrace_event_pid_write() 1653 memcpy(pid_list->pids, filtered_pids->pids, in ftrace_event_pid_write() 1666 memcpy(pid_page, pid_list->pids, in ftrace_event_pid_write() 1668 free_pages((unsigned long)pid_list->pids, pid_list->order); in ftrace_event_pid_write() 1671 pid_list->pids = pid_page; in ftrace_event_pid_write() [all …]
|
D | trace.h | 181 pid_t *pids; member
|
/linux-4.4.14/drivers/media/pci/ttpci/ |
D | av7110.c | 752 av7110->pids[DMX_PES_VIDEO] = 0; in SetPIDs() 753 av7110->pids[DMX_PES_AUDIO] = 0; in SetPIDs() 754 av7110->pids[DMX_PES_TELETEXT] = 0; in SetPIDs() 755 av7110->pids[DMX_PES_PCR] = 0; in SetPIDs() 775 av7110->pids[DMX_PES_VIDEO] = vpid; in ChangePIDs() 777 av7110->pids[DMX_PES_AUDIO] = apid; in ChangePIDs() 779 av7110->pids[DMX_PES_TELETEXT] = ttpid; in ChangePIDs() 781 av7110->pids[DMX_PES_PCR] = pcrpid; in ChangePIDs() 783 av7110->pids[DMX_PES_SUBTITLE] = 0; in ChangePIDs() 786 pcrpid = av7110->pids[DMX_PES_PCR]; in ChangePIDs() [all …]
|
D | av7110.h | 240 u16 pids[DMX_PES_OTHER]; member
|
D | av7110_av.c | 342 ret = ChangePIDs(av7110, av7110->pids[DMX_PES_VIDEO], in av7110_set_vidmode() 343 av7110->pids[DMX_PES_AUDIO], in av7110_set_vidmode() 344 av7110->pids[DMX_PES_TELETEXT], in av7110_set_vidmode() 345 0, av7110->pids[DMX_PES_PCR]); in av7110_set_vidmode()
|
/linux-4.4.14/include/linux/ |
D | cgroup_subsys.h | 67 SUBSYS(pids)
|
D | pid.h | 179 &(pid)->tasks[type], pids[type].node) {
|
D | sched.h | 1513 struct pid_link pids[PIDTYPE_MAX]; member 1874 return task->pids[PIDTYPE_PID].pid; in task_pid() 1879 return task->group_leader->pids[PIDTYPE_PID].pid; in task_tgid() 1889 return task->group_leader->pids[PIDTYPE_PGID].pid; in task_pgrp() 1894 return task->group_leader->pids[PIDTYPE_SID].pid; in task_session() 2004 return p->pids[PIDTYPE_PID].pid != NULL; in pid_alive()
|
D | init_task.h | 242 .pids = { \
|
/linux-4.4.14/include/linux/usb/ |
D | ehci-dbgp.h | 36 u32 pids; member
|
/linux-4.4.14/sound/core/ |
D | control_compat.c | 31 u32 pids; member 48 if (get_user(ptr, &data32->pids) || in snd_ctl_elem_list_compat() 49 put_user(compat_ptr(ptr), &data->pids)) in snd_ctl_elem_list_compat()
|
D | control.c | 792 copy_to_user(list.pids, dst, in snd_ctl_elem_list()
|
/linux-4.4.14/drivers/media/dvb-core/ |
D | dvb_demux.h | 123 u16 pids[DMX_PES_OTHER]; member
|
D | demux.h | 582 int (*get_pes_pids)(struct dmx_demux *demux, u16 *pids);
|
D | dvb_demux.c | 693 demux->pids[pes_type] = pid; in dmx_ts_feed_set() 1239 static int dvbdmx_get_pes_pids(struct dmx_demux *demux, u16 * pids) in dvbdmx_get_pes_pids() argument 1243 memcpy(pids, dvbdemux->pids, 5 * sizeof(u16)); in dvbdmx_get_pes_pids() 1282 dvbdemux->pids[i] = 0xffff; in dvb_dmx_init()
|
/linux-4.4.14/net/openvswitch/ |
D | vport.h | 51 int ovs_vport_set_upcall_portids(struct vport *, const struct nlattr *pids);
|
/linux-4.4.14/tools/perf/Documentation/ |
D | perf-trace.txt | 58 --filter-pids=:: 59 Filter out events for these pids and for 'trace' itself (comma separated list).
|
/linux-4.4.14/tools/perf/bench/ |
D | numa.c | 1429 pid_t *pids, pid, wpid; in __bench_numa() local 1441 pids = zalloc(g->p.nr_proc * sizeof(*pids)); in __bench_numa() 1465 pids[i] = pid; in __bench_numa() 1506 wpid = waitpid(pids[i], &wait_stat, 0); in __bench_numa() 1590 free(pids); in __bench_numa()
|
/linux-4.4.14/tools/perf/util/ |
D | evlist.h | 89 int perf_evlist__set_filter_pids(struct perf_evlist *evlist, size_t npids, pid_t *pids);
|
D | evlist.c | 1264 int perf_evlist__set_filter_pids(struct perf_evlist *evlist, size_t npids, pid_t *pids) in perf_evlist__set_filter_pids() argument 1272 if (asprintf(&filter, "common_pid != %d", pids[i]) < 0) in perf_evlist__set_filter_pids() 1277 if (asprintf(&tmp, "%s && common_pid != %d", filter, pids[i]) < 0) in perf_evlist__set_filter_pids()
|
/linux-4.4.14/drivers/usb/host/ |
D | oxu210hp.h | 183 u32 pids; member
|
/linux-4.4.14/fs/proc/ |
D | Kconfig | 79 Provides a fast way to retrieve first level children pids of a task. See
|
/linux-4.4.14/Documentation/accounting/ |
D | delay-accounting.txt | 90 Get sum of delays, since system boot, for all pids with tgid 5
|
/linux-4.4.14/arch/ia64/kernel/ |
D | asm-offsets.c | 53 DEFINE(IA64_TASK_TGIDLINK_OFFSET, offsetof (struct task_struct, pids[PIDTYPE_PID].pid)); in foo()
|
/linux-4.4.14/include/uapi/sound/ |
D | asound.h | 878 struct snd_ctl_elem_id __user *pids; /* R: IDs */ member
|
/linux-4.4.14/Documentation/filesystems/ |
D | exofs.txt | 72 filesystems on the same device using multiple pids.
|
D | proc.txt | 1699 This file provides a fast way to retrieve first level children pids 1701 stream of pids. 1710 pids, so one need to either stop or freeze processes being inspected
|
/linux-4.4.14/virt/kvm/ |
D | kvm_main.c | 2369 if (unlikely(vcpu->pid != current->pids[PIDTYPE_PID].pid)) { in kvm_vcpu_ioctl()
|
/linux-4.4.14/Documentation/trace/ |
D | ftrace.txt | 868 with mapped pids and comms. But this may cause some 869 overhead, and if you only care about pids, and not the
|
/linux-4.4.14/ |
D | CREDITS | 3233 D: `pids` cgroup subsystem
|