/kernel/linux/linux-6.6/drivers/media/usb/as102/ |
H A D | as10x_cmd_stream.c | 34 pcmd->body.add_pid_filter.req.pid = cpu_to_le16(filter->pid); in as10x_cmd_add_PID_filter() 91 pcmd->body.del_pid_filter.req.pid = cpu_to_le16(pid_value); in as10x_cmd_del_PID_filter()
|
/kernel/linux/linux-6.6/include/sound/ |
H A D | rawmidi.h | 37 struct pid; 98 struct pid *pid; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | pci_mac.c | 18 int id, pid; in mt7921e_tx_prepare_skb() local 43 pid = mt76_tx_status_skb_add(mdev, wcid, tx_info->skb); in mt7921e_tx_prepare_skb() 45 pid, qid, 0); in mt7921e_tx_prepare_skb()
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | dwarf-unwind.c | 51 pid_t pid = getpid(); in init_live_machine() local 54 return perf_event__synthesize_mmap_events(NULL, &event, pid, pid, in init_live_machine()
|
H A D | code-reading.c | 387 thread = machine__findnew_thread(machine, sample.pid, sample.tid); in process_sample_event() 574 pid_t pid; in do_test_code_reading() local 579 pid = getpid(); in do_test_code_reading() 613 threads = thread_map__new_by_tid(pid); in do_test_code_reading() 627 thread = machine__findnew_thread(machine, pid, pid); in do_test_code_reading()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | bpf_ftrace.c | 72 u32 pid; in perf_ftrace__latency_prepare_bpf() local 79 pid = perf_thread_map__pid(ftrace->evlist->core.threads, i); in perf_ftrace__latency_prepare_bpf() 80 bpf_map_update_elem(fd, &pid, &val, BPF_ANY); in perf_ftrace__latency_prepare_bpf()
|
H A D | trace-event-parse.c | 157 int pid; in parse_saved_cmdline() local 161 if (sscanf(line, "%d %16s", &pid, comm) == 2) in parse_saved_cmdline() 162 tep_register_comm(pevent, comm, pid); in parse_saved_cmdline()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | udpgro.sh | 71 local addr1 addr2 pid family="" ipt_cmd=ip6tables 95 pid=$! 103 kill -INT $pid
|
/kernel/linux/linux-5.10/tools/power/pm-graph/ |
H A D | sleepgraph.py | 1269 # contents: start/stop times, pid/cpu/driver info 1427 def isTraceEventOutsideDeviceCalls(self, pid, time): 1432 if(d['pid'] == pid and time >= d['start'] and 1444 def sourceDevice(self, phaselist, start, end, pid, type): 1450 # pid must match 1451 if dev['pid'] != pid: 1468 def addDeviceFunctionCall(self, displayname, kprobename, proc, pid, start, end, cdata, rdata): 1471 tgtdev = self.sourceDevice(phases, start, end, pid, 'devic [all...] |
/kernel/linux/linux-6.6/tools/power/pm-graph/ |
H A D | sleepgraph.py | 1448 # contents: start/stop times, pid/cpu/driver info 1607 def isTraceEventOutsideDeviceCalls(self, pid, time): 1612 if(d['pid'] == pid and time >= d['start'] and 1624 def sourceDevice(self, phaselist, start, end, pid, type): 1630 # pid must match 1631 if dev['pid'] != pid: 1648 def addDeviceFunctionCall(self, displayname, kprobename, proc, pid, start, end, cdata, rdata): 1651 tgtdev = self.sourceDevice(phases, start, end, pid, 'devic [all...] |
/kernel/linux/linux-5.10/drivers/staging/vc04_services/interface/vchiq_arm/ |
H A D | vchiq_arm.c | 72 int pid; member 87 int pid; member 230 "bulk_waiter - cleaned up %pK for pid %d", in vchiq_shutdown() 231 waiter, waiter->pid); in vchiq_shutdown() 338 status = vchiq_open_service_internal(service, current->pid); in vchiq_open_service() 448 if (waiter->pid == current->pid) { in vchiq_blocking_bulk_transfer() 499 waiter->pid = current->pid; in vchiq_blocking_bulk_transfer() 504 "saved bulk_waiter %pK for pid in vchiq_blocking_bulk_transfer() [all...] |
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-inject.c | 316 event->mmap.filename, event->mmap.pid, &n); in perf_event__jit_repipe_mmap() 327 static struct dso *findnew_dso(int pid, int tid, const char *filename, in findnew_dso() argument 336 thread = machine__findnew_thread(machine, pid, tid); in findnew_dso() 338 pr_err("cannot find or create a task %d/%d.\n", tid, pid); in findnew_dso() 378 dso = findnew_dso(event->mmap.pid, event->mmap.tid, in perf_event__repipe_buildid_mmap() 417 event->mmap2.filename, event->mmap2.pid, &n); in perf_event__jit_repipe_mmap2() 441 dso = findnew_dso(event->mmap2.pid, event->mmap2.tid, in perf_event__repipe_buildid_mmap2() 566 thread = machine__findnew_thread(machine, sample->pid, sample->tid); in perf_event__inject_buildid() 641 u32 pid = evsel__intval(evsel, sample, "pid"); in perf_inject__sched_stat() local [all...] |
/kernel/linux/linux-5.10/sound/usb/ |
H A D | card.c | 70 static int pid[SNDRV_CARDS] = { [0 ... (SNDRV_CARDS-1)] = -1 }; variable 88 module_param_array(pid, int, NULL, 0444); 89 MODULE_PARM_DESC(pid, "Product ID for the USB audio device."); 345 #define PROFILE_NAME(vid, pid, vendor, product, profile) \ 346 { .id = USB_ID(vid, pid), .vendor_name = (vendor), \ 348 #define DEVICE_NAME(vid, pid, vendor, product) \ 349 PROFILE_NAME(vid, pid, vendor, product, NULL) 761 (pid[i] == -1 || pid[i] == USB_ID_PRODUCT(id))) { in usb_audio_probe() 768 } else if (vid[i] != -1 || pid[ in usb_audio_probe() [all...] |
/kernel/linux/linux-6.6/fs/notify/fanotify/ |
H A D | fanotify.c | 142 old->type != new->type || old->pid != new->pid) in fanotify_should_merge() 729 struct pid *pid; in fanotify_alloc_event() local 826 pid = get_pid(task_pid(current)); in fanotify_alloc_event() 828 pid = get_pid(task_tgid(current)); in fanotify_alloc_event() 830 /* Mix event info, FAN_ONDIR flag and pid into event merge key */ in fanotify_alloc_event() 831 hash ^= hash_long((unsigned long)pid | ondir, FANOTIFY_EVENT_HASH_BITS); in fanotify_alloc_event() 833 event->pid = pid; in fanotify_alloc_event() [all...] |
/kernel/linux/linux-6.6/sound/usb/ |
H A D | card.c | 68 static int pid[SNDRV_CARDS] = { [0 ... (SNDRV_CARDS-1)] = -1 }; variable 89 module_param_array(pid, int, NULL, 0444); 90 MODULE_PARM_DESC(pid, "Product ID for the USB audio device."); 350 #define PROFILE_NAME(vid, pid, vendor, product, profile) \ 351 { .id = USB_ID(vid, pid), .vendor_name = (vendor), \ 353 #define DEVICE_NAME(vid, pid, vendor, product) \ 354 PROFILE_NAME(vid, pid, vendor, product, NULL) 825 (pid[i] == -1 || pid[i] == USB_ID_PRODUCT(id))) { in usb_audio_probe() 832 } else if (vid[i] != -1 || pid[ in usb_audio_probe() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | uffd-unit-tests.c | 768 pid_t pid; in uffd_sigbus_test_common() local 788 pid = fork(); in uffd_sigbus_test_common() 789 if (pid < 0) in uffd_sigbus_test_common() 792 if (!pid) in uffd_sigbus_test_common() 795 waitpid(pid, &err, 0); in uffd_sigbus_test_common() 822 pid_t pid; in uffd_events_test_common() local 836 pid = fork(); in uffd_events_test_common() 837 if (pid < 0) in uffd_events_test_common() 840 if (!pid) in uffd_events_test_common() 843 waitpid(pid, in uffd_events_test_common() [all...] |
/kernel/linux/linux-6.6/mm/damon/ |
H A D | dbgfs.c | 339 /* Show pid numbers to debugfs users */ in sprint_target_ids() 340 id = pid_vnr(t->pid); in sprint_target_ids() 401 static void dbgfs_put_pids(struct pid **pids, int nr_pids) in dbgfs_put_pids() 410 * Converts a string into an struct pid pointers array 412 * Returns an array of struct pid pointers if the conversion success, or NULL 415 static struct pid **str_to_pids(const char *str, ssize_t len, ssize_t *nr_pids) in str_to_pids() 419 struct pid **pids; in str_to_pids() 453 * ignored if the context is not configured to have pid in each target. On 459 struct pid **pids) in dbgfs_set_targets() 466 put_pid(t->pid); in dbgfs_set_targets() [all...] |
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | file.c | 244 cifs_dbg(FYI, "Application %s pid %d has incorrectly set O_EXCL flag but not O_CREAT on file open. Ignoring O_EXCL\n", in cifs_posix_convert_flags() 485 cfile->pid = current->tgid; in cifs_new_fileinfo() 830 cfile->pid); in cifs_open() 1218 lock->pid = current->tgid; in cifs_lock_init() 1254 if (rw_check != CIFS_LOCK_OP && current->tgid == li->pid && in cifs_find_fid_lock_conflict() 1263 current->tgid == li->pid) || type == li->type)) in cifs_find_fid_lock_conflict() 1321 flock->fl_pid = conf_lock->pid; in cifs_lock_test() 1495 cur->Pid = cpu_to_le16(li->pid); in cifs_push_mandatory_locks() 1537 __u32 pid; member 1600 lck->pid in cifs_push_posix_locks() 2129 cifs_write(struct cifsFileInfo *open_file, __u32 pid, const char *write_data, size_t write_size, loff_t *offset) cifs_write() argument 3083 __u32 pid; cifs_write_end() local 3411 pid_t pid; cifs_write_from_iter() local 3952 pid_t pid; cifs_send_async_read() local 4321 __u32 pid; cifs_read() local 4522 pid_t pid; cifs_readahead() local [all...] |
/kernel/linux/linux-5.10/block/ |
H A D | bfq-iosched.h | 311 /* pid of the process owning the queue, used for logging purposes */ 312 pid_t pid; member 1062 static inline void bfq_pid_to_str(int pid, char *str, int len) in bfq_pid_to_str() argument 1064 if (pid != -1) in bfq_pid_to_str() 1065 snprintf(str, len, "%d", pid); in bfq_pid_to_str() 1077 bfq_pid_to_str((bfqq)->pid, pid_str, MAX_PID_STR_LENGTH); \ 1095 bfq_pid_to_str((bfqq)->pid, pid_str, MAX_PID_STR_LENGTH); \
|
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | map_perf_test_user.c | 346 pid_t pid[tasks]; in run_perf_test() local 352 pid[i] = fork(); in run_perf_test() 353 if (pid[i] == 0) { in run_perf_test() 356 } else if (pid[i] == -1) { in run_perf_test() 364 assert(waitpid(pid[i], &status, 0) == pid[i]); in run_perf_test()
|
/kernel/linux/linux-5.10/include/linux/soc/ti/ |
H A D | ti_sci_protocol.h | 475 * -pid: Processor ID 479 int (*request)(const struct ti_sci_handle *handle, u8 pid); 480 int (*release)(const struct ti_sci_handle *handle, u8 pid); 481 int (*handover)(const struct ti_sci_handle *handle, u8 pid, u8 hid); 482 int (*set_config)(const struct ti_sci_handle *handle, u8 pid, 484 int (*set_control)(const struct ti_sci_handle *handle, u8 pid, 486 int (*get_status)(const struct ti_sci_handle *handle, u8 pid,
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | code-reading.c | 386 thread = machine__findnew_thread(machine, sample.pid, sample.tid); in process_sample_event() 573 pid_t pid; in do_test_code_reading() local 577 pid = getpid(); in do_test_code_reading() 610 threads = thread_map__new_by_tid(pid); in do_test_code_reading() 623 thread = machine__findnew_thread(machine, pid, pid); in do_test_code_reading()
|
/kernel/linux/linux-5.10/net/ax25/ |
H A D | ax25_in.c | 102 unsigned char pid; in ax25_rx_iframe() local 109 pid = *skb->data; in ax25_rx_iframe() 111 if (pid == AX25_P_IP) { in ax25_rx_iframe() 131 if (pid == AX25_P_SEGMENT) { in ax25_rx_iframe() 136 if ((func = ax25_protocol_function(pid)) != NULL) { in ax25_rx_iframe() 142 if ((!ax25->pidincl && ax25->sk->sk_protocol == pid) || in ax25_rx_iframe() 230 skb_set_transport_header(skb, 2); /* skip control and pid */ in ax25_rcv() 237 /* Now we are pointing at the pid byte */ in ax25_rcv()
|
/kernel/linux/linux-6.6/include/linux/soc/ti/ |
H A D | ti_sci_protocol.h | 514 * -pid: Processor ID 518 int (*request)(const struct ti_sci_handle *handle, u8 pid); 519 int (*release)(const struct ti_sci_handle *handle, u8 pid); 520 int (*handover)(const struct ti_sci_handle *handle, u8 pid, u8 hid); 521 int (*set_config)(const struct ti_sci_handle *handle, u8 pid, 523 int (*set_control)(const struct ti_sci_handle *handle, u8 pid, 525 int (*get_status)(const struct ti_sci_handle *handle, u8 pid,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_debugfs.c | 97 struct pid *pid; in drm_clients_info() local 99 rcu_read_lock(); /* Locks priv->pid and pid_task()->comm! */ in drm_clients_info() 100 pid = rcu_dereference(priv->pid); in drm_clients_info() 101 task = pid_task(pid, PIDTYPE_TGID); in drm_clients_info() 105 pid_vnr(pid), in drm_clients_info()
|