Home
last modified time | relevance | path

Searched refs:waiter_ticket (Results 1 – 3 of 3) sorted by relevance

/device/linaro/dragonboard/shared/utils/qrtr/src/
Dwaiter.c108 struct waiter_ticket { struct
116 void (* fn)(void *data, struct waiter_ticket *); argument
146 struct waiter_ticket *ticket; in waiter_destroy() argument
151 ticket = list_entry(node, struct waiter_ticket, list_item); in waiter_destroy()
162 struct waiter_ticket *oticket; in waiter_synchronize()
163 struct waiter_ticket *ticket; in waiter_synchronize()
168 ticket = list_entry(node, struct waiter_ticket, list_item); in waiter_synchronize()
174 oticket = list_entry(onode, struct waiter_ticket, list_item); in waiter_synchronize()
189 struct waiter_ticket *ticket; in waiter_wait()
199 ticket = list_entry(node, struct waiter_ticket, list_item); in waiter_wait()
[all …]
Dwaiter.h35 struct waiter_ticket;
41 struct waiter_ticket *waiter_add_null(struct waiter *w);
48 struct waiter_ticket *waiter_add_fd(struct waiter *w, int fd);
55 struct waiter_ticket *waiter_add_timeout(struct waiter *w, unsigned int ms);
60 void waiter_ticket_set_null(struct waiter_ticket *tkt);
66 void waiter_ticket_set_fd(struct waiter_ticket *tkt, int fd);
72 void waiter_ticket_set_timeout(struct waiter_ticket *tkt, unsigned int ms);
77 void waiter_ticket_delete(struct waiter_ticket *tkt);
83 int waiter_ticket_check(const struct waiter_ticket *tkt);
90 int waiter_ticket_clear(struct waiter_ticket *tkt);
[all …]
Dns.c574 static void ctrl_port_fn(void *vcontext, struct waiter_ticket *tkt) in ctrl_port_fn()
704 struct waiter_ticket *tkt; in main()