/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/ |
H A D | opera1.c | 306 static int opera1_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, in opera1_pid_filter() argument 314 info("pidfilter index: %d pid: %d %s", index, pid, in opera1_pid_filter() 317 b_pid[1] = onoff ? (pid & 0xff) : (0x00); in opera1_pid_filter() 318 b_pid[2] = onoff ? ((pid >> 8) & 0xff) : (0x00); in opera1_pid_filter()
|
H A D | vp702x.c | 187 static int vp702x_set_pid(struct dvb_usb_adapter *adap, u16 pid, u8 id, int onoff) in vp702x_set_pid() argument 197 pid = 0xffff; in vp702x_set_pid() 208 vp702x_usb_in_op(adap->dev, 0xe0, (((pid >> 8) & 0xff) << 8) | (id), 0, buf, 16); in vp702x_set_pid() 209 vp702x_usb_in_op(adap->dev, 0xe0, (((pid ) & 0xff) << 8) | (id+1), 0, buf, 16); in vp702x_set_pid()
|
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb/ |
H A D | vp702x.c | 187 static int vp702x_set_pid(struct dvb_usb_adapter *adap, u16 pid, u8 id, int onoff) in vp702x_set_pid() argument 197 pid = 0xffff; in vp702x_set_pid() 208 vp702x_usb_in_op(adap->dev, 0xe0, (((pid >> 8) & 0xff) << 8) | (id), 0, buf, 16); in vp702x_set_pid() 209 vp702x_usb_in_op(adap->dev, 0xe0, (((pid ) & 0xff) << 8) | (id+1), 0, buf, 16); in vp702x_set_pid()
|
H A D | opera1.c | 305 static int opera1_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, in opera1_pid_filter() argument 313 info("pidfilter index: %d pid: %d %s", index, pid, in opera1_pid_filter() 316 b_pid[1] = onoff ? (pid & 0xff) : (0x00); in opera1_pid_filter() 317 b_pid[2] = onoff ? ((pid >> 8) & 0xff) : (0x00); in opera1_pid_filter()
|
/kernel/linux/linux-6.6/drivers/android/ |
H A D | binder_trace.h | 143 __entry->to_proc = t->to_proc->pid; 144 __entry->to_thread = t->to_thread ? t->to_thread->pid : 0; 329 __entry->proc = alloc->pid; 347 __entry->proc = alloc->pid;
|
/kernel/linux/linux-6.6/drivers/amba/ |
H A D | bus.c | 136 u32 size, pid, cid; in amba_read_periphid() local 173 * Read pid and cid based on size of resource in amba_read_periphid() 176 for (pid = 0, i = 0; i < 4; i++) in amba_read_periphid() 177 pid |= (readl(tmp + size - 0x20 + 4 * i) & 255) << (i * 8); in amba_read_periphid() 190 dev->periphid = pid; in amba_read_periphid() 219 * permanent failure in reading pid and cid, simply map it to in amba_match() 558 * AMBA device uevents require reading its pid and cid in amba_device_add() 562 * generation of uevents until we can read the pid and cid in amba_device_add()
|
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | smb2proto.h | 211 u64 persistent_fid, u64 volatile_fid, u32 pid, 216 u64 persistent_fid, u64 volatile_fid, u32 pid, 246 const __u32 pid, const __u64 length, const __u64 offset, 250 const __u32 pid, const __u32 num_lock,
|
H A D | link.c | 295 io_parms.pid = current->tgid; in cifs_query_mf_symlink() 332 io_parms.pid = current->tgid; in cifs_create_mf_symlink() 394 io_parms.pid = current->tgid; in smb3_query_mf_symlink() 447 io_parms.pid = current->tgid; in smb3_create_mf_symlink()
|
/kernel/linux/linux-6.6/include/media/ |
H A D | dvb-usb-ids.h | 15 #define DVB_USB_DEV(pid, vid) \ 16 [vid] = { USB_DEVICE(USB_VID_ ## pid, USB_PID_ ## vid) } 18 #define DVB_USB_DEV_VER(pid, vid, lo, hi) \ 19 [vid] = { USB_DEVICE_VER(USB_VID_ ## pid, USB_PID_ ## vid, lo, hi) }
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | tty.h | 224 struct pid *pgrp; 225 struct pid *session; 345 struct pid *tty_get_pgrp(struct tty_struct *tty); 361 static inline struct pid *tty_get_pgrp(struct tty_struct *tty) in tty_get_pgrp()
|
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | rdacm21.c | 389 u8 pid, ver, val; in ov490_initialize() local 400 ret = ov490_read_reg(dev, OV490_PID, &pid); in ov490_initialize() 414 if (OV490_ID(pid, ver) != OV490_ID_VAL) { in ov490_initialize() 416 OV490_ID(pid, ver)); in ov490_initialize()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | kprobe_multi_test.c | 50 skel->bss->pid = getpid(); in test_skel_api() 70 skel->bss->pid = getpid(); in test_link_api() 146 skel->bss->pid = getpid(); in test_attach_api() 236 skel->bss->pid = getpid(); in test_attach_api_fails()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/openvswitch/ |
H A D | openvswitch.sh | 89 pid=$! 90 on_exit "ovs_sbx $1 kill -TERM $pid 2>/dev/null" 106 pid=$! 107 ovs_sbx "$sbx" on_exit "kill -TERM $pid 2>/dev/null"
|
/kernel/linux/linux-6.6/tools/testing/selftests/x86/ |
H A D | ptrace_syscall.c | 90 errx(1, "got unexpected pid in event\n"); in wait_trap() 186 pid_t pid = getpid(), tid = syscall(SYS_gettid); in test_ptrace_syscall_restart() local 189 syscall(SYS_tgkill, pid, tid, SIGSTOP); in test_ptrace_syscall_restart() 306 pid_t pid = getpid(), tid = syscall(SYS_gettid); in test_restart_under_ptrace() local 310 syscall(SYS_tgkill, pid, tid, SIGSTOP); in test_restart_under_ptrace()
|
/kernel/liteos_a/kernel/extended/plimit/ |
H A D | los_plimits.c | 216 UINT32 OsPLimitsAddPid(ProcLimiterSet *plimits, UINT32 pid) in OsPLimitsAddPid() argument 219 if ((plimits == NULL) || OS_PID_CHECK_INVALID(pid) || (pid == 0)) { in OsPLimitsAddPid() 228 LosProcessCB *processCB = OS_PCB_FROM_PID((unsigned int)pid); in OsPLimitsAddPid()
|
/kernel/liteos_a/testsuites/unittest/process/plimits/ |
H A D | process_plimits_test.cpp | 161 * @tc.desc: pid plimit function test case 173 * @tc.desc: pid plimit function test case 185 * @tc.desc: pid plimit function test case 197 * @tc.desc: pid plimit function test case 209 * @tc.desc: pid plimit function test case 221 * @tc.desc: pid plimit function test case 642 static vector<string> GetProcessInfo(pid_t pid) in GetProcessInfo() argument 646 string strpid = to_string(pid); in GetProcessInfo() 711 static double GetCpup(pid_t pid) in GetCpup() argument 713 auto content = GetProcessInfo(pid); in GetCpup() [all...] |
/third_party/elfutils/libdwfl/ |
H A D | dwfl_frame.c | 134 dwfl_attach_state (Dwfl *dwfl, Elf *elf, pid_t pid, in dwfl_attach_state() argument 205 process->pid = pid; in dwfl_attach_state() 226 return dwfl->process->pid; in INTDEF()
|
/third_party/alsa-lib/src/timer/ |
H A D | timer.c | 423 * \param pid Process ID to signal: 0 current 428 int snd_timer_async(snd_timer_t *timer, int sig, pid_t pid) in snd_timer_async() argument 433 if (pid == 0) in snd_timer_async() 434 pid = getpid(); in snd_timer_async() 435 return timer->ops->async(timer, sig, pid); in snd_timer_async()
|
/third_party/ltp/testcases/kernel/fs/ftest/ |
H A D | ftest07.c | 176 pid_t pid; in runtest() local 234 pid = fork(); in runtest() 235 if (pid < 0) { in runtest() 239 if (pid == 0) { in runtest()
|
H A D | ftest03.c | 172 pid_t pid; in runtest() local 232 pid = fork(); in runtest() 234 if (pid < 0) { in runtest() 239 if (pid == 0) { in runtest()
|
/third_party/ltp/include/old/ |
H A D | safe_macros.h | 135 #define SAFE_WAITPID(cleanup_fn, pid, status, opts) \ 136 safe_waitpid(__FILE__, __LINE__, (cleanup_fn), (pid), (status), (opts)) 138 #define SAFE_KILL(cleanup_fn, pid, sig) \ 139 safe_kill(__FILE__, __LINE__, (cleanup_fn), (pid), (sig))
|
/third_party/ltp/testcases/kernel/fs/inode/ |
H A D | inode02.c | 115 int pid, tree(), p, status; in main() local 171 pid = fork(); in main() 172 if (pid == 0) { in main() 175 if (pid < 1) { in main()
|
/third_party/node/src/ |
H A D | node_os.cc | 351 const int pid = args[0].As<Int32>()->Value(); in SetPriority() local 353 const int err = uv_os_setpriority(pid, priority); in SetPriority() 370 const int pid = args[0].As<Int32>()->Value(); in GetPriority() local 372 const int err = uv_os_getpriority(pid, &priority); in GetPriority()
|
/third_party/ltp/testcases/kernel/syscalls/access/ |
H A D | access01.c | 253 pid_t pid; in verify_access() local 259 pid = SAFE_FORK(); in verify_access() 260 if (pid) { in verify_access() 261 SAFE_WAITPID(pid, NULL, 0); in verify_access()
|
/third_party/ltp/testcases/network/lib6/ |
H A D | asapi_01.c | 38 static pid_t pid; variable 256 pttp->tp_pid = htonl(pid); in client() 304 if (htonl(prtp->tp_pid) == (uint32_t)pid && in client() 455 pid = getpid(); in setup()
|