Lines Matching defs:ce
278 contract_entry_t *ce;
285 for (ce = uu_list_first(bp->cb_list); ce != NULL;
286 ce = uu_list_next(bp->cb_list, ce)) {
287 if (ce->ce_ctid == ctid)
288 return (ce);
295 contract_insert(contract_bucket_t *bp, contract_entry_t *ce)
302 uu_list_node_init(ce, &ce->ce_link, contract_list_pool);
303 r = uu_list_insert_before(bp->cb_list, NULL, ce);
321 contract_entry_t *ce;
325 ce = startd_alloc(sizeof (contract_entry_t));
326 ce->ce_ctid = ctid;
327 ce->ce_instid = instid;
329 contract_insert(bp, ce);
338 contract_entry_t *ce;
342 ce = contract_lookup(bp, ctid);
343 if (ce != NULL) {
344 uu_list_remove(bp->cb_list, ce);
345 startd_free(ce, sizeof (contract_entry_t));
361 contract_entry_t *ce;
365 ce = contract_lookup(bp, ctid);
366 if (ce != NULL)
367 id = ce->ce_instid;