Lines Matching defs:s
81 #define __session_dir(s) ((s)->initiator ? 0x00 : 0x01) argument
234 struct rfcomm_session *s = from_timer(s, t, timer); in rfcomm_session_timeout() local
242 static void rfcomm_session_set_timer(struct rfcomm_session *s, long timeout) in rfcomm_session_set_timer()
249 static void rfcomm_session_clear_timer(struct rfcomm_session *s) in rfcomm_session_clear_timer()
327 static void rfcomm_dlc_link(struct rfcomm_session *s, struct rfcomm_dlc *d) in rfcomm_dlc_link()
339 struct rfcomm_session *s = d->session; in rfcomm_dlc_unlink() local
351 static struct rfcomm_dlc *rfcomm_dlc_get(struct rfcomm_session *s, u8 dlci) in rfcomm_dlc_get()
369 struct rfcomm_session *s; in __rfcomm_dlc_open() local
435 struct rfcomm_session *s = d->session; in __rfcomm_dlc_disconn() local
449 struct rfcomm_session *s = d->session; in __rfcomm_dlc_close() local
503 struct rfcomm_session *s, *s_list; in rfcomm_dlc_close() local
535 struct rfcomm_session *s; in rfcomm_dlc_exists() local
643 struct rfcomm_session *s = kzalloc(sizeof(*s), GFP_KERNEL); in rfcomm_session_add() local
672 static struct rfcomm_session *rfcomm_session_del(struct rfcomm_session *s) in rfcomm_session_del()
692 struct rfcomm_session *s, *n; in rfcomm_session_get() local
704 static struct rfcomm_session *rfcomm_session_close(struct rfcomm_session *s, in rfcomm_session_close()
728 struct rfcomm_session *s = NULL; in rfcomm_session_create() local
782 void rfcomm_session_getaddr(struct rfcomm_session *s, bdaddr_t *src, bdaddr_t *dst) in rfcomm_session_getaddr()
792 static int rfcomm_send_frame(struct rfcomm_session *s, u8 *data, int len) in rfcomm_send_frame()
804 static int rfcomm_send_cmd(struct rfcomm_session *s, struct rfcomm_cmd *cmd) in rfcomm_send_cmd()
811 static int rfcomm_send_sabm(struct rfcomm_session *s, u8 dlci) in rfcomm_send_sabm()
825 static int rfcomm_send_ua(struct rfcomm_session *s, u8 dlci) in rfcomm_send_ua()
839 static int rfcomm_send_disc(struct rfcomm_session *s, u8 dlci) in rfcomm_send_disc()
875 static int rfcomm_send_dm(struct rfcomm_session *s, u8 dlci) in rfcomm_send_dm()
889 static int rfcomm_send_nsc(struct rfcomm_session *s, int cr, u8 type) in rfcomm_send_nsc()
914 static int rfcomm_send_pn(struct rfcomm_session *s, int cr, struct rfcomm_dlc *d) in rfcomm_send_pn()
956 int rfcomm_send_rpn(struct rfcomm_session *s, int cr, u8 dlci, in rfcomm_send_rpn()
994 static int rfcomm_send_rls(struct rfcomm_session *s, int cr, u8 dlci, u8 status) in rfcomm_send_rls()
1021 static int rfcomm_send_msc(struct rfcomm_session *s, int cr, u8 dlci, u8 v24_sig) in rfcomm_send_msc()
1048 static int rfcomm_send_fcoff(struct rfcomm_session *s, int cr) in rfcomm_send_fcoff()
1070 static int rfcomm_send_fcon(struct rfcomm_session *s, int cr) in rfcomm_send_fcon()
1092 static int rfcomm_send_test(struct rfcomm_session *s, int cr, u8 *pattern, int len) in rfcomm_send_test()
1124 static int rfcomm_send_credits(struct rfcomm_session *s, u8 addr, u8 credits) in rfcomm_send_credits()
1164 static struct rfcomm_session *rfcomm_recv_ua(struct rfcomm_session *s, u8 dlci) in rfcomm_recv_ua()
1216 static struct rfcomm_session *rfcomm_recv_dm(struct rfcomm_session *s, u8 dlci) in rfcomm_recv_dm()
1245 static struct rfcomm_session *rfcomm_recv_disc(struct rfcomm_session *s, in rfcomm_recv_disc()
1321 static int rfcomm_recv_sabm(struct rfcomm_session *s, u8 dlci) in rfcomm_recv_sabm()
1365 struct rfcomm_session *s = d->session; in rfcomm_apply_pn() local
1392 static int rfcomm_recv_pn(struct rfcomm_session *s, int cr, struct sk_buff *skb) in rfcomm_recv_pn()
1444 static int rfcomm_recv_rpn(struct rfcomm_session *s, int cr, int len, struct sk_buff *skb) in rfcomm_recv_rpn()
1550 static int rfcomm_recv_rls(struct rfcomm_session *s, int cr, struct sk_buff *skb) in rfcomm_recv_rls()
1569 static int rfcomm_recv_msc(struct rfcomm_session *s, int cr, struct sk_buff *skb) in rfcomm_recv_msc()
1605 static int rfcomm_recv_mcc(struct rfcomm_session *s, struct sk_buff *skb) in rfcomm_recv_mcc()
1665 static int rfcomm_recv_data(struct rfcomm_session *s, u8 dlci, int pf, struct sk_buff *skb) in rfcomm_recv_data()
1698 static struct rfcomm_session *rfcomm_recv_frame(struct rfcomm_session *s, in rfcomm_recv_frame()
1766 static void rfcomm_process_connect(struct rfcomm_session *s) in rfcomm_process_connect()
1836 static void rfcomm_process_dlcs(struct rfcomm_session *s) in rfcomm_process_dlcs()
1893 static struct rfcomm_session *rfcomm_process_rx(struct rfcomm_session *s) in rfcomm_process_rx()
1919 static void rfcomm_accept_connection(struct rfcomm_session *s) in rfcomm_accept_connection()
1951 static struct rfcomm_session *rfcomm_check_connection(struct rfcomm_session *s) in rfcomm_check_connection()
1977 struct rfcomm_session *s, *n; in rfcomm_process_sessions() local
2014 struct rfcomm_session *s; in rfcomm_add_listener() local
2065 struct rfcomm_session *s, *n; in rfcomm_kill_listener() local
2099 struct rfcomm_session *s; in rfcomm_security_cfm() local
2148 struct rfcomm_session *s; in rfcomm_dlc_debugfs_show() local