/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | mp_xen.c | 703 if ((cp = cpu_get(id)) == NULL) in vcpu_config_poweroff() 732 error = start_cpu(id); in vcpu_config_new() 775 if (id >= ncpus) in vcpu_config_poweron() 776 return (vcpu_config_new(id)); in vcpu_config_poweron() 877 int id = (int)(uintptr_t)arg; in vcpu_config() local 882 if ((uint_t)id >= max_ncpus) { in vcpu_config() 913 processorid_t id; in vcpu_config_event() local 978 id, -err, str); in xen_vcpu_initialize() 984 xen_vcpu_up(processorid_t id) in xen_vcpu_up() argument 1010 id, -(int)err, str); in xen_vcpu_up() [all …]
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | hma.c | 293 hma_cpu_status[id] = HCS_READY; in hma_vmx_cpu_vmxon() 295 hma_cpu_status[id] = HCS_ERROR; in hma_vmx_cpu_vmxon() 316 ASSERT(id >= 0 && id < NCPU); in hma_vmx_cpu_setup() 331 state = hma_cpu_status[id]; in hma_vmx_cpu_setup() 343 hma_vmx_vmxon_page[id] = va; in hma_vmx_cpu_setup() 364 cpuset_add(&set, id); in hma_vmx_cpu_setup() 378 cpuset_add(&set, id); in hma_vmx_cpu_setup() 610 ASSERT(id >= 0 && id < NCPU); in hma_svm_cpu_setup() 641 hma_svm_hsave_page[id] = va; in hma_svm_cpu_setup() 655 if (CPU->cpu_seqid == id) { in hma_svm_cpu_setup() [all …]
|
/illumos-gate/usr/src/lib/libsecdb/common/ |
H A D | getexecattr.c | 86 if ((name == NULL) && (type == NULL) && (id == NULL)) { in getexecprof() 106 id, in getexecprof() 152 type, id, search_flag)) != NULL) { in getexecuser() 167 head = userprof(username, type, id, search_flag); in getexecuser() 176 const char *id) in match_execattr() argument 184 (id && execp->id && (strcmp(id, execp->id) != 0))) in match_execattr() 215 free(exec->id); in free_execattr() 224 const char *id; member 278 call.id = id; in userprof() 325 newexec->id = _do_unescape(es->id); in execstr2attr() [all …]
|
/illumos-gate/usr/src/cmd/prstat/ |
H A D | prstat.c | 233 id_info_t *id; in list_getsize() local 308 for (id = list->l_head; id != NULL; id = id->id_next) { in list_getsize() 358 id_info_t *id; in list_print() local 680 while (id) { in list_clear() 682 free(id); in list_clear() 683 id = nextid; in list_clear() 693 id_info_t *id; in list_update() local 700 for (id = list->l_head; id; id = id->id_next) { in list_update() 750 id->id_nproc++; in list_update() 1379 psetid_t id; in fill_set_table() local [all …]
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | processor_bind.c | 237 if (id == P_MYID) { in processor_bind() 244 if (tp->t_tid == id) { in processor_bind() 263 if (id == P_MYID) { in processor_bind() 275 if (id == P_MYID) { in processor_bind() 292 if (id == P_MYID) in processor_bind() 293 id = curprojid(); in processor_bind() 306 if (id == P_MYID) in processor_bind() 307 id = getzoneid(); in processor_bind() 320 if (id == P_MYID) in processor_bind() 321 id = PRCTID(curproc); in processor_bind() [all …]
|
H A D | signotify.c | 91 signotify_id_t id; in signotify() local 101 if (copyin(sn_id, &id, sizeof (signotify_id_t))) in signotify() 104 if (id.sn_index >= _SIGNOTIFY_MAX || id.sn_index < 0) in signotify() 112 if (id.sn_pid > 0) { in signotify() 114 if ((p = prfind(id.sn_pid)) != NULL) { in signotify() 117 snqp = SIGN_PTR(p, id.sn_index); in signotify() 171 id.sn_pid = cp->p_pid; in signotify() 180 if ((id.sn_pid <= 0) || ((p = prfind(id.sn_pid)) == NULL)) { in signotify() 192 snqp = SIGN_PTR(p, id.sn_index); in signotify() 213 id.sn_pid = 0; in signotify() [all …]
|
/illumos-gate/usr/src/cmd/modload/ |
H A D | modunload.c | 39 void exec_userfile(char *execfile, int id, char **envp); 52 int id; in main() local 63 if (sscanf(optarg, "%d", &id) != 1) in main() 80 exec_userfile(execfile, id, envp); in main() 94 if (modctl(MODUNLOAD, id) < 0) { in main() 97 else if (id != 0) in main() 108 exec_userfile(char *execfile, int id, char **envp) in exec_userfile() argument 115 modinfo.mi_id = modinfo.mi_nextid = id; in exec_userfile() 117 if (modctl(MODINFO, id, &modinfo) < 0) in exec_userfile() 120 (void) sprintf(modid, "%d", id); in exec_userfile()
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sysioerr.c | 397 ushort_t id = ecc->flt_bus_id; in sysio_log_ue_err() local 507 ushort_t id = ecc->flt_bus_id; in sysio_log_ce_err() local 525 (uint32_t)t_afar, id); in sysio_log_ce_err() 537 unum, id); in sysio_log_ce_err() 548 unum, id); in sysio_log_ce_err() 560 id); in sysio_log_ce_err() 572 unum, id); in sysio_log_ce_err() 602 ushort_t id, inst; in sbus_err_intr() local 757 ushort_t id, inst; in sbus_ctrl_ecc_err() local 778 aflt.flt_bus_id = id; in sbus_ctrl_ecc_err() [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | nvfile.h | 53 boolean_t nvf_list_check(char *id); 54 boolean_t nvf_node_value_set(char *id, uint32_t value); 55 boolean_t nvf_node_value_get(char *id, uint32_t *value); 56 boolean_t nvf_node_name_set(char *id, char *name); 57 boolean_t nvf_node_name_get(char *id, char *name, uint_t nsize); 61 boolean_t nvf_data_set(char *id, char *name, void *data, uint_t dsize); 62 boolean_t nvf_data_get(char *id, char *name, void *data, uint_t dsize); 63 boolean_t nvf_data_next(char *id, void **v, char *name, 65 boolean_t nvf_data_clear(char *id, char *name);
|
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | gnu_handle.c | 360 free(id->str); in handle_message() 361 if (id->pos) in handle_message() 376 free(id->str); in handle_message() 377 if (id->pos) in handle_message() 391 if (id->pos) in handle_message() 403 free(id->str); in handle_message() 404 if (id->pos) in handle_message() 413 if ((id->no == 1) && (id->len == 1)) { in handle_message() 463 if (id->pos) in handle_message() 464 free(id->pos); in handle_message() [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | gtxt.c | 230 if (id != 0 && id <= *(int *)(db->addr)) in valid_msg() 264 if (id < 0) in __gtxt() 266 if (id == 0) in __gtxt() 293 if (valid_msg(db, id)) in __gtxt() 294 return (msg(db, id)); in __gtxt() 311 if (valid_msg(db, id)) in __gtxt() 312 return (msg(db, id)); in __gtxt() 332 if (valid_msg(db, id)) in __gtxt() 333 return (msg(db, id)); in __gtxt() 343 if (valid_msg(db, id)) in __gtxt() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/littleneck/psvcpolicy/ |
H A D | psvcpolicy.c | 266 psvc_update_thresholds_0(psvc_opaque_t hdlp, char *id) in psvc_update_thresholds_0() argument 288 status = psvc_get_attr(hdlp, id, PSVC_ASSOC_ID_ATTR, in psvc_update_thresholds_0() 333 status = psvc_set_attr(hdlp, id, in psvc_update_thresholds_0() 392 fprintf(fp, NO_FRU_INFO, id); in psvc_update_thresholds_0() 397 syslog(LOG_NOTICE, NO_FRU_INFO, id); in psvc_update_thresholds_0() 530 psvc_ps_hotplug_policy_0(psvc_opaque_t hdlp, char *id) in psvc_ps_hotplug_policy_0() argument 574 psvcplugin_lookup(id, parent_path, &child_node); in psvc_ps_hotplug_policy_0() 786 psvc_init_led_policy_0(psvc_opaque_t hdlp, char *id) in psvc_init_led_policy_0() argument 791 status = psvc_get_attr(hdlp, id, in psvc_init_led_policy_0() 799 status = psvc_set_attr(hdlp, id, in psvc_init_led_policy_0() [all …]
|
/illumos-gate/usr/src/cmd/genmsg/ |
H A D | genmsg.y | 48 int id; member 56 %token <id> SETID, MSGID, DIGIT 203 int id = msgid; variable 213 set_msgid(setid, id); 214 add_msg(setid, id, str, srcfile, lineno, TRUE); 218 if (id == NOMSGID) { 219 id = get_msgid(srcfile, msg_line, setid, str); 220 set_linemsgid(msg_line, id); 222 if (id != NOMSGID) { 223 set_msgid(setid, id); [all …]
|
/illumos-gate/usr/src/cmd/acctadm/ |
H A D | res.c | 206 id2name(int id, int type) in id2name() argument 211 acname->ar_id == id) in id2name() 221 int r, g, id; in printgroup() local 278 resp->ar_id = id; in resset() 299 int i, j, id, ok; in str2buf() local 326 id = name2id(p, type); in str2buf() 327 if (id > 0) in str2buf() 328 resset(buf, id, state); in str2buf() 329 else if (id == 0) in str2buf() 347 int i, j, ok, id; in buf2str() local [all …]
|
/illumos-gate/usr/src/cmd/sendmail/db/lock/ |
H A D | lock_deadlock.c | 47 u_int32_t id; member 130 idmap[i].id < idmap[killid].id) 162 idmap[i].id > idmap[killid].id) 272 op->dd_id = id++; 350 for (id = 0; id < count; id++) { 351 if (!id_array[id].valid) 354 id_array[id].id, NULL, DB_LOCK_LOCKER, &lockerp) != 0) { 356 "No locks for locker %lu", (u_long)id_array[id].id); 368 id_array[id].pgno = 0; 380 *nlockers = id; [all …]
|
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_merge.c | 115 return (cmp->cm_tmap[id].cmt_map); in ctf_merge_gettype() 120 id = cmp->cm_tmap[id].cmt_map; in ctf_merge_gettype() 123 return (cmp->cm_tmap[id].cmt_map); in ctf_merge_gettype() 203 cmp->cm_tmap[id].cmt_map = ret; in ctf_merge_add_number() 244 cmp->cm_tmap[id].cmt_map = ret; in ctf_merge_add_array() 282 cmp->cm_tmap[id].cmt_map = ret; in ctf_merge_add_reftype() 318 cmp->cm_tmap[id].cmt_map = ret; in ctf_merge_add_typedef() 420 cmp->cm_tmap[id].cmt_map = ret; in ctf_merge_add_func() 443 cmp->cm_tmap[id].cmt_map = ret; in ctf_merge_add_forward() 507 name, kind, id, suid, cmp->cm_tmap[id].cmt_map); in ctf_merge_add_sou() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/file/ |
H A D | ktfile.h | 67 #define KTPRIVATE(id) ((krb5_ktfile_data *)(id)->data) argument 68 #define KTFILENAME(id) (((krb5_ktfile_data *)(id)->data)->name) argument 72 #define KTDATAP(id) (((krb5_ktfile_data *)(id)->data)->datap) argument 73 #define KTVERSION(id) (((krb5_ktfile_data *)(id)->data)->version) argument 74 #define KTOFFSET(id) (((krb5_ktfile_data *)(id)->data)->offset) argument
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_privilege.c | 44 static char *smb_priv_getname(uint32_t id); 125 ids[j++] = priv_table[i].id; in smb_priv_presentable_ids() 137 smb_priv_getbyvalue(uint32_t id) in smb_priv_getbyvalue() argument 139 if (id < SE_MIN_LUID || id > SE_MAX_LUID) in smb_priv_getbyvalue() 142 return (&priv_table[id]); in smb_priv_getbyvalue() 322 if (privset->priv[i].luid.lo_part == id) in smb_privset_enable() 355 smb_privset_query(smb_privset_t *privset, uint32_t id) in smb_privset_query() argument 363 if (privset->priv[i].luid.lo_part == id) { in smb_privset_query() 375 smb_priv_getname(uint32_t id) in smb_priv_getname() argument 377 if (id < SE_MIN_LUID || id > SE_MAX_LUID) in smb_priv_getname() [all …]
|
H A D | smb_wksids.c | 254 smb_id_t *id; in smb_wka_token_groups() local 263 id = gids->i_ids + gids->i_cnt; in smb_wka_token_groups() 265 id->i_attrs = 0x7; in smb_wka_token_groups() 266 if (id->i_sid == NULL) in smb_wka_token_groups() 268 id++; in smb_wka_token_groups() 275 id->i_sid = in smb_wka_token_groups() 277 id->i_attrs = 0x7; in smb_wka_token_groups() 278 if (id->i_sid == NULL) in smb_wka_token_groups() 280 id++; in smb_wka_token_groups() 286 id->i_attrs = 0x7; in smb_wka_token_groups() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_evset.c | 135 int id = *idv++; in cmd_evset() local 143 "debugger event\n", id); in cmd_evset() 338 int id; in cmd_bp() local 354 if (id == 0) { in cmd_bp() 383 int id, sig; in cmd_sigbp() local 427 int id, sysnum; in cmd_sysbp() local 454 if (id == 0) { in cmd_sysbp() 478 int id, fltnum; in cmd_fltbp() local 501 if (id == 0) { in cmd_fltbp() 526 int id; in cmd_wp() local [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_sata.c | 67 ata_identify_t *id; in pmcs_sata_special_work() local 149 id = pwp->scratch; in pmcs_sata_special_work() 168 if (id->word76 != 0 && id->word76 != 0xffff && in pmcs_sata_special_work() 191 id = NULL; in pmcs_sata_special_work() 220 b = id->model_number; in pmcs_sata_special_work() 237 rp[9] = LE_16(id->word108); in pmcs_sata_special_work() 239 rp[11] = LE_16(id->word109); in pmcs_sata_special_work() 241 rp[13] = LE_16(id->word110); in pmcs_sata_special_work() 259 b = id->model_number; in pmcs_sata_special_work() 266 b = id->serial_number; in pmcs_sata_special_work() [all …]
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | samr_svc.c | 160 ndr_hdid_t *id; in samr_hdalloc() local 178 return (id); in samr_hdalloc() 249 ndr_hdid_t *id; in samr_s_Connect() local 252 if (id) { in samr_s_Connect() 289 ndr_hdid_t *id; in samr_s_QuerySecObject() local 473 if (id) { in samr_s_OpenDomain() 949 if (id) { in samr_s_OpenGroup() 1164 if (id) { in samr_s_Connect2() 1512 if (id) { in samr_s_OpenAlias() 1583 if (id) { in samr_s_CreateDomainAlias() [all …]
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Pg/ |
H A D | Pg.pm | 370 my $id = shift; 425 my $id = shift; 482 my $id = shift; 519 my $id = shift; 544 my $id = shift; 551 my @cpus = $c1->cpus($id); 595 my $id = shift; 925 $pg->{id} = defined($pg_ks->{pg_id}) ? $pg_ks->{pg_id} : $pg_ks->{id}; 954 $pg->{id} = $ROOT_ID; 1147 foreach my $id (@all_cpus) { [all …]
|
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/locality/ |
H A D | LocalityGroup.java | 50 private long id; field in LocalityGroup 74 public LocalityGroup(LocalityDomain domain, long id, in LocalityGroup() argument 78 this.id = id; in LocalityGroup() 94 .append(id) in toString() 130 return (id); in getID() 142 return (jl_latency(id, other.getID())); in getLatency() 161 int id = (int) comp.getLongProperty("cpu.sys_id"); in countForeignGroups() local 163 if (cpu_ids[i] == id) { in countForeignGroups() 165 getGroup(id); in countForeignGroups()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | thrpool.c | 47 int id = (int)arg; in svcstart() local 53 _nfssys(SVCPOOL_RUN, &id); in svcstart() 90 int id = (int)arg; in svcblock() local 100 if (_nfssys(SVCPOOL_WAIT, &id) < 0) { in svcblock() 122 (void) thr_create(NULL, THR_MIN_STACK, svcstart, (void *)id, in svcblock() 173 svcrdma(int id, int versmin, int versmax, int delegation) in svcrdma() argument 179 rsa->poolid = (uint32_t)id; in svcrdma() 196 svcwait(int id) in svcwait() argument 205 if (thr_create(NULL, THR_MIN_STACK * 2, svcblock, (void *)id, in svcwait()
|