Home
last modified time | relevance | path

Searched refs:pid (Results 1676 - 1700 of 6205) sorted by relevance

1...<<61626364656667686970>>...249

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dstrobemeta.h193 pid_t pid; member
460 pid_t pid = bpf_get_current_pid_tgid() >> 32; in read_strobe_meta() local
465 cfg = bpf_map_lookup_elem(&strobemeta_cfgs, &pid); in read_strobe_meta()
511 pid_t pid = bpf_get_current_pid_tgid() >> 32; in on_event() local
522 sample->pid = pid; in on_event()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_usb_core.c70 int pid, len = tx_info->skb->len, ep = q2ep(mdev->q_tx[qid]->hw_idx); in mt76x02u_tx_prepare_skb() local
82 pid = mt76_tx_status_skb_add(mdev, wcid, tx_info->skb); in mt76x02u_tx_prepare_skb()
85 if (pid == MT_PACKET_ID_NO_SKB) in mt76x02u_tx_prepare_skb()
86 pid = MT_PACKET_ID_HAS_RATE | in mt76x02u_tx_prepare_skb()
91 txwi->pktid = pid; in mt76x02u_tx_prepare_skb()
93 if ((mt76_is_skb_pktid(pid) && ampdu) || ep == MT_EP_OUT_HCCA) in mt76x02u_tx_prepare_skb()
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/
H A Dhermes_dld.c315 #define DEFINE_DEFAULT_PDR(pid, length, data) \
320 } __packed default_pdr_data_##pid = { \
321 cpu_to_le16((sizeof(default_pdr_data_##pid)/ \
323 cpu_to_le16(pid), \
327 #define DEFAULT_PDR(pid) default_pdr_data_##pid
/kernel/linux/linux-5.10/sound/isa/
H A Dals100.c176 const struct pnp_card_device_id *pid) in snd_card_als100_probe()
191 if ((error = snd_card_als100_pnp(dev, acard, pcard, pid))) { in snd_card_als100_probe()
196 if (pid->driver_data == SB_HW_DT019X) in snd_card_als100_probe()
202 pid->driver_data, in snd_card_als100_probe()
210 if (pid->driver_data == SB_HW_DT019X) { in snd_card_als100_probe()
241 if (pid->driver_data == SB_HW_DT019X) in snd_card_als100_probe()
174 snd_card_als100_probe(int dev, struct pnp_card_link *pcard, const struct pnp_card_device_id *pid) snd_card_als100_probe() argument
/kernel/linux/linux-5.10/kernel/
H A Dpid_namespace.c12 #include <linux/pid.h>
34 * @level: pid namespace level
50 len = sizeof(struct pid) + level * sizeof(struct upid); in create_pid_cachep()
179 struct pid *pid; in zap_pid_ns_processes() local
181 /* Don't allow any more processes into the pid namespace */ in zap_pid_ns_processes()
202 * pid namespace has just a few processes. Or we need to in zap_pid_ns_processes()
203 * maintain a tasklist for each pid namespace. in zap_pid_ns_processes()
209 idr_for_each_entry_continue(&pid_ns->idr, pid, nr) { in zap_pid_ns_processes()
210 task = pid_task(pid, PIDTYPE_PI in zap_pid_ns_processes()
[all...]
/kernel/linux/linux-6.6/kernel/
H A Dpid_namespace.c12 #include <linux/pid.h>
35 * @level: pid namespace level
51 len = struct_size_t(struct pid, numbers, level + 1); in create_pid_cachep()
175 struct pid *pid; in zap_pid_ns_processes() local
177 /* Don't allow any more processes into the pid namespace */ in zap_pid_ns_processes()
198 * pid namespace has just a few processes. Or we need to in zap_pid_ns_processes()
199 * maintain a tasklist for each pid namespace. in zap_pid_ns_processes()
205 idr_for_each_entry_continue(&pid_ns->idr, pid, nr) { in zap_pid_ns_processes()
206 task = pid_task(pid, PIDTYPE_PI in zap_pid_ns_processes()
[all...]
/kernel/linux/linux-6.6/kernel/futex/
H A Dsyscalls.c45 * @pid: pid of the process [zero for current task]
49 SYSCALL_DEFINE3(get_robust_list, int, pid, in SYSCALL_DEFINE3()
60 if (!pid) in SYSCALL_DEFINE3()
63 p = find_task_by_vpid(pid); in SYSCALL_DEFINE3()
321 COMPAT_SYSCALL_DEFINE3(get_robust_list, int, pid, in COMPAT_SYSCALL_DEFINE3()
332 if (!pid) in COMPAT_SYSCALL_DEFINE3()
335 p = find_task_by_vpid(pid); in COMPAT_SYSCALL_DEFINE3()
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/orinoco/
H A Dhermes_dld.c315 #define DEFINE_DEFAULT_PDR(pid, length, data) \
320 } __packed default_pdr_data_##pid = { \
321 cpu_to_le16((sizeof(default_pdr_data_##pid)/ \
323 cpu_to_le16(pid), \
327 #define DEFAULT_PDR(pid) default_pdr_data_##pid
/kernel/linux/linux-6.6/sound/isa/
H A Dals100.c165 const struct pnp_card_device_id *pid) in snd_card_als100_probe()
180 error = snd_card_als100_pnp(dev, acard, pcard, pid); in snd_card_als100_probe()
184 if (pid->driver_data == SB_HW_DT019X) in snd_card_als100_probe()
190 pid->driver_data, in snd_card_als100_probe()
196 if (pid->driver_data == SB_HW_DT019X) { in snd_card_als100_probe()
225 if (pid->driver_data == SB_HW_DT019X) in snd_card_als100_probe()
163 snd_card_als100_probe(int dev, struct pnp_card_link *pcard, const struct pnp_card_device_id *pid) snd_card_als100_probe() argument
/third_party/elfutils/tests/
H A Dbacktrace-data.c95 maps_lookup (pid_t pid, Dwarf_Addr addr, GElf_Addr *basep) in maps_lookup() argument
98 int i = asprintf (&fname, "/proc/%ld/maps", (long) pid); in maps_lookup()
294 pid_t pid = waitpid (child, &status, 0); in main() local
295 assert (pid == child); in main()
324 pid = waitpid (child, &status, 0); in main()
325 assert (pid == child); in main()
/third_party/node/lib/internal/process/
H A Dper_thread.js209 function kill(pid, sig) {
213 if (pid != (pid | 0)) {
214 throw new ERR_INVALID_ARG_TYPE('pid', 'number', pid);
221 err = process._kill(pid, sig);
225 err = process._kill(pid, constants[sig]);
/third_party/node/test/report/
H A Dtest-report-uv-handles.js15 const pipeName = `node-test.${process.pid}.sock`;
39 // Child should exist when this returns as child_process.pid must be set.
43 childData.pid = cp.pid;
169 const reports = helper.findReports(child.pid, tmpdir.path);
228 assert.strictEqual(handle.pid, child_data.pid);
/third_party/ltp/testcases/kernel/mem/mtest05/
H A Dmmstress.c534 pid_t pid = 0; in test5() local
552 if (!(pid = fork())) in test5()
555 if (pid != -1) in test5()
585 pid_t pid = 0; in test6() local
603 if (!(pid = fork())) { in test6()
612 if (pid != -1) in test6()
/third_party/ltp/testcases/kernel/syscalls/recvfrom/
H A Drecvfrom01.c183 pid_t pid; variable
189 pid = start_server(&sin1); in setup()
194 (void)kill(pid, SIGKILL); in cleanup()
250 pid_t pid; in start_server() local
272 switch ((pid = FORK_OR_VFORK())) { in start_server()
287 return pid; in start_server()
/third_party/python/Lib/multiprocessing/
H A Dprocess.py243 return self._popen and self._popen.pid
245 pid = ident variable in BaseProcess
278 info.append('pid=%s' % self._popen.pid)
366 def __init__(self, name, pid, sentinel):
369 self._pid = pid
391 pid = ident variable in _ParentProcess
/third_party/python/Lib/test/
H A Dtest_thread.py232 pid = None
235 nonlocal pid
238 pid = os.fork()
239 if pid:
255 self.assertIsNotNone(pid)
256 support.wait_process(pid, exitcode=0)
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dtask_local_storage_helpers.h17 static inline int sys_pidfd_open(pid_t pid, unsigned int flags) in sys_pidfd_open() argument
19 return syscall(__NR_pidfd_open, pid, flags); in sys_pidfd_open()
/kernel/liteos_a/testsuites/unittest/fuzz/
H A Dposix_spawn_fuzzer.cpp42 s32 pid = *(s32 *)DT_SetGetS32(&g_Element[0], INITVALUE_S32); in TestPosixSpawn() local
44 posix_spawn(&pid, "/bin/tftp", nullptr, nullptr, argv, nullptr); in TestPosixSpawn()
H A Dposix_spawnp_fuzzer.cpp42 s32 pid = *(s32 *)DT_SetGetS32(&g_Element[0], INITVALUE_S32); in TestPosixSpawnp() local
44 posix_spawnp(&pid, "/bin/tftp", nullptr, nullptr, argv, nullptr); in TestPosixSpawnp()
/third_party/libunwind/libunwind/src/ptrace/
H A D_UPT_resume.c36 return ptrace (PTRACE_CONT, ui->pid, 0, 0); in _UPT_resume()
38 return ptrace(PT_CONTINUE, ui->pid, (caddr_t)1, 0); in _UPT_resume()
/third_party/ltp/lib/newlib_tests/
H A Dtest05.c14 tst_res(TINFO, "setup() executed by pid %i", getpid()); in setup()
19 tst_res(TINFO, "cleanup() executed by pid %i", getpid()); in cleanup()
24 pid_t pid = SAFE_FORK(); in do_test() local
26 switch (pid) { in do_test()
H A Dtest06.c14 tst_res(TINFO, "setup() executed by pid %i", getpid()); in setup()
19 tst_res(TINFO, "cleanup() executed by pid %i", getpid()); in cleanup()
24 pid_t pid = SAFE_FORK(); in do_test() local
26 switch (pid) { in do_test()
28 tst_brk(TBROK, "Child pid %i", getpid()); in do_test()
31 tst_res(TPASS, "Parent pid %i", getpid()); in do_test()
/third_party/musl/porting/linux/user/src/sched/
H A Dsched_setscheduler.c5 int sched_setscheduler(pid_t pid, int sched, const struct sched_param *param) in sched_setscheduler() argument
12 r = __syscall(SYS_sched_setscheduler, pid , sched , param); in sched_setscheduler()
H A Dsched_setparam.c5 int sched_setparam(pid_t pid, const struct sched_param *param) in sched_setparam() argument
12 r = __syscall(SYS_sched_setparam, pid, param); in sched_setparam()
/third_party/musl/src/stdio/
H A Dpclose.c14 pid_t pid = f->pipe_pid; in pclose() local
16 while ((r=__sys_wait4(pid, &status, 0, 0)) == -EINTR); in pclose()

Completed in 12 milliseconds

1...<<61626364656667686970>>...249