Lines Matching refs:cmtp_session
53 static struct cmtp_session *__cmtp_get_session(bdaddr_t *bdaddr) in __cmtp_get_session()
55 struct cmtp_session *session; in __cmtp_get_session()
66 static void __cmtp_link_session(struct cmtp_session *session) in __cmtp_link_session()
71 static void __cmtp_unlink_session(struct cmtp_session *session) in __cmtp_unlink_session()
76 static void __cmtp_copy_session(struct cmtp_session *session, struct cmtp_conninfo *ci) in __cmtp_copy_session()
89 static inline int cmtp_alloc_block_id(struct cmtp_session *session) in cmtp_alloc_block_id()
102 static inline void cmtp_free_block_id(struct cmtp_session *session, int id) in cmtp_free_block_id()
107 static inline void cmtp_add_msgpart(struct cmtp_session *session, int id, const unsigned char *buf,… in cmtp_add_msgpart()
132 static inline int cmtp_recv_frame(struct cmtp_session *session, struct sk_buff *skb) in cmtp_recv_frame()
193 static int cmtp_send_frame(struct cmtp_session *session, unsigned char *data, int len) in cmtp_send_frame()
209 static void cmtp_process_transmit(struct cmtp_session *session) in cmtp_process_transmit()
278 static int cmtp_session(void *arg) in cmtp_session() function
280 struct cmtp_session *session = arg; in cmtp_session()
333 struct cmtp_session *session, *s; in cmtp_add_connection()
344 session = kzalloc(sizeof(struct cmtp_session), GFP_KERNEL); in cmtp_add_connection()
384 session->task = kthread_run(cmtp_session, session, "kcmtpd_ctr_%d", in cmtp_add_connection()
422 struct cmtp_session *session; in cmtp_del_connection()
454 struct cmtp_session *session; in cmtp_get_connlist()
484 struct cmtp_session *session; in cmtp_get_conninfo()