HomeSort by relevance Sort by last modified time
    Searched refs:ctid (Results 1 - 25 of 29) sorted by null

1 2

  /onnv/onnv-gate/usr/src/cmd/svc/startd/
proc.c 43 id_t ctid; local
54 ctid = psinfo.pr_contract;
56 ctid = -1;
59 return (ctid);
contract.c 51 contract_abandon(ctid_t ctid)
55 assert(ctid != 0);
57 err = contract_abandon_id(ctid);
61 "failed to abandon contract %ld: %s\n", ctid,
66 contract_kill(ctid_t ctid, int sig, const char *fmri)
68 if (sigsend(P_CTID, ctid, sig) == -1 && errno != ESRCH) {
82 ctid_t ctid, configd_ctid = -1; local
108 ctid = psi.pr_contract;
112 if ((csfd = contract_open(ctid, "process", "status", O_RDONLY)) < 0) {
213 contract_is_empty(ctid_t ctid)
    [all...]
fork.c 190 * Clean up, return pid and ctid.
231 ctid_t ctid; local
235 MAX_SULOGIN_RETRIES, &ctid, CT_PR_EV_HWERR, 0,
240 contract_abandon(ctid);
306 ctid_t ctid = -1; local
337 if (ctid != -1)
338 contract_abandon(ctid);
339 ctid = -1;
342 MAX_CONFIGD_RETRIES, &ctid, 0, CT_PR_EV_EXIT, 0,
497 "fork_configd_thread accepting svc.configd with CTID %ld\n"
522 ctid_t ctid; local
    [all...]
restarter.c 1162 ctid_t ctid; local
1207 ctid = rip->ri_i.i_primary_ctid;
1208 contract_abandon(ctid);
1231 r = restarter_remove_contract(inst, ctid, RESTARTER_CONTRACT_PRIMARY);
1259 "Could not remove contract id %lu for %s (%s).\n", ctid,
2052 ctid_t ctid; local
    [all...]
startd.c 351 ctid_t ctid; local
439 ctid = proc_get_ctid();
440 if (ctid != -1) {
441 uint64 = (uint64_t)ctid;
method.c 167 "%s: transient ctid expected to be 0 but "
184 "%s: primary ctid expected to be 0 but "
614 ctid_t ctid; local
819 method_store_contract(inst, type, &ctid);
855 timeout_insert(inst, ctid, timeout);
881 timeout_remove(inst, ctid);
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
contracts.c 181 adopt_contract(ctid_t ctid, const char *fmri)
187 if ((fd = open_contract_ctl_file(ctid)) == -1) {
195 ctid, fmri);
201 "ignored."), ctid, fmri, strerror(errno));
207 "with %s (%s). Events will be ignored."), ctid, fmri,
221 abandon_contract(ctid_t ctid)
226 assert(ctid != -1);
228 if ((fd = open_contract_ctl_file(ctid)) == -1) {
229 error_msg(gettext("Failed to abandon contract %d: %s"), ctid,
236 error_msg(gettext("Failed to abandon contract %d: %s"), ctid,
    [all...]
repval.c 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)
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/sys/
ctfs_impl.h 64 #define CTFS_INO_CT(ctid, file) \
67 (ctid))
68 #define CTFS_INO_CT_DIR(ctid) CTFS_INO_CT((ctid), 0)
69 #define CTFS_INO_CT_LINK(ctid) CTFS_INO_CT((ctid), 1)
70 #define CTFS_INO_CT_FILE(ctid, file) CTFS_INO_CT((ctid), (file) + 2)
  /onnv/onnv-gate/usr/src/lib/libcontract/common/
device_dump.c 53 ctid_t ctid; local
58 ctid = ct_event_get_ctid(ev);
60 statfd = contract_open(ctid, "device", "status", O_RDONLY);
libcontract_priv.c 84 contract_open(ctid_t ctid, const char *type, const char *file, int oflag)
94 n = snprintf(path, PATH_MAX, CTFS_ROOT "/%s/%ld/%s", type, ctid, file);
113 contract_abandon_id(ctid_t ctid)
117 fd = contract_open(ctid, "all", "ctl", O_WRONLY);
process_dump.c 94 ctid_t ctid; local
151 if (ct_pr_event_get_senderct(ev, &ctid) == 0)
153 "\tsender ctid: %d\n"), ctid);
process.c 42 ct_pr_tmpl_set_transfer(int fd, ctid_t ctid)
44 return (ct_tmpl_set_internal(fd, CTPP_SUBSUME, ctid));
72 ct_pr_tmpl_get_transfer(int fd, ctid_t *ctid)
74 return (ct_tmpl_get_internal(fd, CTPP_SUBSUME, (uint_t *)ctid));
297 ct_pr_status_get_svc_ctid(ct_stathdl_t stathdl, ctid_t *ctid)
305 (int32_t *)ctid));
libcontract.c 61 ctid_t ctid = ioctl(fd, CT_TCREATE); local
62 if (ctid == -1)
64 *ctidp = ctid;
  /onnv/onnv-gate/usr/src/pkgdefs/SUNWfcprtr/
preinstall 168 ctid=`$SVCPROP -p restarter/contract $fmri 2>/dev/null`
176 if [ -n "${tctid}" -a "${ctid}" -gt 1 ]; then
180 if [ -n "${ctid}" -a "{ctid}" -gt 1 ]; then
182 /usr/bin/pkill -9 -c $ctid
  /onnv/onnv-gate/usr/src/cmd/ptools/ptree/
ptree.c 63 ctid_t ctid; member in struct:ps
237 p->ctid = info.pr_contract;
372 indent, indent, " ", (int)p->ctid);
402 ctsort(ctid_t ctid, ps_t *p)
410 if (ctps[n]->ctid == ctid) {
415 if ((fd = contract_open(ctid, "process", "status", O_RDONLY)) == -1)
439 pp->ctid = ctid;
486 p->ctid != -1 && p->ctid != pp->ctid)
    [all...]
  /onnv/onnv-gate/usr/src/cmd/ctrun/
ctrun.c 240 get_event(int fd, int ctfd, ctid_t ctid)
276 if (ct_event_get_ctid(ev) == ctid)
379 ctid_t ctid = 0; local
580 ctid = opt_adopt;
582 v_printf(gettext("adopted contract id %ld\n"), ctid);
639 if (errno = contract_latest(&ctid))
641 if ((ctfd = contract_open(ctid, "process", "ctl",
654 v_printf(gettext("created contract id %ld\n"), ctid);
666 event = get_event(efd, ctfd, ctid);
672 bit2str(option_events, event), ctid);
    [all...]
  /onnv/onnv-gate/usr/src/pkgdefs/SUNWiscsir/
preinstall 171 ctid=`$SVCPROP -p restarter/contract $fmri 2>/dev/null`
179 if [ -n "${tctid}" -a "${ctid}" -gt 1 ]; then
183 if [ -n "${ctid}" -a "{ctid}" -gt 1 ]; then
185 /usr/bin/pkill -9 -c $ctid
  /onnv/onnv-gate/usr/src/uts/common/fs/ctfs/
ctfs_tmpl.c 128 ctid_t ctid; local
142 error = ctmpl_create(tmplnode->ctfs_tmn_tmpl, &ctid);
145 *rvalp = ctid;
  /onnv/onnv-gate/usr/src/cmd/ipf/svc/
ipfilter 205 ctid=`svcprop -p restarter/contract $SMF_FMRI`
206 if [ -n "$ctid" ]; then
207 smf_kill_contract $ctid TERM 1
  /onnv/onnv-gate/usr/src/cmd/dtrace/test/tst/common/predicates/
tst.predcache.ksh 42 ctids=$(ps -p $pids -o ctid | tail +2 | sort | uniq)
48 line=$(svcs -o fmri,ctid | grep " $ct\$")
  /onnv/onnv-gate/usr/src/uts/common/contract/
device.c 819 "devinfo node. contract ctid : %d", ct->ct_id));
1006 ctid_t ctid; local
1654 ctid_t ctid; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/halt/
halt.c 110 ctid_t ctid; member in struct:ctidlist_struct
243 save_ctid(ctid_t ctid)
248 if (next->ctid == ctid)
255 next->ctid = ctid;
264 ctid_t ctid; local
353 ctid = (ctid_t)uint64;
354 if (save_ctid(ctid) == 0) {
355 (void) sigsend(P_CTID, ctid, SIGSTOP)
    [all...]
  /onnv/onnv-gate/usr/src/cmd/svc/lsvcrun/
lsvcrun.c 711 ctid_t ctid; local
730 if (errno = contract_latest(&ctid)) {
773 (void *)ctid) != 0)
  /onnv/onnv-gate/usr/src/cmd/cron/
cron.c 212 int ctid; /* for el_remove-ing crontab events */ member in struct:usr
632 (next_event->u)->ctid)) {
840 u->ctid = ecid++;
843 u->ctid = 0;
867 el_remove(u->ctid, 0);
965 if (u->ctid == 0) {
971 u->ctid = ecid++;
980 el_remove(u->ctid, 0);
1263 switch (el_add(e, e->time, u->ctid)) {
    [all...]

Completed in 1440 milliseconds

1 2