/illumos-gate/usr/src/cmd/audit/ |
H A D | audit.c | 177 uint64_t *cid = NULL; in sig_auditd() local 185 (cid = scf_simple_prop_next_count(prop)) == NULL) { in sig_auditd() 190 if (sigsend(P_CTID, (ctid_t)*cid, sig) != 0) { in sig_auditd()
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | pci_nvme.c | 223 uint16_t cid; member 273 uint16_t cid; /* Command ID of the submitted AER */ member 371 uint16_t cid, 791 aer->cid = cid; in pci_nvme_aer_add() 990 aer->cid, in pci_nvme_aen_process() 1190 uint16_t cid, in pci_nvme_cq_update() argument 1209 cqe->cid = cid; in pci_nvme_cq_update() 1970 req->cid = command->cid; in nvme_opc_format_nvm() 2017 if (pci_nvme_aer_add(sc, command->cid)) { in nvme_opc_async_event_req() 2134 cmd->cid, in pci_nvme_handle_admin_cmd() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | contracts.c | 156 get_latest_contract(ctid_t *cid) in get_latest_contract() argument 158 if ((errno = contract_latest(cid)) != 0) { in get_latest_contract() 169 open_contract_ctl_file(ctid_t cid) in open_contract_ctl_file() argument 171 return (contract_open(cid, "process", "ctl", O_WRONLY)); in open_contract_ctl_file()
|
H A D | inetd.c | 1285 add_method_ids(instance_t *ins, pid_t pid, ctid_t cid, instance_method_t mthd) in add_method_ids() argument 1287 if (cid != -1) in add_method_ids() 1288 (void) add_remove_contract(ins, B_TRUE, cid); in add_method_ids() 1308 remove_method_ids(instance_t *inst, pid_t pid, ctid_t cid, in remove_method_ids() argument 1311 if (cid != -1) in remove_method_ids() 1312 (void) add_remove_contract(inst, B_FALSE, cid); in remove_method_ids() 3003 ctid_t cid; in run_method() local 3105 if (get_latest_contract(&cid) < 0) in run_method() 3106 cid = -1; in run_method() 3113 if (register_method(instance, child_pid, cid, method, in run_method() [all …]
|
H A D | inetd_impl.h | 336 extern int get_latest_contract(ctid_t *cid); 356 extern int register_method(instance_t *, pid_t, ctid_t cid, instance_method_t,
|
H A D | wait.c | 50 ctid_t cid; member 183 register_method(instance_t *ins, pid_t pid, ctid_t cid, instance_method_t mthd, in register_method() argument 219 me->cid = cid; in register_method() 400 remove_method_ids(me->inst, me->pid, me->cid, me->method); in process_terminated_methods() 409 if (me->cid != -1) in process_terminated_methods() 410 (void) abandon_contract(me->cid); in process_terminated_methods()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_sctp.c | 332 uint32_t *cid; in parse_asconfok_param() local 339 cid = (uint32_t *)data; in parse_asconfok_param() 341 ntohl(*cid)); in parse_asconfok_param() 348 uint32_t *cid; in parse_asconferr_param() local 355 cid = (uint32_t *)data; in parse_asconferr_param() 357 ntohl(*cid)); in parse_asconferr_param() 359 interpret_params(cid + 1, dlen - sizeof (*cid), "Error", in parse_asconferr_param() 377 uint32_t *cid; in parse_addip_param() local 384 cid = (uint32_t *)data; in parse_addip_param() 386 ntohl(*cid)); in parse_addip_param() [all …]
|
/illumos-gate/usr/src/cmd/dispadmin/ |
H A D | dispadmin.c | 180 id_t cid; in print_classlist() local 191 for (cid = 1; cid < nclass; cid++) { in print_classlist() 192 pcinfo.pc_cid = cid; in print_classlist() 195 cmdpath, cid); in print_classlist()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | genunix.c | 3203 if (cid->cid_cpu != -1) { in cpuinfo_walk_cpu() 3204 if (addr != cid->cid_cpu && cpu->cpu_id != cid->cid_cpu) in cpuinfo_walk_cpu() 3210 cid->cid_cpu = -1; in cpuinfo_walk_cpu() 3414 if (cid->cid_print_head) in cpuinfo_walk_cpu() 3424 cpuinfo_data_t cid; in cpuinfo() local 3430 cid.cid_cpu = -1; in cpuinfo() 3433 cid.cid_cpu = addr; in cpuinfo() 3446 if (cid.cid_print_ithr) { in cpuinfo() 3457 &cid) == -1) { in cpuinfo() 3468 if (cid.cid_cpu != -1) { in cpuinfo() [all …]
|
H A D | leaky.c | 467 leak_pc_t *stack, uint_t depth, uintptr_t cid, uintptr_t data) in leaky_add_leak() argument 483 nlkb->lkb_cid = cid; in leaky_add_leak() 504 lkb->lkb_cid != cid) in leaky_add_leak()
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_selfcred.c | 773 pid_t cid; in _nscd_proc_fork() local 824 if ((cid = fork1()) == 0) { in _nscd_proc_fork() 864 } if (cid == (pid_t)-1) { in _nscd_proc_fork() 886 getpid(), cid); in _nscd_proc_fork() 1115 pid_t cid; in _nscd_start_forker() local 1127 switch (cid = fork1()) { in _nscd_start_forker() 1139 forker_pid = cid; in _nscd_start_forker()
|
/illumos-gate/usr/src/cmd/priocntl/ |
H A D | priocntl.c | 251 id_t cid; in print_classlist() local 273 for (cid = 1; cid < nclass; cid++) { in print_classlist() 276 pcinfo.pc_cid = cid; in print_classlist() 279 cmdpath, cid); in print_classlist() 322 id_t cid; in print_procs() local 386 for (cid = 1; cid < nclass; cid++) { in print_procs() 387 pcinfo.pc_cid = cid; in print_procs() 390 cmdpath, cid); in print_procs() 402 clpids[cid].clp_npids = 0; in print_procs() 419 for (cid = 1; cid < nclass; cid++) { in print_procs() [all …]
|
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | acquire_iodevs.c | 41 make_controller(int cid) in make_controller() argument 48 new->is_id.id = cid; in make_controller() 51 (void) snprintf(new->is_name, sizeof (new->is_name), "c%d", cid); in make_controller()
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | method.c | 187 method_store_contract(restarter_inst_t *inst, int type, ctid_t *cid) in method_store_contract() argument 192 if (errno = contract_latest(cid)) in method_store_contract() 205 inst->ri_i.i_transient_ctid = *cid; in method_store_contract() 222 inst->ri_i.i_primary_ctid = *cid; in method_store_contract() 226 "%s.\n", *cid, inst->ri_i.i_fmri); in method_store_contract() 228 contract_hash_store(*cid, inst->ri_id); in method_store_contract() 235 r = restarter_store_contract(inst->ri_m_inst, *cid, primary ? in method_store_contract() 258 inst->ri_i.i_fmri, *cid); in method_store_contract()
|
H A D | restarter.c | 2429 timeout_insert(restarter_inst_t *inst, ctid_t cid, uint64_t timeout_sec) in timeout_insert() argument 2454 entry->te_ctid = cid; in timeout_insert() 2476 timeout_remove(restarter_inst_t *inst, ctid_t cid) in timeout_remove() argument 2483 assert(inst->ri_timeout->te_ctid == cid); in timeout_remove()
|
/illumos-gate/usr/src/contrib/bhyve/dev/nvme/ |
H A D | nvme.h | 654 uint16_t cid; /* command identifier */ member 695 uint16_t cid; /* command identifier */ member 1386 uint16_t cid; member 1941 s->cid = le16toh(s->cid); in nvme_error_information_entry_swapbytes()
|
/illumos-gate/usr/src/data/zoneinfo/ |
H A D | asia | 175 # http://bdnews24.com/details.php?id=85889&cid=2 3644 # http://story.philippinetimes.com/p.x/ct/9/id/145be20cc6b121c0/cid/3e5bbccc730d258c/
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap.c | 110 if (a->cid != NULL) in ap_logid() 111 (void) snprintf(&buf[n], MAXPATHLEN - n, "::%s", a->cid); in ap_logid() 230 a->cid = p; in ap_parse() 277 if ((a->cname = strdup(a->cid)) == NULL) in ap_parse() 285 ap_err(a, ERR_CM_INVAL, a->cid); in ap_parse() 296 DBG("cid=<%s> ", a->cid ? a->cid : ""); in ap_parse()
|
H A D | ap.h | 112 char *cid; member
|
H A D | ap_sbd.c | 309 ap_err(a, ERR_CM_INVAL, a->cid); in apd_init() 721 ap_err(a, err, a->cid); in ap_test_err()
|
H A D | cfga.c | 225 a->tgt != AP_BOARD ? a->cid : ""); in cfga_list_ext()
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | hc.c | 634 char *cid = NULL; in make_hc_pairs() local 711 if ((cid = topo_mod_strdup(mod, starti)) == NULL) in make_hc_pairs() 716 if ((cid = topo_mod_strdup(mod, starti)) == NULL) in make_hc_pairs() 724 nvlist_add_string(pa[i], FM_FMRI_HC_ID, cid)) in make_hc_pairs() 728 topo_mod_strfree(mod, cid); in make_hc_pairs() 730 cid = NULL; in make_hc_pairs() 734 topo_mod_strfree(mod, cid); in make_hc_pairs()
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi_bboard.c | 201 id_t *cid; in x86pi_bb_getchips() local 212 cid = stypes[SMB_TYPE_BASEBOARD].ids[index].con_ids; in x86pi_bb_getchips() 216 (void) smbios_lookup_id(shp, cid[i], &sp); in x86pi_bb_getchips()
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | pthread.c | 69 id_t cid; in _thr_setparam() local 86 } else if ((cid = setparam(P_LWPID, tid, policy, prio)) == -1) { in _thr_setparam() 90 ulwp->ul_rtclassid = cid; in _thr_setparam() 91 ulwp->ul_cid = cid; in _thr_setparam() 233 id_t cid; in pthread_getschedparam() local 239 cid = getparam(P_LWPID, ulwp->ul_lwpid, policy, param); in pthread_getschedparam() 240 if (cid == -1) { in pthread_getschedparam() 242 } else if (*policy == ulwp->ul_policy && cid == ulwp->ul_cid && in pthread_getschedparam() 251 ulwp->ul_rtclassid = cid; in pthread_getschedparam() 252 ulwp->ul_cid = cid; in pthread_getschedparam()
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | linkprop.c | 2842 switch (cid->dc_form) { in dladm_cid2str() 2876 if (cid->dc_len < sizeof (en)) in dladm_cid2str() 2893 if (cid->dc_len < sizeof (ll)) in dladm_cid2str() 2923 if (octet_to_hexascii(cid->dc_id, cid->dc_len, in dladm_cid2str() 2934 if (!isprint(cid->dc_id[i])) in dladm_cid2str() 2956 bzero(cid, sizeof (*cid)); in dladm_str2cid() 3059 cid->dc_form = CIDFORM_TYPED; in dladm_str2cid() 3072 cid->dc_form = CIDFORM_HEX; in dladm_str2cid() 3079 cid->dc_form = CIDFORM_STR; in dladm_str2cid() 3081 cid->dc_len = cidlen; in dladm_str2cid() [all …]
|