Lines Matching refs:ctid
77 * Used when updating the ctid and (start) pid files for an inetd service.
462 rep_val_t *spval; /* Contains a start_pid or ctid */
628 * Then the cached list is written to a file named "ctid" in a directory
630 * problems in libscf. The file "ctid" is used when inetd is restarted
640 add_remove_contract(instance_t *inst, boolean_t add, ctid_t ctid)
650 * ctid will be appended to the ctid file.
651 * The removal of a ctid will result in the remaining
656 if (gen_filenms_from_fmri(inst->fmri, "ctid", genfmri_filename,
673 if (fprintf(tfp, "%llu\n", (uint64_t)ctid) <= 0) {
684 if (add_rep_val(inst->start_ctids, ctid) != 0) {
689 remove_rep_val(inst->start_ctids, ctid);
692 if ((repval_ret = repvals_to_file(inst->fmri, "ctid",
749 * Attempt to adopt the contract for each ctid.
751 if (gen_filenms_from_fmri(inst->fmri, "ctid", genfmri_filename,
778 /* If tval isn't a valid ctid, then fail. */