/illumos-gate/usr/src/uts/common/sys/usb/clients/hid/ |
H A D | hidminor.h | 66 #define HID_CONSTRUCT_INTERNAL_MINOR(inst) \ 67 (((inst) << HID_MINOR_INSTANCE_SHIFT) | \ 70 #define HID_CONSTRUCT_EXTERNAL_MINOR(inst) \ 71 ((inst) << HID_MINOR_INSTANCE_SHIFT)
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | method.c | 105 method_record_start(restarter_inst_t *inst) argument 107 int index = inst->ri_start_index++ % RINST_START_TIMES; 109 inst->ri_start_time[index] = gethrtime(); 125 method_rate_critical(restarter_inst_t *inst) argument 129 uint_t n = inst->ri_start_index; 139 if (instance_is_wait_style(inst)) 147 if (scf_read_propvec(inst->ri_i.i_fmri, "startd", 156 if (inst->ri_start_index < critical_failure_count) 160 (inst->ri_start_time[(n - 1) % critical_failure_count] - 161 inst 173 method_is_transient(restarter_inst_t *inst, int type) argument 187 method_store_contract(restarter_inst_t *inst, int type, ctid_t *cid) argument 278 method_remove_contract(restarter_inst_t *inst, boolean_t primary, boolean_t abandon) argument 350 method_ready_contract(restarter_inst_t *inst, int type, method_restart_t restart_on, uint_t cte_mask) argument 445 exec_method(const restarter_inst_t *inst, int type, const char *method, struct method_context *mcp, uint8_t need_session) argument 603 write_status(restarter_inst_t *inst, const char *mname, int stat) argument 676 restarter_inst_t *inst = *instp; local 1111 restarter_inst_t *inst; local [all...] |
H A D | restarter.c | 83 * inst->ri_lock 91 * inst->ri_lock 96 * inst->ri_queue_lock 151 reset_start_times(restarter_inst_t *inst) argument 153 inst->ri_start_index = 0; 154 bzero(inst->ri_start_time, sizeof (inst->ri_start_time)); 187 restarter_inst_t *inst; local 190 inst = uu_list_find(instance_list.ril_instance_list, &id, NULL, NULL); 191 if (inst ! 213 restarter_inst_t *inst; local 249 check_contract(restarter_inst_t *inst, boolean_t primary, scf_instance_t *scf_inst) argument 317 restarter_inst_t *inst; local 778 instance_is_wait_style(restarter_inst_t *inst) argument 790 instance_is_transient_style(restarter_inst_t *inst) argument 801 instance_in_transition(restarter_inst_t *inst) argument 813 instance_started(restarter_inst_t *inst) argument 912 restarter_inst_t *inst; local 928 restarter_inst_t *inst; local 1027 stop_instance(scf_handle_t *local_handle, restarter_inst_t *inst, stop_cause_t cause) argument 1264 scf_instance_t *inst; local 1388 enable_inst(scf_handle_t *h, restarter_inst_t *inst, restarter_instance_qentry_t *riq) argument 1503 start_instance(scf_handle_t *local_handle, restarter_inst_t *inst, int32_t reason) argument 1563 scf_instance_t *inst; local 1578 scf_instance_t *inst; local 1673 scf_instance_t *inst; local 1786 restarter_inst_t *inst; local 2100 restarter_inst_t *inst; local 2128 contract_action(scf_handle_t *h, restarter_inst_t *inst, ctid_t id, uint32_t type) argument 2234 restarter_inst_t *inst; local 2378 is_timeout_ovr(restarter_inst_t *inst) argument 2429 timeout_insert(restarter_inst_t *inst, ctid_t cid, uint64_t timeout_sec) argument 2476 timeout_remove(restarter_inst_t *inst, ctid_t cid) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sockfilter.c | 191 sof_instance_t *inst; local 208 for (inst = so->so_filter_top; inst != NULL; 209 inst = inst->sofi_next) { 210 if (strncmp(inst->sofi_filter->sofe_name, 230 inst = sof_instance_create(ent, so); 234 if (inst == NULL) 243 sof_instance_destroy(inst); 249 inst 342 sof_instance_t *inst; local 407 sof_instance_t *inst, *pinst; local 513 sof_instance_t *inst; local 601 sof_instance_t *inst; local 617 sof_instance_t *inst; local 744 sof_instance_t *inst; local 770 sof_instance_destroy(sof_instance_t *inst) argument 1272 sof_instance_t *inst; local 1304 sof_instance_t *inst; local 1382 sof_instance_t *inst; local 1520 sof_instance_t *inst = (sof_instance_t *)handle; local 1576 sof_instance_t *inst = (sof_instance_t *)handle; local 1600 sof_instance_t *inst = (sof_instance_t *)handle; local 1638 sof_instance_t *inst = (sof_instance_t *)handle; local 1686 sof_instance_t *inst = (sof_instance_t *)handle; local 1707 sof_instance_t *inst = (sof_instance_t *)handle; local 1760 sof_instance_t *inst = (sof_instance_t *)handle; local 1788 sof_instance_t *inst = (sof_instance_t *)handle; local [all...] |
/illumos-gate/usr/src/uts/sparc/fpu/ |
H A D | fpu_simulator.c | 170 fp_inst_type inst, /* FPU instruction to simulate. */ 182 nrs1 = inst.rs1; 183 nrs2 = inst.rs2; 184 nrd = inst.rd; 194 if (inst.op3 == 0x37) { /* IMPDEP2B FMA-fused opcode */ 199 fma_inst = (fp_fma_inst_type *) &inst; 259 if (inst.op3 == 0x35) { /* fpop2 */ 262 if ((inst.opcode & 0xf) == 0) { 263 if ((fp_notp) && (inst.prec == 0)) 266 return (fmovcc(pfpsd, inst, pfs 168 _fp_fpu_simulator( fp_simd_type *pfpsd, fp_inst_type inst, fsr_type *pfsr, uint64_t gsr) argument 535 fpu_vis_sim( fp_simd_type *pfpsd, fp_inst_type *pinst, struct regs *pregs, fsr_type *pfsr, uint64_t gsr, uint32_t inst) argument 546 fp_inst_type inst; member in union:__anon514 595 fpu_simulator( fp_simd_type *pfpsd, fp_inst_type *pinst, fsr_type *pfsr, uint64_t gsr, uint32_t inst) argument 604 fp_inst_type inst; member in union:__anon515 633 fp_inst_type inst; member in union:__anon516 [all...] |
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | epic.c | 113 #define getsoftc(inst) ((struct epic_softc *)ddi_get_soft_state(statep, \ 114 (inst))) 171 int inst; local 175 inst = (getminor((dev_t)arg)); 179 if ((softc = getsoftc(inst)) == NULL) { 187 *result = (void *)(uintptr_t)inst; 200 int inst; local 209 inst = ddi_get_instance(dip); 210 (void) sprintf(name, "env-monitor%d", inst); 211 minor = inst; 273 int inst; local [all...] |
H A D | pic16f747.c | 117 #define getsoftc(inst) ((struct pic_softc *)ddi_get_soft_state(statep, (inst))) 174 int inst; local 178 inst = PIC_MINOR_TO_INST(getminor((dev_t)arg)); 182 if ((softc = getsoftc(inst)) == NULL) { 190 *result = (void *)((uintptr_t)inst); 203 int inst; local 214 inst = ddi_get_instance(dip); 215 if (inst >= MAX_PIC_INSTANCES) { 220 (void) sprintf(name, "env-monitor%d", inst); 299 int inst; local 327 int inst = PIC_MINOR_TO_INST(getminor(*devp)); local 336 int inst = PIC_MINOR_TO_INST(getminor(dev)); local 345 int inst; local [all...] |
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | __fex_sse.c | 60 * Decode an SSE instruction. Fill in *inst and return the length of the 64 __fex_parse_sse(ucontext_t *uap, sseinst_t *inst) argument 100 inst->op = (int)cvtsi2ss + simd + dbl; 102 inst->op = (int)inst->op + (rex & 8); 106 inst->op = (int)cvttss2si + simd + dbl; 108 inst->op = (int)inst->op + (rex & 8); 112 inst->op = (int)cvtss2si + simd + dbl; 114 inst 342 __fex_get_sse_invalid_type(sseinst_t *inst) argument 479 __fex_get_sse_op(ucontext_t *uap, sseinst_t *inst, fex_info_t *info) argument 837 __fex_get_simd_op(ucontext_t *uap, sseinst_t *inst, enum fex_exception *e, fex_info_t *info) argument 1107 __fex_st_sse_result(ucontext_t *uap, sseinst_t *inst, enum fex_exception e, fex_info_t *info) argument 1340 __fex_st_simd_result(ucontext_t *uap, sseinst_t *inst, enum fex_exception *e, fex_info_t *info) argument [all...] |
/illumos-gate/usr/src/lib/libdisasm/common/ |
H A D | dis_sparc.h | 61 struct inst; 64 typedef struct inst inst_t; 70 const struct inst *tbl_inp; 77 struct inst { struct
|
H A D | dis_s390x.c | 207 union inst { union 1858 fmt_zero(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 1865 fmt_diag(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 1868 val_8_16(inst->diag.par1, inst->diag.par2)); 1873 fmt_e(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 1880 fmt_i(uint64_t addr, union inst *ins argument 1887 fmt_ie(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 1894 fmt_mii(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 1904 fmt_ril_a(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 1912 fmt_ril_b(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 1922 fmt_ril_c(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 1932 fmt_ris(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 1943 fmt_ri_a(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 1957 fmt_ri_b(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 1965 fmt_ri_c(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 1977 fmt_rie_a(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 1985 fmt_rie_b(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 1995 fmt_rie_c(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2005 fmt_rie_d(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2013 fmt_rie_e(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2023 fmt_rie_f(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2032 fmt_rre(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2039 fmt_rrf_a(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2047 fmt_rrf_b(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2055 fmt_rrf_c(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2063 fmt_rrf_d(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2071 fmt_rrf_e(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2080 fmt_rrs(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2089 fmt_rr(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2104 fmt_rrd(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2112 fmt_rx_a(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2122 fmt_rx_b(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2136 fmt_rxe(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2146 fmt_rxf(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2157 fmt_rxy_a(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2169 fmt_rxy_b(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2181 fmt_rs_a(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2199 fmt_rs_b(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2208 fmt_rsl_a(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2217 fmt_rsl_b(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2227 fmt_rsy_a(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2248 fmt_rsy_b(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2261 fmt_rsi(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2271 fmt_si(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2281 fmt_sil(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2290 fmt_siy(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2299 fmt_smi(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2309 fmt_s(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2318 fmt_ss_a(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2332 fmt_ss_b(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2346 fmt_ss_c(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2360 fmt_ss_d(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2374 fmt_ss_e(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2388 fmt_ss_f(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2402 fmt_sse(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2413 fmt_ssf(uint64_t addr, union inst *inst, char *buf, size_t buflen, int flags) argument 2487 dis_s390(uint64_t addr, union inst *inst, char *buf, size_t buflen, int mach) argument 2545 union inst inst; local [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | gen.c | 215 ho = rule->inst->ho; 220 nw = rule->inst->nw; 298 struct irs_inst *inst; local 320 new->inst = &irs->accessors[acc]; 355 inst = &irs->accessors[acc]; 356 if (inst->acc == NULL && accs[acc] != NULL) 357 inst->acc = (*accs[acc])(irs->options); 358 if (inst->acc != NULL) { 359 if (inst->gr == NULL && inst [all...] |
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | tod.c | 150 int inst = getminor((dev_t)arg); local 157 if ((softc = getsoftc(inst)) == NULL) { 166 *result = (void *)(uintptr_t)inst; 180 int inst; local 187 inst = ddi_get_instance(dip); 189 * Create minor node. The minor device number, inst, has no 193 (void) sprintf(name, "tod%d", inst); 194 if (ddi_create_minor_node(dip, name, S_IFCHR, inst, 201 if (ddi_soft_state_zalloc(statep, inst) != DDI_SUCCESS) 204 softc = getsoftc(inst); 236 int inst; local 271 int inst = getminor(*devp); local 281 int inst = getminor(dev); local 291 int inst = getminor(dev); local [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | getinst.c | 66 char *inst; local 131 inst = sameinst; 134 return (inst); 157 inst = info[samearch].pkginst; 160 return (inst); 176 inst = nextinst(); 177 return (inst); 191 inst = prompt(info, npkgs); 192 if (strcmp(inst, "new") == NULL) { 193 inst 233 char *inst; local [all...] |
/illumos-gate/usr/src/uts/common/pcmcia/pcs/ |
H A D | pcs.c | 108 struct pcs_inst *inst; local 116 inst = (struct pcs_inst *)ddi_get_soft_state(pcs_instances, 118 if (inst == NULL) 121 *result = inst->dip; 125 inst = (struct pcs_inst *)ddi_get_soft_state(pcs_instances, 127 if (inst == NULL) 143 struct pcs_inst *inst; local 157 inst = (struct pcs_inst *)ddi_get_soft_state(pcs_instances, 159 if (inst == NULL) 162 inst [all...] |
/illumos-gate/usr/src/uts/sparc/v9/os/ |
H A D | simulator.c | 77 uint_t inst, op3, asi = 0; local 94 inst = fetch_user_instr((caddr_t)rp->r_pc); 96 op3 = (inst >> 19) & 0x3f; 97 rd = (inst >> 25) & 0x1f; 98 rs1 = (inst >> 14) & 0x1f; 99 rs2 = inst & 0x1f; 100 floatflg = (inst >> 24) & 1; 101 immflg = (inst >> 13) & 1; 105 if ((inst >> 30) != 3) 109 if ((inst 563 uint_t inst, op3, asi = 0; local 718 simulate_popc(struct regs *rp, caddr_t *badaddr, uint_t inst) argument 763 simulate_mulscc(struct regs *rp, caddr_t *badaddr, uint_t inst) argument 847 uint_t inst, optype, op3, asi; local 1147 uint_t inst, op, op3, rd, rs1, i; local 1315 uint_t inst; local 1421 uint_t inst, op3, asi; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | inetd.c | 280 instance_stopped(const instance_t *inst) argument 282 return ((inst->cur_istate == IIS_OFFLINE) || 283 (inst->cur_istate == IIS_MAINTENANCE) || 284 (inst->cur_istate == IIS_DISABLED) || 285 (inst->cur_istate == IIS_UNINITIALIZED)); 334 * Updates the current and next repository states of instance 'inst'. If 338 update_instance_states(instance_t *inst, internal_inst_state_t new_cur_state, argument 341 internal_inst_state_t old_cur = inst->cur_istate; 342 internal_inst_state_t old_next = inst->next_istate; 349 inst 406 update_state(instance_t *inst, internal_inst_state_t new_cur, restarter_error_t err) argument 666 process_offline_inst(instance_t *inst) argument 709 create_bound_socket(const instance_t *inst, socket_info_t *sock_info) argument 1220 expand_address(instance_t *inst, const proto_info_t *pi) argument 1308 remove_method_ids(instance_t *inst, pid_t pid, ctid_t cid, instance_method_t mthd) argument 1376 destroy_instance(instance_t *inst) argument 1406 retrieve_instance_state(instance_t *inst) argument 1444 retrieve_method_pids(instance_t *inst) argument 1524 refresh_instance(instance_t *inst) argument 2174 process_start_term(instance_t *inst, char *proto_name) argument 2245 process_pending_rst_event(instance_t *inst) argument 2265 process_non_start_term(instance_t *inst, int status) argument 2474 instance_t *inst; local 2500 instance_t *inst; local 3618 instance_t *inst; local [all...] |
H A D | wait.c | 52 instance_t *inst; /* pointer to associated instance */ member in struct:__anon179 160 methods[mp->method].name, mp->inst->fmri); 162 mp->inst->timer_id = -1; 165 process_start_term(mp->inst, mp->proto_name); 167 process_non_start_term(mp->inst, IMRET_FAILURE); 216 me->inst = (instance_t *)ins; 277 if (me->inst->timer_id != -1) 278 cancel_inst_timer(me->inst); 293 * Unregister all methods associated with instance 'inst'. 296 unregister_instance_methods(const instance_t *inst) argument [all...] |
H A D | util.c | 274 * Return B_TRUE if instance 'inst' has exceeded its configured maximum 278 copies_limit_exceeded(instance_t *inst) argument 281 return ((inst->config->basic->max_copies > 0) && 282 (inst->copies >= inst->config->basic->max_copies)); 289 cancel_inst_timer(instance_t *inst) argument 291 (void) iu_cancel_timer(timer_queue, inst->timer_id, NULL); 292 inst->timer_id = -1; 299 cancel_bind_timer(instance_t *inst) argument 301 (void) iu_cancel_timer(timer_queue, inst [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | pi_niu.c | 45 topo_instance_t inst, tnode_t *t_parent, const char *hc_name, 66 result = topo_mod_enumerate(mod, t_parent, NIU, hc_name, inst, inst, 44 pi_enum_niu(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, topo_instance_t inst, tnode_t *t_parent, const char *hc_name, tnode_t **t_node) argument
|
H A D | pi_top.c | 47 topo_instance_t inst, tnode_t *t_parent, const char *hc_name, 58 result = pi_enum_generic_impl(mod, mdp, mde_node, inst, t_parent, 46 pi_enum_top(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, topo_instance_t inst, tnode_t *t_parent, const char *hc_name, tnode_t **t_node) argument
|
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_sunmod.h | 117 #define INST2NODE0(inst) ((inst) << NBITSMNODE) 118 #define INST2NODE1(inst) (((inst) << NBITSMNODE) + AGPMASTER_MINOR) 119 #define INST2NODE2(inst) (((inst) << NBITSMNODE) + DRM_MINOR)
|
/illumos-gate/usr/src/uts/sun4u/mpxu/io/ |
H A D | tsalarm.c | 162 int inst = getminor((dev_t)arg); local 169 if ((softc = getsoftc(inst)) == NULL) { 178 *result = (void *)(uintptr_t)inst; 192 int inst; local 198 inst = ddi_get_instance(dip); 202 if (ddi_soft_state_zalloc(statep, inst) != DDI_SUCCESS) 205 softc = getsoftc(inst); 209 * Create minor node. The minor device number, inst, has no 231 ddi_soft_state_free(statep, inst); 242 int inst; local 272 int inst = getminor(*devp); local 282 int inst = getminor(dev); local 293 int inst = getminor(dev); local [all...] |
/illumos-gate/usr/src/uts/common/io/vscan/ |
H A D | vscan_drv.c | 299 ulong_t inst = getminor((dev_t)arg); local 306 *result = (void *)inst; 394 * If inst == 0, this is vscand initializing. 400 * If inst != 0, open the file associated with inst. 407 int inst = getminor(*devp); local 409 if ((inst < 0) || (inst > vs_nodes_max)) 419 if (inst == 0) { 436 (vscan_drv_inst_state[inst] ! 463 int i, inst = getminor(dev); local 543 int inst = getminor(dev); local 591 int inst = getminor(dev); local [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/smf/ |
H A D | smf_util.c | 65 char *name, *inst, *bufp, *fullname; local 69 nvlist_lookup_string(fmri, FM_FMRI_SVC_INSTANCE, &inst) != 0) 72 len = strlen(name) + strlen(inst) + 8; 74 (void) snprintf(bufp, len, "svc:/%s:%s", name, inst);
|
/illumos-gate/usr/src/cmd/ibd_upgrade/ |
H A D | ibd_upgrade.sh | 86 inst=$2 92 if [ ${inst} -lt $# ]; then 93 (( inst = $inst + 1 )) 94 eval "linkmode=\$${inst}"
|