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

/linux-4.1.27/tools/testing/selftests/powerpc/pmu/ebb/
H A Dmulti_ebb_procs_test.c79 pid_t pids[NR_CHILDREN]; multi_ebb_procs() local
87 pids[i] = fork(); multi_ebb_procs()
88 if (pids[i] == 0) multi_ebb_procs()
98 kill(pids[i], SIGINT); multi_ebb_procs()
100 rc |= wait_for_child(pids[i]); multi_ebb_procs()
/linux-4.1.27/fs/f2fs/
H A Dtrace.c19 static RADIX_TREE(pids, GFP_ATOMIC);
67 p = radix_tree_lookup(&pids, pid); f2fs_trace_pid()
71 radix_tree_delete(&pids, pid); f2fs_trace_pid()
73 f2fs_radix_tree_insert(&pids, pid, current); f2fs_trace_pid()
136 radix_tree_for_each_slot(slot, &pids, &iter, first_index) { gang_lookup_pids()
156 radix_tree_delete(&pids, pid[idx]); f2fs_destroy_trace_ios()
/linux-4.1.27/drivers/media/firewire/
H A Dfiredtv-dvb.c57 u16 pids[16]; fdtv_start_feed() local
100 collect_channels(fdtv, &pidc, pids); fdtv_start_feed()
110 ret = avc_tuner_set_pids(fdtv, pidc, pids); fdtv_start_feed()
128 u16 pids[16]; fdtv_stop_feed() local
139 demux->pids[dvbdmxfeed->pes_type] |= 0x8000; fdtv_stop_feed()
153 collect_channels(fdtv, &pidc, pids); fdtv_stop_feed()
155 ret = avc_tuner_set_pids(fdtv, pidc, pids); fdtv_stop_feed()
/linux-4.1.27/arch/alpha/include/asm/
H A Dirq.h30 # define NR_IRQS (32768 + 16) /* marvel - 32 pids */
73 # define NR_IRQS (32768 + 16) /* marvel - 32 pids*/
/linux-4.1.27/include/linux/
H A Dthreads.h37 * Define a minimum number of pids per cpu. Heuristically based
H A Dpid.h39 * value is reused (when pids wrap around) we don't mistakenly refer to new
179 &(pid)->tasks[type], pids[type].node) {
H A Dinit_task.h241 .pids = { \
H A Dsched.h1424 struct pid_link pids[PIDTYPE_MAX]; member in struct:task_struct
1770 return task->pids[PIDTYPE_PID].pid; task_pid()
1775 return task->group_leader->pids[PIDTYPE_PID].pid; task_tgid()
1785 return task->group_leader->pids[PIDTYPE_PGID].pid; task_pgrp()
1790 return task->group_leader->pids[PIDTYPE_SID].pid; task_session()
1796 * the helpers to get the task's different pids as they are seen
1900 return p->pids[PIDTYPE_PID].pid != NULL; pid_alive()
2576 * the thread group leader. For iteration through the pids in proc
H A Dcgroup.h150 * - "cgroup.procs" is not sorted. pids will be unique unless they got
H A Dftrace.h119 * PID - Is affected by set_ftrace_pid (allows filtering on those pids) trace_init()
/linux-4.1.27/kernel/
H A Dpid.c116 * If we started walking pids at 'base', is 'a' seen before 'b'?
136 * Since pids rollover, it is not sufficient to just pick the bigger
391 struct pid_link *link = &task->pids[type]; attach_pid()
402 link = &task->pids[type]; __change_pid()
431 new->pids[type].pid = old->pids[type].pid; transfer_pid()
432 hlist_replace_rcu(&old->pids[type].node, &new->pids[type].node); transfer_pid()
443 result = hlist_entry(first, struct task_struct, pids[(type)].node); pid_task()
471 pid = get_pid(task->pids[type].pid); get_task_pid()
532 nr = pid_nr_ns(task->pids[type].pid, ns); __task_pid_nr_ns()
H A Dpid_namespace.c34 * creates the kmem cache to allocate pids from.
H A Dfork.c1228 task->pids[type].pid = pid; init_task_pid()
1664 init_idle_pids(task->pids); fork_idle()
H A Dexit.c908 return task->pids[type].pid; task_pid_type()
H A Dcgroup.c3769 * A pidlist is a list of pids that virtually represents the contents of one
3793 * The following two functions "fix" the issue where there are more pids
3973 * Load a cgroup's pidarray with either procs' tgids or tasks' pids
H A Dauditsc.c104 /* Number of target pids per aux struct. */
/linux-4.1.27/drivers/usb/early/
H A Dehci-dbgp.c202 u32 pids, lpid; dbgp_wait_until_done() local
208 pids = readl(&ehci_debug->pids); dbgp_wait_until_done()
209 lpid = DBGP_PID_GET(pids); dbgp_wait_until_done()
275 u32 pids, ctrl; dbgp_bulk_write() local
282 pids = readl(&ehci_debug->pids); dbgp_bulk_write()
283 pids = dbgp_pid_write_update(pids, USB_PID_OUT); dbgp_bulk_write()
292 writel(pids, &ehci_debug->pids); dbgp_bulk_write()
301 u32 pids, addr, ctrl; dbgp_bulk_read() local
309 pids = readl(&ehci_debug->pids); dbgp_bulk_read()
310 pids = dbgp_pid_read_update(pids, USB_PID_IN); dbgp_bulk_read()
318 writel(pids, &ehci_debug->pids); dbgp_bulk_read()
332 u32 pids, addr, ctrl; dbgp_control_msg() local
348 pids = DBGP_PID_SET(USB_PID_DATA0, USB_PID_SETUP); dbgp_control_msg()
359 writel(pids, &ehci_debug->pids); dbgp_control_msg()
/linux-4.1.27/include/linux/usb/
H A Dehci-dbgp.h36 u32 pids; member in struct:ehci_dbg_port
/linux-4.1.27/scripts/
H A Dbootgraph.pl74 my %pids;
94 $pids{$func} = $1;
116 $pids{$func} = $pid;
192 my $pid = $pids{$key};
/linux-4.1.27/drivers/media/dvb-core/
H A Ddvb_demux.h123 u16 pids[DMX_PES_OTHER]; member in struct:dvb_demux
H A Ddvb_demux.c694 demux->pids[pes_type] = pid; dmx_ts_feed_set()
1240 static int dvbdmx_get_pes_pids(struct dmx_demux *demux, u16 * pids) dvbdmx_get_pes_pids() argument
1244 memcpy(pids, dvbdemux->pids, 5 * sizeof(u16)); dvbdmx_get_pes_pids()
1283 dvbdemux->pids[i] = 0xffff; dvb_dmx_init()
H A Ddemux.h231 int (*get_pes_pids) (struct dmx_demux* demux, u16 *pids);
/linux-4.1.27/arch/nios2/mm/
H A Dmmu_context.c19 /* The pids position and mask in context */
/linux-4.1.27/sound/core/
H A Dcontrol_compat.c31 u32 pids; member in struct:snd_ctl_elem_list32
47 /* pids */ snd_ctl_elem_list_compat()
48 if (get_user(ptr, &data32->pids) || snd_ctl_elem_list_compat()
49 put_user(compat_ptr(ptr), &data->pids)) snd_ctl_elem_list_compat()
H A Dcontrol.c792 copy_to_user(list.pids, dst, snd_ctl_elem_list()
/linux-4.1.27/drivers/media/pci/ttpci/
H A Dav7110.c755 av7110->pids[DMX_PES_VIDEO] = 0; SetPIDs()
756 av7110->pids[DMX_PES_AUDIO] = 0; SetPIDs()
757 av7110->pids[DMX_PES_TELETEXT] = 0; SetPIDs()
758 av7110->pids[DMX_PES_PCR] = 0; SetPIDs()
778 av7110->pids[DMX_PES_VIDEO] = vpid; ChangePIDs()
780 av7110->pids[DMX_PES_AUDIO] = apid; ChangePIDs()
782 av7110->pids[DMX_PES_TELETEXT] = ttpid; ChangePIDs()
784 av7110->pids[DMX_PES_PCR] = pcrpid; ChangePIDs()
786 av7110->pids[DMX_PES_SUBTITLE] = 0; ChangePIDs()
789 pcrpid = av7110->pids[DMX_PES_PCR]; ChangePIDs()
897 u16 *pid = dvbdmx->pids, npids[5]; dvb_feed_start_pid()
928 if (dvbdmxfeed->pes_type == 0 && !(dvbdmx->pids[0] & 0x8000)) dvb_feed_start_pid()
930 if (dvbdmxfeed->pes_type == 1 && !(dvbdmx->pids[1] & 0x8000)) dvb_feed_start_pid()
940 u16 *pid = dvbdmx->pids, npids[5]; dvb_feed_stop_pid()
998 !(demux->pids[0] & 0x8000) && av7110_start_feed()
999 !(demux->pids[1] & 0x8000)) { av7110_start_feed()
1057 demux->pids[feed->pes_type] |= 0x8000; av7110_stop_feed()
1968 ret = SetPIDs(av7110, av7110->pids[DMX_PES_VIDEO], av7110_fe_lock_fix()
1969 av7110->pids[DMX_PES_AUDIO], av7110_fe_lock_fix()
1970 av7110->pids[DMX_PES_TELETEXT], 0, av7110_fe_lock_fix()
1971 av7110->pids[DMX_PES_PCR]); av7110_fe_lock_fix()
H A Dav7110.h240 u16 pids[DMX_PES_OTHER]; member in struct:av7110
H A Dav7110_av.c342 ret = ChangePIDs(av7110, av7110->pids[DMX_PES_VIDEO], av7110_set_vidmode()
343 av7110->pids[DMX_PES_AUDIO], av7110_set_vidmode()
344 av7110->pids[DMX_PES_TELETEXT], av7110_set_vidmode()
345 0, av7110->pids[DMX_PES_PCR]); av7110_set_vidmode()
/linux-4.1.27/net/openvswitch/
H A Dvport.h55 int ovs_vport_set_upcall_portids(struct vport *, const struct nlattr *pids);
85 * @ids: Array storing the Netlink socket pids to be used for packets received
/linux-4.1.27/include/uapi/linux/
H A Dcapability.h140 /* Allows forged pids on socket credentials passing. */
244 /* Allow forged pids on socket credentials passing */
H A Dopenvswitch.h221 * @OVS_VPORT_ATTR_UPCALL_PID: The array of Netlink socket pids in userspace
/linux-4.1.27/tools/perf/bench/
H A Dnuma.c1416 pid_t *pids, pid, wpid; __bench_numa() local
1428 pids = zalloc(g->p.nr_proc * sizeof(*pids)); __bench_numa()
1452 pids[i] = pid; __bench_numa()
1493 wpid = waitpid(pids[i], &wait_stat, 0); __bench_numa()
1559 free(pids); __bench_numa()
/linux-4.1.27/tools/perf/util/
H A Devlist.h82 int perf_evlist__set_filter_pids(struct perf_evlist *evlist, size_t npids, pid_t *pids);
H A Devlist.c1090 int perf_evlist__set_filter_pids(struct perf_evlist *evlist, size_t npids, pid_t *pids) perf_evlist__set_filter_pids() argument
1098 if (asprintf(&filter, "common_pid != %d", pids[i]) < 0) perf_evlist__set_filter_pids()
1103 if (asprintf(&tmp, "%s && common_pid != %d", filter, pids[i]) < 0) perf_evlist__set_filter_pids()
/linux-4.1.27/arch/um/drivers/
H A Dmconsole_kern.c668 * 2) Add a way to stack dump all pids. mconsole_stack()
675 * Should really check for multiple pids or reject bad args here mconsole_stack()
/linux-4.1.27/drivers/media/dvb-frontends/
H A Ddib3000mb_priv.h353 * it is not a hardware pidfilter but a filter which drops all pids
/linux-4.1.27/arch/ia64/kernel/
H A Dasm-offsets.c53 DEFINE(IA64_TASK_TGIDLINK_OFFSET, offsetof (struct task_struct, pids[PIDTYPE_PID].pid)); foo()
H A Dfsys.S73 ld8 r17=[r17] // r17 = current->group_leader->pids[PIDTYPE_PID].pid
102 ld8 r17=[r17] // r17 = current->pids[PIDTYPE_PID].pid
/linux-4.1.27/drivers/usb/host/
H A Doxu210hp.h183 u32 pids; member in struct:ehci_dbg_port
H A Dohci-q.c446 /* only control transfers store pids in tds */ ed_get()
/linux-4.1.27/fs/autofs4/
H A Dwaitq.c358 * Try translating pids to the namespace of the daemon. autofs4_wait()
/linux-4.1.27/drivers/scsi/bfa/
H A Dbfa_fc.h966 __be16 num_pids; /* Number of pids in the request */
999 __be16 num_pids; /* Number of pids in the request */
/linux-4.1.27/tools/perf/
H A Dbuiltin-report.c673 "only consider symbols in these pids"), cmd_report()
H A Dbuiltin-script.c1561 "only consider symbols in these pids"), cmd_script()
H A Dbuiltin-trace.c2677 OPT_CALLBACK(0, "filter-pids", &trace, "float", cmd_trace()
/linux-4.1.27/include/uapi/sound/
H A Dasound.h876 struct snd_ctl_elem_id __user *pids; /* R: IDs */ member in struct:snd_ctl_elem_list
/linux-4.1.27/kernel/trace/
H A Dftrace.c94 /* List for set_ftrace_pid's pids. */
5098 /* If we filter on pids, update to use the pid function */ ftrace_init_array_ops()
H A Dtrace.c3725 " set_ftrace_pid\t- Write pid(s) to only function trace those pids\n"
/linux-4.1.27/virt/kvm/
H A Dkvm_main.c2121 if (unlikely(vcpu->pid != current->pids[PIDTYPE_PID].pid)) { kvm_vcpu_ioctl()
/linux-4.1.27/drivers/scsi/
H A Ddc395x.c3526 dprintkl(KERN_INFO, "doing_srb_done: pids "); doing_srb_done()

Completed in 1544 milliseconds