Home
last modified time | relevance | path

Searched refs:scm (Results 1 – 25 of 129) sorted by relevance

123456

/Linux-v5.4/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 …]
/Linux-v5.4/Documentation/devicetree/bindings/firmware/
Dqcom,scm.txt10 * "qcom,scm-apq8064"
11 * "qcom,scm-apq8084"
12 * "qcom,scm-ipq4019"
13 * "qcom,scm-msm8660"
14 * "qcom,scm-msm8916"
15 * "qcom,scm-msm8960"
16 * "qcom,scm-msm8974"
17 * "qcom,scm-msm8996"
18 * "qcom,scm-msm8998"
19 * "qcom,scm-sc7180"
[all …]
/Linux-v5.4/net/unix/
Dscm.c103 int unix_attach_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_attach_fds() argument
115 UNIXCB(skb).fp = scm_fp_dup(scm->fp); in unix_attach_fds()
119 for (i = scm->fp->count - 1; i >= 0; i--) in unix_attach_fds()
120 unix_inflight(scm->fp->user, scm->fp->fp[i]); in unix_attach_fds()
125 void unix_detach_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_detach_fds() argument
129 scm->fp = UNIXCB(skb).fp; in unix_detach_fds()
132 for (i = scm->fp->count-1; i >= 0; i--) in unix_detach_fds()
133 unix_notinflight(scm->fp->user, scm->fp->fp[i]); in unix_detach_fds()
139 struct scm_cookie scm; in unix_destruct_scm() local
141 memset(&scm, 0, sizeof(scm)); in unix_destruct_scm()
[all …]
Daf_unix.c139 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
160 static inline bool unix_secdata_eq(struct scm_cookie *scm, struct sk_buff *skb) in unix_secdata_eq() argument
1496 static int unix_scm_to_skb(struct scm_cookie *scm, struct sk_buff *skb, bool send_fds) in unix_scm_to_skb() 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);
DMakefile14 obj-$(CONFIG_UNIX_SCM) += scm.o
/Linux-v5.4/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.c118 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()
877 CSIO_DEC_STATS(scm, n_tm_active); in csio_scsis_tm_active()
[all …]
Dcsio_isr.c217 struct csio_scsim *scm; in csio_scsi_isr_handler() local
221 scm = csio_hw_to_scsim(hw); in csio_scsi_isr_handler()
234 csio_put_scsi_ddp_list_lock(hw, scm, &ioreq->gen_list, in csio_scsi_isr_handler()
240 csio_put_scsi_ioreq_list_lock(hw, scm, &cbfn_q, in csio_scsi_isr_handler()
/Linux-v5.4/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 …]
/Linux-v5.4/drivers/firmware/
Dqcom_scm.c507 struct qcom_scm *scm; in qcom_scm_probe() local
511 scm = devm_kzalloc(&pdev->dev, sizeof(*scm), GFP_KERNEL); in qcom_scm_probe()
512 if (!scm) in qcom_scm_probe()
515 ret = qcom_scm_find_dload_address(&pdev->dev, &scm->dload_mode_addr); in qcom_scm_probe()
521 scm->core_clk = devm_clk_get(&pdev->dev, "core"); in qcom_scm_probe()
522 if (IS_ERR(scm->core_clk)) { in qcom_scm_probe()
523 if (PTR_ERR(scm->core_clk) == -EPROBE_DEFER) in qcom_scm_probe()
524 return PTR_ERR(scm->core_clk); in qcom_scm_probe()
528 return PTR_ERR(scm->core_clk); in qcom_scm_probe()
531 scm->core_clk = NULL; in qcom_scm_probe()
[all …]
/Linux-v5.4/net/core/
Dscm.c116 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()
278 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds() argument
284 int fdnum = scm->fp->count; in scm_detach_fds()
285 struct file **fp = scm->fp->fp; in scm_detach_fds()
290 scm_detach_fds_compat(msg, scm); in scm_detach_fds()
351 __scm_destroy(scm); in scm_detach_fds()
/Linux-v5.4/Documentation/devicetree/bindings/crypto/
Dfsl-imx-scc.txt7 - interrupt-names : Should specify the names "scm" and "smn" for the
20 interrupt-names = "scm", "smn";
/Linux-v5.4/Documentation/devicetree/bindings/soc/ti/
Dwkup_m3_ipc.txt38 scm: scm@210000 {
39 compatible = "ti,am3-scm", "simple-bus";
/Linux-v5.4/Documentation/translations/zh_CN/process/
D7.AdvancedTopics.rst28 http://git-scm.com/
30 http://www.kernel.org/pub/software/scm/git/docs/user-manual.html
D8.Conclusion.rst45 http://www.kernel.org/pub/software/scm/git/docs/
47 http://www.kernel.org/pub/software/scm/git/docs/user-manual.html
/Linux-v5.4/arch/arm/boot/dts/
Domap2420.dtsi36 scm: scm@0 { label
37 compatible = "ti,omap2-scm", "simple-bus";
Domap2430.dtsi36 scm: scm@2000 { label
37 compatible = "ti,omap2-scm", "simple-bus";
/Linux-v5.4/tools/lib/traceevent/
Dlibtraceevent.pc.template6 URL: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
/Linux-v5.4/scripts/
Dget_maintainer.pl51 my $scm = 0;
260 'scm!' => \$scm,
307 $scm = 0;
314 my $selections = $email + $scm + $status + $subsystem + $web;
607 my @scm = ();
621 if ($scm) {
622 @scm = uniq(@scm);
623 output(@scm);
824 @scm = ();
1368 push(@scm, $pvalue);
Dsetlocalversion178 scm=$(scm_version --short)
/Linux-v5.4/
DMAINTAINERS192 T: git git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
208 T: git git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs.git
316 T: git git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
349 T: git git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
387 T: git git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
832 T: git git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git
1045 T: git https://git.kernel.org/pub/scm/linux/kernel/git/greentime/linux.git
1065 T: git git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
1109 T: git git://git.kernel.org/pub/scm/linux/kernel/git/jikos/apm.git
1119 T: git git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor
[all …]
/Linux-v5.4/arch/arm64/boot/dts/qcom/
Dsm8150.dtsi141 scm: scm { label
142 compatible = "qcom,scm-sm8150", "qcom,scm";
/Linux-v5.4/Documentation/networking/
Dbridge.rst14 git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/bridge-utils.git
/Linux-v5.4/drivers/s390/cio/
DMakefile17 obj-$(CONFIG_SCM_BUS) += scm.o

123456