Lines Matching defs:s
84 #define __session_dir(s) ((s)->initiator ? 0x00 : 0x01) argument
238 struct rfcomm_session *s = (void *) arg; in rfcomm_session_timeout() local
246 static void rfcomm_session_set_timer(struct rfcomm_session *s, long timeout) in rfcomm_session_set_timer()
253 static void rfcomm_session_clear_timer(struct rfcomm_session *s) in rfcomm_session_clear_timer()
331 static void rfcomm_dlc_link(struct rfcomm_session *s, struct rfcomm_dlc *d) in rfcomm_dlc_link()
343 struct rfcomm_session *s = d->session; in rfcomm_dlc_unlink() local
355 static struct rfcomm_dlc *rfcomm_dlc_get(struct rfcomm_session *s, u8 dlci) in rfcomm_dlc_get()
373 struct rfcomm_session *s; in __rfcomm_dlc_open() local
439 struct rfcomm_session *s = d->session; in __rfcomm_dlc_disconn() local
453 struct rfcomm_session *s = d->session; in __rfcomm_dlc_close() local
506 struct rfcomm_session *s, *s_list; in rfcomm_dlc_close() local
538 struct rfcomm_session *s; in rfcomm_dlc_exists() local
646 struct rfcomm_session *s = kzalloc(sizeof(*s), GFP_KERNEL); in rfcomm_session_add() local
675 static struct rfcomm_session *rfcomm_session_del(struct rfcomm_session *s) in rfcomm_session_del()
695 struct rfcomm_session *s, *n; in rfcomm_session_get() local
707 static struct rfcomm_session *rfcomm_session_close(struct rfcomm_session *s, in rfcomm_session_close()
731 struct rfcomm_session *s = NULL; in rfcomm_session_create() local
784 void rfcomm_session_getaddr(struct rfcomm_session *s, bdaddr_t *src, bdaddr_t *dst) in rfcomm_session_getaddr()
794 static int rfcomm_send_frame(struct rfcomm_session *s, u8 *data, int len) in rfcomm_send_frame()
806 static int rfcomm_send_cmd(struct rfcomm_session *s, struct rfcomm_cmd *cmd) in rfcomm_send_cmd()
813 static int rfcomm_send_sabm(struct rfcomm_session *s, u8 dlci) in rfcomm_send_sabm()
827 static int rfcomm_send_ua(struct rfcomm_session *s, u8 dlci) in rfcomm_send_ua()
841 static int rfcomm_send_disc(struct rfcomm_session *s, u8 dlci) in rfcomm_send_disc()
877 static int rfcomm_send_dm(struct rfcomm_session *s, u8 dlci) in rfcomm_send_dm()
891 static int rfcomm_send_nsc(struct rfcomm_session *s, int cr, u8 type) in rfcomm_send_nsc()
916 static int rfcomm_send_pn(struct rfcomm_session *s, int cr, struct rfcomm_dlc *d) in rfcomm_send_pn()
958 int rfcomm_send_rpn(struct rfcomm_session *s, int cr, u8 dlci, in rfcomm_send_rpn()
996 static int rfcomm_send_rls(struct rfcomm_session *s, int cr, u8 dlci, u8 status) in rfcomm_send_rls()
1023 static int rfcomm_send_msc(struct rfcomm_session *s, int cr, u8 dlci, u8 v24_sig) in rfcomm_send_msc()
1050 static int rfcomm_send_fcoff(struct rfcomm_session *s, int cr) in rfcomm_send_fcoff()
1072 static int rfcomm_send_fcon(struct rfcomm_session *s, int cr) in rfcomm_send_fcon()
1094 static int rfcomm_send_test(struct rfcomm_session *s, int cr, u8 *pattern, int len) in rfcomm_send_test()
1126 static int rfcomm_send_credits(struct rfcomm_session *s, u8 addr, u8 credits) in rfcomm_send_credits()
1166 static struct rfcomm_session *rfcomm_recv_ua(struct rfcomm_session *s, u8 dlci) in rfcomm_recv_ua()
1218 static struct rfcomm_session *rfcomm_recv_dm(struct rfcomm_session *s, u8 dlci) in rfcomm_recv_dm()
1247 static struct rfcomm_session *rfcomm_recv_disc(struct rfcomm_session *s, in rfcomm_recv_disc()
1323 static int rfcomm_recv_sabm(struct rfcomm_session *s, u8 dlci) in rfcomm_recv_sabm()
1367 struct rfcomm_session *s = d->session; in rfcomm_apply_pn() local
1394 static int rfcomm_recv_pn(struct rfcomm_session *s, int cr, struct sk_buff *skb) in rfcomm_recv_pn()
1446 static int rfcomm_recv_rpn(struct rfcomm_session *s, int cr, int len, struct sk_buff *skb) in rfcomm_recv_rpn()
1552 static int rfcomm_recv_rls(struct rfcomm_session *s, int cr, struct sk_buff *skb) in rfcomm_recv_rls()
1571 static int rfcomm_recv_msc(struct rfcomm_session *s, int cr, struct sk_buff *skb) in rfcomm_recv_msc()
1607 static int rfcomm_recv_mcc(struct rfcomm_session *s, struct sk_buff *skb) in rfcomm_recv_mcc()
1667 static int rfcomm_recv_data(struct rfcomm_session *s, u8 dlci, int pf, struct sk_buff *skb) in rfcomm_recv_data()
1700 static struct rfcomm_session *rfcomm_recv_frame(struct rfcomm_session *s, in rfcomm_recv_frame()
1768 static void rfcomm_process_connect(struct rfcomm_session *s) in rfcomm_process_connect()
1838 static void rfcomm_process_dlcs(struct rfcomm_session *s) in rfcomm_process_dlcs()
1895 static struct rfcomm_session *rfcomm_process_rx(struct rfcomm_session *s) in rfcomm_process_rx()
1921 static void rfcomm_accept_connection(struct rfcomm_session *s) in rfcomm_accept_connection()
1953 static struct rfcomm_session *rfcomm_check_connection(struct rfcomm_session *s) in rfcomm_check_connection()
1979 struct rfcomm_session *s, *n; in rfcomm_process_sessions() local
2016 struct rfcomm_session *s; in rfcomm_add_listener() local
2066 struct rfcomm_session *s, *n; in rfcomm_kill_listener() local
2100 struct rfcomm_session *s; in rfcomm_security_cfm() local
2149 struct rfcomm_session *s; in rfcomm_dlc_debugfs_show() local