Lines Matching refs:rfcomm_dlc
57 static int rfcomm_queue_disc(struct rfcomm_dlc *d);
59 static int rfcomm_send_pn(struct rfcomm_session *s, int cr, struct rfcomm_dlc *d);
212 static int rfcomm_check_security(struct rfcomm_dlc *d) in rfcomm_check_security()
263 struct rfcomm_dlc *d = (void *) arg; in rfcomm_dlc_timeout()
272 static void rfcomm_dlc_set_timer(struct rfcomm_dlc *d, long timeout) in rfcomm_dlc_set_timer()
280 static void rfcomm_dlc_clear_timer(struct rfcomm_dlc *d) in rfcomm_dlc_clear_timer()
288 static void rfcomm_dlc_clear_state(struct rfcomm_dlc *d) in rfcomm_dlc_clear_state()
303 struct rfcomm_dlc *rfcomm_dlc_alloc(gfp_t prio) in rfcomm_dlc_alloc()
305 struct rfcomm_dlc *d = kzalloc(sizeof(*d), prio); in rfcomm_dlc_alloc()
323 void rfcomm_dlc_free(struct rfcomm_dlc *d) in rfcomm_dlc_free()
331 static void rfcomm_dlc_link(struct rfcomm_session *s, struct rfcomm_dlc *d) in rfcomm_dlc_link()
341 static void rfcomm_dlc_unlink(struct rfcomm_dlc *d) in rfcomm_dlc_unlink()
355 static struct rfcomm_dlc *rfcomm_dlc_get(struct rfcomm_session *s, u8 dlci) in rfcomm_dlc_get()
357 struct rfcomm_dlc *d; in rfcomm_dlc_get()
371 static int __rfcomm_dlc_open(struct rfcomm_dlc *d, bdaddr_t *src, bdaddr_t *dst, u8 channel) in __rfcomm_dlc_open()
425 int rfcomm_dlc_open(struct rfcomm_dlc *d, bdaddr_t *src, bdaddr_t *dst, u8 channel) in rfcomm_dlc_open()
437 static void __rfcomm_dlc_disconn(struct rfcomm_dlc *d) in __rfcomm_dlc_disconn()
451 static int __rfcomm_dlc_close(struct rfcomm_dlc *d, int err) in __rfcomm_dlc_close()
502 int rfcomm_dlc_close(struct rfcomm_dlc *d, int err) in rfcomm_dlc_close()
505 struct rfcomm_dlc *d_list; in rfcomm_dlc_close()
536 struct rfcomm_dlc *rfcomm_dlc_exists(bdaddr_t *src, bdaddr_t *dst, u8 channel) in rfcomm_dlc_exists()
539 struct rfcomm_dlc *dlc = NULL; in rfcomm_dlc_exists()
555 int rfcomm_dlc_send(struct rfcomm_dlc *d, struct sk_buff *skb) in rfcomm_dlc_send()
575 void rfcomm_dlc_send_noerror(struct rfcomm_dlc *d, struct sk_buff *skb) in rfcomm_dlc_send_noerror()
589 void __rfcomm_dlc_throttle(struct rfcomm_dlc *d) in __rfcomm_dlc_throttle()
600 void __rfcomm_dlc_unthrottle(struct rfcomm_dlc *d) in __rfcomm_dlc_unthrottle()
616 int rfcomm_dlc_set_modem_status(struct rfcomm_dlc *d, u8 v24_sig) in rfcomm_dlc_set_modem_status()
634 int rfcomm_dlc_get_modem_status(struct rfcomm_dlc *d, u8 *v24_sig) in rfcomm_dlc_get_modem_status()
712 struct rfcomm_dlc *d; in rfcomm_session_close()
721 d = list_entry(p, struct rfcomm_dlc, list); in rfcomm_session_close()
859 static int rfcomm_queue_disc(struct rfcomm_dlc *d) in rfcomm_queue_disc()
920 static int rfcomm_send_pn(struct rfcomm_session *s, int cr, struct rfcomm_dlc *d) in rfcomm_send_pn()
1176 struct rfcomm_dlc *d = rfcomm_dlc_get(s, dlci); in rfcomm_recv_ua()
1230 struct rfcomm_dlc *d = rfcomm_dlc_get(s, dlci); in rfcomm_recv_dm()
1259 struct rfcomm_dlc *d = rfcomm_dlc_get(s, dlci); in rfcomm_recv_disc()
1286 void rfcomm_dlc_accept(struct rfcomm_dlc *d) in rfcomm_dlc_accept()
1308 static void rfcomm_check_accept(struct rfcomm_dlc *d) in rfcomm_check_accept()
1329 struct rfcomm_dlc *d; in rfcomm_recv_sabm()
1369 static int rfcomm_apply_pn(struct rfcomm_dlc *d, int cr, struct rfcomm_pn *pn) in rfcomm_apply_pn()
1401 struct rfcomm_dlc *d; in rfcomm_recv_pn()
1578 struct rfcomm_dlc *d; in rfcomm_recv_msc()
1673 struct rfcomm_dlc *d; in rfcomm_recv_data()
1774 struct rfcomm_dlc *d; in rfcomm_process_connect()
1780 d = list_entry(p, struct rfcomm_dlc, list); in rfcomm_process_connect()
1796 static int rfcomm_process_tx(struct rfcomm_dlc *d) in rfcomm_process_tx()
1846 struct rfcomm_dlc *d; in rfcomm_process_dlcs()
1852 d = list_entry(p, struct rfcomm_dlc, list); in rfcomm_process_dlcs()
2116 struct rfcomm_dlc *d; in rfcomm_security_cfm()
2126 d = list_entry(p, struct rfcomm_dlc, list); in rfcomm_security_cfm()
2173 struct rfcomm_dlc *d; in rfcomm_dlc_debugfs_show()