/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | method.c | 232 if (inst->ri_mi_deleted) in method_store_contract() 455 if (inst->ri_utmpx_prefix[0] != '\0' && inst->ri_utmpx_prefix != NULL) in exec_method() 608 if (inst->ri_mi_deleted) in write_status() 677 int id = inst->ri_id; in method_run() 713 inst->ri_logstem); in method_run() 963 assert(inst != NULL); in method_run() 964 *instp = inst; in method_run() 966 if (inst->ri_timeout != NULL && inst->ri_timeout->te_fired) in method_run() 1053 timeout_insert(inst, inst->ri_i.i_primary_ctid, in method_run() 1075 timeout_remove(inst, inst->ri_i.i_primary_ctid); in method_run() [all …]
|
H A D | restarter.c | 155 bzero(inst->ri_start_time, sizeof (inst->ri_start_time)); in reset_start_times() 192 if (inst != NULL) in inst_lookup_by_id() 207 return (inst); in inst_lookup_by_id() 226 return (inst); in inst_lookup_queue() 366 &inst->ri_post_online_hook, &inst->ri_post_offline_hook); in restarter_insert_inst() 537 &inst->ri_common_name, &inst->ri_C_common_name); in restarter_insert_inst() 575 &inst->ri_i.i_primary_ctid, &inst->ri_i.i_transient_ctid, in restarter_insert_inst() 593 contract_hash_store(inst->ri_i.i_primary_ctid, inst->ri_id); in restarter_insert_inst() 1135 inst, inst->ri_i.i_state, RESTARTER_STATE_OFFLINE, re, in stop_instance() 1822 inst = NULL; in restarter_process_events() [all …]
|
H A D | env.c | 129 if (inst != NULL) in valid_env_var() 130 log_instance(inst, B_FALSE, "Invalid environment " in valid_env_var() 134 if (inst != NULL) in valid_env_var() 135 log_instance(inst, B_FALSE, "Invalid environment " in valid_env_var() 166 if (inst != NULL && p != env && in find_dup() 168 log_instance(inst, B_FALSE, "Ignoring duplicate " in find_dup() 204 const restarter_inst_t *inst, const char *method) in set_smf_env() argument 228 if (inst) { in set_smf_env() 232 (void) strlcat(*np, inst->ri_i.i_fmri, sz); in set_smf_env() 257 if (valid_env_var(*p, inst, path)) { in set_smf_env() [all …]
|
H A D | libscf.c | 193 scf_instance_t *inst = NULL; in libscf_snapshots_poststart() local 324 scf_instance_destroy(inst); in libscf_snapshots_poststart() 434 assert(inst != NULL); in libscf_get_stn_tset() 485 if (inst == NULL) { in libscf_get_global_stn_tset() 997 scf_instance_t *inst; in libscf_fmri_get_instance() local 1005 *instp = inst; in libscf_fmri_get_instance() 2806 scf_instance_t *inst; in libscf_populate_graph() local 3127 inst->ri_i.i_fmri, inst->ri_i.i_fault_count); in update_fault_count() 3596 scf_instance_t *inst; in libscf_create_self() local 3861 scf_instance_t *inst; in libscf_set_reconfig() local [all …]
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sockfilter.c | 209 inst = inst->sofi_next) { in sof_setsockopt_impl() 281 inst = inst->sofi_next) { in sof_setsockopt_impl() 357 inst = inst->sofi_next) in sof_getsockopt_impl() 361 inst = inst->sofi_next, i++) { in sof_getsockopt_impl() 620 inst = inst->sofi_prev) { in sof_sonode_notify_filters() 1278 for (inst = start; inst != NULL; inst = inst->sofi_next) { in sof_filter_data_out_from() 1316 inst = inst->sofi_prev) { in sof_filter_data_in_proc() 1386 for (inst = so->so_filter_top; inst != NULL; inst = inst->sofi_next) { in sof_filter_accept() 1539 for (inst = so->so_filter_top; inst != NULL; inst = inst->sofi_next) { in sof_newconn_ready() 1613 inst = inst->sofi_next) { in sof_rcv_flowctrl() [all …]
|
/illumos-gate/usr/src/lib/varpd/libvarpd/common/ |
H A D | libvarpd.c | 157 if (inst == NULL) in libvarpd_instance_create() 161 if (inst->vri_id == -1) in libvarpd_instance_create() 165 inst->vri_vnetid = vid; in libvarpd_instance_create() 167 inst->vri_dest = dest; in libvarpd_instance_create() 169 inst->vri_impl = vip; in libvarpd_instance_create() 170 inst->vri_flags = 0; in libvarpd_instance_create() 202 return (inst->vri_id); in libvarpd_instance_id() 270 inst->vri_plugin->vpp_ops->vpo_stop(inst->vri_private); in libvarpd_instance_destroy() 271 inst->vri_plugin->vpp_ops->vpo_destroy(inst->vri_private); in libvarpd_instance_destroy() 296 if ((ret = inst->vri_plugin->vpp_ops->vpo_start(inst->vri_private)) != in libvarpd_instance_activate() [all …]
|
H A D | libvarpd_overlay.c | 80 ota.ota_linkid = inst->vri_linkid; in libvarpd_overlay_associate() 81 ota.ota_mode = inst->vri_mode; in libvarpd_overlay_associate() 82 ota.ota_id = inst->vri_id; in libvarpd_overlay_associate() 83 ota.ota_provides = inst->vri_dest; in libvarpd_overlay_associate() 87 ret = inst->vri_plugin->vpp_ops->vpo_default(inst->vri_private, in libvarpd_overlay_associate() 129 inst->vri_linkid, msg)); in libvarpd_overlay_degrade() 210 return (libvarpd_overlay_inject_common(inst->vri_impl, inst, NULL, buf, in libvarpd_overlay_instance_inject() 250 varpd_instance_t *inst; in libvarpd_overlay_lookup_handle() local 274 if (inst == NULL) { in libvarpd_overlay_lookup_handle() 280 vqp->vq_instance = inst; in libvarpd_overlay_lookup_handle() [all …]
|
H A D | libvarpd_persist.c | 231 err = inst->vri_plugin->vpp_ops->vpo_save(inst->vri_private, cvl); in libvarpd_persist_instance() 322 if (inst == NULL) in libvarpd_persist_restore_instance() 326 if (inst->vri_id != id) { in libvarpd_persist_restore_instance() 332 inst->vri_vnetid = vid; in libvarpd_persist_restore_instance() 334 inst->vri_dest = dest; in libvarpd_persist_restore_instance() 336 inst->vri_impl = vip; in libvarpd_persist_restore_instance() 337 inst->vri_flags = 0; in libvarpd_persist_restore_instance() 378 inst, err); in libvarpd_persist_restore_instance() 449 varpd_instance_t *inst; in libvarpd_check_degrade_cb() local 452 for (inst = avl_first(&vip->vdi_instances); inst != NULL; in libvarpd_check_degrade_cb() [all …]
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | __fex_sse.c | 102 inst->op = (int)inst->op + (rex & 8); in __fex_parse_sse() 108 inst->op = (int)inst->op + (rex & 8); in __fex_parse_sse() 114 inst->op = (int)inst->op + (rex & 8); in __fex_parse_sse() 196 if (inst->op == cvtss2si || inst->op == cvttss2si || in __fex_parse_sse() 197 inst->op == cvtsd2si || inst->op == cvttsd2si || in __fex_parse_sse() 204 inst->op == cvtpd2pi || inst->op == cvttpd2pi) { in __fex_parse_sse() 222 if (inst->op == cvtsi2ss || inst->op == cvtsi2sd || in __fex_parse_sse() 248 if (inst->op == cmpss || inst->op == cmpps || in __fex_parse_sse() 249 inst->op == cmpsd || inst->op == cmppd) in __fex_parse_sse() 292 if (inst->op == cmpss || inst->op == cmpps || inst->op == cmpsd || in __fex_parse_sse() [all …]
|
/illumos-gate/usr/src/uts/sparc/fpu/ |
H A D | fpu_simulator.c | 182 nrs1 = inst.rs1; in _fp_fpu_simulator() 183 nrs2 = inst.rs2; in _fp_fpu_simulator() 184 nrd = inst.rd; in _fp_fpu_simulator() 551 fp.i = inst; in fpu_vis_sim() 570 if ((fp.inst.hibits == 2) && (fp.inst.op3 == 0x36)) { in fpu_vis_sim() 575 ((fp.inst.op3 == 0x34) || (fp.inst.op3 == 0x35) || in fpu_vis_sim() 607 fp.i = inst; in fpu_simulator() 654 ((fp.inst.op3 == 0x34) || (fp.inst.op3 == 0x35) || in fp_emulator() 670 } else if ((fp.inst.hibits == 2) && (fp.inst.op3 == 0x36)) { in fp_emulator() 694 ((fp.inst.op3 == 0x34) || (fp.inst.op3 == 0x35) || in fp_emulator() [all …]
|
/illumos-gate/usr/src/lib/libdisasm/common/ |
H A D | dis_s390x.c | 1937 R[inst->ris.r1], inst->ris.i2, M[inst->ris.m3], d4, in fmt_ris() 2026 R[inst->rie_f.r2], inst->rie_f.i3, inst->rie_f.i4, in fmt_rie_f() 2084 val_4_8(inst->rrs.d4h, inst->rrs.d4l), B[inst->rrs.b4]); in fmt_rrs() 2141 R[inst->rxe.r1], d2, X[inst->rxe.x2], B[inst->rxe.b2]); in fmt_rxe() 2151 R[inst->rxf.r1], R[inst->rxf.r3], d2, X[inst->rxf.x2], in fmt_rxf() 2202 M[inst->rs_b.m3], val_4_8(inst->rs_b.d2h, inst->rs_b.d2l), in fmt_rs_b() 2211 val_4_8(inst->rsl_a.d1h, inst->rsl_a.d1l), inst->rsl_a.l1, in fmt_rsl_a() 2284 val_4_8(inst->sil.d1h, inst->sil.d1l), B[inst->sil.b1], in fmt_sil() 2293 val_8_4_8(inst->siy.dh1, inst->siy.dl1h, inst->siy.dl1l), in fmt_siy() 2304 val_4_8(inst->smi.d3h, inst->smi.d3l), B[inst->smi.b3]); in fmt_smi() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | inetd.c | 690 inst); in process_offline_inst() 1316 (void) store_rep_vals(inst->start_pids, inst->fmri, in remove_method_ids() 1320 (void) store_rep_vals(inst->non_start_pid, inst->fmri, in remove_method_ids() 1393 free(inst); in destroy_instance() 1448 switch (retrieve_rep_vals(inst->start_pids, inst->fmri, in retrieve_method_pids() 2251 inst->pending_rst_event, inst->fmri); in process_pending_rst_event() 2341 inst->config = inst->new_config; in process_non_start_term() 2479 for (inst = uu_list_first(instance_list); inst != NULL; in inetd_refresh() 2480 inst = uu_list_next(instance_list, inst)) { in inetd_refresh() 2520 for (inst = uu_list_first(instance_list); inst != NULL; in inetd_stop() [all …]
|
H A D | wait.c | 160 methods[mp->method].name, mp->inst->fmri); in method_timeout() 162 mp->inst->timer_id = -1; in method_timeout() 165 process_start_term(mp->inst, mp->proto_name); in method_timeout() 216 me->inst = (instance_t *)ins; in register_method() 277 if (me->inst->timer_id != -1) in unregister_method() 278 cancel_inst_timer(me->inst); in unregister_method() 301 if (me->inst == inst) { in unregister_instance_methods() 373 "%d", pid, me->inst->fmri, ret); in process_terminated_methods() 384 "due to signal %d", pid, me->inst->fmri, in process_terminated_methods() 404 process_non_start_term(me->inst, ret); in process_terminated_methods() [all …]
|
/illumos-gate/usr/src/uts/sparc/v9/os/ |
H A D | simulator.c | 97 rd = (inst >> 25) & 0x1f; in do_unaligned() 99 rs2 = inst & 0x1f; in do_unaligned() 105 if ((inst >> 30) != 3) in do_unaligned() 583 rs2 = inst & 0x1f; in simulate_lddstd() 726 rs2 = inst & 0x1f; in simulate_popc() 775 d64 = inst & 0x1fff; in simulate_mulscc() 782 if (inst & 0x1fe0) { in simulate_mulscc() 785 rs2 = inst & 0x1f; in simulate_mulscc() 1315 uint_t inst; in calc_memaddr() local 1330 rs2 = inst & 0x1f; in calc_memaddr() [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | gen.c | 355 if (inst->gr == NULL && inst->acc->gr_map != NULL) in add_rule() 356 inst->gr = (*inst->acc->gr_map)(inst->acc); in add_rule() 357 if (inst->pw == NULL && inst->acc->pw_map != NULL) in add_rule() 358 inst->pw = (*inst->acc->pw_map)(inst->acc); in add_rule() 359 if (inst->sv == NULL && inst->acc->sv_map != NULL) in add_rule() 360 inst->sv = (*inst->acc->sv_map)(inst->acc); in add_rule() 361 if (inst->pr == NULL && inst->acc->pr_map != NULL) in add_rule() 362 inst->pr = (*inst->acc->pr_map)(inst->acc); in add_rule() 364 inst->ho = (*inst->acc->ho_map)(inst->acc); in add_rule() 366 inst->nw = (*inst->acc->nw_map)(inst->acc); in add_rule() [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | epic.c | 114 (inst))) 171 int inst; in epic_getinfo() local 200 int inst; in epic_attach() local 211 minor = inst; in epic_attach() 216 inst); in epic_attach() 223 "for inst %d\n", inst); in epic_attach() 273 int inst; in epic_detach() local 307 int inst = getminor(*devp); in epic_open() 320 int inst = getminor(dev); in epic_close() 332 int inst; in epic_ioctl() [all …]
|
H A D | pic16f747.c | 117 #define getsoftc(inst) ((struct pic_softc *)ddi_get_soft_state(statep, (inst))) argument 174 int inst; in pic_getinfo() local 203 int inst; in pic_attach() local 214 inst = ddi_get_instance(dip); in pic_attach() 215 if (inst >= MAX_PIC_INSTANCES) { in pic_attach() 226 inst); in pic_attach() 233 "for inst %d\n", inst); in pic_attach() 238 softc = getsoftc(inst); in pic_attach() 299 int inst; in pic_detach() local 304 inst = ddi_get_instance(dip); in pic_detach() [all …]
|
H A D | sysioerr.c | 93 ushort_t id, ushort_t inst, int cleared, 398 ushort_t inst = ecc->flt_inst; in sysio_log_ue_err() local 403 inst, (uint32_t)(t_afsr>>32), (uint32_t)t_afsr, in sysio_log_ue_err() 409 inst, (uint32_t)(t_afsr>>32), (uint32_t)t_afsr, in sysio_log_ue_err() 508 ushort_t inst = ecc->flt_inst; in sysio_log_ce_err() local 602 ushort_t id, inst; in sbus_err_intr() local 617 inst = (ushort_t)ddi_get_instance(softsp->dip); in sbus_err_intr() 757 ushort_t id, inst; in sbus_ctrl_ecc_err() local 761 inst = (ushort_t)ddi_get_instance(softsp->dip); in sbus_ctrl_ecc_err() 779 aflt.flt_inst = inst; in sbus_ctrl_ecc_err() [all …]
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | tod.c | 180 int inst; in tod_attach() local 187 inst = ddi_get_instance(dip); in tod_attach() 204 softc = getsoftc(inst); in tod_attach() 212 inst = ddi_get_instance(dip); in tod_attach() 213 softc = getsoftc(inst); in tod_attach() 236 int inst; in tod_detach() local 242 inst = ddi_get_instance(dip); in tod_detach() 255 softc = getsoftc(inst); in tod_detach() 271 int inst = getminor(*devp); in tod_open() local 281 int inst = getminor(dev); in tod_close() local [all …]
|
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | getinst.c | 66 char *inst; in getinst() local 131 inst = sameinst; in getinst() 134 return (inst); in getinst() 160 return (inst); in getinst() 176 inst = nextinst(); in getinst() 177 return (inst); in getinst() 191 inst = prompt(info, npkgs); in getinst() 193 inst = nextinst(); in getinst() 194 return (inst); in getinst() 199 return (inst); in getinst() [all …]
|
/illumos-gate/usr/src/uts/common/io/vscan/ |
H A D | vscan_drv.c | 306 *result = (void *)inst; in vscan_drv_getinfo() 407 int inst = getminor(*devp); in vscan_drv_open() local 409 if ((inst < 0) || (inst > vs_nodes_max)) in vscan_drv_open() 419 if (inst == 0) { in vscan_drv_open() 463 int i, inst = getminor(dev); in vscan_drv_close() local 465 if ((inst < 0) || (inst > vs_nodes_max)) in vscan_drv_close() 469 if (inst != 0) { in vscan_drv_close() 543 int inst = getminor(dev); in vscan_drv_read() local 546 if ((inst <= 0) || (inst > vs_nodes_max)) in vscan_drv_read() 591 int inst = getminor(dev); in vscan_drv_ioctl() local [all …]
|
/illumos-gate/usr/src/common/ficl/test/ |
H A D | ooptest.fr | 18 locals| class inst | 19 0 inst class --> .a ! 20 1 inst class --> .b ! 31 locals| class inst | 32 inst class --> super --> init 33 2 inst class --> .c ! 34 3 inst class --> .d ! 53 : init ( inst class -- ) 54 locals| class inst | 55 0 inst class --> m_cell1 ! [all …]
|
/illumos-gate/usr/src/uts/sun4u/mpxu/io/ |
H A D | tsalarm.c | 162 int inst = getminor((dev_t)arg); in tsalarm_getinfo() local 178 *result = (void *)(uintptr_t)inst; in tsalarm_getinfo() 192 int inst; in tsalarm_attach() local 198 inst = ddi_get_instance(dip); in tsalarm_attach() 205 softc = getsoftc(inst); in tsalarm_attach() 231 ddi_soft_state_free(statep, inst); in tsalarm_attach() 242 int inst; in tsalarm_detach() local 248 inst = ddi_get_instance(dip); in tsalarm_detach() 272 int inst = getminor(*devp); in tsalarm_open() local 282 int inst = getminor(dev); in tsalarm_close() local [all …]
|
/illumos-gate/usr/src/uts/sparc/v9/fpu/ |
H A D | v9instr.c | 60 fp_inst_type inst; in fldst() member 64 fp.inst = pinst; in fldst() 239 nrs2 = inst.rs2; in fmovcc_fcc() 240 nrd = inst.rd; in fmovcc_fcc() 352 nrs2 = inst.rs2; in fmovcc_icc() 353 nrd = inst.rd; in fmovcc_icc() 387 opf_cc = (enum cc_type) ((inst.ibit << 2) | (inst.opcode >> 4)); in fmovcc() 415 nrs1 = inst.rs1; in fmovr() 453 nrs2 = inst.rs2; in fmovr() 454 nrd = inst.rd; in fmovr() [all …]
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | visinstr.c | 387 nrd = inst.rd; in vis_edge() 563 nrd = inst.rd; in vis_array() 627 nrd = inst.rd; in vis_alignaddr() 674 nrd = inst.rd; in vis_bmask() 716 nrd = inst.rd; in vis_fpaddsub() 812 nrd = inst.rd; in vis_fcmp() 926 nrd = inst.rd; in vis_fmul() 1080 if ((inst.opf != fpack16) && (inst.opf != fpackfix)) { in vis_fpixel() 1623 fp.inst = inst; in vis_short_fls() 1633 fp.inst = inst; in vis_short_fls() [all …]
|