| /kernel/linux/linux-5.10/include/net/ |
| D | scm.h | 40 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-4.19/include/net/ |
| D | scm.h | 40 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/ |
| D | qcom,scm.txt | 1 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-4.19/Documentation/devicetree/bindings/firmware/ |
| D | qcom,scm.txt | 1 QCOM Secure Channel Manager (SCM) 10 * "qcom,scm-apq8064" for APQ8064 platforms 11 * "qcom,scm-msm8660" for MSM8660 platforms 12 * "qcom,scm-msm8690" for MSM8690 platforms 13 * "qcom,scm-msm8996" for MSM8996 platforms 14 * "qcom,scm-ipq4019" for IPQ4019 platforms 15 * "qcom,scm" for later processors (MSM8916, APQ8084, MSM8974, etc) 17 * No clock required for "qcom,scm-msm8996", "qcom,scm-ipq4019" 18 * Only core clock required for "qcom,scm-apq8064", "qcom,scm-msm8660", and "qcom,scm-msm8960" 19 * Core, iface, and bus clocks required for "qcom,scm" [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/omap/ |
| D | ctrl.txt | 16 "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-4.19/Documentation/devicetree/bindings/arm/omap/ |
| D | ctrl.txt | 16 "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/ |
| D | scm.c | 9 #include <net/scm.h> 13 #include "scm.h" 104 int unix_attach_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_attach_fds() argument 116 UNIXCB(skb).fp = scm_fp_dup(scm->fp); in unix_attach_fds() 120 for (i = scm->fp->count - 1; i >= 0; i--) in unix_attach_fds() 121 unix_inflight(scm->fp->user, scm->fp->fp[i]); in unix_attach_fds() 126 void unix_detach_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_detach_fds() argument 130 scm->fp = UNIXCB(skb).fp; in unix_detach_fds() 133 for (i = scm->fp->count-1; i >= 0; i--) in unix_detach_fds() 134 unix_notinflight(scm->fp->user, scm->fp->fp[i]); in unix_detach_fds() [all …]
|
| D | af_unix.c | 107 #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 …]
|
| D | scm.h | 7 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-4.19/drivers/firmware/ |
| D | qcom_scm.c | 2 * Qualcomm SCM driver 117 * Set the Linux entry point for the SCM to transfer control to when coming 165 * @resp: response buffer passed to SCM 167 * Write HDCP register(s) through SCM. 221 * During the scm call memory protection will be enabled for the meta in qcom_scm_pas_init_image() 417 * qcom_scm_is_available() - Checks if SCM is available 515 struct qcom_scm *scm; in qcom_scm_probe() local 519 scm = devm_kzalloc(&pdev->dev, sizeof(*scm), GFP_KERNEL); in qcom_scm_probe() 520 if (!scm) in qcom_scm_probe() 523 ret = qcom_scm_find_dload_address(&pdev->dev, &scm->dload_mode_addr); in qcom_scm_probe() [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/csiostor/ |
| D | csio_scsi.h | 192 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 …]
|
| D | csio_scsi.c | 111 * @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-4.19/drivers/scsi/csiostor/ |
| D | csio_scsi.h | 192 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 …]
|
| D | csio_scsi.c | 111 * @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-5.10/drivers/firmware/ |
| D | qcom_scm.c | 155 if (of_device_is_compatible(__scm ? __scm->dev->of_node : NULL, "qcom,scm-sc7180")) { in __get_convention() 186 * Sends a command to the SCM and waits for the command to finish processing. 200 pr_err("Unknown current SCM calling convention.\n"); in qcom_scm_call() 213 * Sends a command to the SCM and waits for the command to finish processing. 227 pr_err("Unknown current SCM calling convention.\n"); in qcom_scm_call_atomic() 268 * Set the Linux entry point for the SCM to transfer control to when coming 456 * During the scm call memory protection will be enabled for the meta in qcom_scm_pas_init_image() 961 * Return: true iff the SCM calls wrapped by qcom_scm_ice_invalidate_key() and 978 * these SoCs; only this SCM call does. 1010 * these SoCs; only this SCM call does. [all …]
|
| D | qcom_scm-legacy.c | 31 * 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-4.19/net/unix/ |
| D | af_unix.c | 112 #include <net/scm.h> 142 static void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_get_secdata() argument 144 UNIXCB(skb).secid = scm->secid; in unix_get_secdata() 147 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_set_secdata() argument 149 scm->secid = UNIXCB(skb).secid; in unix_set_secdata() 152 static inline bool unix_secdata_eq(struct scm_cookie *scm, struct sk_buff *skb) in unix_secdata_eq() argument 154 return (scm->secid == UNIXCB(skb).secid); in unix_secdata_eq() 157 static inline void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_get_secdata() argument 160 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_set_secdata() argument 163 static inline bool unix_secdata_eq(struct scm_cookie *scm, struct sk_buff *skb) in unix_secdata_eq() argument [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/crypto/ |
| D | fsl-imx-scc.txt | 6 - interrupts : Should contain interrupt numbers for SCM IRQ and SMN IRQ. 7 - interrupt-names : Should specify the names "scm" and "smn" for the 8 SCM IRQ and SMN IRQ. 20 interrupt-names = "scm", "smn";
|
| /kernel/linux/linux-5.10/net/core/ |
| D | scm.c | 2 /* scm.c - Socket level control messages processing. 36 #include <net/scm.h> 116 void __scm_destroy(struct scm_cookie *scm) in __scm_destroy() argument 118 struct scm_fp_list *fpl = scm->fp; in __scm_destroy() 122 scm->fp = NULL; in __scm_destroy() 290 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds() argument 295 int fdmax = min_t(int, scm_max_fds(msg), scm->fp->count); in scm_detach_fds() 304 scm_detach_fds_compat(msg, scm); in scm_detach_fds() 309 err = receive_fd_user(scm->fp->fp[i], cmsg_data + i, o_flags); in scm_detach_fds() 331 if (i < scm->fp->count || (scm->fp->count && fdmax <= 0)) in scm_detach_fds() [all …]
|
| /kernel/linux/linux-4.19/Documentation/translations/zh_CN/ |
| D | HOWTO | 208 ,更多的信息可以在http://git-scm.com/获取),不过使用普通补丁也是可以 282 git.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild.git 285 git.kernel.org:/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git 288 git.kernel.org:/pub/scm/linux/kernel/git/axboe/linux-2.6-block.git 291 git.kernel.org:/pub/scm/linux/kernel/git/airlied/drm-2.6.git 294 git.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6.git 297 git.kernel.org:/pub/scm/linux/kernel/git/scjody/ieee1394.git 300 git.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband.git 303 git.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev.git 306 git.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git [all …]
|
| /kernel/linux/linux-4.19/net/core/ |
| D | scm.c | 1 /* scm.c - Socket level control messages processing. 39 #include <net/scm.h> 119 void __scm_destroy(struct scm_cookie *scm) in __scm_destroy() argument 121 struct scm_fp_list *fpl = scm->fp; in __scm_destroy() 125 scm->fp = NULL; in __scm_destroy() 255 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds() argument 261 int fdnum = scm->fp->count; in scm_detach_fds() 262 struct file **fp = scm->fp->fp; in scm_detach_fds() 267 scm_detach_fds_compat(msg, scm); in scm_detach_fds() 328 __scm_destroy(scm); in scm_detach_fds()
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/crypto/ |
| D | fsl-imx-scc.yaml | 21 - description: SCC SCM interrupt 26 - const: scm 53 interrupt-names = "scm", "smn";
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/ |
| D | ti,phy-gmii-sel.yaml | 17 (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/ |
| D | wkup_m3_ipc.txt | 38 scm: scm@210000 { 39 compatible = "ti,am3-scm", "simple-bus";
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/soc/ti/ |
| D | wkup_m3_ipc.txt | 38 scm: scm@210000 { 39 compatible = "ti,am3-scm", "simple-bus";
|