Home | History | Annotate | Download | only in src

Lines Matching defs:user_id

84     uint32_t user_id;
103 static inline void add_poll(int h, int fd, int type, int flags, uint32_t user_id);
238 uint32_t user_id;
240 int btsock_thread_add_fd(int h, int fd, int type, int flags, uint32_t user_id)
259 add_poll(h, fd, type, flags, user_id);
264 sock_cmd_t cmd = {CMD_ADD_FD, fd, type, flags, user_id};
294 int btsock_thread_post_cmd(int h, int type, const unsigned char* data, int size, uint32_t user_id)
306 sock_cmd_t cmd = {CMD_USER_PRIVATE, 0, type, size, user_id};
401 static inline void set_poll(poll_slot_t* ps, int fd, int type, int flags, uint32_t user_id)
404 ps->user_id = user_id;
412 static inline void add_poll(int h, int fd, int type, int flags, uint32_t user_id)
425 set_poll(&ps[i], fd, type, flags | ps[i].flags, user_id);
434 set_poll(&ps[empty], fd, type, flags, user_id);
474 add_poll(h, cmd.fd, cmd.type, cmd.flags, cmd.user_id);
493 ts[h].cmd_callback(fd, cmd.type, cmd.flags, cmd.user_id);
513 uint32_t user_id = ts[h].ps[ps_i].user_id;
534 ts[h].callback(pfds[i].fd, type, flags, user_id);