Lines Matching refs:caifsock

48 struct caifsock {  struct
58 static int rx_flow_is_on(struct caifsock *cf_sk) in rx_flow_is_on() argument
63 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()
73 static void set_rx_flow_on(struct caifsock *cf_sk) in set_rx_flow_on()
78 static void set_tx_flow_off(struct caifsock *cf_sk) in set_tx_flow_off()
83 static void set_tx_flow_on(struct caifsock *cf_sk) in set_tx_flow_on()
90 struct caifsock *cf_sk; in caif_read_lock()
91 cf_sk = container_of(sk, struct caifsock, sk); in caif_read_lock()
97 struct caifsock *cf_sk; in caif_read_unlock()
98 cf_sk = container_of(sk, struct caifsock, sk); in caif_read_unlock()
102 static int sk_rcvbuf_lowwater(struct caifsock *cf_sk) in sk_rcvbuf_lowwater()
110 struct caifsock *cf_sk; in caif_flow_ctrl()
111 cf_sk = container_of(sk, struct caifsock, sk); in caif_flow_ctrl()
125 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_queue_rcv_skb()
163 struct caifsock *cf_sk; in caif_sktrecv_cb()
166 cf_sk = container_of(layr, struct caifsock, layer); in caif_sktrecv_cb()
179 struct caifsock *cf_sk = container_of(layr, struct caifsock, layer); in cfsk_hold()
185 struct caifsock *cf_sk = container_of(layr, struct caifsock, layer); in cfsk_put()
194 struct caifsock *cf_sk = container_of(layr, struct caifsock, layer); in caif_ctrl_cb()
252 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_check_flow_release()
460 static long caif_wait_for_flow_on(struct caifsock *cf_sk, in caif_wait_for_flow_on()
496 static int transmit_skb(struct sk_buff *skb, struct caifsock *cf_sk, in transmit_skb()
518 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_seqpkt_sendmsg()
540 timeo = caif_wait_for_flow_on(container_of(sk, struct caifsock, sk), in caif_seqpkt_sendmsg()
590 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_stream_sendmsg()
669 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in setsockopt()
741 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_connect()
894 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_release()
935 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_poll()
1004 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_sock_destructor()
1021 struct caifsock *cf_sk = NULL; in caif_create()
1024 .obj_size = sizeof(struct caifsock), in caif_create()
1025 .useroffset = offsetof(struct caifsock, conn_req.param), in caif_create()
1026 .usersize = sizeof_field(struct caifsock, conn_req.param) in caif_create()
1055 cf_sk = container_of(sk, struct caifsock, sk); in caif_create()