/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_xml.c | 1178 int joined_set = 0, inst; local 1324 inst = topo_node_instance(ct); 1325 if (inst < rd->rd_min || inst > rd->rd_max) 1502 topo_instance_t inst; local 1514 inst = (topo_instance_t)ui; 1524 rd->rd_finfo->tf_scheme, rd->rd_name, inst, inst, 1528 ntn = topo_node_lookup(rd->rd_pn, rd->rd_name, inst); 1542 if ((newi = tf_idata_new(mp, inst, nt [all...] |
/illumos-gate/usr/src/uts/common/io/blkdev/ |
H A D | blkdev.c | 271 minor_t inst; local 275 inst = BDINST((dev_t)arg); 279 bd = ddi_get_soft_state(bd_state, inst); 287 *resultp = (void *)(intptr_t)inst; 334 bd_create_errstats(bd_t *bd, int inst, bd_drive_t *drive) argument 346 ddi_driver_name(bd->d_dip), inst); 348 bd->d_errstats = kstat_create(ks_module, inst, ks_name, "device_error", 461 int inst; local 479 inst = ddi_get_instance(dip); 491 if (ddi_soft_state_zalloc(bd_state, inst) ! 870 minor_t inst; local 977 minor_t inst; local 1030 minor_t inst; local 1099 minor_t inst; local 1146 minor_t inst; local 1217 minor_t inst; local [all...] |
/illumos-gate/usr/src/lib/librestart/common/ |
H A D | librestart.c | 749 restarter_event_get_instance(restarter_event_t *e, char *inst, size_t sz) argument 751 assert(e != NULL && inst != NULL); 752 return ((ssize_t)strlcpy(inst, e->re_instance_name, sz)); 834 * ENOENT - inst does not exist in the repository 843 restarter_set_states(restarter_event_handle_t *h, const char *inst, argument 894 nvlist_add_string(attr, RESTARTER_NAME_INSTANCE, inst) != 0 || 898 id.i_fmri = inst; 976 * EBADF - inst is not set 977 * ECANCELED - inst is deleted 983 instance_get_or_add_pg(scf_instance_t *inst, cons argument 2790 restarter_get_method_context(uint_t version, scf_instance_t *inst, scf_snapshot_t *snap, const char *mname, const char *cmdline, struct method_context **mcpp) argument 3889 restarter_inst_validate_ractions_aux_fmri(scf_instance_t *inst) argument 3938 restarter_inst_ractions_from_tty(scf_instance_t *inst) argument 3977 restarter_inst_dump(scf_instance_t *inst) argument 4022 restarter_inst_set_astring_prop(scf_instance_t *inst, const char *pgname, const char *pgtype, uint32_t pgflags, const char *pname, const char *str) argument 4076 restarter_inst_set_aux_fmri(scf_instance_t *inst) argument 4125 restarter_inst_reset_aux_fmri(scf_instance_t *inst) argument 4132 restarter_inst_reset_ractions_aux_fmri(scf_instance_t *inst) argument [all...] |
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | scf_tmpl.c | 910 _get_snapshot(scf_instance_t *inst, const char *snapshot, argument 916 h = scf_instance_handle(inst); 928 err = scf_instance_get_snapshot(inst, "running", *snap); 930 err = scf_instance_get_snapshot(inst, snapshot, *snap); 986 scf_instance_t *inst, scf_snapshot_t *s) 993 assert(svc != NULL || inst != NULL); 994 assert(svc == NULL || inst == NULL); 1002 if (inst != NULL) 1003 ret = scf_instance_get_pg_composed(inst, s, SCF_PG_GENERAL, 1160 * inst an 985 _get_restarter_inst(scf_handle_t *h, scf_service_t *svc, scf_instance_t *inst, scf_snapshot_t *s) argument 1166 _walk_template_instances(scf_service_t *svc, scf_instance_t *inst, scf_snapshot_t *snap, walk_template_inst_func_t *func, pg_tmpl_walk_t *p, int flag) argument 1316 _get_pg(scf_service_t *svc, scf_instance_t *inst, const scf_snapshot_t *snap, const char *name, scf_propertygroup_t *pg) argument 1343 _lookup_pg(scf_service_t *svc, scf_instance_t *inst, const scf_snapshot_t *snap, const char *name, scf_propertygroup_t *pg) argument 1475 _find_template_pg_match(scf_service_t *svc, scf_instance_t *inst, const scf_snapshot_t *snap, const char *pg_name, const char *pg_type, const char *target, char **tmpl_pg_name) argument 1664 find_pg_match(scf_service_t *svc, scf_instance_t *inst, pg_tmpl_walk_t *p) argument 1724 scf_instance_t *inst = NULL; local 1939 scf_instance_t *inst = NULL; local 2301 scf_instance_t *inst = NULL; local 6535 scf_instance_t *inst = NULL; local [all...] |
H A D | lowlevel.c | 1292 scf_instance_t *inst; local 1330 inst = handle->rh_instance; 1353 if (inst != NULL) 1354 scf_instance_destroy(inst); 2522 scf_iter_instance_snapshots(scf_iter_t *iter, const scf_instance_t *inst) argument 2524 return (datael_setup_iter(iter, &inst->rd_d, 2535 scf_iter_instance_pgs(scf_iter_t *iter, const scf_instance_t *inst) argument 2537 return (datael_setup_iter(iter, &inst->rd_d, 2542 scf_iter_instance_pgs_typed(scf_iter_t *iter, const scf_instance_t *inst, argument 2545 return (datael_setup_iter_pgtyped(iter, &inst 2549 scf_iter_instance_pgs_composed(scf_iter_t *iter, const scf_instance_t *inst, const scf_snapshot_t *snap) argument 2560 scf_iter_instance_pgs_typed_composed(scf_iter_t *iter, const scf_instance_t *inst, const scf_snapshot_t *snap, const char *type) argument 2571 scf_iter_snaplevel_pgs(scf_iter_t *iter, const scf_snaplevel_t *inst) argument 2578 scf_iter_snaplevel_pgs_typed(scf_iter_t *iter, const scf_snaplevel_t *inst, const char *type) argument 2737 scf_instance_delete(scf_instance_t *inst) argument 2785 scf_service_get_instance(const scf_service_t *svc, const char *name, scf_instance_t *inst) argument 2814 scf_instance_add_pg(const scf_instance_t *inst, const char *name, const char *type, uint32_t flags, scf_propertygroup_t *pg) argument 2827 scf_instance_get_snapshot(const scf_instance_t *inst, const char *name, scf_snapshot_t *pg) argument 2840 scf_instance_get_pg(const scf_instance_t *inst, const char *name, scf_propertygroup_t *pg) argument 2853 scf_instance_get_pg_composed(const scf_instance_t *inst, const scf_snapshot_t *snap, const char *name, scf_propertygroup_t *pg) argument 3387 _scf_snapshot_take(scf_instance_t *inst, const char *name, scf_snapshot_t *snap, int flags) argument 3427 _scf_snapshot_take_new_named(scf_instance_t *inst, const char *svcname, const char *instname, const char *snapname, scf_snapshot_t *snap) argument 3478 _scf_snapshot_take_new(scf_instance_t *inst, const char *name, scf_snapshot_t *snap) argument 3485 _scf_snapshot_take_attach(scf_instance_t *inst, scf_snapshot_t *snap) argument 5111 scf_pg_get_parent_instance(const scf_propertygroup_t *pg, scf_instance_t *inst) argument 5130 scf_instance_get_parent(const scf_instance_t *inst, scf_service_t *svc) argument 5136 scf_snapshot_get_parent(const scf_snapshot_t *inst, scf_instance_t *svc) argument 5142 scf_snaplevel_get_parent(const scf_snaplevel_t *inst, scf_snapshot_t *svc) argument 5438 scf_handle_decode_fmri(scf_handle_t *h, const char *fmri, scf_scope_t *sc, scf_service_t *svc, scf_instance_t *inst, scf_propertygroup_t *pg, scf_property_t *prop, int flags) argument 5752 scf_instance_to_fmri(const scf_instance_t *inst, char *out, size_t sz) argument 5834 scf_instance_t *inst; local 5848 scf_instance_t *inst = HANDLE_HOLD_INSTANCE(h); local 5948 scf_instance_t *inst; local 6278 scf_instance_t *inst = NULL; local [all...] |
/illumos-gate/usr/src/lib/libcfgadm/common/ |
H A D | config_admin.c | 1128 int inst; local 1132 inst = di_instance(node); 1136 if (drv != NULL && inst != -1 && minor_name != NULL && 1137 snprintf(libloc_p->ap_logical, len, "%s%d:%s", drv, inst, 1157 int inst; local 1161 inst = di_instance(node); 1165 if (drv != NULL && inst != -1 && hp_name != NULL && 1166 snprintf(liblocp->ap_logical, len, "%s%d:%s", drv, inst, 2087 char inst[MAXPATHLEN]; local 2114 (void) snprintf(inst, sizeo [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/routeadm/ |
H A D | routeadm.c | 898 scf_instance_t *inst = wip->inst; local 899 scf_handle_t *h = scf_instance_handle(inst); 916 if (ra_get_single_prop_as_string(h, inst, RA_PG_ROUTEADM, 923 (void) ra_get_single_prop_as_string(h, inst, RA_PG_ROUTEADM, 937 if (ra_set_prop_from_string(h, inst, RA_PG_ROUTEADM, 956 if (ra_set_prop_from_string(h, inst, RA_PG_ROUTEADM, 975 if (ra_get_boolean_prop(h, inst, RA_PG_ROUTEADM, 1343 scf_instance_t *inst = wip->inst; local 1371 scf_instance_t *inst = wip->inst; local 1574 scf_instance_t *inst = wip->inst; local 1585 scf_instance_t *inst = wip->inst; local 1603 scf_instance_t *inst = wip->inst; local 1614 scf_instance_t *inst = wip->inst; local 1626 scf_instance_t *inst = wip->inst; local 1645 scf_instance_t *inst = wip->inst; local 1678 scf_instance_t *inst = wip->inst; local 1817 scf_instance_t *inst = wip->inst; local 1857 scf_instance_t *inst = wip->inst; local 1881 ra_get_pg(scf_handle_t *h, scf_instance_t *inst, const char *pgname, boolean_t composed, boolean_t required, scf_propertygroup_t **pg) argument 1905 ra_get_boolean_prop(scf_handle_t *h, scf_instance_t *inst, const char *pgname, const char *propname, boolean_t composed, boolean_t required, boolean_t *val) argument 1920 ra_get_single_prop_as_string(scf_handle_t *h, scf_instance_t *inst, const char *pgname, const char *propname, boolean_t composed, boolean_t required, scf_type_t *type, char **value) argument 1941 ra_get_prop_as_string(scf_handle_t *h, scf_instance_t *inst, const char *pgname, const char *propname, boolean_t composed, boolean_t required, scf_type_t *type, int *numvalues, char ***values) argument 2055 ra_set_boolean_prop(scf_handle_t *h, scf_instance_t *inst, const char *pgname, const char *prop, boolean_t create, boolean_t propval) argument 2070 ra_set_prop_from_string(scf_handle_t *h, scf_instance_t *inst, const char *pgname, const char *propname, scf_type_t proptype, boolean_t create, int numpropvals, const char **propvals) argument 2233 scf_instance_t *inst = NULL; local [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_xioctl.c | 1095 uint16_t inst = 0; local 1117 if (inst != cmd->Instance) { 1118 inst++; 1202 uint16_t inst = 0; local 1227 if (inst != cmd->Instance) { 1228 inst++;
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | gld.c | 4615 int inst; local 4635 inst = ddi_get_instance(macinfo->gldm_devinfo); 4636 if (inst == -1 || qassociate(q, inst) != 0) {
|
/illumos-gate/usr/src/uts/common/io/sata/adapters/nv_sata/ |
H A D | nv_sata.c | 572 int inst = ddi_get_instance(dip); local 588 status = ddi_soft_state_zalloc(nv_statep, inst); 594 nvc = ddi_get_soft_state(nv_statep, inst); 608 "inst %d: devid is %x silicon revid is %x" 609 " nv_debug_flags=%x", inst, nvc->nvc_devid, 809 nvc = ddi_get_soft_state(nv_statep, inst); 812 "nv_attach(): DDI_RESUME inst %d", inst); 889 ddi_soft_state_free(nv_statep, inst); 896 cmn_err(CE_WARN, "nv_sata%d attach failed", inst); 905 int i, port, inst = ddi_get_instance(dip); local 1045 int inst; local 4066 char inst[NV_STR_LEN]; local [all...] |
/illumos-gate/usr/src/uts/common/io/usb/clients/audio/usb_ac/ |
H A D | usb_ac.c | 718 int inst = ddi_get_instance(dip); local 719 usb_ac_state_t *uacp = ddi_get_soft_state(usb_ac_statep, inst); 737 int inst = ddi_get_instance(dip); local 738 usb_ac_state_t *uacp = ddi_get_soft_state(usb_ac_statep, inst); 3635 int inst = ddi_get_instance(dip); local 3640 ddi_driver_name(dip), inst); 3863 int inst; local 3924 inst = ddi_get_instance(acp_dip); 3930 ddi_driver_name(acp_dip), inst, minor);
|
/illumos-gate/usr/src/lib/libdisasm/common/ |
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/uts/i86pc/os/ |
H A D | startup.c | 694 uint32_t inst; local 715 inst = (instp[3] << 24) | (SMAP_CLAC_INSTR & 0x00ffffff); 716 hot_patch_kernel_text((caddr_t)instp, inst, 4); 726 inst = (instp[3] << 24) | (SMAP_STAC_INSTR & 0x00ffffff); 727 hot_patch_kernel_text((caddr_t)instp, inst, 4);
|
/illumos-gate/usr/src/cmd/svc/svccfg/ |
H A D | svccfg_xml.c | 3207 lxml_get_instance(entity_t *service, xmlNodePtr inst, bundle_type_t bt, argument 3220 i = internal_instance_new((char *)xmlGetProp(inst, 3232 enabled = xmlGetProp(inst, (xmlChar *)enabled_attr); 3268 for (cursor = inst->xmlChildrenNode; cursor != NULL; 3790 entity_t *svc, *inst; local 3811 while ((inst = uu_list_walk_next(insts)) != NULL) 3813 inst->sc_name);
|
H A D | svccfg_tmpl.c | 682 build_composed_property_groups(entity_t *inst, uu_avl_t *tree) argument 691 for (pg = uu_list_first(inst->sc_pgroups); 693 pg = uu_list_next(inst->sc_pgroups, pg)) { 706 svc = inst->sc_parent; 736 build_composed_instance(entity_t *inst) argument 740 assert(inst->sc_etype == SVCCFG_INSTANCE_OBJECT); 742 if (inst->sc_u.sc_instance.sc_composed == NULL) { 743 tree = uu_avl_create(composed_pg_pool, inst, TMPL_DEBUG_TREE); 748 inst->sc_u.sc_instance.sc_composed = tree; 750 build_composed_property_groups(inst, 755 demolish_composed_instance(entity_t *inst) argument 2682 tmpl_pattern_conflict(entity_t *inst, uu_avl_t *tree, ptrn_type_t type, tmpl_errors_t *errs) argument 2855 tmpl_level_redefine(entity_t *inst, uu_avl_t *tree, tmpl_errors_t *errs) argument 2901 tmpl_consistency(entity_t *inst, tmpl_errors_t *errs) argument 3083 tmpl_find_prop_pattern(entity_t *inst, pgroup_t *pg_pattern, property_t *prop, pgroup_t **prop_pattern) argument 3968 entity_t *inst; local [all...] |
H A D | svccfg_libscf.c | 567 * iter, inst, snap, and snpl are required scratch objects. 579 scf_propertygroup_t *pg, scf_iter_t *iter, scf_instance_t *inst, 602 r = scf_iter_next_instance(iter, inst); 638 if (scf_instance_get_snapshot(inst, snap_running, 1257 scf_instance_t *inst; local 1290 inst = scf_instance_create(h); 1291 if (inst == NULL) 1294 if (scf_handle_decode_fmri(h, fmri, NULL, NULL, inst, NULL, 1302 *ep = inst; 1329 scf_instance_t *inst local 578 entity_get_running_pg(void *ent, int issvc, const char *name, scf_propertygroup_t *pg, scf_iter_t *iter, scf_instance_t *inst, scf_snapshot_t *snap, scf_snaplevel_t *snpl) argument 1499 take_snap(scf_instance_t *inst, const char *name, scf_snapshot_t *snap) argument 1589 refresh_entity(int isservice, void *entity, const char *fmri, scf_instance_t *inst, scf_iter_t *iter, char *name_buf) argument 2791 lscf_import_instance_pgs(scf_instance_t *inst, const char *target_fmri, const entity_t *iinst, int flags) argument 6173 entity_t *inst = v; local 6790 lscf_instance_verify(scf_scope_t *scope, entity_t *svc, entity_t *inst) argument 7038 entity_t *inst, linst; local 8192 entity_t *svc, *inst; local 8683 entity_t *svc, *inst; local 10554 export_instance(scf_instance_t *inst, struct entity_elts *selts, int flags) argument 10899 const char *scope, *svc, *inst; local 11082 scf_instance_t *inst; local 11250 scf_instance_t *inst; local 11302 scf_instance_t *inst; local 11782 scf_instance_t *inst; local 11965 scf_instance_t *inst; local 12014 scf_instance_t *inst = NULL; local 12260 inst_is_running(scf_instance_t *inst) argument 12356 lscf_instance_delete(scf_instance_t *inst, int force) argument 12500 scf_instance_t *inst; local 12613 scf_instance_t *inst; local 14774 scf_instance_t *inst = cur_inst; local 16246 scf_instance_t *inst; local 17540 scf_instance_t *inst; local [all...] |
/illumos-gate/usr/src/cmd/init/ |
H A D | init.c | 3065 get_or_add_startd(scf_instance_t *inst) argument 3072 h = scf_instance_handle(inst); 3074 if (scf_handle_decode_fmri(h, SCF_SERVICE_STARTD, NULL, NULL, inst, 3176 if (scf_service_get_instance(svc, "default", inst) != 0) { 3195 if (scf_service_add_instance(svc, "default", inst) != 3325 scf_instance_t *inst = NULL; local 3352 if ((inst = scf_instance_create(h)) == NULL || 3362 r = get_or_add_startd(inst); 3379 if (scf_instance_get_pg(inst, SCF_PG_OPTIONS_OVR, pg) != 0) { 3399 if (scf_instance_add_pg(inst, SCF_PG_OPTIONS_OV [all...] |
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | rc_node.c | 2721 * the "general" property group of inst. Returns 2722 * _DELETED - inst (or an ancestor) was deleted 2727 perm_add_inst_action_auth(permcheck_t *pcp, rc_node_t *inst) argument 2732 assert(inst->rn_id.rl_type == REP_PROTOCOL_ENTITY_INSTANCE); 2734 r = perm_add_ent_prop_values(pcp, inst, AUTH_PG_GENERAL, 2740 r = rc_node_parent(inst, &svc); 4165 rc_node_t *inst = NULL; local 4185 assert(inst == NULL); 4186 inst = np; 4207 inst ! [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_subr.c | 2097 int inst; local 2103 inst = ddi_get_instance(iport->dip); 2145 (void *)pptr, inst, iport->refcnt);
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vnet_gen.c | 1414 int inst; local 1422 inst = vnetp->instance; 1431 inst = portp->port_num; 1447 inst, *default_idp); 1459 pvid_propname, inst, *pvidp); 1473 DBG2(vgenp, NULL, "%s(%d): ", vid_propname, inst); 1892 uint64_t inst; local 1961 if (md_get_prop_val(mdp, node, "cfg-handle", &inst)) { 1967 if (inst != vgenp->regprop) { 1968 DERR(vgenp, NULL, "Invalid cfg-handle: %lx\n", inst); [all...] |
/illumos-gate/usr/src/uts/sun4u/opl/io/ |
H A D | drmach.c | 4015 uint64_t inst; local 4114 inst = patch_inst((uint64_t *)prog->critical->loop_rtn, 4116 if (prog->critical->inst_loop_ret == inst) {
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_solaris.c | 7003 "inst=%x", DRIVER_NAME, ddiinst); 10125 uint32_t inst; local 10129 inst = MAX_FC_BRDS; 10132 inst = i; 10139 return (inst);
|
/illumos-gate/usr/src/cmd/svc/svcs/ |
H A D | svcs.c | 475 get_running_snapshot(scf_instance_t *inst) argument 483 if (scf_instance_get_snapshot(inst, "running", snap) == 0) 501 inst_get_single_val(scf_instance_t *inst, const char *pgname, argument 509 snap = get_running_snapshot(inst); 511 r = scf_instance_get_pg_composed(inst, snap, pgname, g_pg); 513 r = scf_instance_get_pg(inst, pgname, g_pg); 525 instance_enabled(scf_instance_t *inst, boolean_t temp) argument 529 if (inst_get_single_val(inst, 542 get_restarter_string_prop(scf_instance_t *inst, const char *pname, argument 545 if (inst_get_single_val(inst, SCF_PG_RESTARTE 551 get_restarter_time_prop(scf_instance_t *inst, const char *pname, struct timeval *tvp, int ok_if_empty) argument 563 get_restarter_count_prop(scf_instance_t *inst, const char *pname, uint64_t *cp, uint_t flags) argument 666 check_for_restarter(scf_instance_t *inst, const char *restarter) argument 715 common_by_restarter(scf_instance_t *inst, const char *fmri, int *restarter_specp) argument 859 pids_by_restarter(scf_instance_t *inst, const char *fmri, pid_t **pids, uint_t *np, int *restarter_specp) argument 904 instance_processes(scf_instance_t *inst, const char *fmri, pid_t **pids, uint_t *np) argument 1174 transitioning(scf_instance_t *inst) argument 2077 scf_instance_t *inst; local 2687 scf_instance_t *inst = scf_instance_create(h); local [all...] |
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | graph.c | 2133 scf_instance_t *inst; local 2135 err = libscf_fmri_get_instance(h, rv->gv_name, &inst); 2138 err = configure_vertex(rv, inst); 2139 scf_instance_destroy(inst); 2189 scf_instance_t *inst; local 2197 inst = safe_scf_instance_create(h); 2243 r = scf_iter_next_instance(iter, inst); 2267 if (scf_instance_to_fmri(inst, inst_fmri, max_scf_fmri_size) < 2284 r = dgraph_add_instance(inst_fmri, inst, B_FALSE); 2309 scf_instance_destroy(inst); 2346 scf_instance_t *inst; local 2695 set_dependencies(graph_vertex_t *v, scf_instance_t *inst, int **pathp) argument 2918 scf_instance_t *inst; local 3014 refresh_vertex(graph_vertex_t *v, scf_instance_t *inst) argument 3146 configure_vertex(graph_vertex_t *v, scf_instance_t *inst) argument 3902 scf_instance_t *inst; local 4109 dgraph_add_instance(const char *inst_fmri, scf_instance_t *inst, boolean_t lock_graph) argument 4174 scf_instance_t *inst; local 4310 dgraph_refresh_instance(graph_vertex_t *v, scf_instance_t *inst) argument 4479 scf_instance_t *inst; local 5556 scf_instance_t *inst; local 5856 scf_instance_t *inst; local 6087 scf_instance_t *inst; local 6278 process_actions(scf_handle_t *h, scf_propertygroup_t *pg, scf_instance_t *inst) argument 6477 process_pg_event(scf_handle_t *h, scf_propertygroup_t *pg, scf_instance_t *inst, char *pg_name) argument 6822 scf_instance_t *inst; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/ |
H A D | ipqosconf.c | 1714 IPQOSCDBG2(DIFF, "marking flt %s, inst %d " 2535 "filter %s, inst: %d\n", flt->name, 6396 IPQOSCDBG2(L1, "In filterexist: name :%s, inst: %d\n", filter_nm, 6438 IPQOSCDBG2(L1, "In free_filter: filter: %s, inst: %d\n", flt->name, 6469 int inst) 6478 ofilter->name, af, inv6, inst); 6596 nf->instance = inst; 6462 dup_filter( ipqos_conf_filter_t *ofilter, ipqos_conf_filter_t **nfilter, int af, int inv6, void *saddr, void *daddr, int inst) argument
|