/kernel/linux/linux-5.10/drivers/remoteproc/ |
H A D | ti_sci_proc.h | 31 static inline int ti_sci_proc_request(struct ti_sci_proc *tsp) in ti_sci_proc_request() argument 35 ret = tsp->ops->request(tsp->sci, tsp->proc_id); in ti_sci_proc_request() 37 dev_err(tsp->dev, "ti-sci processor request failed: %d\n", in ti_sci_proc_request() 42 static inline int ti_sci_proc_release(struct ti_sci_proc *tsp) in ti_sci_proc_release() argument 46 ret = tsp->ops->release(tsp->sci, tsp->proc_id); in ti_sci_proc_release() 48 dev_err(tsp in ti_sci_proc_release() 53 ti_sci_proc_handover(struct ti_sci_proc *tsp) ti_sci_proc_handover() argument 64 ti_sci_proc_set_config(struct ti_sci_proc *tsp, u64 boot_vector, u32 cfg_set, u32 cfg_clr) ti_sci_proc_set_config() argument 78 ti_sci_proc_set_control(struct ti_sci_proc *tsp, u32 ctrl_set, u32 ctrl_clr) ti_sci_proc_set_control() argument 90 ti_sci_proc_get_status(struct ti_sci_proc *tsp, u64 *boot_vector, u32 *cfg_flags, u32 *ctrl_flags, u32 *status_flags) ti_sci_proc_get_status() argument [all...] |
H A D | ti_k3_dsp_remoteproc.c | 74 * @tsp: TI-SCI processor control handle 89 struct ti_sci_proc *tsp; member 317 ret = ti_sci_proc_set_config(kproc->tsp, boot_addr, 0, 0); in k3_dsp_rproc_start() 565 struct ti_sci_proc *tsp; in k3_dsp_rproc_of_get_tsp() local 574 tsp = kzalloc(sizeof(*tsp), GFP_KERNEL); in k3_dsp_rproc_of_get_tsp() 575 if (!tsp) in k3_dsp_rproc_of_get_tsp() 578 tsp->dev = dev; in k3_dsp_rproc_of_get_tsp() 579 tsp->sci = sci; in k3_dsp_rproc_of_get_tsp() 580 tsp in k3_dsp_rproc_of_get_tsp() [all...] |
H A D | ti_k3_r5_remoteproc.c | 92 * @tsp: TI-SCI processor control handle 108 struct ti_sci_proc *tsp; member 341 return ti_sci_proc_set_control(core->tsp, in k3_r5_core_halt() 347 return ti_sci_proc_set_control(core->tsp, in k3_r5_core_run() 469 ret = ti_sci_proc_set_config(core->tsp, boot_addr, 0, 0); in k3_r5_rproc_start() 675 ret = ti_sci_proc_get_status(core->tsp, &boot_vec, &cfg, &ctrl, in k3_r5_rproc_configure() 732 ret = ti_sci_proc_set_config(temp->tsp, boot_vec, in k3_r5_rproc_configure() 740 ret = ti_sci_proc_set_config(core->tsp, boot_vec, in k3_r5_rproc_configure() 747 ret = ti_sci_proc_set_config(core->tsp, boot_vec, in k3_r5_rproc_configure() 1107 struct ti_sci_proc *tsp; in k3_r5_core_of_get_tsp() local [all...] |
/kernel/linux/linux-6.6/drivers/remoteproc/ |
H A D | ti_sci_proc.h | 31 static inline int ti_sci_proc_request(struct ti_sci_proc *tsp) in ti_sci_proc_request() argument 35 ret = tsp->ops->request(tsp->sci, tsp->proc_id); in ti_sci_proc_request() 37 dev_err(tsp->dev, "ti-sci processor request failed: %d\n", in ti_sci_proc_request() 42 static inline int ti_sci_proc_release(struct ti_sci_proc *tsp) in ti_sci_proc_release() argument 46 ret = tsp->ops->release(tsp->sci, tsp->proc_id); in ti_sci_proc_release() 48 dev_err(tsp in ti_sci_proc_release() 53 ti_sci_proc_handover(struct ti_sci_proc *tsp) ti_sci_proc_handover() argument 64 ti_sci_proc_set_config(struct ti_sci_proc *tsp, u64 boot_vector, u32 cfg_set, u32 cfg_clr) ti_sci_proc_set_config() argument 78 ti_sci_proc_set_control(struct ti_sci_proc *tsp, u32 ctrl_set, u32 ctrl_clr) ti_sci_proc_set_control() argument 90 ti_sci_proc_get_status(struct ti_sci_proc *tsp, u64 *boot_vector, u32 *cfg_flags, u32 *ctrl_flags, u32 *status_flags) ti_sci_proc_get_status() argument [all...] |
H A D | ti_k3_dsp_remoteproc.c | 74 * @tsp: TI-SCI processor control handle 89 struct ti_sci_proc *tsp; member 331 ret = ti_sci_proc_set_config(kproc->tsp, boot_addr, 0, 0); in k3_dsp_rproc_start() 651 struct ti_sci_proc *tsp; in k3_dsp_rproc_of_get_tsp() local 660 tsp = kzalloc(sizeof(*tsp), GFP_KERNEL); in k3_dsp_rproc_of_get_tsp() 661 if (!tsp) in k3_dsp_rproc_of_get_tsp() 664 tsp->dev = dev; in k3_dsp_rproc_of_get_tsp() 665 tsp->sci = sci; in k3_dsp_rproc_of_get_tsp() 666 tsp in k3_dsp_rproc_of_get_tsp() [all...] |
H A D | ti_k3_r5_remoteproc.c | 125 * @tsp: TI-SCI processor control handle 141 struct ti_sci_proc *tsp; member 374 return ti_sci_proc_set_control(core->tsp, in k3_r5_core_halt() 380 return ti_sci_proc_set_control(core->tsp, in k3_r5_core_run() 449 ret = ti_sci_proc_get_status(core->tsp, &boot_vec, &cfg, &ctrl, &stat); in k3_r5_rproc_prepare() 559 ret = ti_sci_proc_set_config(core->tsp, boot_addr, 0, 0); in k3_r5_rproc_start() 853 ret = ti_sci_proc_get_status(core->tsp, &boot_vec, &cfg, &ctrl, in k3_r5_rproc_configure() 931 ret = ti_sci_proc_set_config(temp->tsp, boot_vec, in k3_r5_rproc_configure() 939 ret = ti_sci_proc_set_config(core->tsp, boot_vec, in k3_r5_rproc_configure() 946 ret = ti_sci_proc_set_config(core->tsp, boot_ve in k3_r5_rproc_configure() 1486 struct ti_sci_proc *tsp; k3_r5_core_of_get_tsp() local [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | select.c | 732 fd_set __user *exp, void __user *tsp, in do_pselect() 739 if (tsp) { in do_pselect() 742 if (get_timespec64(&ts, tsp)) in do_pselect() 746 if (get_old_timespec32(&ts, tsp)) in do_pselect() 763 return poll_select_finish(&end_time, tsp, type, ret); in do_pselect() 795 fd_set __user *, exp, struct __kernel_timespec __user *, tsp, in SYSCALL_DEFINE6() 803 return do_pselect(n, inp, outp, exp, tsp, x.p, x.size, PT_TIMESPEC); in SYSCALL_DEFINE6() 809 fd_set __user *, exp, struct old_timespec32 __user *, tsp, in SYSCALL_DEFINE6() 817 return do_pselect(n, inp, outp, exp, tsp, x.p, x.size, PT_OLD_TIMESPEC); in SYSCALL_DEFINE6() 1101 struct __kernel_timespec __user *, tsp, cons in SYSCALL_DEFINE5() 731 do_pselect(int n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp, void __user *tsp, const sigset_t __user *sigmask, size_t sigsetsize, enum poll_time_type type) do_pselect() argument 1312 do_compat_pselect(int n, compat_ulong_t __user *inp, compat_ulong_t __user *outp, compat_ulong_t __user *exp, void __user *tsp, compat_sigset_t __user *sigmask, compat_size_t sigsetsize, enum poll_time_type type) do_compat_pselect() argument [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | select.c | 733 fd_set __user *exp, void __user *tsp, in do_pselect() 740 if (tsp) { in do_pselect() 743 if (get_timespec64(&ts, tsp)) in do_pselect() 747 if (get_old_timespec32(&ts, tsp)) in do_pselect() 764 return poll_select_finish(&end_time, tsp, type, ret); in do_pselect() 796 fd_set __user *, exp, struct __kernel_timespec __user *, tsp, in SYSCALL_DEFINE6() 804 return do_pselect(n, inp, outp, exp, tsp, x.p, x.size, PT_TIMESPEC); in SYSCALL_DEFINE6() 810 fd_set __user *, exp, struct old_timespec32 __user *, tsp, in SYSCALL_DEFINE6() 818 return do_pselect(n, inp, outp, exp, tsp, x.p, x.size, PT_OLD_TIMESPEC); in SYSCALL_DEFINE6() 1102 struct __kernel_timespec __user *, tsp, cons in SYSCALL_DEFINE5() 732 do_pselect(int n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp, void __user *tsp, const sigset_t __user *sigmask, size_t sigsetsize, enum poll_time_type type) do_pselect() argument 1313 do_compat_pselect(int n, compat_ulong_t __user *inp, compat_ulong_t __user *outp, compat_ulong_t __user *exp, void __user *tsp, compat_sigset_t __user *sigmask, compat_size_t sigsetsize, enum poll_time_type type) do_compat_pselect() argument [all...] |
/kernel/linux/linux-5.10/net/sctp/ |
H A D | proc.c | 305 struct sctp_transport *transport, *tsp; in sctp_remaddr_seq_show() local 316 list_for_each_entry_rcu(tsp, &assoc->peer.transport_addr_list, in sctp_remaddr_seq_show() 321 tsp->af_specific->seq_dump_addr(seq, &tsp->ipaddr); in sctp_remaddr_seq_show() 326 seq_printf(seq, "%d ", tsp->asoc->assoc_id); in sctp_remaddr_seq_show() 332 seq_printf(seq, "%d ", timer_pending(&tsp->hb_timer)); in sctp_remaddr_seq_show() 337 seq_printf(seq, "%lu ", tsp->rto); in sctp_remaddr_seq_show() 342 seq_printf(seq, "%d ", tsp->pathmaxrxt); in sctp_remaddr_seq_show() 362 seq_printf(seq, "%d", tsp->state); in sctp_remaddr_seq_show()
|
H A D | diag.c | 245 static int sctp_tsp_dump_one(struct sctp_transport *tsp, void *p) in sctp_tsp_dump_one() argument 247 struct sctp_association *assoc = tsp->asoc; in sctp_tsp_dump_one() 248 struct sock *sk = tsp->asoc->base.sk; in sctp_tsp_dump_one() 292 static int sctp_sock_dump(struct sctp_endpoint *ep, struct sctp_transport *tsp, void *p) in sctp_sock_dump() argument 303 if (ep != tsp->asoc->ep) in sctp_sock_dump() 347 static int sctp_sock_filter(struct sctp_endpoint *ep, struct sctp_transport *tsp, void *p) in sctp_sock_filter() argument 354 if (!list_is_first(&tsp->asoc->asocs, &ep->asocs)) in sctp_sock_filter() 500 * 5 : to save the sk we get from travelsing the tsp list. in sctp_diag_dump()
|
/kernel/linux/linux-6.6/net/sctp/ |
H A D | proc.c | 303 struct sctp_transport *transport, *tsp; in sctp_remaddr_seq_show() local 314 list_for_each_entry_rcu(tsp, &assoc->peer.transport_addr_list, in sctp_remaddr_seq_show() 319 tsp->af_specific->seq_dump_addr(seq, &tsp->ipaddr); in sctp_remaddr_seq_show() 324 seq_printf(seq, "%d ", tsp->asoc->assoc_id); in sctp_remaddr_seq_show() 330 seq_printf(seq, "%d ", timer_pending(&tsp->hb_timer)); in sctp_remaddr_seq_show() 335 seq_printf(seq, "%lu ", tsp->rto); in sctp_remaddr_seq_show() 340 seq_printf(seq, "%d ", tsp->pathmaxrxt); in sctp_remaddr_seq_show() 360 seq_printf(seq, "%d", tsp->state); in sctp_remaddr_seq_show()
|
H A D | diag.c | 245 static int sctp_sock_dump_one(struct sctp_endpoint *ep, struct sctp_transport *tsp, void *p) in sctp_sock_dump_one() argument 247 struct sctp_association *assoc = tsp->asoc; in sctp_sock_dump_one() 286 static int sctp_sock_dump(struct sctp_endpoint *ep, struct sctp_transport *tsp, void *p) in sctp_sock_dump() argument 297 if (ep != tsp->asoc->ep) in sctp_sock_dump() 341 static int sctp_sock_filter(struct sctp_endpoint *ep, struct sctp_transport *tsp, void *p) in sctp_sock_filter() argument 348 if (!list_is_first(&tsp->asoc->asocs, &ep->asocs)) in sctp_sock_filter() 495 * 5 : to save the sk we get from travelsing the tsp list. in sctp_diag_dump()
|
/kernel/linux/linux-5.10/tools/bpf/runqslower/ |
H A D | runqslower.bpf.c | 67 u64 *tsp, delta_us; in handle__sched_switch() local 78 tsp = bpf_map_lookup_elem(&start, &pid); in handle__sched_switch() 79 if (!tsp) in handle__sched_switch() 82 delta_us = (bpf_ktime_get_ns() - *tsp) / 1000; in handle__sched_switch()
|
/kernel/linux/linux-6.6/tools/bpf/runqslower/ |
H A D | runqslower.bpf.c | 72 u64 *tsp, delta_us; in handle__sched_switch() local 87 tsp = bpf_task_storage_get(&start, next, 0, 0); in handle__sched_switch() 88 if (!tsp) in handle__sched_switch() 91 delta_us = (bpf_ktime_get_ns() - *tsp) / 1000; in handle__sched_switch()
|
/kernel/linux/linux-6.6/security/smack/ |
H A D | smack_lsm.c | 152 struct task_smack *tsp = smack_cred(current_cred()); in smk_bu_current() local 162 tsp->smk_task->smk_known, oskp->smk_known, in smk_bu_current() 173 struct task_smack *tsp = smack_cred(current_cred()); in smk_bu_task() local 184 tsp->smk_task->smk_known, smk_task->smk_known, acc, in smk_bu_task() 195 struct task_smack *tsp = smack_cred(current_cred()); in smk_bu_inode() local 214 tsp->smk_task->smk_known, isp->smk_inode->smk_known, acc, in smk_bu_inode() 225 struct task_smack *tsp = smack_cred(current_cred()); in smk_bu_file() local 226 struct smack_known *sskp = tsp->smk_task; in smk_bu_file() 255 struct task_smack *tsp = smack_cred(cred); in smk_bu_credfile() local 256 struct smack_known *sskp = tsp in smk_bu_credfile() 338 init_task_smack(struct task_smack *tsp, struct smack_known *task, struct smack_known *forked) init_task_smack() argument 433 struct task_smack *tsp; smk_ptrace_rule_check() local 994 struct task_smack *tsp = smack_cred(current_cred()); smack_inode_init_security() local 1787 struct task_smack *tsp; smack_mmap_file() local 1952 struct task_smack *tsp; smack_file_receive() local 2005 struct task_smack *tsp = smack_cred(file->f_cred); smack_file_open() local 2045 struct task_smack *tsp = smack_cred(cred); smack_cred_free() local 2149 struct task_smack *tsp = smack_cred(new); smack_kernel_create_files_as() local 3679 struct task_smack *tsp = smack_cred(current_cred()); smack_setprocattr() local 4789 struct task_smack *tsp; smack_inode_copy_up() local 4874 struct task_smack *tsp = smack_cred(current_cred()); smack_uring_override_creds() local 4916 struct task_smack *tsp; smack_uring_cmd() local 5139 struct task_smack *tsp; smack_init() local [all...] |
H A D | smack_access.c | 208 * @tsp: a pointer to the subject's task 218 int smk_tskacc(struct task_smack *tsp, struct smack_known *obj_known, in smk_tskacc() argument 221 struct smack_known *sbj_known = smk_of_task(tsp); in smk_tskacc() 236 &tsp->smk_rules); in smk_tskacc() 273 struct task_smack *tsp = smack_cred(current_cred()); in smk_curacc() local 275 return smk_tskacc(tsp, obj_known, mode, a); in smk_curacc() 652 struct task_smack *tsp = smack_cred(cred); in smack_privileged_cred() local 653 struct smack_known *skp = tsp->smk_task; in smack_privileged_cred()
|
H A D | smackfs.c | 2225 struct task_smack *tsp = smack_cred(current_cred()); in load_self_seq_start() local 2227 return smk_seq_start(s, pos, &tsp->smk_rules); in load_self_seq_start() 2232 struct task_smack *tsp = smack_cred(current_cred()); in load_self_seq_next() local 2234 return smk_seq_next(s, v, pos, &tsp->smk_rules); in load_self_seq_next() 2279 struct task_smack *tsp = smack_cred(current_cred()); in smk_write_load_self() local 2281 return smk_write_rules_list(file, buf, count, ppos, &tsp->smk_rules, in smk_write_load_self() 2282 &tsp->smk_rules_lock, SMK_FIXED24_FMT); in smk_write_load_self() 2434 struct task_smack *tsp = smack_cred(current_cred()); in load_self2_seq_start() local 2436 return smk_seq_start(s, pos, &tsp->smk_rules); in load_self2_seq_start() 2441 struct task_smack *tsp in load_self2_seq_next() local 2487 struct task_smack *tsp = smack_cred(current_cred()); smk_write_load_self2() local 2705 struct task_smack *tsp = smack_cred(current_cred()); relabel_self_seq_start() local 2712 struct task_smack *tsp = smack_cred(current_cred()); relabel_self_seq_next() local 2788 struct task_smack *tsp; smk_write_relabel_self() local [all...] |
H A D | smack.h | 379 static inline struct smack_known *smk_of_task(const struct task_smack *tsp) in smk_of_task() argument 381 return tsp->smk_task; in smk_of_task() 403 static inline struct smack_known *smk_of_forked(const struct task_smack *tsp) in smk_of_forked() argument 405 return tsp->smk_forked; in smk_of_forked()
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | offwaketime.bpf.c | 120 u64 delta, ts, *tsp; local 127 tsp = bpf_map_lookup_elem(&start, &pid); 128 if (!tsp) 132 delta = bpf_ktime_get_ns() - *tsp;
|
/kernel/linux/linux-5.10/security/smack/ |
H A D | smack_access.c | 208 * @tsp: a pointer to the subject's task 218 int smk_tskacc(struct task_smack *tsp, struct smack_known *obj_known, in smk_tskacc() argument 221 struct smack_known *sbj_known = smk_of_task(tsp); in smk_tskacc() 236 &tsp->smk_rules); in smk_tskacc() 273 struct task_smack *tsp = smack_cred(current_cred()); in smk_curacc() local 275 return smk_tskacc(tsp, obj_known, mode, a); in smk_curacc() 652 struct task_smack *tsp = smack_cred(cred); in smack_privileged_cred() local 653 struct smack_known *skp = tsp->smk_task; in smack_privileged_cred()
|
H A D | smack_lsm.c | 140 struct task_smack *tsp = smack_cred(current_cred()); in smk_bu_current() local 150 tsp->smk_task->smk_known, oskp->smk_known, in smk_bu_current() 161 struct task_smack *tsp = smack_cred(current_cred()); in smk_bu_task() local 172 tsp->smk_task->smk_known, smk_task->smk_known, acc, in smk_bu_task() 183 struct task_smack *tsp = smack_cred(current_cred()); in smk_bu_inode() local 202 tsp->smk_task->smk_known, isp->smk_inode->smk_known, acc, in smk_bu_inode() 213 struct task_smack *tsp = smack_cred(current_cred()); in smk_bu_file() local 214 struct smack_known *sskp = tsp->smk_task; in smk_bu_file() 243 struct task_smack *tsp = smack_cred(cred); in smk_bu_credfile() local 244 struct smack_known *sskp = tsp in smk_bu_credfile() 326 init_task_smack(struct task_smack *tsp, struct smack_known *task, struct smack_known *forked) init_task_smack() argument 421 struct task_smack *tsp; smk_ptrace_rule_check() local 975 struct task_smack *tsp = smack_cred(current_cred()); smack_inode_init_security() local 1682 struct task_smack *tsp; smack_mmap_file() local 1847 struct task_smack *tsp; smack_file_receive() local 1900 struct task_smack *tsp = smack_cred(file->f_cred); smack_file_open() local 1940 struct task_smack *tsp = smack_cred(cred); smack_cred_free() local 2044 struct task_smack *tsp = smack_cred(new); smack_kernel_create_files_as() local 3542 struct task_smack *tsp = smack_cred(current_cred()); smack_setprocattr() local 4650 struct task_smack *tsp; smack_inode_copy_up() local 4916 struct task_smack *tsp; smack_init() local [all...] |
H A D | smackfs.c | 2214 struct task_smack *tsp = smack_cred(current_cred()); in load_self_seq_start() local 2216 return smk_seq_start(s, pos, &tsp->smk_rules); in load_self_seq_start() 2221 struct task_smack *tsp = smack_cred(current_cred()); in load_self_seq_next() local 2223 return smk_seq_next(s, v, pos, &tsp->smk_rules); in load_self_seq_next() 2268 struct task_smack *tsp = smack_cred(current_cred()); in smk_write_load_self() local 2270 return smk_write_rules_list(file, buf, count, ppos, &tsp->smk_rules, in smk_write_load_self() 2271 &tsp->smk_rules_lock, SMK_FIXED24_FMT); in smk_write_load_self() 2422 struct task_smack *tsp = smack_cred(current_cred()); in load_self2_seq_start() local 2424 return smk_seq_start(s, pos, &tsp->smk_rules); in load_self2_seq_start() 2429 struct task_smack *tsp in load_self2_seq_next() local 2475 struct task_smack *tsp = smack_cred(current_cred()); smk_write_load_self2() local 2693 struct task_smack *tsp = smack_cred(current_cred()); relabel_self_seq_start() local 2700 struct task_smack *tsp = smack_cred(current_cred()); relabel_self_seq_next() local 2776 struct task_smack *tsp; smk_write_relabel_self() local [all...] |
H A D | smack.h | 382 static inline struct smack_known *smk_of_task(const struct task_smack *tsp) in smk_of_task() argument 384 return tsp->smk_task; in smk_of_task() 406 static inline struct smack_known *smk_of_forked(const struct task_smack *tsp) in smk_of_forked() argument 408 return tsp->smk_forked; in smk_of_forked()
|
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | offwaketime_kern.c | 136 u64 delta, ts, *tsp; local 143 tsp = bpf_map_lookup_elem(&start, &pid); 144 if (!tsp) 148 delta = bpf_ktime_get_ns() - *tsp;
|
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-qcom-cci.c | 105 u16 tsp; /* pulse width of spikes suppressed by the input filter */ member 288 val = hw->scl_stretch_en << 8 | hw->trdhld << 4 | hw->tsp; in cci_init() 713 .tsp = 1 725 .tsp = 3 747 .tsp = 1 759 .tsp = 3 781 .tsp = 3 793 .tsp = 3 805 .tsp = 3
|