Lines Matching refs:caifsock
46 struct caifsock { struct
56 static int rx_flow_is_on(struct caifsock *cf_sk) in rx_flow_is_on() argument
62 static int tx_flow_is_on(struct caifsock *cf_sk) in tx_flow_is_on()
68 static void set_rx_flow_off(struct caifsock *cf_sk) in set_rx_flow_off()
74 static void set_rx_flow_on(struct caifsock *cf_sk) in set_rx_flow_on()
80 static void set_tx_flow_off(struct caifsock *cf_sk) in set_tx_flow_off()
86 static void set_tx_flow_on(struct caifsock *cf_sk) in set_tx_flow_on()
94 struct caifsock *cf_sk; in caif_read_lock()
95 cf_sk = container_of(sk, struct caifsock, sk); in caif_read_lock()
101 struct caifsock *cf_sk; in caif_read_unlock()
102 cf_sk = container_of(sk, struct caifsock, sk); in caif_read_unlock()
106 static int sk_rcvbuf_lowwater(struct caifsock *cf_sk) in sk_rcvbuf_lowwater()
114 struct caifsock *cf_sk; in caif_flow_ctrl()
115 cf_sk = container_of(sk, struct caifsock, sk); in caif_flow_ctrl()
129 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_queue_rcv_skb()
167 struct caifsock *cf_sk; in caif_sktrecv_cb()
170 cf_sk = container_of(layr, struct caifsock, layer); in caif_sktrecv_cb()
183 struct caifsock *cf_sk = container_of(layr, struct caifsock, layer); in cfsk_hold()
189 struct caifsock *cf_sk = container_of(layr, struct caifsock, layer); in cfsk_put()
198 struct caifsock *cf_sk = container_of(layr, struct caifsock, layer); in caif_ctrl_cb()
256 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_check_flow_release()
464 static long caif_wait_for_flow_on(struct caifsock *cf_sk, in caif_wait_for_flow_on()
500 static int transmit_skb(struct sk_buff *skb, struct caifsock *cf_sk, in transmit_skb()
522 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_seqpkt_sendmsg()
548 timeo = caif_wait_for_flow_on(container_of(sk, struct caifsock, sk), in caif_seqpkt_sendmsg()
598 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_stream_sendmsg()
677 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in setsockopt()
749 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_connect()
902 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_release()
943 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_poll()
1014 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_sock_destructor()
1030 struct caifsock *cf_sk = NULL; in caif_create()
1033 .obj_size = sizeof(struct caifsock), in caif_create()
1034 .useroffset = offsetof(struct caifsock, conn_req.param), in caif_create()
1035 .usersize = sizeof_field(struct caifsock, conn_req.param) in caif_create()
1064 cf_sk = container_of(sk, struct caifsock, sk); in caif_create()