/third_party/toybox/toys/lsb/ |
H A D | killall.c | 35 struct int_list { struct int_list *next; int val; } *pids; 52 struct int_list *new = xmalloc(sizeof(*TT.pids)); in kill_process() 54 new->next = TT.pids; in kill_process() 55 TT.pids = new; in kill_process() 110 struct int_list *p = TT.pids; in killall_main() 120 llist_traverse(TT.pids, free); in killall_main()
|
/kernel/linux/linux-5.10/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, in dbgp_bulk_write() 296 u32 pids, addr, ctrl; dbgp_bulk_read() local 327 u32 pids, addr, ctrl; dbgp_control_msg() local [all...] |
/kernel/linux/linux-6.6/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, in dbgp_bulk_write() 296 u32 pids, addr, ctrl; dbgp_bulk_read() local 327 u32 pids, addr, ctrl; dbgp_control_msg() local [all...] |
/kernel/linux/linux-5.10/fs/f2fs/ |
H A D | trace.c | 16 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()
|
/kernel/linux/linux-6.6/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);
|
/kernel/linux/linux-6.6/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
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/scripts/ |
H A D | bootgraph.pl | 60 my %pids; 80 $pids{$func} = $1; 102 $pids{$func} = $pid; 178 my $pid = $pids{$key};
|
/kernel/linux/linux-6.6/scripts/ |
H A D | bootgraph.pl | 60 my %pids; 80 $pids{$func} = $1; 102 $pids{$func} = $pid; 178 my $pid = $pids{$key};
|
/third_party/cups-filters/filter/ |
H A D | sys5ippprinter.c | 628 cups_array_t *pids; /* Executed filters array */ in exec_filters() local 650 pids = cupsArrayNew((cups_array_func_t)compare_pids, NULL); in exec_filters() 700 cupsArrayAdd(pids, pid_entry); in exec_filters() 730 while (cupsArrayCount(pids) > 0) in exec_filters() 737 for (pid_entry = (filter_pid_t *)cupsArrayFirst(pids); in exec_filters() 739 pid_entry = (filter_pid_t *)cupsArrayNext(pids)) in exec_filters() 748 if ((pid_entry = (filter_pid_t *)cupsArrayFind(pids, &key)) != NULL) in exec_filters() 750 cupsArrayRemove(pids, pid_entry); in exec_filters() 771 cupsArrayDelete(pids); in exec_filters()
|
/third_party/cups-filters/cupsfilters/ |
H A D | pdftoippprinter.c | 678 cups_array_t *pids; /* Executed filters array */ in exec_filters() local 700 pids = cupsArrayNew((cups_array_func_t)compare_pids, NULL); in exec_filters() 745 cupsArrayAdd(pids, pid_entry); in exec_filters() 772 while (cupsArrayCount(pids) > 0) { in exec_filters() 776 for (pid_entry = (filter_pid_t *)cupsArrayFirst(pids); in exec_filters() 778 pid_entry = (filter_pid_t *)cupsArrayNext(pids)) in exec_filters() 786 if ((pid_entry = (filter_pid_t *)cupsArrayFind(pids, &key)) != NULL) { in exec_filters() 787 cupsArrayRemove(pids, pid_entry); in exec_filters() 806 cupsArrayDelete(pids); in exec_filters()
|
/third_party/ltp/testcases/kernel/controllers/cgroup/ |
H A D | cgroup_core03.c | 82 pid_t pids[MAX_PID_NUM]; in run() local 96 pids[i] = cg_run_nowait(cg_child_test_simple); in run() 103 TST_EXP_PASS_SILENT(wait_for_pid(pids[i])); in run()
|
/kernel/linux/linux-6.6/mm/damon/ |
H A D | dbgfs.c | 401 static void dbgfs_put_pids(struct pid **pids, int nr_pids) in dbgfs_put_pids() argument 406 put_pid(pids[i]); in dbgfs_put_pids() 419 struct pid **pids; in str_to_pids() local 427 pids = kmalloc_array(nr_ints, sizeof(*pids), GFP_KERNEL); in str_to_pids() 428 if (!pids) in str_to_pids() 432 pids[*nr_pids] = find_get_pid(ints[*nr_pids]); in str_to_pids() 433 if (!pids[*nr_pids]) { in str_to_pids() 434 dbgfs_put_pids(pids, *nr_pids); in str_to_pids() 436 kfree(pids); in str_to_pids() 458 dbgfs_set_targets(struct damon_ctx *ctx, ssize_t nr_targets, struct pid **pids) dbgfs_set_targets() argument [all...] |
/drivers/hdf_core/adapter/uhdf2/ipc/src/ |
H A D | hdf_dump.cpp | 68 std::vector<int32_t> pids; in HdfDumpIpcStatGet() local 69 pids = IPCPayloadStatistics::GetPids(); in HdfDumpIpcStatGet() 70 for (unsigned int i = 0; i < pids.size(); i++) { in HdfDumpIpcStatGet() 71 int32_t pid = pids[i]; in HdfDumpIpcStatGet()
|
/third_party/ltp/testcases/network/stress/multicast/grp-operation/ |
H A D | mcast-lib.sh | 117 local cnt define_src_addr filter params pid pids ret 140 pids="$! $pids" 144 for pid in $pids; do wait $pid; done
|
/third_party/toybox/toys/pending/ |
H A D | tcpsvd.c | 71 struct list_pid *pids = NULL; variable 123 static char *delete(struct list_pid **pids, int pid) in delete() argument 125 struct list_pid *prev, *free_node, *head = *pids; in delete() 134 if (!prev) *pids = head->next; in delete() 176 char *ip = delete(&pids, pid_n); in handle_exit() 397 insert(&pids, pid, addr); in tcpsvd_main()
|
/third_party/alsa-lib/src/control/ |
H A D | control_shm.c | 158 size_t bytes = list->space * sizeof(*list->pids); in snd_ctl_shm_elem_list() 160 snd_ctl_elem_id_t *pids = list->pids; in snd_ctl_shm_elem_list() local 169 list->pids = pids; in snd_ctl_shm_elem_list() 170 bytes = list->used * sizeof(*list->pids); in snd_ctl_shm_elem_list() 171 memcpy(pids, (void *)ctrl->data, bytes); in snd_ctl_shm_elem_list()
|
/third_party/ltp/testcases/network/stress/ssh/ |
H A D | ssh-stress.sh | 28 local pids 133 local start_epoc pids total_connections elapse_epoc new_pids 157 ssh_num=$(echo "$pids" | wc -w)
|
/third_party/ffmpeg/libavformat/ |
H A D | mpegts.c | 162 unsigned int pids[MAX_PIDS_PER_PROGRAM]; member 179 /** if true, all pids are analyzed to find streams */ 212 /** structure to keep track of Program->pids mapping */ 218 MpegTSFilter *pids[NB_PID_MAX]; member 238 {"merge_pmt_versions", "re-use streams when PMT's version/pids change", offsetof(MpegTSContext, merge_pmt_versions), AV_OPT_TYPE_BOOL, 936 if (p->pids[i] == pid) in add_pid_to_program() 939 p->pids[p->nb_pids++] = pid; in add_pid_to_program() 992 if (p->pids[j] != pid) in discard_pid() 1087 if (pid >= NB_PID_MAX || ts->pids[pid]) in mpegts_open_filter() 1092 ts->pids[pi in mpegts_open_filter() [all...] |
/kernel/linux/linux-5.10/include/linux/sched/ |
H A D | signal.h | 153 struct pid *pids[PIDTYPE_MAX]; member 641 pid = task->signal->pids[type]; in task_pid_type() 647 return task->signal->pids[PIDTYPE_TGID]; in task_tgid() 657 return task->signal->pids[PIDTYPE_PGID]; in task_pgrp() 662 return task->signal->pids[PIDTYPE_SID]; in task_session()
|
/kernel/linux/linux-6.6/include/linux/sched/ |
H A D | signal.h | 163 struct pid *pids[PIDTYPE_MAX]; member 678 pid = task->signal->pids[type]; in task_pid_type() 684 return task->signal->pids[PIDTYPE_TGID]; in task_tgid() 694 return task->signal->pids[PIDTYPE_PGID]; in task_pgrp() 699 return task->signal->pids[PIDTYPE_SID]; in task_session()
|
/kernel/linux/linux-5.10/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_PC in ChangePIDs() [all...] |
/kernel/linux/linux-6.6/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() 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_PC in ChangePIDs() [all...] |
/kernel/liteos_a/fs/proc/os_adapt/ |
H A D | plimits_proc.c | 133 .name = "pids.max", 143 .name = "pids.priority", 416 LosBufPrintf(seqBuf, "%s ", "pids"); in ProcLimitsShowLimiters() 452 unsigned int *pids = (unsigned int *)LOS_MemAlloc(m_aucSysMem1, size); in ShowPids() local 453 if (pids == NULL) { in ShowPids() 456 (void)memset_s(pids, size, 0, size); in ShowPids() 458 unsigned int ret = OsPLimitsPidsGet(plimits, pids, size); in ShowPids() 460 (VOID)LOS_MemFree(m_aucSysMem1, pids); in ShowPids() 466 if (pids[index] == 0) { in ShowPids() 471 (void)LOS_MemFree(m_aucSysMem1, pids); in ShowPids() [all...] |