Home
last modified time | relevance | path

Searched refs:ipc (Results 1 – 55 of 55) sorted by relevance

/linux-4.1.27/sound/soc/intel/common/
Dsst-ipc.c42 static struct ipc_message *msg_get_empty(struct sst_generic_ipc *ipc) in msg_get_empty() argument
46 if (!list_empty(&ipc->empty_list)) { in msg_get_empty()
47 msg = list_first_entry(&ipc->empty_list, struct ipc_message, in msg_get_empty()
55 static int tx_wait_done(struct sst_generic_ipc *ipc, in tx_wait_done() argument
65 spin_lock_irqsave(&ipc->dsp->spinlock, flags); in tx_wait_done()
67 if (ipc->ops.shim_dbg != NULL) in tx_wait_done()
68 ipc->ops.shim_dbg(ipc, "message timeout"); in tx_wait_done()
80 list_add_tail(&msg->list, &ipc->empty_list); in tx_wait_done()
81 spin_unlock_irqrestore(&ipc->dsp->spinlock, flags); in tx_wait_done()
85 static int ipc_tx_message(struct sst_generic_ipc *ipc, u64 header, in ipc_tx_message() argument
[all …]
Dsst-ipc.h75 int sst_ipc_tx_message_wait(struct sst_generic_ipc *ipc, u64 header,
78 int sst_ipc_tx_message_nowait(struct sst_generic_ipc *ipc, u64 header,
81 struct ipc_message *sst_ipc_reply_find_msg(struct sst_generic_ipc *ipc,
84 void sst_ipc_tx_msg_reply_complete(struct sst_generic_ipc *ipc,
87 void sst_ipc_drop_all(struct sst_generic_ipc *ipc);
88 int sst_ipc_init(struct sst_generic_ipc *ipc);
89 void sst_ipc_fini(struct sst_generic_ipc *ipc);
DMakefile3 snd-soc-sst-ipc-objs := sst-ipc.o
5 obj-$(CONFIG_SND_SOC_INTEL_SST) += snd-soc-sst-dsp.o snd-soc-sst-ipc.o
/linux-4.1.27/arch/s390/kernel/
Djump_label.c42 unsigned char *ipc = (unsigned char *)entry->code; in jump_label_bug() local
46 pr_emerg("Jump label code mismatch at %pS [%p]\n", ipc, ipc); in jump_label_bug()
48 ipc[0], ipc[1], ipc[2], ipc[3], ipc[4], ipc[5]); in jump_label_bug()
/linux-4.1.27/sound/soc/intel/baytrail/
Dsst-baytrail-ipc.c182 struct sst_generic_ipc ipc; member
254 msg = sst_ipc_reply_find_msg(&byt->ipc, header); in sst_byt_process_reply()
268 sst_ipc_tx_msg_reply_complete(&byt->ipc, msg); in sst_byt_process_reply()
315 struct sst_generic_ipc *ipc = &byt->ipc; in sst_byt_irq_thread() local
347 queue_kthread_work(&ipc->kworker, &ipc->kwork); in sst_byt_irq_thread()
434 ret = sst_ipc_tx_message_wait(&byt->ipc, header, str_req, in sst_byt_stream_commit()
458 ret = sst_ipc_tx_message_wait(&byt->ipc, header, NULL, 0, NULL, 0); in sst_byt_stream_free()
482 return sst_ipc_tx_message_wait(&byt->ipc, header, NULL, in sst_byt_stream_operations()
485 return sst_ipc_tx_message_nowait(&byt->ipc, header, in sst_byt_stream_operations()
506 ret = sst_ipc_tx_message_nowait(&byt->ipc, header, tx_msg, size); in sst_byt_stream_start()
[all …]
DMakefile2 sst-baytrail-ipc.o sst-baytrail-pcm.o sst-baytrail-dsp.o
/linux-4.1.27/ipc/
Dutil.c154 struct kern_ipc_perm *ipc; in ipc_findkey() local
159 ipc = idr_find(&ids->ipcs_idr, next_id); in ipc_findkey()
161 if (ipc == NULL) in ipc_findkey()
164 if (ipc->key != key) { in ipc_findkey()
170 ipc_lock_object(ipc); in ipc_findkey()
171 return ipc; in ipc_findkey()
185 struct kern_ipc_perm *ipc; in ipc_get_maxid() local
198 ipc = idr_find(&ids->ipcs_idr, id); in ipc_get_maxid()
199 if (ipc != NULL) { in ipc_get_maxid()
749 struct kern_ipc_perm *ipc; in sysvipc_find_ipc() local
[all …]
Dsyscall.c16 SYSCALL_DEFINE6(ipc, unsigned int, call, int, first, unsigned long, second, in SYSCALL_DEFINE6() argument
Dshm.c792 struct kern_ipc_perm *ipc; in shm_get_stat() local
795 ipc = idr_find(&shm_ids(ns).ipcs_idr, next_id); in shm_get_stat()
796 if (ipc == NULL) in shm_get_stat()
798 shp = container_of(ipc, struct shmid_kernel, shm_perm); in shm_get_stat()
Dcompat.c329 COMPAT_SYSCALL_DEFINE6(ipc, u32, call, int, first, int, second, in COMPAT_SYSCALL_DEFINE6() argument
/linux-4.1.27/net/ipv4/
Draw.c486 struct ipcm_cookie ipc; in raw_sendmsg() local
537 ipc.addr = inet->inet_saddr; in raw_sendmsg()
538 ipc.opt = NULL; in raw_sendmsg()
539 ipc.tx_flags = 0; in raw_sendmsg()
540 ipc.ttl = 0; in raw_sendmsg()
541 ipc.tos = -1; in raw_sendmsg()
542 ipc.oif = sk->sk_bound_dev_if; in raw_sendmsg()
545 err = ip_cmsg_send(sock_net(sk), msg, &ipc, false); in raw_sendmsg()
547 kfree(ipc.opt); in raw_sendmsg()
550 if (ipc.opt) in raw_sendmsg()
[all …]
Dping.c701 struct ipcm_cookie ipc; in ping_v4_sendmsg() local
737 ipc.addr = inet->inet_saddr; in ping_v4_sendmsg()
738 ipc.opt = NULL; in ping_v4_sendmsg()
739 ipc.oif = sk->sk_bound_dev_if; in ping_v4_sendmsg()
740 ipc.tx_flags = 0; in ping_v4_sendmsg()
741 ipc.ttl = 0; in ping_v4_sendmsg()
742 ipc.tos = -1; in ping_v4_sendmsg()
744 sock_tx_timestamp(sk, &ipc.tx_flags); in ping_v4_sendmsg()
747 err = ip_cmsg_send(sock_net(sk), msg, &ipc, false); in ping_v4_sendmsg()
749 kfree(ipc.opt); in ping_v4_sendmsg()
[all …]
Dicmp.c354 struct ipcm_cookie *ipc, struct rtable **rt) in icmp_push_reply() argument
363 ipc, rt, MSG_DONTWAIT) < 0) { in icmp_push_reply()
389 struct ipcm_cookie ipc; in icmp_reply() local
410 daddr = ipc.addr = ip_hdr(skb)->saddr; in icmp_reply()
412 ipc.opt = NULL; in icmp_reply()
413 ipc.tx_flags = 0; in icmp_reply()
414 ipc.ttl = 0; in icmp_reply()
415 ipc.tos = -1; in icmp_reply()
418 ipc.opt = &icmp_param->replyopts.opt; in icmp_reply()
419 if (ipc.opt->opt.srr) in icmp_reply()
[all …]
Dudp.c883 struct ipcm_cookie ipc; in udp_sendmsg() local
906 ipc.opt = NULL; in udp_sendmsg()
907 ipc.tx_flags = 0; in udp_sendmsg()
908 ipc.ttl = 0; in udp_sendmsg()
909 ipc.tos = -1; in udp_sendmsg()
957 ipc.addr = inet->inet_saddr; in udp_sendmsg()
959 ipc.oif = sk->sk_bound_dev_if; in udp_sendmsg()
961 sock_tx_timestamp(sk, &ipc.tx_flags); in udp_sendmsg()
964 err = ip_cmsg_send(sock_net(sk), msg, &ipc, in udp_sendmsg()
967 kfree(ipc.opt); in udp_sendmsg()
[all …]
Dip_output.c1088 struct ipcm_cookie *ipc, struct rtable **rtp) in ip_setup_cork() argument
1096 opt = ipc->opt; in ip_setup_cork()
1106 cork->addr = ipc->addr; in ip_setup_cork()
1119 cork->ttl = ipc->ttl; in ip_setup_cork()
1120 cork->tos = ipc->tos; in ip_setup_cork()
1121 cork->priority = ipc->priority; in ip_setup_cork()
1122 cork->tx_flags = ipc->tx_flags; in ip_setup_cork()
1142 struct ipcm_cookie *ipc, struct rtable **rtp, in ip_append_data() argument
1152 err = ip_setup_cork(sk, &inet->cork.base, ipc, rtp); in ip_append_data()
1468 struct ipcm_cookie *ipc, struct rtable **rtp, in ip_make_skb() argument
[all …]
Dip_sockglue.c222 int ip_cmsg_send(struct net *net, struct msghdr *msg, struct ipcm_cookie *ipc, in ip_cmsg_send() argument
242 ipc->oif = src_info->ipi6_ifindex; in ip_cmsg_send()
243 ipc->addr = src_info->ipi6_addr.s6_addr32[3]; in ip_cmsg_send()
254 err = ip_options_get(net, &ipc->opt, CMSG_DATA(cmsg), in ip_cmsg_send()
265 ipc->oif = info->ipi_ifindex; in ip_cmsg_send()
266 ipc->addr = info->ipi_spec_dst.s_addr; in ip_cmsg_send()
275 ipc->ttl = val; in ip_cmsg_send()
283 ipc->tos = val; in ip_cmsg_send()
284 ipc->priority = rt_tos2priority(ipc->tos); in ip_cmsg_send()
/linux-4.1.27/sound/soc/intel/haswell/
Dsst-haswell-ipc.c312 struct sst_generic_ipc ipc; member
560 msg = sst_ipc_reply_find_msg(&hsw->ipc, header); in hsw_process_reply()
571 hsw->ipc.pending = true; in hsw_process_reply()
578 hsw->ipc.pending = false; in hsw_process_reply()
634 sst_ipc_tx_msg_reply_complete(&hsw->ipc, msg); in hsw_process_reply()
775 struct sst_generic_ipc *ipc = &hsw->ipc; in hsw_irq_thread() local
822 queue_kthread_work(&ipc->kworker, &ipc->kwork); in hsw_irq_thread()
832 ret = sst_ipc_tx_message_wait(&hsw->ipc, in sst_hsw_fw_get_version()
897 ret = sst_ipc_tx_message_wait(&hsw->ipc, header, req, in sst_hsw_stream_set_volume()
963 ret = sst_ipc_tx_message_wait(&hsw->ipc, header, &req, in sst_hsw_mixer_set_volume()
[all …]
DMakefile2 sst-haswell-ipc.o sst-haswell-pcm.o sst-haswell-dsp.o
/linux-4.1.27/drivers/isdn/i4l/
Disdn_ppp.h32 extern int isdn_ppp_register_compressor(struct isdn_ppp_compressor *ipc);
33 extern int isdn_ppp_unregister_compressor(struct isdn_ppp_compressor *ipc);
Disdn_ppp.c596 struct isdn_ppp_compressor *ipc = ipc_head; in isdn_ppp_ioctl() local
597 while (ipc) { in isdn_ppp_ioctl()
598 j = ipc->num / (sizeof(long) * 8); in isdn_ppp_ioctl()
599 i = ipc->num % (sizeof(long) * 8); in isdn_ppp_ioctl()
602 ipc = ipc->next; in isdn_ppp_ioctl()
2531 struct isdn_ppp_compressor *ipc = NULL; in isdn_ppp_decompress() local
2541 ipc = is->link_decompressor; in isdn_ppp_decompress()
2545 ipc = master->decompressor; in isdn_ppp_decompress()
2549 if (!ipc) { in isdn_ppp_decompress()
2570 len = ipc->decompress(stat, skb, skb_out, &rsparm); in isdn_ppp_decompress()
[all …]
/linux-4.1.27/include/trace/events/
Dhswadsp.h56 DECLARE_EVENT_CLASS(ipc,
76 DEFINE_EVENT(ipc, ipc_request,
84 DEFINE_EVENT(ipc, ipc_reply,
92 DEFINE_EVENT(ipc, ipc_pending_reply,
100 DEFINE_EVENT(ipc, ipc_notification,
108 DEFINE_EVENT(ipc, ipc_error,
/linux-4.1.27/include/net/
Dip.h128 struct ipcm_cookie *ipc,
145 struct ipcm_cookie *ipc, struct rtable **rtp,
153 static inline __u8 get_rttos(struct ipcm_cookie* ipc, struct inet_sock *inet) in get_rttos() argument
155 return (ipc->tos != -1) ? RT_TOS(ipc->tos) : RT_TOS(inet->tos); in get_rttos()
158 static inline __u8 get_rtconn_flags(struct ipcm_cookie* ipc, struct sock* sk) in get_rtconn_flags() argument
160 return (ipc->tos != -1) ? RT_CONN_FLAGS_TOS(sk, ipc->tos) : RT_CONN_FLAGS(sk); in get_rtconn_flags()
531 struct ipcm_cookie *ipc, bool allow_ipv6);
/linux-4.1.27/drivers/tty/serial/
Dsunsab.h31 u8 ipc; /* Interrupt Port Configuration */ member
67 u8 ipc; member
103 u8 ipc; member
Dsunsab.c988 writeb(SAB82532_IPC_IC_ACT_LOW, &up->regs->w.ipc); in sunsab_init_one()
/linux-4.1.27/kernel/
Dauditsc.c656 if (security_audit_rule_match(ctx->ipc.osid, in audit_filter_rules()
1189 u32 osid = context->ipc.osid; in show_special()
1192 from_kuid(&init_user_ns, context->ipc.uid), in show_special()
1193 from_kgid(&init_user_ns, context->ipc.gid), in show_special()
1194 context->ipc.mode); in show_special()
1206 if (context->ipc.has_perm) { in show_special()
1214 context->ipc.qbytes, in show_special()
1215 context->ipc.perm_uid, in show_special()
1216 context->ipc.perm_gid, in show_special()
1217 context->ipc.perm_mode); in show_special()
[all …]
Daudit.h169 } ipc; member
/linux-4.1.27/drivers/mailbox/
DMakefile7 obj-$(CONFIG_PL320_MBOX) += pl320-ipc.o
/linux-4.1.27/Documentation/devicetree/bindings/mfd/
Dqcom-rpm.txt35 - qcom,ipc:
39 Definition: three entries specifying the outgoing ipc bit used for
43 - u32 representing the ipc bit within the register
235 qcom,ipc = <&apcs 0x8 2>;
/linux-4.1.27/sound/soc/intel/atom/sst/
Dsst_ipc.c73 u32 drv_id, u32 ipc, void *data, u32 size) in sst_wake_up_block() argument
83 if (block->msg_id == ipc && block->drv_id == drv_id) { in sst_wake_up_block()
97 ipc, drv_id); in sst_wake_up_block()
Dsst.h501 int sst_send_sync_msg(int ipc, int str_id);
513 u32 drv_id, u32 ipc, void *data, u32 size);
/linux-4.1.27/security/apparmor/
DMakefile5 apparmor-y := apparmorfs.o audit.o capability.o context.o ipc.o lib.o match.o \
/linux-4.1.27/arch/powerpc/boot/dts/
Dwii.dts159 ipc@0d000000 {
160 compatible = "nintendo,hollywood-ipc";
/linux-4.1.27/drivers/net/vmxnet3/
Dvmxnet3_defs.h260 u32 ipc:1; /* IP Checksum Correct */ member
270 u32 ipc:1; /* IP Checksum Correct */ member
/linux-4.1.27/Documentation/DocBook/
D.kernel-api.xml.cmd2 …m/page_alloc.c mm/mempool.c mm/dmapool.c mm/page-writeback.c mm/truncate.c ipc/util.c include/linu…
/linux-4.1.27/net/iucv/
Diucv.c1548 struct iucv_path_complete *ipc = (void *) data; in iucv_path_complete() local
1549 struct iucv_path *path = iucv_path_table[ipc->ippathid]; in iucv_path_complete()
1552 path->flags = ipc->ipflags1; in iucv_path_complete()
1554 path->handler->path_complete(path, ipc->ipuser); in iucv_path_complete()
/linux-4.1.27/arch/arm/boot/dts/
Decx-common.dtsi56 ipc@fff20000 {
Datlas7.dtsi81 ipc@13240000 {
82 compatible = "sirf,atlas7-ipc";
/linux-4.1.27/fs/squashfs/
Dsquashfs_fs.h410 struct squashfs_ipc_inode ipc; member
Dinode.c366 struct squashfs_ipc_inode *sqsh_ino = &squashfs_ino.ipc; in squashfs_read_inode()
/linux-4.1.27/Documentation/devicetree/bindings/powerpc/nintendo/
Dwii.txt135 - compatible : should be "nintendo,hollywood-ipc"
/linux-4.1.27/Documentation/sysctl/
Dkernel.txt46 - msg_next_id [ sysv ipc ]
72 - sem_next_id [ sysv ipc ]
74 - shm_next_id [ sysv ipc ]
77 - shmmax [ sysv ipc ]
124 upon memory add/remove or upon ipc namespace creation/removal.
/linux-4.1.27/arch/powerpc/include/asm/
Dsystbl.h124 COMPAT_SYS(ipc)
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
Ddispc.c3007 bool onoff, rf, ipc, vs, hs, de; in _dispc_mgr_set_lcd_timings() local
3054 ipc = false; in _dispc_mgr_set_lcd_timings()
3057 ipc = true; in _dispc_mgr_set_lcd_timings()
3080 FLD_VAL(ipc, 14, 14) | in _dispc_mgr_set_lcd_timings()
3096 val = (rf << 0) | (ipc << 3) | (onoff << 6); in _dispc_mgr_set_lcd_timings()
/linux-4.1.27/arch/x86/syscalls/
Dsyscall_32.tbl126 117 i386 ipc sys_ipc compat_sys_ipc
/linux-4.1.27/Documentation/RCU/
DlistRCU.txt229 function in ipc/util.c). This code checks a "deleted" flag under a
DRTFP.txt825 ,Title="[PATCH]updated ipc lock patch"
/linux-4.1.27/include/uapi/linux/
DKbuild196 header-y += ipc.h
/linux-4.1.27/fs/cifs/
Dcifsglob.h879 bool ipc:1; /* set if connection to IPC$ eg for RPC/PIPES */ member
Dconnect.c3515 if (!tcon->ipc && server->ops->qfs_tcon) in cifs_mount()
3765 tcon->ipc = 1; in CIFSTCon()
Dinode.c1009 if (rc && tcon->ipc) {
Dsmb2pdu.c922 tcon->ipc = true; in SMB2_tcon()
/linux-4.1.27/
DMakefile888 core-y += kernel/ mm/ fs/ ipc/ security/ crypto/ block/
/linux-4.1.27/Documentation/ia64/
Derr_inject.txt99 #include <sys/ipc.h>
/linux-4.1.27/Documentation/cgroups/
Dmemory.txt705 1 | A charge of file pages (normal file, tmpfs file (e.g. ipc shared memory)
/linux-4.1.27/init/
DKconfig232 You can find documentation about IPC with "info ipc" and also in