Home
last modified time | relevance | path

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

12345678

/linux/include/net/
H A Dscm.h53 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm);
54 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm);
55 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm);
56 void __scm_destroy(struct scm_cookie *scm);
60 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram() argument
62 security_socket_getpeersec_dgram(sock, NULL, &scm->secid); in unix_get_peersec_dgram()
65 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram() argument
69 static __inline__ void scm_set_cred(struct scm_cookie *scm, in scm_set_cred() argument
72 scm->pid = get_pid(pid); in scm_set_cred()
73 scm->creds.pid = pid_vnr(pid); in scm_set_cred()
[all …]
/linux/Documentation/devicetree/bindings/arm/omap/
H A 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 …]
/linux/net/core/
H A Dscm.c2 /* scm.c - Socket level control messages processing.
39 #include <net/scm.h>
135 void __scm_destroy(struct scm_cookie *scm) in __scm_destroy() argument
137 struct scm_fp_list *fpl = scm->fp; in __scm_destroy()
141 scm->fp = NULL; in __scm_destroy()
150 static inline int scm_replace_pid(struct scm_cookie *scm, struct pid *pid) in scm_replace_pid() argument
155 scm_destroy_cred(scm); in scm_replace_pid()
161 scm->pid = pid; in scm_replace_pid()
162 scm->creds.pid = pid_vnr(pid); in scm_replace_pid()
356 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds()
354 scm_detach_fds(struct msghdr * msg,struct scm_cookie * scm) scm_detach_fds() argument
433 scm_passec(struct sock * sk,struct msghdr * msg,struct scm_cookie * scm) scm_passec() argument
455 scm_passec(struct sock * sk,struct msghdr * msg,struct scm_cookie * scm) scm_passec() argument
465 scm_pidfd_recv(struct msghdr * msg,struct scm_cookie * scm) scm_pidfd_recv() argument
502 __scm_recv_common(struct sock * sk,struct msghdr * msg,struct scm_cookie * scm,int flags) __scm_recv_common() argument
533 scm_recv(struct socket * sock,struct msghdr * msg,struct scm_cookie * scm,int flags) scm_recv() argument
543 scm_recv_unix(struct socket * sock,struct msghdr * msg,struct scm_cookie * scm,int flags) scm_recv_unix() argument
[all...]
/linux/include/linux/
H A Dpapr_scm.h6 /* SCM device is unable to persist memory contents */
8 /* SCM device failed to persist memory contents */
10 /* SCM device contents are persisted from previous IPL */
12 /* SCM device contents are not persisted from previous IPL */
14 /* SCM device memory life remaining is critically low */
16 /* SCM device will be garded off next IPL due to failure */
18 /* SCM contents cannot persist due to current platform health status */
20 /* SCM device is unable to persist memory contents in certain conditions */
22 /* SCM device is encrypted */
24 /* SCM device has been scrubbed and locked */
/linux/drivers/scsi/csiostor/
H A 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 …]
H A 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 …]
/linux/net/unix/
H A Daf_unix.c108 #include <net/scm.h>
256 static void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_get_secdata() argument
258 UNIXCB(skb).secid = scm->secid; in unix_get_secdata()
261 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_set_secdata() argument
263 scm->secid = UNIXCB(skb).secid; in unix_set_secdata()
266 static inline bool unix_secdata_eq(struct scm_cookie *scm, struct sk_buff *skb) in unix_secdata_eq() argument
268 return (scm->secid == UNIXCB(skb).secid); in unix_secdata_eq()
271 static inline void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_get_secdata() argument
274 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_set_secdata() argument
277 static inline bool unix_secdata_eq(struct scm_cookie *scm, struct sk_buff *skb) in unix_secdata_eq() argument
[all …]
/linux/drivers/firmware/qcom/
H A 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
H A DMakefile6 obj-$(CONFIG_QCOM_SCM) += qcom-scm.o
7 qcom-scm-objs += qcom_scm.o qcom_scm-smc.o qcom_scm-legacy.o
/linux/Documentation/devicetree/bindings/crypto/
H A Dfsl-imx-scc.yaml21 - description: SCC SCM interrupt
26 - const: scm
53 interrupt-names = "scm", "smn";
/linux/arch/arm/mach-omap2/
H A Dcontrol.c478 * Tell the SCM to start saving the padconf registers, then wait for
680 { .compatible = "ti,am3-scm", .data = &ctrl_data },
681 { .compatible = "ti,am4-scm", .data = &ctrl_data },
682 { .compatible = "ti,omap2-scm", .data = &omap2_ctrl_data },
683 { .compatible = "ti,omap3-scm", .data = &omap2_ctrl_data },
684 { .compatible = "ti,dm814-scm", .data = &ctrl_data },
686 { .compatible = "ti,omap4-scm-core", .data = &ctrl_data },
687 { .compatible = "ti,omap5-scm-core", .data = &ctrl_data },
688 { .compatible = "ti,omap5-scm-wkup-pad-conf", .data = &ctrl_aux_data },
689 { .compatible = "ti,dra7-scm-core", .data = &ctrl_data },
/linux/drivers/s390/cio/
H A Dscm.c43 return add_uevent_var(env, "MODALIAS=scm:scmdev"); in scmdev_uevent()
47 .name = "scm",
54 * scm_driver_register() - register a scm driver
68 * scm_driver_unregister() - deregister a scm driver
282 scm_root = root_device_register("scm"); in scm_init()
/linux/Documentation/devicetree/bindings/phy/
H A 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
/linux/
H A DMAINTAINERS31 T: *SCM* tree type and location.
117 T: git git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless.git
118 T: git git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git
142 T: git git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
160 T: git git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs.git
290 T: git git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
329 T: git git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
367 T: git git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
1138 T: git git://git.kernel.org/pub/scm/linux/kernel/git/iommu/linux.git
1382 T: git git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git
[all …]
/linux/drivers/usb/storage/
H A Dunusual_usbat.h3 * Unusual Devices File for SCM Microsystems (a.k.a. Shuttle) USB-ATAPI cable
20 "Shuttle/SCM",
/linux/tools/verification/rv/
H A DREADME.txt22 $ git clone git://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git
27 $ git clone git://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git
/linux/tools/tracing/rtla/
H A DREADME.txt27 $ git clone git://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git
32 $ git clone git://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git
/linux/Documentation/bpf/
H A Dmap_sockmap.rst491 .. _`tools/testing/selftests/bpf/progs/test_sockmap_kern.h`: https://git.kernel.org/pub/scm/linux/k…
492 .. _`tools/testing/selftests/bpf/progs/sockmap_parse_prog.c`: https://git.kernel.org/pub/scm/linux/…
493 .. _`tools/testing/selftests/bpf/progs/sockmap_verdict_prog.c`: https://git.kernel.org/pub/scm/linu…
494 .. _`tools/testing/selftests/bpf/prog_tests/sockmap_basic.c`: https://git.kernel.org/pub/scm/linux/…
495 .. _`tools/testing/selftests/bpf/test_sockmap.c`: https://git.kernel.org/pub/scm/linux/kernel/git/t…
496 .. _`tools/testing/selftests/bpf/test_maps.c`: https://git.kernel.org/pub/scm/linux/kernel/git/torv…
497 .. _`tools/testing/selftests/bpf/progs/test_sockmap_listen.c`: https://git.kernel.org/pub/scm/linux…
498 .. _`tools/testing/selftests/bpf/progs/test_sockmap_update.c`: https://git.kernel.org/pub/scm/linux…
H A Dprog_lsm.rst139 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/tools/lib/bpf/bpf_tracing.h
141 …https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/tools/testing/selftests/bpf/…
143 …https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/tools/testing/selftests/bpf/…
/linux/Documentation/translations/zh_CN/process/
H A D8.Conclusion.rst51 https://www.kernel.org/pub/software/scm/git/docs/
53 https://www.kernel.org/pub/software/scm/git/docs/user-manual.html
/linux/net/
H A Dcompat.c29 #include <net/scm.h>
290 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds_compat() argument
295 int fdmax = min_t(int, scm_max_fds_compat(msg), scm->fp->count); in scm_detach_fds_compat()
300 err = scm_recv_one_fd(scm->fp->fp[i], cmsg_data + i, o_flags); in scm_detach_fds_compat()
322 if (i < scm->fp->count || (scm->fp->count && fdmax <= 0)) in scm_detach_fds_compat()
329 __scm_destroy(scm); in scm_detach_fds_compat()
/linux/Documentation/translations/zh_TW/process/
H A D8.Conclusion.rst54 https://www.kernel.org/pub/software/scm/git/docs/
56 https://www.kernel.org/pub/software/scm/git/docs/user-manual.html
H A D7.AdvancedTopics.rst38 https://git-scm.com/
40 https://www.kernel.org/pub/software/scm/git/docs/user-manual.html
/linux/drivers/s390/block/
H A DKconfig69 Block device driver for Storage Class Memory (SCM). This driver
70 provides a block device interface for each available SCM increment.
/linux/Documentation/admin-guide/media/
H A Dci.rst75 (1) Irdeto 1 and 2 from SCM
76 (2) Viaccess from SCM

12345678