Lines Matching refs:ThdEntry
41 struct ThdEntry { struct
42 SLIST_ENTRY(ThdEntry) parser_list_entry;
43 SLIST_ENTRY(ThdEntry) dev_list_entry;
57 static void thd_entry_event_signal(struct ThdEntry *thd) in thd_entry_event_signal() argument
67 static int thd_entry_event_wait(struct ThdEntry *thd, pthread_mutex_t *mutex, in thd_entry_event_wait()
115 SLIST_HEAD(ThdHead, ThdEntry) thdlist_head;
415 static ssize_t send_data(struct DevEntry *dev, struct ThdEntry *thd, size_t len) in send_data()
461 static ssize_t receive_data(struct DevEntry *dev, struct ThdEntry *thd) in receive_data()
513 static void signal_thread(struct ThdEntry *thd, ssize_t ret) in signal_thread()
524 struct ThdEntry *thd, *next_thd; in rw_thd()
728 SLIST_REMOVE(&entry->thdlist_head, thd, ThdEntry, dev_list_entry); in rw_thd()
752 static struct ThdEntry *parser_lookup_thd_entry(struct parser_pdata *pdata, in parser_lookup_thd_entry()
755 struct ThdEntry *t; in parser_lookup_thd_entry()
769 struct ThdEntry *thd; in rw_buffer()
844 static void free_thd_entry(struct ThdEntry *t) in free_thd_entry()
851 static void remove_thd_entry(struct ThdEntry *t) in remove_thd_entry()
858 SLIST_REMOVE(&entry->thdlist_head, t, ThdEntry, dev_list_entry); in remove_thd_entry()
877 struct ThdEntry *thd; in open_dev_helper()
1054 struct ThdEntry *t; in close_dev_helper()
1063 SLIST_REMOVE(&pdata->thdlist_head, t, ThdEntry, parser_list_entry); in close_dev_helper()