Home
last modified time | relevance | path

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

12345678

/Linux-v6.6/include/net/
Dscm.h41 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm);
42 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm);
43 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm);
44 void __scm_destroy(struct scm_cookie *scm);
48 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram() argument
50 security_socket_getpeersec_dgram(sock, NULL, &scm->secid); in unix_get_peersec_dgram()
53 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram() argument
57 static __inline__ void scm_set_cred(struct scm_cookie *scm, in scm_set_cred() argument
60 scm->pid = get_pid(pid); in scm_set_cred()
61 scm->creds.pid = pid_vnr(pid); in scm_set_cred()
[all …]
/Linux-v6.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.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 …]
/Linux-v6.6/net/unix/
Dscm.c107 int unix_attach_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_attach_fds() argument
119 UNIXCB(skb).fp = scm_fp_dup(scm->fp); in unix_attach_fds()
123 for (i = scm->fp->count - 1; i >= 0; i--) in unix_attach_fds()
124 unix_inflight(scm->fp->user, scm->fp->fp[i]); in unix_attach_fds()
129 void unix_detach_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_detach_fds() argument
133 scm->fp = UNIXCB(skb).fp; in unix_detach_fds()
136 for (i = scm->fp->count-1; i >= 0; i--) in unix_detach_fds()
137 unix_notinflight(scm->fp->user, scm->fp->fp[i]); in unix_detach_fds()
143 struct scm_cookie scm; in unix_destruct_scm() local
145 memset(&scm, 0, sizeof(scm)); in unix_destruct_scm()
[all …]
Daf_unix.c188 static void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_get_secdata() argument
190 UNIXCB(skb).secid = scm->secid; in unix_get_secdata()
193 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_set_secdata() argument
195 scm->secid = UNIXCB(skb).secid; in unix_set_secdata()
198 static inline bool unix_secdata_eq(struct scm_cookie *scm, struct sk_buff *skb) in unix_secdata_eq() argument
200 return (scm->secid == UNIXCB(skb).secid); in unix_secdata_eq()
203 static inline void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_get_secdata() argument
206 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_set_secdata() argument
209 static inline bool unix_secdata_eq(struct scm_cookie *scm, struct sk_buff *skb) in unix_secdata_eq() argument
1779 static void unix_peek_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_peek_fds() 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);
DMakefile15 obj-$(CONFIG_UNIX_SCM) += scm.o
/Linux-v6.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 …]
/Linux-v6.6/drivers/firmware/
Dqcom_scm.c1360 static int qcom_scm_waitq_wakeup(struct qcom_scm *scm, unsigned int wq_ctx) in qcom_scm_waitq_wakeup() argument
1376 struct qcom_scm *scm = data; in qcom_scm_irq_handler() local
1382 dev_err(scm->dev, "GET_WQ_CTX SMC call failed: %d\n", ret); in qcom_scm_irq_handler()
1388 dev_err(scm->dev, "Invalid flags found for wq_ctx: %u\n", flags); in qcom_scm_irq_handler()
1392 ret = qcom_scm_waitq_wakeup(scm, wq_ctx); in qcom_scm_irq_handler()
1403 struct qcom_scm *scm; in qcom_scm_probe() local
1406 scm = devm_kzalloc(&pdev->dev, sizeof(*scm), GFP_KERNEL); in qcom_scm_probe()
1407 if (!scm) in qcom_scm_probe()
1410 ret = qcom_scm_find_dload_address(&pdev->dev, &scm->dload_mode_addr); in qcom_scm_probe()
1414 mutex_init(&scm->scm_bw_lock); in qcom_scm_probe()
[all …]
DMakefile21 obj-$(CONFIG_QCOM_SCM) += qcom-scm.o
22 qcom-scm-objs += qcom_scm.o qcom_scm-smc.o qcom_scm-legacy.o
/Linux-v6.6/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()
303 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds() argument
308 int fdmax = min_t(int, scm_max_fds(msg), scm->fp->count); in scm_detach_fds()
317 scm_detach_fds_compat(msg, scm); in scm_detach_fds()
322 err = receive_fd_user(scm->fp->fp[i], cmsg_data + i, o_flags); in scm_detach_fds()
344 if (i < scm->fp->count || (scm->fp->count && fdmax <= 0)) in scm_detach_fds()
351 __scm_destroy(scm); in scm_detach_fds()
/Linux-v6.6/Documentation/translations/zh_CN/process/
D7.AdvancedTopics.rst35 https://git-scm.com/
37 https://www.kernel.org/pub/software/scm/git/docs/user-manual.html
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-v6.6/Documentation/translations/zh_TW/process/
D7.AdvancedTopics.rst38 https://git-scm.com/
40 https://www.kernel.org/pub/software/scm/git/docs/user-manual.html
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
/Linux-v6.6/Documentation/translations/zh_CN/mm/
Dvmalloced-kernel-stacks.rst75 `Kconfig <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/Kconfig>`
98 `kernel/fork.c <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/kernel/fork…
Dhwpoison.rst153 git://git.kernel.org/pub/scm/utils/cpu/mce/mce-test.git
156 git://git.kernel.org/pub/scm/utils/cpu/mce/mce-inject.git
/Linux-v6.6/tools/tracing/rtla/
DREADME.txt19 $ git clone git://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git
24 $ git clone git://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git
DMakefile72 MISSING_SOURCE += echo "** https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/ ";
80 MISSING_SOURCE += echo "** https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/ ";
/Linux-v6.6/tools/verification/rv/
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
DMakefile72 MISSING_SOURCE += echo "** https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/ ";
80 MISSING_SOURCE += echo "** https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/ ";
/Linux-v6.6/net/
Dcompat.c290 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 = receive_fd_user(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-v6.6/arch/arm64/boot/dts/qcom/
Dipq5018.dtsi58 scm {
59 compatible = "qcom,scm-ipq5018", "qcom,scm";
/Linux-v6.6/arch/arm/boot/dts/ti/omap/
Domap2420.dtsi33 scm: scm@0 { label
34 compatible = "ti,omap2-scm", "simple-bus";
/Linux-v6.6/scripts/
Dget_maintainer.pl53 my $scm = 0;
269 'scm!' => \$scm,
316 $scm = 0;
323 my $selections = $email + $scm + $status + $subsystem + $web;
630 my @scm = ();
643 if ($scm) {
644 @scm = uniq(@scm);
645 output(@scm);
846 @scm = ();
1376 push(@scm, $pvalue);

12345678