Home
last modified time | relevance | path

Searched full:scm (Results 1 – 25 of 484) sorted by relevance

12345678910>>...20

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/firmware/
Dqcom,scm.yaml4 $id: http://devicetree.org/schemas/firmware/qcom,scm.yaml#
7 title: QCOM Secure Channel Manager (SCM)
24 - qcom,scm-apq8064
25 - qcom,scm-apq8084
26 - qcom,scm-ipq4019
27 - qcom,scm-ipq5332
28 - qcom,scm-ipq6018
29 - qcom,scm-ipq806x
30 - qcom,scm-ipq8074
31 - qcom,scm-ipq9574
[all …]
/kernel/linux/linux-6.6/include/net/
Dscm.h52 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm);
53 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm);
54 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm);
55 void __scm_destroy(struct scm_cookie *scm);
59 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram() argument
61 security_socket_getpeersec_dgram(sock, NULL, &scm->secid); in unix_get_peersec_dgram()
64 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram() argument
68 static __inline__ void scm_set_cred(struct scm_cookie *scm, in scm_set_cred() argument
71 scm->pid = get_pid(pid); in scm_set_cred()
72 scm->creds.pid = pid_vnr(pid); in scm_set_cred()
[all …]
/kernel/linux/linux-5.10/include/net/
Dscm.h40 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm);
41 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm);
42 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm);
43 void __scm_destroy(struct scm_cookie *scm);
47 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram() argument
49 security_socket_getpeersec_dgram(sock, NULL, &scm->secid); in unix_get_peersec_dgram()
52 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram() argument
56 static __inline__ void scm_set_cred(struct scm_cookie *scm, in scm_set_cred() argument
59 scm->pid = get_pid(pid); in scm_set_cred()
60 scm->creds.pid = pid_vnr(pid); in scm_set_cred()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/firmware/
Dqcom,scm.txt1 QCOM Secure Channel Manager (SCM)
10 * "qcom,scm-apq8064"
11 * "qcom,scm-apq8084"
12 * "qcom,scm-ipq4019"
13 * "qcom,scm-ipq806x"
14 * "qcom,scm-ipq8074"
15 * "qcom,scm-msm8660"
16 * "qcom,scm-msm8916"
17 * "qcom,scm-msm8960"
18 * "qcom,scm-msm8974"
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/arm/omap/
Dctrl.txt16 "ti,am3-scm"
17 "ti,am4-scm"
20 "ti,omap2-scm"
21 "ti,omap3-scm"
22 "ti,omap4-scm-core"
23 "ti,omap4-scm-padconf-core"
24 "ti,omap4-scm-wkup"
25 "ti,omap4-scm-padconf-wkup"
26 "ti,omap5-scm-core"
27 "ti,omap5-scm-padconf-core"
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/omap/
Dctrl.txt16 "ti,am3-scm"
17 "ti,am4-scm"
20 "ti,omap2-scm"
21 "ti,omap3-scm"
22 "ti,omap4-scm-core"
23 "ti,omap4-scm-padconf-core"
24 "ti,omap4-scm-wkup"
25 "ti,omap4-scm-padconf-wkup"
26 "ti,omap5-scm-core"
27 "ti,omap5-scm-padconf-core"
[all …]
/kernel/linux/linux-5.10/net/unix/
Dscm.c9 #include <net/scm.h>
13 #include "scm.h"
106 int unix_attach_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_attach_fds() argument
118 UNIXCB(skb).fp = scm_fp_dup(scm->fp); in unix_attach_fds()
122 for (i = scm->fp->count - 1; i >= 0; i--) in unix_attach_fds()
123 unix_inflight(scm->fp->user, scm->fp->fp[i]); in unix_attach_fds()
128 void unix_detach_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_detach_fds() argument
132 scm->fp = UNIXCB(skb).fp; in unix_detach_fds()
135 for (i = scm->fp->count-1; i >= 0; i--) in unix_detach_fds()
136 unix_notinflight(scm->fp->user, scm->fp->fp[i]); in unix_detach_fds()
[all …]
Daf_unix.c107 #include <net/scm.h>
117 #include "scm.h"
139 static void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_get_secdata() argument
141 UNIXCB(skb).secid = scm->secid; in unix_get_secdata()
144 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_set_secdata() argument
146 scm->secid = UNIXCB(skb).secid; in unix_set_secdata()
149 static inline bool unix_secdata_eq(struct scm_cookie *scm, struct sk_buff *skb) in unix_secdata_eq() argument
151 return (scm->secid == UNIXCB(skb).secid); in unix_secdata_eq()
154 static inline void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_get_secdata() argument
157 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_set_secdata() argument
[all …]
Dscm.h7 int unix_attach_fds(struct scm_cookie *scm, struct sk_buff *skb);
8 void unix_detach_fds(struct scm_cookie *scm, struct sk_buff *skb);
/kernel/linux/linux-5.10/drivers/scsi/csiostor/
Dcsio_scsi.h192 csio_get_scsi_ioreq(struct csio_scsim *scm) in csio_get_scsi_ioreq() argument
196 if (likely(!list_empty(&scm->ioreq_freelist))) { in csio_get_scsi_ioreq()
197 req = list_first_entry(&scm->ioreq_freelist, in csio_get_scsi_ioreq()
200 CSIO_DEC_STATS(scm, n_free_ioreq); in csio_get_scsi_ioreq()
207 csio_put_scsi_ioreq(struct csio_scsim *scm, struct csio_ioreq *ioreq) in csio_put_scsi_ioreq() argument
209 list_add_tail(&ioreq->sm.sm_list, &scm->ioreq_freelist); in csio_put_scsi_ioreq()
210 CSIO_INC_STATS(scm, n_free_ioreq); in csio_put_scsi_ioreq()
214 csio_put_scsi_ioreq_list(struct csio_scsim *scm, struct list_head *reqlist, in csio_put_scsi_ioreq_list() argument
217 list_splice_init(reqlist, &scm->ioreq_freelist); in csio_put_scsi_ioreq_list()
218 scm->stats.n_free_ioreq += n; in csio_put_scsi_ioreq_list()
[all …]
Dcsio_scsi.c111 * @scm: SCSI module
118 csio_scsi_gather_active_ios(struct csio_scsim *scm, in csio_scsi_gather_active_ios() argument
124 if (list_empty(&scm->active_q)) in csio_scsi_gather_active_ios()
129 list_splice_tail_init(&scm->active_q, dest); in csio_scsi_gather_active_ios()
133 list_for_each_safe(tmp, next, &scm->active_q) { in csio_scsi_gather_active_ios()
776 struct csio_scsim *scm = csio_hw_to_scsim(hw); in csio_scsis_io_active() local
781 CSIO_DEC_STATS(scm, n_active); in csio_scsis_io_active()
834 CSIO_DEC_STATS(scm, n_active); in csio_scsis_io_active()
848 struct csio_scsim *scm = csio_hw_to_scsim(hw); in csio_scsis_tm_active() local
852 CSIO_DEC_STATS(scm, n_tm_active); in csio_scsis_tm_active()
[all …]
/kernel/linux/linux-6.6/drivers/scsi/csiostor/
Dcsio_scsi.h202 csio_get_scsi_ioreq(struct csio_scsim *scm) in csio_get_scsi_ioreq() argument
206 if (likely(!list_empty(&scm->ioreq_freelist))) { in csio_get_scsi_ioreq()
207 req = list_first_entry(&scm->ioreq_freelist, in csio_get_scsi_ioreq()
210 CSIO_DEC_STATS(scm, n_free_ioreq); in csio_get_scsi_ioreq()
217 csio_put_scsi_ioreq(struct csio_scsim *scm, struct csio_ioreq *ioreq) in csio_put_scsi_ioreq() argument
219 list_add_tail(&ioreq->sm.sm_list, &scm->ioreq_freelist); in csio_put_scsi_ioreq()
220 CSIO_INC_STATS(scm, n_free_ioreq); in csio_put_scsi_ioreq()
224 csio_put_scsi_ioreq_list(struct csio_scsim *scm, struct list_head *reqlist, in csio_put_scsi_ioreq_list() argument
227 list_splice_init(reqlist, &scm->ioreq_freelist); in csio_put_scsi_ioreq_list()
228 scm->stats.n_free_ioreq += n; in csio_put_scsi_ioreq_list()
[all …]
Dcsio_scsi.c111 * @scm: SCSI module
118 csio_scsi_gather_active_ios(struct csio_scsim *scm, in csio_scsi_gather_active_ios() argument
124 if (list_empty(&scm->active_q)) in csio_scsi_gather_active_ios()
129 list_splice_tail_init(&scm->active_q, dest); in csio_scsi_gather_active_ios()
133 list_for_each_safe(tmp, next, &scm->active_q) { in csio_scsi_gather_active_ios()
776 struct csio_scsim *scm = csio_hw_to_scsim(hw); in csio_scsis_io_active() local
781 CSIO_DEC_STATS(scm, n_active); in csio_scsis_io_active()
834 CSIO_DEC_STATS(scm, n_active); in csio_scsis_io_active()
848 struct csio_scsim *scm = csio_hw_to_scsim(hw); in csio_scsis_tm_active() local
852 CSIO_DEC_STATS(scm, n_tm_active); in csio_scsis_tm_active()
[all …]
/kernel/linux/linux-6.6/drivers/firmware/
Dqcom_scm.c192 if (of_device_is_compatible(__scm ? __scm->dev->of_node : NULL, "qcom,scm-sc7180")) { in __get_convention()
223 * Sends a command to the SCM and waits for the command to finish processing.
237 pr_err("Unknown current SCM calling convention.\n"); in qcom_scm_call()
248 * Sends a command to the SCM and waits for the command to finish processing.
262 pr_err("Unknown current SCM calling convention.\n"); in qcom_scm_call_atomic()
347 * Set the Linux entry point for the SCM to transfer control to when coming
353 /* Fallback to old SCM call */ in qcom_scm_set_warm_boot_addr()
366 /* Fallback to old SCM call */ in qcom_scm_set_cold_boot_addr()
483 * During the scm call memory protection will be enabled for the meta in qcom_scm_pas_init_image()
1048 * Return: true iff the SCM calls wrapped by qcom_scm_ice_invalidate_key() and
[all …]
Dqcom_scm-legacy.c31 * struct scm_legacy_command - one SCM command buffer
38 * An SCM command is laid out in memory as follows:
63 * struct scm_legacy_response - one SCM response buffer
121 * scm_legacy_call() - Sends a command to the SCM and waits for the command to
215 * scm_legacy_call_atomic() - Send an atomic SCM command with up to 5 arguments
218 * @desc: SCM call descriptor containing arguments
219 * @res: SCM call return values
/kernel/linux/linux-5.10/drivers/firmware/
Dqcom_scm.c161 if (of_device_is_compatible(__scm ? __scm->dev->of_node : NULL, "qcom,scm-sc7180")) { in __get_convention()
193 * Sends a command to the SCM and waits for the command to finish processing.
207 pr_err("Unknown current SCM calling convention.\n"); in qcom_scm_call()
220 * Sends a command to the SCM and waits for the command to finish processing.
234 pr_err("Unknown current SCM calling convention.\n"); in qcom_scm_call_atomic()
275 * Set the Linux entry point for the SCM to transfer control to when coming
463 * During the scm call memory protection will be enabled for the meta in qcom_scm_pas_init_image()
962 * Return: true iff the SCM calls wrapped by qcom_scm_ice_invalidate_key() and
979 * these SoCs; only this SCM call does.
1011 * these SoCs; only this SCM call does.
[all …]
Dqcom_scm-legacy.c31 * struct scm_legacy_command - one SCM command buffer
38 * An SCM command is laid out in memory as follows:
63 * struct scm_legacy_response - one SCM response buffer
121 * qcom_scm_call() - Sends a command to the SCM and waits for the command to
212 * qcom_scm_call_atomic() - Send an atomic SCM command with up to 5 arguments
214 * @desc: SCM call descriptor containing arguments
215 * @res: SCM call return values
/kernel/linux/linux-5.10/net/core/
Dscm.c2 /* scm.c - Socket level control messages processing.
37 #include <net/scm.h>
122 void __scm_destroy(struct scm_cookie *scm) in __scm_destroy() argument
124 struct scm_fp_list *fpl = scm->fp; in __scm_destroy()
128 scm->fp = NULL; in __scm_destroy()
296 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds() argument
301 int fdmax = min_t(int, scm_max_fds(msg), scm->fp->count); in scm_detach_fds()
310 scm_detach_fds_compat(msg, scm); in scm_detach_fds()
315 err = receive_fd_user(scm->fp->fp[i], cmsg_data + i, o_flags); in scm_detach_fds()
337 if (i < scm->fp->count || (scm->fp->count && fdmax <= 0)) in scm_detach_fds()
[all …]
/kernel/linux/linux-6.6/tools/testing/nvdimm/test/
Dndtest.h8 /* SCM device is unable to persist memory contents */
10 /* SCM device failed to persist memory contents */
12 /* SCM device contents are not persisted from previous IPL */
15 /* SCM device will be garded off next IPL due to failure */
17 /* SCM contents cannot persist due to current platform health status */
/kernel/linux/linux-6.6/net/core/
Dscm.c2 /* scm.c - Socket level control messages processing.
37 #include <net/scm.h>
133 void __scm_destroy(struct scm_cookie *scm) in __scm_destroy() argument
135 struct scm_fp_list *fpl = scm->fp; in __scm_destroy()
139 scm->fp = NULL; in __scm_destroy()
320 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds() argument
325 int fdmax = min_t(int, scm_max_fds(msg), scm->fp->count); in scm_detach_fds()
334 scm_detach_fds_compat(msg, scm); in scm_detach_fds()
339 err = receive_fd_user(scm->fp->fp[i], cmsg_data + i, o_flags); in scm_detach_fds()
361 if (i < scm->fp->count || (scm->fp->count && fdmax <= 0)) in scm_detach_fds()
[all …]
/kernel/linux/linux-6.6/net/unix/
Daf_unix.c108 #include <net/scm.h>
226 static void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_get_secdata() argument
228 UNIXCB(skb).secid = scm->secid; in unix_get_secdata()
231 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_set_secdata() argument
233 scm->secid = UNIXCB(skb).secid; in unix_set_secdata()
236 static inline bool unix_secdata_eq(struct scm_cookie *scm, struct sk_buff *skb) in unix_secdata_eq() argument
238 return (scm->secid == UNIXCB(skb).secid); in unix_secdata_eq()
241 static inline void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_get_secdata() argument
244 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_set_secdata() argument
247 static inline bool unix_secdata_eq(struct scm_cookie *scm, struct sk_buff *skb) in unix_secdata_eq() argument
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/crypto/
Dfsl-imx-scc.yaml21 - description: SCC SCM interrupt
26 - const: scm
53 interrupt-names = "scm", "smn";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/crypto/
Dfsl-imx-scc.yaml21 - description: SCC SCM interrupt
26 - const: scm
53 interrupt-names = "scm", "smn";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/
Dti,phy-gmii-sel.yaml17 (GMII_SEL) in the System Control Module chapter (SCM). GMII_SEL register(s) and
18 bit fields placement in SCM are different between SoCs while fields meaning
21 +-------------------------------+ |SCM |
45 of SCM node (scm_conf) and can be attached to each CPSW port node using standard
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/soc/ti/
Dwkup_m3_ipc.txt38 scm: scm@210000 {
39 compatible = "ti,am3-scm", "simple-bus";

12345678910>>...20