Home
last modified time | relevance | path

Searched refs:scm (Results 1 – 25 of 191) 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 in scm_set_cred()
78 scm_destroy_cred(struct scm_cookie * scm) scm_destroy_cred() argument
84 scm_destroy(struct scm_cookie * scm) scm_destroy() argument
92 scm_send(struct socket * sock,struct msghdr * msg,struct scm_cookie * scm,bool forcecreds) scm_send() argument
[all...]
/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 in csio_put_scsi_ioreq_list()
232 csio_get_scsi_ddp(struct csio_scsim * scm) csio_get_scsi_ddp() argument
247 csio_put_scsi_ddp(struct csio_scsim * scm,struct csio_dma_buf * ddp) csio_put_scsi_ddp() argument
254 csio_put_scsi_ddp_list(struct csio_scsim * scm,struct list_head * reqlist,int n) csio_put_scsi_ddp_list() argument
[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_activ in csio_scsis_tm_active()
891 struct csio_scsim *scm = csio_hw_to_scsim(hw); csio_scsis_aborting() local
988 struct csio_scsim *scm = csio_hw_to_scsim(hw); csio_scsis_closing() local
1109 struct csio_scsim *scm = csio_hw_to_scsim(hw); csio_scsi_cmpl_handler() local
1159 csio_scsi_cleanup_io_q(struct csio_scsim * scm,struct list_head * q) csio_scsi_cleanup_io_q() argument
1233 csio_scsi_abort_io_q(struct csio_scsim * scm,struct list_head * q,uint32_t tmo) csio_scsi_abort_io_q() argument
1273 csio_scsim_cleanup_io(struct csio_scsim * scm,bool abort) csio_scsim_cleanup_io() argument
1318 csio_scsim_cleanup_io_lnode(struct csio_scsim * scm,struct csio_lnode * ln) csio_scsim_cleanup_io_lnode() argument
1565 struct csio_scsim *scm = csio_hw_to_scsim(hw); csio_scsi_err_handler() local
2321 csio_scsi_alloc_ddp_bufs(struct csio_scsim * scm,struct csio_hw * hw,int buf_size,int num_buf) csio_scsi_alloc_ddp_bufs() argument
2394 csio_scsi_free_ddp_bufs(struct csio_scsim * scm,struct csio_hw * hw) csio_scsi_free_ddp_bufs() argument
2418 csio_scsim_init(struct csio_scsim * scm,struct csio_hw * hw) csio_scsim_init() argument
2506 csio_scsim_exit(struct csio_scsim * scm) csio_scsim_exit() argument
[all...]
H A Dcsio_isr.c205 * Processes SCSI completions on the SCSI IQ indicated by scm->iq_idx
217 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/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()
354 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm) in 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/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
[all...]
/linux/drivers/firmware/qcom/
H A Dqcom_scm.c268 if (of_device_is_compatible(__scm ? __scm->dev->of_node : NULL, "qcom,scm-sc7180")) { in __get_convention()
594 * During the scm call memory protection will be enabled for the meta in qcom_scm_pas_init_image()
1832 dev_err(__scm->dev, "qseecom: scm call failed with error %d\n", status); in qcom_scm_qseecom_call()
2040 static int qcom_scm_qseecom_init(struct qcom_scm *scm) in qcom_scm_qseecom_init() argument
2061 dev_info(scm->dev, "qseecom: found qseecom with version 0x%x\n", version); in qcom_scm_qseecom_init()
2064 dev_info(scm->dev, "qseecom: untested machine, skipping\n"); in qcom_scm_qseecom_init()
2076 qseecom_dev->dev.parent = scm->dev; in qcom_scm_qseecom_init()
2084 return devm_add_action_or_reset(scm->dev, qcom_scm_qseecom_free, qseecom_dev); in qcom_scm_qseecom_init()
2089 static int qcom_scm_qseecom_init(struct qcom_scm *scm) in qcom_scm_qseecom_init() argument
2149 struct qcom_scm *scm in qcom_scm_irq_handler() local
2215 struct qcom_scm *scm; qcom_scm_probe() local
[all...]
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/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, struc argument
1962 unix_attach_fds(struct scm_cookie * scm,struct sk_buff * skb) unix_attach_fds() argument
1976 unix_detach_fds(struct scm_cookie * scm,struct sk_buff * skb) unix_detach_fds() argument
1984 unix_peek_fds(struct scm_cookie * scm,struct sk_buff * skb) unix_peek_fds() argument
1991 struct scm_cookie scm; unix_destruct_scm() local
2004 unix_scm_to_skb(struct scm_cookie * scm,struct sk_buff * skb,bool send_fds) unix_scm_to_skb() argument
2020 unix_skb_to_scm(struct sk_buff * skb,struct scm_cookie * scm) unix_skb_to_scm() argument
2063 unix_skb_scm_eq(struct sk_buff * skb,struct scm_cookie * scm) unix_skb_scm_eq() argument
2102 struct scm_cookie scm; unix_dgram_sendmsg() local
2334 queue_oob(struct sock * sk,struct msghdr * msg,struct sock * other,struct scm_cookie * scm,bool fds_sent) queue_oob() argument
2400 struct scm_cookie scm; unix_stream_sendmsg() local
2583 struct scm_cookie scm; __unix_dgram_recvmsg() local
2928 struct scm_cookie scm; unix_stream_read_generic() local
[all...]
/linux/Documentation/translations/zh_CN/process/
H A D7.AdvancedTopics.rst35 https://git-scm.com/
37 https://www.kernel.org/pub/software/scm/git/docs/user-manual.html
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/Documentation/translations/zh_TW/process/
H A D7.AdvancedTopics.rst38 https://git-scm.com/
40 https://www.kernel.org/pub/software/scm/git/docs/user-manual.html
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
/linux/Documentation/translations/zh_CN/mm/
H A 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.c>`.
H A 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/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/arch/arm/boot/dts/ti/omap/
H A Domap2420.dtsi33 scm: scm@0 { label
34 compatible = "ti,omap2-scm", "simple-bus";
/linux/Documentation/bpf/
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/progs/lsm.c
143 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/tools/testing/selftests/bpf/prog_tests/test_lsm.c
H A Dmap_sockmap.rst491 .. _`tools/testing/selftests/bpf/progs/test_sockmap_kern.h`: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/testing/selftests/bpf/progs/test_sockmap_kern.h
492 .. _`tools/testing/selftests/bpf/progs/sockmap_parse_prog.c`: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/testing/selftests/bpf/progs/sockmap_parse_prog.c
493 .. _`tools/testing/selftests/bpf/progs/sockmap_verdict_prog.c`: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/testing/selftests/bpf/progs/sockmap_verdict_prog.c
494 .. _`tools/testing/selftests/bpf/prog_tests/sockmap_basic.c`: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
495 .. _`tools/testing/selftests/bpf/test_sockmap.c`: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/testing/selftests/bpf/test_sockmap.c
496 .. _`tools/testing/selftests/bpf/test_maps.c`: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/testing/selftests/bpf/test_maps.c
497 .. _`tools/testing/selftests/bpf/progs/test_sockmap_listen.c`: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/testing/selftests/bpf/progs/test_sockmap_listen.c
498 .. _`tools/testing/selftests/bpf/progs/test_sockmap_update.c`: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/testing/selftests/bpf/progs/test_sockmap_update.c
/linux/scripts/
H A Dget_maintainer.pl55 my $scm = 0;
274 'scm!' => \$scm,
327 $scm = 0;
336 my $selections = $email + $scm + $status + $subsystem + $web + $bug;
338 die "$P: Missing required option: email, scm, status, subsystem, web or bug\n";
641 my @scm = ();
656 if ($scm) {
657 @scm = uniq(@scm);
[all...]
/linux/Documentation/translations/zh_TW/admin-guide/
H A Dreporting-regressions.rst259 <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/staging/Kconfig>`_ ,
367 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/Documentation/translations/zh_CN/admin-guide/reporting-regressions.rst
/linux/Documentation/translations/zh_CN/admin-guide/
H A Dreporting-regressions.rst259 <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/staging/Kconfig>`_ ,
367 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/Documentation/translations/zh_CN/admin-guide/reporting-regressions.rst
/linux/Documentation/translations/zh_CN/dev-tools/
H A Dkcsan.rst118 .. _在 LKMM 中 "标记共享内存访问": https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/memory-model/Documentation/access-marking.txt
185 .. _LKMM 中的 "简单访问和数据竞争": https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/memory-model/Documentation/explanation.txt#n1922
/linux/
H A DMAINTAINERS117 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
366 T: git git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
1132 T: git git://git.kernel.org/pub/scm/linux/kernel/git/iommu/linux.git
1357 T: git git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git
1358 T: git git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git
[all …]

12345678