Searched refs:scm (Results 1 - 22 of 22) sorted by relevance

/linux-master/include/net/
H A Dscm.h43 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm);
44 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm);
45 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm);
46 void __scm_destroy(struct scm_cookie *scm);
50 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) argument
52 security_socket_getpeersec_dgram(sock, NULL, &scm->secid);
55 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) argument
59 static __inline__ void scm_set_cred(struct scm_cookie *scm, argument
62 scm->pid = get_pid(pid);
63 scm
68 scm_destroy_cred(struct scm_cookie *scm) argument
74 scm_destroy(struct scm_cookie *scm) argument
81 scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm, bool forcecreds) argument
96 scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) argument
117 scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) argument
126 scm_pidfd_recv(struct msghdr *msg, struct scm_cookie *scm) argument
162 __scm_recv_common(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm, int flags) argument
192 scm_recv(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm, int flags) argument
201 scm_recv_unix(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm, int flags) argument
[all...]
/linux-master/drivers/firmware/qcom/
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
H A Dqcom_scm.c240 if (of_device_is_compatible(__scm ? __scm->dev->of_node : NULL, "qcom,scm-sc7180")) {
554 * During the scm call memory protection will be enabled for the meta
1461 dev_err(__scm->dev, "qseecom: scm call failed with error %d\n", status);
1655 static int qcom_scm_qseecom_init(struct qcom_scm *scm) argument
1676 dev_info(scm->dev, "qseecom: found qseecom with version 0x%x\n", version);
1679 dev_info(scm->dev, "qseecom: untested machine, skipping\n");
1691 qseecom_dev->dev.parent = scm->dev;
1699 return devm_add_action_or_reset(scm->dev, qcom_scm_qseecom_free, qseecom_dev);
1704 static int qcom_scm_qseecom_init(struct qcom_scm *scm) argument
1747 static int qcom_scm_waitq_wakeup(struct qcom_scm *scm, unsigne argument
1763 struct qcom_scm *scm = data; local
1790 struct qcom_scm *scm; local
[all...]
/linux-master/drivers/scsi/csiostor/
H A Dcsio_scsi.h202 csio_get_scsi_ioreq(struct csio_scsim *scm) argument
206 if (likely(!list_empty(&scm->ioreq_freelist))) {
207 req = list_first_entry(&scm->ioreq_freelist,
210 CSIO_DEC_STATS(scm, n_free_ioreq);
217 csio_put_scsi_ioreq(struct csio_scsim *scm, struct csio_ioreq *ioreq) argument
219 list_add_tail(&ioreq->sm.sm_list, &scm->ioreq_freelist);
220 CSIO_INC_STATS(scm, n_free_ioreq);
224 csio_put_scsi_ioreq_list(struct csio_scsim *scm, struct list_head *reqlist, argument
227 list_splice_init(reqlist, &scm->ioreq_freelist);
228 scm
232 csio_get_scsi_ddp(struct csio_scsim *scm) argument
247 csio_put_scsi_ddp(struct csio_scsim *scm, struct csio_dma_buf *ddp) argument
254 csio_put_scsi_ddp_list(struct csio_scsim *scm, struct list_head *reqlist, int n) argument
[all...]
H A Dcsio_scsi.c111 * @scm: SCSI module
118 csio_scsi_gather_active_ios(struct csio_scsim *scm, argument
124 if (list_empty(&scm->active_q))
129 list_splice_tail_init(&scm->active_q, dest);
133 list_for_each_safe(tmp, next, &scm->active_q) {
776 struct csio_scsim *scm = csio_hw_to_scsim(hw); local
781 CSIO_DEC_STATS(scm, n_active);
834 CSIO_DEC_STATS(scm, n_active);
848 struct csio_scsim *scm = csio_hw_to_scsim(hw); local
852 CSIO_DEC_STATS(scm, n_tm_activ
891 struct csio_scsim *scm = csio_hw_to_scsim(hw); local
988 struct csio_scsim *scm = csio_hw_to_scsim(hw); local
1109 struct csio_scsim *scm = csio_hw_to_scsim(hw); local
1159 csio_scsi_cleanup_io_q(struct csio_scsim *scm, struct list_head *q) argument
1233 csio_scsi_abort_io_q(struct csio_scsim *scm, struct list_head *q, uint32_t tmo) argument
1273 csio_scsim_cleanup_io(struct csio_scsim *scm, bool abort) argument
1318 csio_scsim_cleanup_io_lnode(struct csio_scsim *scm, struct csio_lnode *ln) argument
1565 struct csio_scsim *scm = csio_hw_to_scsim(hw); local
2321 csio_scsi_alloc_ddp_bufs(struct csio_scsim *scm, struct csio_hw *hw, int buf_size, int num_buf) argument
2394 csio_scsi_free_ddp_bufs(struct csio_scsim *scm, struct csio_hw *hw) argument
2418 csio_scsim_init(struct csio_scsim *scm, struct csio_hw *hw) argument
2506 csio_scsim_exit(struct csio_scsim *scm) argument
[all...]
H A Dcsio_isr.c205 * Processes SCSI completions on the SCSI IQ indicated by scm->iq_idx
217 struct csio_scsim *scm; local
221 scm = csio_hw_to_scsim(hw);
234 csio_put_scsi_ddp_list_lock(hw, scm, &ioreq->gen_list,
240 csio_put_scsi_ioreq_list_lock(hw, scm, &cbfn_q,
/linux-master/net/core/
H A Dscm.c2 /* scm.c - Socket level control messages processing.
37 #include <net/scm.h>
127 void __scm_destroy(struct scm_cookie *scm) argument
129 struct scm_fp_list *fpl = scm->fp;
133 scm->fp = NULL;
314 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm) argument
319 int fdmax = min_t(int, scm_max_fds(msg), scm->fp->count);
328 scm_detach_fds_compat(msg, scm);
333 err = scm_recv_one_fd(scm->fp->fp[i], cmsg_data + i, o_flags);
355 if (i < scm
[all...]
H A DMakefile6 obj-y := sock.o request_sock.o skbuff.o datagram.o stream.o scm.o \
/linux-master/net/unix/
H A Daf_unix.c108 #include <net/scm.h>
187 static void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) argument
189 UNIXCB(skb).secid = scm->secid;
192 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb) argument
194 scm->secid = UNIXCB(skb).secid;
197 static inline bool unix_secdata_eq(struct scm_cookie *scm, struct sk_buff *skb) argument
199 return (scm->secid == UNIXCB(skb).secid);
202 static inline void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) argument
205 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb) argument
208 static inline bool unix_secdata_eq(struct scm_cookie *scm, struc argument
1790 unix_attach_fds(struct scm_cookie *scm, struct sk_buff *skb) argument
1811 unix_detach_fds(struct scm_cookie *scm, struct sk_buff *skb) argument
1822 unix_peek_fds(struct scm_cookie *scm, struct sk_buff *skb) argument
1871 struct scm_cookie scm; local
1884 unix_scm_to_skb(struct scm_cookie *scm, struct sk_buff *skb, bool send_fds) argument
1926 unix_skb_scm_eq(struct sk_buff *skb, struct scm_cookie *scm) argument
1963 struct scm_cookie scm; local
2183 queue_oob(struct socket *sock, struct msghdr *msg, struct sock *other, struct scm_cookie *scm, bool fds_sent) argument
2243 struct scm_cookie scm; local
2411 struct scm_cookie scm; local
2692 struct scm_cookie scm; local
[all...]
H A Dgarbage.c81 #include <net/scm.h>
/linux-master/drivers/s390/cio/
H A DMakefile17 obj-$(CONFIG_SCM_BUS) += scm.o
/linux-master/net/
H A Dcompat.c29 #include <net/scm.h>
290 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm) argument
295 int fdmax = min_t(int, scm_max_fds_compat(msg), scm->fp->count);
300 err = scm_recv_one_fd(scm->fp->fp[i], cmsg_data + i, o_flags);
322 if (i < scm->fp->count || (scm->fp->count && fdmax <= 0))
329 __scm_destroy(scm);
/linux-master/arch/mips/kernel/
H A Dlinux32.c38 #include <net/scm.h>
/linux-master/include/linux/firmware/qcom/
H A Dqcom_scm.h12 #include <dt-bindings/firmware/qcom,scm.h>
/linux-master/arch/arm/boot/dts/aspeed/
H A DMakefile54 aspeed-bmc-qcom-dc-scm-v1.dtb \
/linux-master/scripts/dtc/include-prefixes/arm/aspeed/
H A DMakefile54 aspeed-bmc-qcom-dc-scm-v1.dtb \
/linux-master/scripts/
H A Dget_maintainer.pl54 my $scm = 0;
271 'scm!' => \$scm,
319 $scm = 0;
327 my $selections = $email + $scm + $status + $subsystem + $web;
329 die "$P: Missing required option: email, scm, status, subsystem or web\n";
632 my @scm = ();
645 if ($scm) {
646 @scm = uniq(@scm);
[all...]
/linux-master/net/netlink/
H A Daf_netlink.c70 #include <net/scm.h>
1832 struct scm_cookie scm; local
1843 err = scm_send(sock, msg, &scm, true);
1886 NETLINK_CB(skb).creds = scm.creds;
1908 scm_destroy(&scm);
1915 struct scm_cookie scm; local
1978 memset(&scm, 0, sizeof(scm));
1979 scm.creds = *NETLINK_CREDS(skb);
1994 scm_recv(sock, msg, &scm, flag
[all...]
/linux-master/arch/mips/include/asm/octeon/
H A Dcvmx-pci-defs.h798 uint32_t scm:1; member in struct:cvmx_pci_ctl_status_2::cvmx_pci_ctl_status_2_s
822 uint32_t scm:1;
841 uint32_t scm:1; member in struct:cvmx_pci_ctl_status_2::cvmx_pci_ctl_status_2_cn31xx
865 uint32_t scm:1;
1923 uint64_t scm:32; member in struct:cvmx_pci_scm_reg::cvmx_pci_scm_reg_s
1925 uint64_t scm:32;
/linux-master/arch/s390/kernel/
H A Dcompat_linux.c55 #include <net/scm.h>
/linux-master/include/linux/
H A Dnetlink.h9 #include <net/scm.h>
/linux-master/net/bluetooth/
H A Dhci_sock.c1555 struct scm_cookie scm; local
1600 memset(&scm, 0, sizeof(scm));
1601 scm.creds = bt_cb(skb)->creds;
1608 scm_recv(sock, msg, &scm, flags);

Completed in 228 milliseconds