/titanic_50/usr/src/lib/libcontract/common/ |
H A D | libcontract.h | 46 extern int ct_tmpl_create(int, ctid_t *); 64 extern ctid_t ct_status_get_id(ct_stathdl_t); 84 extern ctid_t ct_event_get_ctid(ct_evthdl_t); 88 extern int ct_event_get_newct(ct_evthdl_t, ctid_t *); 93 extern int ct_pr_tmpl_set_transfer(int, ctid_t); 99 extern int ct_pr_tmpl_get_transfer(int, ctid_t *); 109 extern int ct_pr_event_get_senderct(ct_evthdl_t, ctid_t *); 118 extern int ct_pr_status_get_contracts(ct_stathdl_t, ctid_t **, uint_t *); 121 extern int ct_pr_status_get_svc_ctid(ct_stathdl_t, ctid_t *);
|
H A D | libcontract_priv.c | 61 contract_latest(ctid_t *id) in contract_latest() 65 ctid_t result; in contract_latest() 84 contract_open(ctid_t ctid, const char *type, const char *file, int oflag) in contract_open() 113 contract_abandon_id(ctid_t ctid) in contract_abandon_id() 127 ctid_t 157 ctid_t my_ctid = ct_event_get_ctid(ev); in contract_negend_dump() 158 ctid_t new_ctid = 0; in contract_negend_dump()
|
H A D | libcontract_priv.h | 39 extern int contract_latest(ctid_t *); 40 extern int contract_open(ctid_t, const char *, const char *, int); 41 extern int contract_abandon_id(ctid_t); 42 extern ctid_t getctid(void);
|
H A D | process.c | 42 ct_pr_tmpl_set_transfer(int fd, ctid_t ctid) in ct_pr_tmpl_set_transfer() 72 ct_pr_tmpl_get_transfer(int fd, ctid_t *ctid) in ct_pr_tmpl_get_transfer() 156 ct_pr_event_get_senderct(ct_evthdl_t evthdl, ctid_t *sendct) in ct_pr_event_get_senderct() 262 ct_pr_status_get_contracts(ct_stathdl_t stathdl, ctid_t **contracts, in ct_pr_status_get_contracts() 297 ct_pr_status_get_svc_ctid(ct_stathdl_t stathdl, ctid_t *ctid) in ct_pr_status_get_svc_ctid()
|
H A D | libcontract.c | 57 ct_tmpl_create(int fd, ctid_t *ctidp) in ct_tmpl_create() 59 ctid_t ctid = ioctl(fd, CT_TCREATE); in ct_tmpl_create() 304 ctid_t 519 ctid_t 551 ct_event_get_newct(ct_evthdl_t evthdl, ctid_t *ctidp) in ct_event_get_newct()
|
H A D | device_dump.c | 53 ctid_t ctid; in event_device()
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | contract_impl.h | 67 ctid_t ctev_id; 80 ctid_t ctst_id; 129 int (*ctop_create)(struct ct_template *, ctid_t *); 274 ctid_t ct_id; /* contract ID */ 323 int ctmpl_create(ct_template_t *, ctid_t *); 360 int ctmpl_create_inval(ct_template_t *, ctid_t *); 370 ctid_t contract_lookup(uint64_t, ctid_t); 371 ctid_t contract_plookup(struct proc *, ctid_t, uint64_t); 373 ctid_t contract_max(void); 385 ctid_t contract_type_max(ct_type_t *); [all …]
|
H A D | contract.h | 84 ctid_t ctev_id; 97 ctid_t ctst_id;
|
H A D | siginfo.h | 271 ctid_t __ctid; /* contract ID */ 402 ctid_t __ctid; /* contract ID */
|
/titanic_50/usr/src/cmd/svc/startd/ |
H A D | contract.c | 49 contract_abandon(ctid_t ctid) in contract_abandon() 64 contract_kill(ctid_t ctid, int sig, const char *fmri) in contract_kill() 76 ctid_t 80 ctid_t ctid, configd_ctid = -1; in contract_init() 83 ctid_t *ctids; in contract_init() 211 contract_is_empty(ctid_t ctid) in contract_is_empty() 256 contract_hold_bucket(ctid_t ctid) in contract_hold_bucket() 276 contract_lookup(contract_bucket_t *bp, ctid_t ctid) in contract_lookup() 318 contract_hash_store(ctid_t ctid, int instid) in contract_hash_store() 335 contract_hash_remove(ctid_t ctid) in contract_hash_remove() [all …]
|
H A D | startd.h | 234 ctid_t te_ctid; 566 ctid_t ce_ctid; 577 ctid_t contract_init(void); 578 void contract_abandon(ctid_t); 579 int contract_kill(ctid_t, int, const char *); 580 int contract_is_empty(ctid_t); 582 void contract_hash_store(ctid_t, int); 583 void contract_hash_remove(ctid_t); 584 int lookup_inst_by_contract(ctid_t); 687 ctid_t *, ctid_t *, pid_t *); [all …]
|
H A D | fork.c | 141 fork_common(const char *name, const char *svc_fmri, int retries, ctid_t *ctidp, in fork_common() 244 ctid_t ctid; in fork_sulogin() 319 ctid_t ctid = -1; in fork_configd() 497 ctid_t configd_ctid = (ctid_t)vctid; in fork_configd_thread() 535 ctid_t ctid; in fork_configd_thread() 936 ctid_t ctid = -1; in fork_emi()
|
H A D | proc.c | 40 ctid_t
|
/titanic_50/usr/src/cmd/ctwatch/ |
H A D | ctwatch.c | 189 contract_type(ctid_t id) in contract_type() 218 ctid_t id1 = *(ctid_t *)a1; in ctid_compar() 219 ctid_t id2 = *(ctid_t *)a2; in ctid_compar() 237 ctid_t *ids, last; in main() 269 ids = calloc(argc, sizeof (ctid_t)); in main() 314 qsort(ids, nids, sizeof (ctid_t), ctid_compar); in main()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | inetd_impl.h | 326 extern int add_remove_contract(instance_t *, boolean_t, ctid_t); 336 extern int get_latest_contract(ctid_t *cid); 337 extern int adopt_contract(ctid_t, const char *); 338 extern int abandon_contract(ctid_t); 346 extern void remove_method_ids(instance_t *, pid_t, ctid_t, instance_method_t); 356 extern int register_method(instance_t *, pid_t, ctid_t cid, instance_method_t,
|
H A D | contracts.c | 158 get_latest_contract(ctid_t *cid) in get_latest_contract() 171 open_contract_ctl_file(ctid_t cid) in open_contract_ctl_file() 181 adopt_contract(ctid_t ctid, const char *fmri) in adopt_contract() 221 abandon_contract(ctid_t ctid) in abandon_contract()
|
H A D | wait.c | 50 ctid_t cid; 183 register_method(instance_t *ins, pid_t pid, ctid_t cid, instance_method_t mthd, in register_method()
|
H A D | repval.c | 640 add_remove_contract(instance_t *inst, boolean_t add, ctid_t ctid) in add_remove_contract() 737 if (sigsend(P_CTID, (ctid_t)spval->val, sig) == -1 && in iterate_repository_contracts() 806 if (adopt_contract((ctid_t)spval->val, in iterate_repository_contracts()
|
/titanic_50/usr/src/uts/common/sys/contract/ |
H A D | process_impl.h | 64 ctid_t conp_svc_ctid; /* Service FMRI creator ctid */ 67 ctid_t conp_svc_zone_enter; /* zone_enter flag */ 86 void contract_process_sig(cont_process_t *, struct proc *, int, pid_t, ctid_t,
|
/titanic_50/usr/src/lib/librestart/common/ |
H A D | librestart_priv.h | 54 ctid_t i_primary_ctid; 55 ctid_t i_transient_ctid;
|
H A D | librestart.h | 260 int restarter_store_contract(scf_instance_t *, ctid_t, 262 int restarter_remove_contract(scf_instance_t *, ctid_t,
|
/titanic_50/usr/src/uts/common/os/ |
H A D | contract.c | 1141 ctid_t 1145 ctid_t res; in contract_type_max() 1160 ctid_t 1164 ctid_t res; in contract_max() 1181 static ctid_t 1182 contract_lookup_common(avl_tree_t *tree, uint64_t zuniqid, ctid_t current) in contract_lookup_common() 1186 ctid_t res; in contract_lookup_common() 1206 ctid_t 1207 contract_type_lookup(ct_type_t *type, uint64_t zuniqid, ctid_t current) in contract_type_lookup() 1209 ctid_t res; in contract_type_lookup() [all …]
|
/titanic_50/usr/src/cmd/ctstat/ |
H A D | ctstat.c | 327 ctid_t *ctids; in verb_inherit() 377 ctid_t svc_ctid; in verb_svc_ctid() 521 print_contract(const char *dir, ctid_t id, verbout_t *spec, in print_contract() 649 scan_ids(ctid_t *ids, int nids) in scan_ids() 666 scan_all(int *types, int ntypes, ctid_t *ids, int nids) in scan_all() 807 ctid_t *ids = NULL; in main()
|
/titanic_50/usr/src/lib/fm/topo/modules/common/ses/ |
H A D | ses.h | 57 ctid_t set_ctid;
|
/titanic_50/usr/src/cmd/ctrun/ |
H A D | ctrun.c | 240 get_event(int fd, int ctfd, ctid_t ctid) in get_event() 379 ctid_t ctid = 0; in main() 385 ctid_t opt_adopt = 0; in main()
|