/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_dev.c | 490 minor_t inst = getminor(dev); local 501 sdp = ddi_get_soft_state(statep, inst); 511 ddi_soft_state_free(statep, inst);
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | rpcsec_gss.h | 161 char inst[MAX_NAME_LEN]; /* server's instance name */ member in struct:gss_clnt_data32 175 char inst[MAX_NAME_LEN]; /* server's instance name */ member in struct:gss_clnt_data
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | pseudonex.c | 354 int inst = 0; local 358 for (inst = 0; inst <= MAXMIN32; inst++) { 364 if (inst == ddi_get_instance(tdip)) { 370 return (inst);
|
/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/uts/sun4v/sys/ |
H A D | vldc_impl.h | 98 uint_t inst; /* vldc instance */ member in struct:vldc_port
|
/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...] |
H A D | sysioerr.c | 102 ushort_t id, ushort_t inst, int cleared, 434 ushort_t inst = ecc->flt_inst; local 439 inst, (uint32_t)(t_afsr>>32), (uint32_t)t_afsr, 445 inst, (uint32_t)(t_afsr>>32), (uint32_t)t_afsr, 451 inst, (uint32_t)(t_afsr>>32), (uint32_t)t_afsr, 460 inst, (uint32_t)(t_afsr>>32), (uint32_t)t_afsr, 466 inst, (uint32_t)(t_afsr>>32), (uint32_t)t_afsr, 472 inst, (uint32_t)(t_afsr>>32), (uint32_t)t_afsr, 544 ushort_t inst = ecc->flt_inst; local 559 cmn_err(CE_CONT, fmtstr, inst, (uint32_ 638 ushort_t id, inst; local 669 (uint64_t *)&t_afar, id, inst, cleared, otp); local 689 sbus_log_error(struct sbus_soft_state *softsp, uint64_t *pafsr, uint64_t *pafar, ushort_t id, ushort_t inst, int cleared, on_trap_data_t *otp) argument 793 ushort_t id, inst; local 833 uint_t inst = aflt->flt_inst; local [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | smfcfg.c | 116 scf_instance_t *inst; local 146 inst = phandle->fs_instance; 152 val == NULL|| tran == NULL || entry == NULL || inst == NULL) { 158 phandle->fs_service, inst, NULL, NULL, 0) != 0) { 167 if (scf_instance_get_pg(inst, pgname, 248 scf_instance_t *inst; local 275 inst = phandle->fs_instance; 280 inst == NULL) { 286 phandle->fs_service, inst, NULL, NULL, 0) != 0) { 296 if (scf_instance_get_pg(inst, pgnam [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/lib/libscf/common/ |
H A D | highlevel.c | 119 scf_instance_t *inst = NULL; local 125 (inst = scf_instance_create(handle)) == NULL || 127 inst, NULL, NULL, SCF_DECODE_FMRI_EXACT) != SCF_SUCCESS) 131 rc = scf_instance_add_pg(inst, pgname, pgtype, pgflags, NULL); 138 rc = scf_instance_get_pg(inst, pgname, NULL); 145 scf_instance_destroy(inst);
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | svc.c | 246 scf_instance_t *inst = NULL; local 259 (inst = scf_instance_create(hdl)) == NULL || 290 while (scf_iter_next_instance(inst_iter, inst) == 1) { 291 if ((ilen = scf_instance_to_fmri(inst, NULL, 0)) < 0) 300 if (scf_instance_to_fmri(inst, ifmri, ilen + 1) == -1) 318 scf_instance_destroy(inst); 705 scf_instance_t *inst = NULL; local 723 (inst = scf_instance_create(hdl)) == NULL || 756 if (scf_service_get_instance(svc, instance, inst) != 0) { 775 if (scf_instance_get_pg(inst, SCF_PG_RESTARTE [all...] |
H A D | topo_node.c | 386 topo_node_lookup(tnode_t *pnode, const char *name, topo_instance_t inst) argument 393 "topo_node_lookup: looking for '%s' instance %d\n", name, inst); 400 if (inst > nhp->th_range.tr_max || 401 inst < nhp->th_range.tr_min) { 406 h = topo_node_hash(nhp, inst); 418 topo_node_hash(topo_nodehash_t *nhp, topo_instance_t inst) argument 420 return ((inst - nhp->th_range.tr_min) % nhp->th_arrlen); 447 topo_instance_t inst, nvlist_t *fmri) 458 if (inst > nhp->th_range.tr_max || 459 inst < nh 446 topo_node_bind(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t inst, nvlist_t *fmri) argument 538 topo_instance_t inst = 0; local [all...] |
H A D | topo_snap.c | 583 topo_walk_byid(topo_walk_t *wp, const char *name, topo_instance_t inst) argument 589 nnp = topo_node_lookup(cnp, name, inst); 606 topo_walk_bysibling(topo_walk_t *wp, const char *name, topo_instance_t inst) argument 617 status = topo_walk_byid(wp, name, inst);
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip.c | 146 topo_instance_t inst, uint16_t smbios_id) 151 if (mkrsrc(mod, pnode, name, inst, auth, &fmri) != 0) { 184 cnode = topo_node_bind(mod, pnode, name, inst, fmri); 189 " for %s %d\n", name, (int)inst); 145 create_node(topo_mod_t *mod, tnode_t *pnode, nvlist_t *auth, char *name, topo_instance_t inst, uint16_t smbios_id) argument
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/cpuboard/ |
H A D | cpuboard.c | 371 topo_instance_t inst) 380 "Calling chip_enum for inst: %lx\n", inst); 382 parent, CHIP, CHIP, inst, inst, NULL) != 0) { 370 chip_instantiate(tnode_t *parent, const char *name, topo_mod_t *mod, topo_instance_t inst) argument
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | pi_walker.c | 323 topo_instance_t inst; local 346 result = pi_get_instance(mod, mdp, mde_node, &inst); 388 result = pi_walker_node_create(mod, mdp, mde_node, t_parent, inst, 416 tnode_t *t_parent, topo_instance_t inst, tnode_t **t_node) 460 result = (func)(mod, mdp, mde_node, inst, t_parent, hc_name, t_node); 493 topo_instance_t inst; local 549 rc = pi_get_instance(mod, mdp, arcp[arcidx], &inst); 561 hc_name, (uint32_t)inst, (uint32_t)inst); 587 min = MIN(min, (uint32_t)inst); 415 pi_walker_node_create(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, tnode_t *t_parent, topo_instance_t inst, tnode_t **t_node) argument [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/xaui/ |
H A D | xaui.c | 203 xaui_get_path(topo_mod_t *mod, void *priv, topo_instance_t inst) argument 267 if (snprintf(path, path_len, "%s/@%d", buf, inst) < 0) {
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | __fex_hdlr.c | 399 sseinst_t inst; local 403 len = __fex_parse_sse(uap, &inst); 415 if ((int)inst.op & SIMD) { 416 __fex_get_simd_op(uap, &inst, simd_e, simd_info); 503 __fex_st_simd_result(uap, &inst, simd_e, simd_info); 511 if ((int)inst.op & INTREG) { 526 e = __fex_get_sse_op(uap, &inst, &info); 577 __fex_st_sse_result(uap, &inst, e, &info); 588 if (inst.op == cvtss2si || inst [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | config.c | 390 * instance 'inst', and return a table containing all method properties. If an 398 read_method_props(const char *inst, instance_method_t method, scf_error_t *err) argument 410 *err = read_prop(rep_handle, &ret[i], i, inst, 452 * Read all the basic and method properties for instance 'inst', as inetd_prop_t
|
H A D | tlx.c | 309 create_bound_endpoint(const instance_t *inst, tlx_info_t *tlx_info) argument 313 const char *fmri = inst->fmri; 365 qlen = inst->config->basic->conn_backlog; 630 close_net_fd(instance_t *inst, int fd) argument 632 if (inst->config->basic->istlx) { 643 consume_wait_data(instance_t *inst, int fd) argument 648 if (inst->config->basic->istlx) {
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | config.c | 531 config_getcompname(struct config *cp, char **name, int *inst) argument 537 if (inst != NULL) 538 *inst = cp->num;
|
/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...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_ibt.c | 714 int inst = 0; local 727 while ((inst = EIB_FIND_LSB_SET(av)) != -1) { 728 if ((vnic = ss->ei_vnic[inst]) != NULL) { 738 av &= (~((uint64_t)1 << inst)); 749 int inst = 0; local 771 while ((inst = EIB_FIND_LSB_SET(av)) != -1) { 772 if ((vnic = ss->ei_vnic[inst]) != NULL) { 781 av &= (~((uint64_t)1 << inst)); 928 int inst = 0; local 941 while ((inst [all...] |
/illumos-gate/usr/src/uts/common/io/net80211/ |
H A D | net80211.c | 209 ieee80211_register_door(ieee80211com_t *ic, const char *drvname, int inst) argument 212 WPA_DOOR, drvname, inst);
|