Home | History | Annotate | Download | only in src

Lines Matching defs:user_id

89     uint32_t user_id;
110 static inline void add_poll(int h, int fd, int type, int flags, uint32_t user_id);
282 uint32_t user_id;
284 int btsock_thread_add_fd(int h, int fd, int type, int flags, uint32_t user_id)
303 add_poll(h, fd, type, flags, user_id);
308 sock_cmd_t cmd = {CMD_ADD_FD, fd, type, flags, user_id};
312 int btsock_thread_post_cmd(int h, int type, const unsigned char* data, int size, uint32_t user_id)
324 sock_cmd_t cmd = {CMD_USER_PRIVATE, 0, type, size, user_id};
408 static inline void set_poll(poll_slot_t* ps, int fd, int type, int flags, uint32_t user_id)
411 ps->user_id = user_id;
419 static inline void add_poll(int h, int fd, int type, int flags, uint32_t user_id)
432 set_poll(&ps[i], fd, type, flags | ps[i].flags, user_id);
441 set_poll(&ps[empty], fd, type, flags, user_id);
477 add_poll(h, cmd.fd, cmd.type, cmd.flags, cmd.user_id);
484 ts[h].cmd_callback(fd, cmd.type, cmd.flags, cmd.user_id);
504 uint32_t user_id = ts[h].ps[ps_i].user_id;
525 ts[h].callback(pfds[i].fd, type, flags, user_id);