Searched defs:instance (Results 326 - 350 of 540) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/uts/common/io/vioblk/
H A Dvioblk.c818 int instance; local
823 instance = ddi_get_instance(devinfo);
858 sc->sc_intrstat = kstat_create("vioblk", instance,
/illumos-gate/usr/src/uts/common/os/
H A Dtaskq.c130 * taskq_t *taskq_create_instance(name, instance, nthreads, pri, minalloc,
133 * Like taskq_create(), but takes an instance number (or -1 to indicate
134 * no instance).
505 * Pseudo instance numbers for taskqs without explicitly provided instance.
1815 * Create an instance of task queue. It is legal to create task queues with the
1819 * instance from ddi_get_instance(). In some cases the instance is not
1820 * initialized and is set to -1. This case is handled as if no instance was
1824 taskq_create_instance(const char *name, int instance, in argument
1861 taskq_create_common(const char *name, int instance, int nthreads, pri_t pri, int minalloc, int maxalloc, proc_t *proc, uint_t dc, uint_t flags) argument
[all...]
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_cfg.c900 char instance[32]; local
902 (void) snprintf(instance, sizeof (instance), "%s:default",
904 return (smf_refresh_instance(instance));
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvcc.c172 * This template is copied for each vldc instance and filled in with
283 int instance = VCCINST(getminor((dev_t)arg));
289 if ((vccp = ddi_get_soft_state(vcc_ssp, instance)) == NULL) {
297 *resultp = (void *)(uintptr_t)instance;
420 attr.instance = ddi_get_instance(vccp->dip);
734 int instance; local
804 * (instance << VCC_INST_SHIFT) | minor_idx
806 instance = ddi_get_instance(vccp->dip);
808 minor = (instance << VCC_INST_SHIFT) | (minor_idx);
868 i_vcc_mdeg_register(vcc_t *vccp, int instance) argument
934 int i, instance, inst; local
1064 int i, instance; local
2429 int instance; local
[all...]
/illumos-gate/usr/src/cmd/stat/kstat/
H A Dkstat.c294 "[module[:instance[:name[:statistic]]]] and "
356 " [ -m module ] [ -i instance ] [ -n name ] [ -s statistic ]\n"
359 " [ module[:instance[:name[:statistic]]] ... ]\n"
454 * Inserts an instance in the per selector list.
460 ks_nvpair_t *instance; local
463 instance = (ks_nvpair_t *)malloc(sizeof (ks_nvpair_t));
464 if (instance == NULL) {
469 (void) strlcpy(instance->name, name, KSTAT_STRLEN);
470 (void) memcpy(&instance->value, value, sizeof (ks_value_t));
471 instance
[all...]
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_main.c91 * by the system, resulting in an instance being created and attached to. While
93 * instance of the device, there are many that are shared across all of them.
2642 int instance; local
2647 instance = ddi_get_instance(devinfo);
2651 i40e->i40e_instance = instance;
/illumos-gate/usr/src/uts/i86xpv/io/psm/
H A Dmp_platform_xpv.c1034 cmn_err(CE_WARN, "No interrupt irq: %s instance %d",
1093 " instance %d and SCI",
1097 " instance %d and %s instance %d",
1105 cmn_err(CE_WARN, "No interrupt vector: %s instance %d",
1171 int instance, instno, prop_len, bind_cpu, count; local
1193 instance = ddi_get_instance(dip);
1210 "!%s: %s (%s) instance #%d "
1214 name, drv_name, instance, irq,
1224 * instance
[all...]
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/pvscsi/
H A Dpvscsi_var.h158 int instance; member in struct:pvscsi_softc
/illumos-gate/usr/src/uts/common/io/nvme/
H A Dnvme.c2505 int instance; local
2514 instance = ddi_get_instance(dip);
2516 if (ddi_soft_state_zalloc(nvme_state, instance) != DDI_SUCCESS)
2519 nvme = ddi_get_soft_state(nvme_state, instance);
2679 int instance, i; local
2685 instance = ddi_get_instance(dip);
2687 nvme = ddi_get_soft_state(nvme_state, instance);
2770 ddi_soft_state_free(nvme_state, instance);
2778 int instance; local
2781 instance
[all...]
/illumos-gate/usr/src/lib/efcode/include/fcode/
H A Dproto.h180 FNPROTO(instance); variable
/illumos-gate/usr/src/lib/libscf/common/
H A Dmidlevel.c354 * service/instance composition while filling the app_props_t.
511 * instance and the desired state for the enabled bit in the instance's
957 * get_inst_state() gets the state string from an instance, and returns
958 * the SCF_STATE_* constant that coincides with the instance's current state.
975 /* Pull the state property from the instance */
1013 * Sets an instance to be enabled or disabled after reboot, using the
1108 * Create and return a pg from the instance associated with the given handle.
1141 /* Get pg from instance */
1197 smf_refresh_instance(const char *instance) argument
1203 smf_restart_instance(const char *instance) argument
1209 smf_maintain_instance(const char *instance, int flags) argument
1224 smf_degrade_instance(const char *instance, int flags) argument
1252 smf_restore_instance(const char *instance) argument
1280 smf_get_state(const char *instance) argument
1650 scf_simple_prop_get(scf_handle_t *hin, const char *instance, const char *pgname, const char *propname) argument
2600 boolean_t instance = B_TRUE; local
2768 boolean_t instance = B_TRUE; local
[all...]
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlwlan.c1589 * routines of create instance
1592 add_property_group_to_instance(scf_handle_t *handle, scf_instance_t *instance, argument
1601 if (scf_instance_add_pg(instance, pg_name, pg_type, 0, pg) != 0) {
1645 add_pg_method(scf_handle_t *handle, scf_instance_t *instance, argument
1654 pg = add_property_group_to_instance(handle, instance,
1719 scf_instance_t *instance; local
1721 instance = scf_instance_create(handle);
1722 if (instance == NULL)
1725 if (scf_service_add_instance(svc, instance_name, instance) != 0) {
1727 /* Let the caller deal with the duplicate instance */
1840 scf_instance_t *instance; local
[all...]
/illumos-gate/usr/src/lib/libfru/libfru/
H A Dlibfru.cc43 * 4) Find the specific tag which contains the instance of this data the user
1162 // if so just add to the instance.
1168 // if not add to the end of the array of instance 0.
1181 get_tag_inst_from_hist(tag_inst_hist_t *hist, fru_tag_t tag, int *instance) argument
1186 *instance = (hist->pairs)[j].inst;
1196 // and an instance of the unknown payload you are looking for.
1199 // instance == the instance of the tag "tag" to read from the list
1201 // instance == the number of instances remaining.
1205 int *instance, fru_tag_
1204 find_unknown_element(fru_tag_t *tags, int num_tags, int *instance, fru_tag_t *tag) argument
1275 find_known_element(fru_tag_t *tags, int num_tags, Ancestor *ants, int *instance, Ancestor **correct, int *tagInstance) argument
1348 find_known_element_abs(fru_tag_t *tags, int num_tags, int *instance, PathDef *head, Ancestor *ants, Ancestor **correct, int *tagInstance) argument
1412 get_payload(fru_nodehdl_t container, const char *seg_name, int instance, const char *field_path, PathDef **pathDef, Ancestor **ancestors, Ancestor **correct, int *tagInstance, int *instLeft, uint8_t **payload, size_t *payloadLen, int mode) argument
1553 get_seg_and_payload(fru_nodehdl_t container, char **seg_name, int instance, const char *field_path, PathDef **pathDef, Ancestor **ancestors, Ancestor **correct, int *tagInstance, int *instLeft, uint8_t **payload, size_t *payloadLen) argument
1629 fru_read_field(fru_nodehdl_t container, char **seg_name, unsigned int instance, const char *field_path, void **data, size_t *data_len, char **found_path) argument
1706 fru_update_field(fru_nodehdl_t container, char *seg_name, unsigned int instance, const char *field_path, void *data, size_t length) argument
1785 fru_get_num_iterations(fru_nodehdl_t container, char **seg_name, unsigned int instance, const char *iter_path, int *num_there, char **found_path) argument
1960 fru_delete_element(fru_nodehdl_t container, const char *seg_name, unsigned int instance, const char *element) argument
[all...]
/illumos-gate/usr/src/lib/libstmf/common/
H A Dlibstmf.h296 uint32_t instance; member in struct:_stmfLogicalUnitProviderProperties
304 uint32_t instance; member in struct:_stmfLocalPortProviderProperties
/illumos-gate/usr/src/lib/libbsm/common/
H A Ddevalloc.c1741 int instance; local
1786 (void) sscanf(nentry->devinfo.devname, "%*[a-z]%d", &instance);
1787 if (nentry->devinfo.instance == new_instance)
1801 instance = 0;
1803 instance++;
1804 (void) snprintf(dname, sizeof (dname), "%s%d", tname, instance);
1815 nentry->devinfo.instance = new_instance;
/illumos-gate/usr/src/lib/libinetsvc/common/
H A Dinetsvc.c479 * Free all the memory consumed by 'pi' associated with the instance
1120 * read_props reads either the full set of properties for instance 'instance'
1122 * 'instance' is non-null, else just the defaults from inetd. The properties
1129 read_props(scf_handle_t *h, const char *instance, size_t *num_elements, argument
1134 boolean_t defaults_only = (instance == NULL);
1143 instance = INETD_INSTANCE_FMRI;
1148 switch (*err = read_prop(h, &ret[i], i, instance,
1158 * found in the instance, try and read inetd's default
1187 * Read all properties applicable to 'instance' (includin
1190 read_instance_props(scf_handle_t *h, const char *instance, size_t *num_elements, scf_error_t *err) argument
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcpolicy/
H A Dpsvcpolicy.c700 * instance number (0 or 1). It simply make a psvc_get call to get the
758 int32_t instance; local
773 * Get the power supply's instance.
776 status = psvc_get_attr(hdlp, id, PSVC_INSTANCE_ATTR, &instance);
780 if (present == PSVC_PRESENT && !ps_prev_present[instance]) {
804 pcf8574_addr[instance]);
806 fruprom_addr[instance]);
812 ps_reset_prev_failed(instance);
819 * The hardcoded subscript in pcf8574_add[instance][1]
826 pcf8574_addr[instance][
887 int instance; local
1221 int instance; local
1234 int instance; local
1321 int instance; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dinetd.c44 * - instance specific events originating from the SMF master restarter.
54 * Inetd implements a state machine for each instance. The states within the
56 * specializations of the offline state for when an instance exceeds one of
57 * its DOS limits. The state of an instance can be changed as a
59 * started up. The ongoing state of an instance is stored in the SMF
61 * to view the state of each instance, and, if inetd was to terminate
65 * of a state transition to aid/ effect a change in an instance's state. The
77 * When the event has been processed (which may be delayed if the instance
244 exec_method(instance_t *instance, instance_method_t method, method_info_t *mi,
272 "Invalid configuration for instance
588 tcp_wrappers_ok(instance_t *instance) argument
653 instance_t *instance = arg; local
806 instance_t *instance = arg; local
834 poll_bound_fds(instance_t *instance, boolean_t listen, char *proto_name) argument
863 handle_bind_failure(instance_t *instance) argument
1076 create_bound_fds(instance_t *instance) argument
1189 destroy_bound_fds(instance_t *instance) argument
1494 remove_instance(instance_t *instance) argument
1693 handle_restarter_event(instance_t *instance, restarter_event_type_t event, boolean_t send_ack) argument
2050 instance_t *instance; local
2659 passes_basic_exec_checks(const char *instance, const char *method, const char *path) argument
2693 exec_method(instance_t *instance, instance_method_t method, method_info_t *mi, struct method_context *mthd_ctxt, const proto_info_t *pi) argument
2961 smf_kill_process(instance_t *instance, int sig) argument
2994 run_method(instance_t *instance, instance_method_t method, const proto_info_t *start_info) argument
3171 pending_connections(instance_t *instance, proto_info_t *pi) argument
3183 accept_connection(instance_t *instance, proto_info_t *pi) argument
3219 process_nowait_request(instance_t *instance, proto_info_t *pi) argument
3345 process_wait_request(instance_t *instance, const proto_info_t *pi) argument
3435 instance_t *instance; local
3499 instance_t *instance; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipqosconf.h258 int instance; member in struct:ipqos_conf_filter_s
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dcommands.c342 * enabled for the user in this SMF service instance.
415 * instance. Return value of 1(true) or 0(false) indicates whether
592 char instance[SA_MAX_NAME_LEN + sizeof (SA_SVC_FMRI_BASE) + 1]; local
675 (void) snprintf(instance,
676 sizeof (instance), "%s:%s",
678 state = smf_get_state(instance);
682 instance, 0);
1314 * is it a valid name? Must comply with SMF instance
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ks/
H A Dmdb_ks.c1127 * Returns a pointer to the top of the soft state struct for the instance
1133 mdb_get_soft_state_byaddr(uintptr_t ssaddr, uint_t instance, argument
1143 if (instance >= ss.n_items)
1147 (sizeof (statep) * instance)) == -1)
1171 * Returns a pointer to the top of the soft state struct for the instance
1177 mdb_get_soft_state_byname(char *softstatep_name, uint_t instance, argument
1185 return (mdb_get_soft_state_byaddr(ssaddr, instance, state_addr,
/illumos-gate/usr/src/cmd/mdb/common/modules/pmcs/
H A Dpmcs.c2183 * on "instance". The other filtering (based on options) depends on the
2187 * to convert to an instance number. The string will be formed up as
2193 pmcs_dump_tracelog(boolean_t filter, int instance, uint64_t tail_lines, argument
2292 * Check for filtering on HBA instance
2312 /* Get the instance */
2313 if ((int)mdb_strtoull(elem_inst) != instance) {
2320 * This message is not being filtered by HBA instance.
2752 pmcs_dump_fwlog(struct pmcs_hw *ss, int instance, const char *ofile) argument
2760 mdb_warn("Firmware event log disabled for instance %d",
2761 instance);
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dplatform.c389 char *name, *instance, *estr; local
407 err |= nvlist_lookup_string(hcl[i], FM_FMRI_HC_ID, &instance);
413 ul = strtoul(instance, &estr, 10);
415 if (estr == instance) {
/illumos-gate/usr/src/cmd/svc/configd/
H A Dfile_object.c1234 * _TYPE_MISMATCH - lp is not for an instance or property group
1762 * instance id, & instance name, create a rc_snaplevel_t & prepend it onto the
1777 char *instance = vals[5]; local
1800 if (instance) {
1802 lvl->rsl_instance = strdup(instance);
2237 "unable to find name for instance id %d\n", instid);
2272 * _TYPE_MISMATCH - pp is not an instance
2330 * _TYPE_MISMATCH - pp is not an instance
/illumos-gate/usr/src/cmd/th_tools/
H A Dth_define.c189 * acc_types, made by instance number instance - of the driver whose name is
190 * name, (or by the driver instance specified by * path ) to the register set
209 * instance under test is taken offline and brought back online before each test
283 if (e1->instance < e2->instance)
285 else if (e1->instance > e2->instance)
457 * Generic routine for commands that apply to a particular instance of
458 * a driver under test (e.g. activate all errdefs defined on an instance)
461 manage_instance(int fd, char *namep, int instance, int cmd) argument
1424 match_hinfo(struct handle_info *hp, int instance, uint_t access_type, int rnumber, offset_t offset, offset_t len) argument
1460 get_hinfo(int fd, char *name, struct handle_info **hip, size_t *nhdls, int instance, int atype, int rset, offset_t offset, offset_t len, int new_semantics) argument
1680 int instance; member in struct:walk_arg
1708 getpath(char *path, int instance, char *name, int pathlen) argument
1987 getnameinst(char *orig_path, int *instance, char *name, int namelen) argument
2272 int fd, i, instance; local
[all...]

Completed in 162 milliseconds

<<11121314151617181920>>