Lines Matching defs:s
83 #define __session_dir(s) ((s)->initiator ? 0x00 : 0x01) argument
238 struct rfcomm_session *s = from_timer(s, t, timer); 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
507 struct rfcomm_session *s, *s_list; in rfcomm_dlc_close() local
539 struct rfcomm_session *s; in rfcomm_dlc_exists() local
683 struct rfcomm_session *s = kzalloc(sizeof(*s), GFP_KERNEL); in rfcomm_session_add() local
712 static struct rfcomm_session *rfcomm_session_del(struct rfcomm_session *s) in rfcomm_session_del()
732 struct rfcomm_session *s, *n; in rfcomm_session_get() local
744 static struct rfcomm_session *rfcomm_session_close(struct rfcomm_session *s, in rfcomm_session_close()
768 struct rfcomm_session *s = NULL; in rfcomm_session_create() local
822 void rfcomm_session_getaddr(struct rfcomm_session *s, bdaddr_t *src, bdaddr_t *dst) in rfcomm_session_getaddr()
832 static int rfcomm_send_frame(struct rfcomm_session *s, u8 *data, int len) in rfcomm_send_frame()
844 static int rfcomm_send_cmd(struct rfcomm_session *s, struct rfcomm_cmd *cmd) in rfcomm_send_cmd()
851 static int rfcomm_send_sabm(struct rfcomm_session *s, u8 dlci) in rfcomm_send_sabm()
865 static int rfcomm_send_ua(struct rfcomm_session *s, u8 dlci) in rfcomm_send_ua()
879 static int rfcomm_send_disc(struct rfcomm_session *s, u8 dlci) in rfcomm_send_disc()
915 static int rfcomm_send_dm(struct rfcomm_session *s, u8 dlci) in rfcomm_send_dm()
929 static int rfcomm_send_nsc(struct rfcomm_session *s, int cr, u8 type) in rfcomm_send_nsc()
954 static int rfcomm_send_pn(struct rfcomm_session *s, int cr, struct rfcomm_dlc *d) in rfcomm_send_pn()
996 int rfcomm_send_rpn(struct rfcomm_session *s, int cr, u8 dlci, in rfcomm_send_rpn()
1034 static int rfcomm_send_rls(struct rfcomm_session *s, int cr, u8 dlci, u8 status) in rfcomm_send_rls()
1061 static int rfcomm_send_msc(struct rfcomm_session *s, int cr, u8 dlci, u8 v24_sig) in rfcomm_send_msc()
1088 static int rfcomm_send_fcoff(struct rfcomm_session *s, int cr) in rfcomm_send_fcoff()
1110 static int rfcomm_send_fcon(struct rfcomm_session *s, int cr) in rfcomm_send_fcon()
1132 static int rfcomm_send_test(struct rfcomm_session *s, int cr, u8 *pattern, int len) in rfcomm_send_test()
1164 static int rfcomm_send_credits(struct rfcomm_session *s, u8 addr, u8 credits) in rfcomm_send_credits()
1204 static struct rfcomm_session *rfcomm_recv_ua(struct rfcomm_session *s, u8 dlci) in rfcomm_recv_ua()
1256 static struct rfcomm_session *rfcomm_recv_dm(struct rfcomm_session *s, u8 dlci) in rfcomm_recv_dm()
1285 static struct rfcomm_session *rfcomm_recv_disc(struct rfcomm_session *s, in rfcomm_recv_disc()
1361 static int rfcomm_recv_sabm(struct rfcomm_session *s, u8 dlci) in rfcomm_recv_sabm()
1405 struct rfcomm_session *s = d->session; in rfcomm_apply_pn() local
1432 static int rfcomm_recv_pn(struct rfcomm_session *s, int cr, struct sk_buff *skb) in rfcomm_recv_pn()
1484 static int rfcomm_recv_rpn(struct rfcomm_session *s, int cr, int len, struct sk_buff *skb) in rfcomm_recv_rpn()
1590 static int rfcomm_recv_rls(struct rfcomm_session *s, int cr, struct sk_buff *skb) in rfcomm_recv_rls()
1609 static int rfcomm_recv_msc(struct rfcomm_session *s, int cr, struct sk_buff *skb) in rfcomm_recv_msc()
1645 static int rfcomm_recv_mcc(struct rfcomm_session *s, struct sk_buff *skb) in rfcomm_recv_mcc()
1705 static int rfcomm_recv_data(struct rfcomm_session *s, u8 dlci, int pf, struct sk_buff *skb) in rfcomm_recv_data()
1738 static struct rfcomm_session *rfcomm_recv_frame(struct rfcomm_session *s, in rfcomm_recv_frame()
1806 static void rfcomm_process_connect(struct rfcomm_session *s) in rfcomm_process_connect()
1876 static void rfcomm_process_dlcs(struct rfcomm_session *s) in rfcomm_process_dlcs()
1933 static struct rfcomm_session *rfcomm_process_rx(struct rfcomm_session *s) in rfcomm_process_rx()
1959 static void rfcomm_accept_connection(struct rfcomm_session *s) in rfcomm_accept_connection()
1991 static struct rfcomm_session *rfcomm_check_connection(struct rfcomm_session *s) in rfcomm_check_connection()
2017 struct rfcomm_session *s, *n; in rfcomm_process_sessions() local
2054 struct rfcomm_session *s; in rfcomm_add_listener() local
2105 struct rfcomm_session *s, *n; in rfcomm_kill_listener() local
2139 struct rfcomm_session *s; in rfcomm_security_cfm() local
2188 struct rfcomm_session *s; in rfcomm_dlc_debugfs_show() local