Home
last modified time | relevance | path

Searched refs:contract_open (Results 1 – 17 of 17) sorted by relevance

/titanic_41/usr/src/cmd/svc/startd/
H A Dcontract.c110 if ((csfd = contract_open(ctid, "process", "status", O_RDONLY)) < 0) { in contract_init()
158 if ((ccfd = contract_open(ctids[n], "process", "ctl", in contract_init()
166 if ((csfd = contract_open(ctids[n], "process", "status", in contract_init()
219 fd = contract_open(ctid, "process", "status", O_RDONLY); in contract_is_empty()
H A Dfork.c552 sfd = contract_open(ctid, "process", "status", O_RDONLY); in fork_configd_thread()
599 efd = contract_open(ctid, "process", "ctl", O_WRONLY); in fork_configd_thread()
H A Drestarter.c260 fd = contract_open(*ctidp, NULL, "status", O_RDONLY); in check_contract()
2249 if ((sfd = contract_open(ctid, "process", "status", O_RDONLY)) in restarter_contracts_event_thread()
2333 efd = contract_open(ct_event_get_ctid(ev), "process", "ctl", in restarter_contracts_event_thread()
H A Dmethod.c761 if ((ctfd = contract_open(inst->ri_i.i_primary_ctid, "process", in method_run()
/titanic_41/usr/src/lib/libcontract/common/
H A Dlibcontract_priv.c84 contract_open(ctid_t ctid, const char *type, const char *file, int oflag) in contract_open() function
117 fd = contract_open(ctid, "all", "ctl", O_WRONLY); in contract_abandon_id()
H A Dlibcontract_priv.h40 extern int contract_open(ctid_t, const char *, const char *, int);
H A Ddevice_dump.c60 statfd = contract_open(ctid, "device", "status", O_RDONLY); in event_device()
H A Dmapfile-vers132 contract_open;
/titanic_41/usr/src/cmd/ctrun/
H A Dctrun.c283 efd = contract_open(ct_event_get_ctid(ev), "process", "ctl", in get_event()
557 if ((ctfd = contract_open(opt_adopt, "process", "ctl", in main()
566 if (((stfd = contract_open(opt_adopt, "process", "status", in main()
641 if ((ctfd = contract_open(ctid, "process", "ctl", in main()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dcontracts.c173 return (contract_open(cid, "process", "ctl", O_WRONLY)); in open_contract_ctl_file()
/titanic_41/usr/src/cmd/ctwatch/
H A Dctwatch.c198 if ((fd = contract_open(id, NULL, "status", O_RDONLY)) == -1) in contract_type()
/titanic_41/usr/src/cmd/ptools/ptree/
H A Dptree.c415 if ((fd = contract_open(ctid, "process", "status", O_RDONLY)) == -1) in ctsort()
/titanic_41/usr/src/cmd/ctstat/
H A Dctstat.c533 if ((fd = contract_open(id, dir, "status", O_RDONLY)) == -1) { in print_contract()
/titanic_41/usr/src/cmd/svc/svcadm/
H A Dsvcadm.c476 fd = contract_open(ct, "process", "status", O_RDONLY); in my_ct_name()
/titanic_41/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c698 contract_open(ctid_t ctid, const char *type, const char *file, int oflag) in contract_open() function
729 fd = contract_open(ctid, "all", "ctl", O_WRONLY); in contract_abandon_id()
/titanic_41/usr/src/cmd/init/
H A Dinit.c4218 fd = contract_open(id, "process", name, oflag); in contract_getfile()
/titanic_41/usr/src/cmd/svc/svcs/
H A Dsvcs.c587 fd = contract_open(c, NULL, "status", O_RDONLY); in ctid_to_pids()