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
679 struct rfcomm_session *s = kzalloc(sizeof(*s), GFP_KERNEL); in rfcomm_session_add() local
708 static struct rfcomm_session *rfcomm_session_del(struct rfcomm_session *s) in rfcomm_session_del()
728 struct rfcomm_session *s, *n; in rfcomm_session_get() local
740 static struct rfcomm_session *rfcomm_session_close(struct rfcomm_session *s, in rfcomm_session_close()
764 struct rfcomm_session *s = NULL; in rfcomm_session_create() local
818 void rfcomm_session_getaddr(struct rfcomm_session *s, bdaddr_t *src, bdaddr_t *dst) in rfcomm_session_getaddr()
828 static int rfcomm_send_frame(struct rfcomm_session *s, u8 *data, int len) in rfcomm_send_frame()
840 static int rfcomm_send_cmd(struct rfcomm_session *s, struct rfcomm_cmd *cmd) in rfcomm_send_cmd()
847 static int rfcomm_send_sabm(struct rfcomm_session *s, u8 dlci) in rfcomm_send_sabm()
861 static int rfcomm_send_ua(struct rfcomm_session *s, u8 dlci) in rfcomm_send_ua()
875 static int rfcomm_send_disc(struct rfcomm_session *s, u8 dlci) in rfcomm_send_disc()
911 static int rfcomm_send_dm(struct rfcomm_session *s, u8 dlci) in rfcomm_send_dm()
925 static int rfcomm_send_nsc(struct rfcomm_session *s, int cr, u8 type) in rfcomm_send_nsc()
950 static int rfcomm_send_pn(struct rfcomm_session *s, int cr, struct rfcomm_dlc *d) in rfcomm_send_pn()
992 int rfcomm_send_rpn(struct rfcomm_session *s, int cr, u8 dlci, in rfcomm_send_rpn()
1030 static int rfcomm_send_rls(struct rfcomm_session *s, int cr, u8 dlci, u8 status) in rfcomm_send_rls()
1057 static int rfcomm_send_msc(struct rfcomm_session *s, int cr, u8 dlci, u8 v24_sig) in rfcomm_send_msc()
1084 static int rfcomm_send_fcoff(struct rfcomm_session *s, int cr) in rfcomm_send_fcoff()
1106 static int rfcomm_send_fcon(struct rfcomm_session *s, int cr) in rfcomm_send_fcon()
1128 static int rfcomm_send_test(struct rfcomm_session *s, int cr, u8 *pattern, int len) in rfcomm_send_test()
1160 static int rfcomm_send_credits(struct rfcomm_session *s, u8 addr, u8 credits) in rfcomm_send_credits()
1200 static struct rfcomm_session *rfcomm_recv_ua(struct rfcomm_session *s, u8 dlci) in rfcomm_recv_ua()
1252 static struct rfcomm_session *rfcomm_recv_dm(struct rfcomm_session *s, u8 dlci) in rfcomm_recv_dm()
1281 static struct rfcomm_session *rfcomm_recv_disc(struct rfcomm_session *s, in rfcomm_recv_disc()
1357 static int rfcomm_recv_sabm(struct rfcomm_session *s, u8 dlci) in rfcomm_recv_sabm()
1401 struct rfcomm_session *s = d->session; in rfcomm_apply_pn() local
1428 static int rfcomm_recv_pn(struct rfcomm_session *s, int cr, struct sk_buff *skb) in rfcomm_recv_pn()
1480 static int rfcomm_recv_rpn(struct rfcomm_session *s, int cr, int len, struct sk_buff *skb) in rfcomm_recv_rpn()
1586 static int rfcomm_recv_rls(struct rfcomm_session *s, int cr, struct sk_buff *skb) in rfcomm_recv_rls()
1605 static int rfcomm_recv_msc(struct rfcomm_session *s, int cr, struct sk_buff *skb) in rfcomm_recv_msc()
1641 static int rfcomm_recv_mcc(struct rfcomm_session *s, struct sk_buff *skb) in rfcomm_recv_mcc()
1701 static int rfcomm_recv_data(struct rfcomm_session *s, u8 dlci, int pf, struct sk_buff *skb) in rfcomm_recv_data()
1734 static struct rfcomm_session *rfcomm_recv_frame(struct rfcomm_session *s, in rfcomm_recv_frame()
1802 static void rfcomm_process_connect(struct rfcomm_session *s) in rfcomm_process_connect()
1872 static void rfcomm_process_dlcs(struct rfcomm_session *s) in rfcomm_process_dlcs()
1929 static struct rfcomm_session *rfcomm_process_rx(struct rfcomm_session *s) in rfcomm_process_rx()
1955 static void rfcomm_accept_connection(struct rfcomm_session *s) in rfcomm_accept_connection()
1987 static struct rfcomm_session *rfcomm_check_connection(struct rfcomm_session *s) in rfcomm_check_connection()
2013 struct rfcomm_session *s, *n; in rfcomm_process_sessions() local
2050 struct rfcomm_session *s; in rfcomm_add_listener() local
2101 struct rfcomm_session *s, *n; in rfcomm_kill_listener() local
2135 struct rfcomm_session *s; in rfcomm_security_cfm() local
2184 struct rfcomm_session *s; in rfcomm_dlc_debugfs_show() local