Lines Matching refs:caifsock
47 struct caifsock { struct
57 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()
67 static void set_rx_flow_off(struct caifsock *cf_sk) in set_rx_flow_off()
72 static void set_rx_flow_on(struct caifsock *cf_sk) in set_rx_flow_on()
77 static void set_tx_flow_off(struct caifsock *cf_sk) in set_tx_flow_off()
82 static void set_tx_flow_on(struct caifsock *cf_sk) in set_tx_flow_on()
89 struct caifsock *cf_sk; in caif_read_lock()
90 cf_sk = container_of(sk, struct caifsock, sk); in caif_read_lock()
96 struct caifsock *cf_sk; in caif_read_unlock()
97 cf_sk = container_of(sk, struct caifsock, sk); in caif_read_unlock()
101 static int sk_rcvbuf_lowwater(struct caifsock *cf_sk) in sk_rcvbuf_lowwater()
109 struct caifsock *cf_sk; in caif_flow_ctrl()
110 cf_sk = container_of(sk, struct caifsock, sk); in caif_flow_ctrl()
124 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_queue_rcv_skb()
162 struct caifsock *cf_sk; in caif_sktrecv_cb()
165 cf_sk = container_of(layr, struct caifsock, layer); in caif_sktrecv_cb()
178 struct caifsock *cf_sk = container_of(layr, struct caifsock, layer); in cfsk_hold()
184 struct caifsock *cf_sk = container_of(layr, struct caifsock, layer); in cfsk_put()
193 struct caifsock *cf_sk = container_of(layr, struct caifsock, layer); in caif_ctrl_cb()
251 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_check_flow_release()
459 static long caif_wait_for_flow_on(struct caifsock *cf_sk, in caif_wait_for_flow_on()
495 static int transmit_skb(struct sk_buff *skb, struct caifsock *cf_sk, in transmit_skb()
517 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_seqpkt_sendmsg()
539 timeo = caif_wait_for_flow_on(container_of(sk, struct caifsock, sk), in caif_seqpkt_sendmsg()
589 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_stream_sendmsg()
668 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in setsockopt()
740 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_connect()
893 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_release()
934 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_poll()
1003 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_sock_destructor()
1020 struct caifsock *cf_sk = NULL; in caif_create()
1023 .obj_size = sizeof(struct caifsock), in caif_create()
1024 .useroffset = offsetof(struct caifsock, conn_req.param), in caif_create()
1025 .usersize = sizeof_field(struct caifsock, conn_req.param) in caif_create()
1054 cf_sk = container_of(sk, struct caifsock, sk); in caif_create()