Lines Matching refs:ce
144 struct ChildEntry *ce;
149 ce = hash_find(&child_process_table, &candidate);
150 if (ce) {
151 if (ce->handler) {
152 ce->handler(pid, status, ce->data);
154 hash_remove(&child_process_table, ce);
155 free(ce);
255 struct ChildEntry *ce;
258 ce = malloc(sizeof(struct ChildEntry));
259 if (!ce) return -1;
260 ce->pid = pid;
261 ce->data = data;
262 ce->handler = handler;
263 hash_insert(&child_process_table, ce);