Searched defs:instance (Results 251 - 275 of 540) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/uts/intel/io/pci/
H A Dpci_pci.c281 int instance; local
300 instance = ddi_get_instance(devi);
301 if (ddi_soft_state_zalloc(ppb_state, instance) != DDI_SUCCESS)
303 ppb = ddi_get_soft_state(ppb_state, instance);
337 ddi_soft_state_free(ppb_state, instance);
643 * Pseudo nodes indicate a prototype node with per-instance
929 int instance = PCI_MINOR_NUM_TO_INSTANCE(getminor(*devp)); local
930 ppb_devstate_t *ppb_p = ddi_get_soft_state(ppb_state, instance);
954 int instance = PCI_MINOR_NUM_TO_INSTANCE(getminor(dev)); local
955 ppb_devstate_t *ppb_p = ddi_get_soft_state(ppb_state, instance);
984 int instance = PCI_MINOR_NUM_TO_INSTANCE(getminor(dev)); local
1006 int instance = PCI_MINOR_NUM_TO_INSTANCE(getminor(dev)); local
1024 int instance = PCI_MINOR_NUM_TO_INSTANCE(minor); local
[all...]
/illumos-gate/usr/src/uts/intel/io/agpgart/
H A Dagptarget.c85 #define GETSOFTC(instance) ((agp_target_softstate_t *) \
86 ddi_get_soft_state(agptarget_glob_soft_handle, instance));
459 int instance, rval = DDI_FAILURE; local
465 instance = DEV2INST(dev);
466 st = ddi_get_soft_state(agptarget_glob_soft_handle, instance);
478 instance = DEV2INST(dev);
479 *resultp = (void *)(uintptr_t)instance;
519 int instance; local
522 instance = ddi_get_instance(dip);
529 ddi_get_soft_state(agptarget_glob_soft_handle, instance);
600 int instance; local
629 int instance = DEV2INST(dev); local
839 int instance = DEV2INST(*devp); local
857 int instance = DEV2INST(dev); local
[all...]
/illumos-gate/usr/src/uts/intel/io/agpmaster/
H A Dagpmaster.c360 int instance; local
391 instance = ddi_get_instance(devi);
393 (void) sprintf(buf, "%s%d", AGPMASTER_NAME, instance);
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/fcoei/
H A Dfcoei_lv.c106 * Bind LV port instance with fcoei soft state
772 int instance; local
793 instance = ddi_get_instance(ss->ss_dip);
795 (short)((instance & 0xffff0000) >> 16);
797 (short)(instance & 0x0000ffff);
/illumos-gate/usr/src/uts/common/io/mr_sas/
H A Dld_pd_map.c202 MR_GetPhyParams(struct mrsas_instance *instance, U32 ld, U64 stripRow, argument
215 U16 devid = instance->device_id;
294 MR_BuildRaidContext(struct mrsas_instance *instance, argument
406 if ((instance->device_id == PCI_DEVICE_ID_LSI_INVADER) ||
407 (instance->device_id == PCI_DEVICE_ID_LSI_FURY)) {
426 retval = MR_GetPhyParams(instance, ld, start_strip,
440 if (!MR_GetPhyParams(instance, ld,
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxpvtap.c121 static xpvtap_state_t *xpvtap_drv_init(int instance);
218 int instance; local
234 instance = ddi_get_instance(dip);
235 state = xpvtap_drv_init(instance);
255 e = ddi_create_minor_node(dip, "xpvtap", S_IFCHR, instance,
281 int instance; local
284 instance = ddi_get_instance(dip);
285 state = ddi_get_soft_state(xpvtap_statep, instance);
316 int instance; local
322 instance
356 int instance; local
396 int instance; local
448 int instance; local
497 int instance; local
599 int instance; local
646 int instance; local
697 xpvtap_drv_init(int instance) argument
[all...]
H A Dxdb.c880 ((err = xenbus_rm(xbt, xsname, "instance")) != 0) ||
1338 int err, instance = ddi_get_instance(dip); local
1431 (err = xenbus_printf(xbt, xsname, "instance", "%d", instance)) ||
1644 int instance = ddi_get_instance(dip); local
1671 if (ddi_soft_state_zalloc(xdb_statep, instance) != DDI_SUCCESS)
1674 vdp = ddi_get_soft_state(xdb_statep, instance);
1771 ddi_soft_state_free(xdb_statep, instance);
1780 int instance = ddi_get_instance(dip); local
1781 xdb_t *vdp = XDB_INST2SOFTS(instance);
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc.c237 int instance; local
248 instance = ddi_get_instance(dip);
279 if (ddi_create_minor_node(dip, "rdc", S_IFCHR, instance, DDI_PSEUDO, 0)
424 /* We only have a single instance */
459 int instance = 0; local
461 cmn_err(CE_WARN, "!rdc%d: %s", instance, str);
/illumos-gate/usr/src/uts/i86pc/io/xsvc/
H A Dxsvc.c216 int instance; local
231 instance = ddi_get_instance(dip);
232 err = ddi_soft_state_zalloc(xsvc_statep, instance);
236 state = ddi_get_soft_state(xsvc_statep, instance);
242 state->xs_instance = instance;
251 err = ddi_create_minor_node(dip, "xsvc", S_IFCHR, instance, DDI_PSEUDO,
281 (void) ddi_soft_state_free(xsvc_statep, instance);
296 int instance; local
299 instance = ddi_get_instance(dip);
300 state = ddi_get_soft_state(xsvc_statep, instance);
343 int instance; local
384 int instance; local
415 int instance; local
820 int instance; local
988 int instance; local
[all...]
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/
H A Dvmxnet3.h120 int instance; member in struct:vmxnet3_softc_t
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dinit_sec_context.c1312 * Given a princ of name/instance@LOCALREALM, search the keytab
1313 * for a match of name and LOCALREALM and if found, return instance
1323 char **instance) /* out */
1380 *instance = s;
1420 char *instance = NULL; local
1422 code = get_instance_keytab(context, sname, keytab, &instance);
1425 instance, sname,
1427 free(instance);
1698 * Then try "host/<anything>" to match any instance (needed
1319 get_instance_keytab( krb5_context context, const char *sname, krb5_keytab keytab, char **instance) argument
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlbridge.c95 * Start up SCF and bind the requested instance alone.
175 * the specified instance. When this is done, the get_property() function
670 enable_instance(const char *service_name, const char *instance) argument
673 char *fmri = alloc_fmri(service_name, instance);
684 * Shut down a possibly-running service instance. If this is a permanent
688 shut_down_instance(const char *service_name, const char *instance, argument
692 char *fmri = alloc_fmri(service_name, instance);
733 bind_instance(service_name, instance, &sstate) == 0) {
742 disable_trill(const char *instance, uint32_t flags) argument
744 return (shut_down_instance(TRILL_SVC_NAME, instance, flag
753 enable_trill(const char *instance) argument
[all...]
/illumos-gate/usr/src/lib/libfru/libfrupicl/
H A Dfrupicl.c801 * From the handle, segment name, tag, and instance of the tag get me:
803 * tagHdl: tag property handle in the tag table for this instance "tag"
807 fru_tag_t tag, int instance,
838 if ((tags_equal(tag, foundTag) == 1) && (instance-- == 0)) {
852 fru_tag_t tag, int instance,
864 tag, instance, &seg, &tagHdl)) != FRU_SUCCESS) {
893 fru_tag_t tag, int instance,
903 tag, instance, &seg, &tagHdl)) != FRU_SUCCESS) {
923 int instance)
933 tag, instance,
806 get_tag_handle(picl_nodehdl_t handle, const char *segment, fru_tag_t tag, int instance, picl_nodehdl_t *segHdl, picl_prophdl_t *tagHdl) argument
851 fpt_get_tag_data(fru_treehdl_t handle, const char *seg_name, fru_tag_t tag, int instance, uint8_t **data, size_t *data_len) argument
892 fpt_set_tag_data(fru_treehdl_t handle, const char *seg_name, fru_tag_t tag, int instance, uint8_t *data, size_t data_len) argument
922 fpt_delete_tag(fru_treehdl_t handle, const char *seg_name, fru_tag_t tag, int instance) argument
[all...]
/illumos-gate/usr/src/lib/libfru/libfrupicltree/
H A Dfrupicltree.c813 * From the handle, segment name, tag, and instance of the tag get me:
815 * tagHdl: tag property handle in the tag table for this instance "tag"
819 fru_tag_t tag, int instance,
850 if ((tags_equal(tag, foundTag) == 1) && (instance-- == 0)) {
864 fru_tag_t tag, int instance,
876 tag, instance, &seg, &tagHdl)) != FRU_SUCCESS) {
905 fru_tag_t tag, int instance,
915 tag, instance, &seg, &tagHdl)) != FRU_SUCCESS) {
935 int instance)
945 tag, instance,
818 get_tag_handle(picl_nodehdl_t handle, const char *segment, fru_tag_t tag, int instance, picl_nodehdl_t *segHdl, picl_prophdl_t *tagHdl) argument
863 fpt_get_tag_data(fru_treehdl_t handle, const char *seg_name, fru_tag_t tag, int instance, uint8_t **data, size_t *data_len) argument
904 fpt_set_tag_data(fru_treehdl_t handle, const char *seg_name, fru_tag_t tag, int instance, uint8_t *data, size_t data_len) argument
934 fpt_delete_tag(fru_treehdl_t handle, const char *seg_name, fru_tag_t tag, int instance) argument
[all...]
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Ddisplay_sun4v.c262 int32_t instance; local
285 * the instance number is present and is not equal to -1.
292 if (picl_get_propval_by_name(nodeh, PICL_PROP_INSTANCE, &instance,
293 sizeof (instance)) != PICL_SUCCESS)
295 if (instance == -1)
/illumos-gate/usr/src/cmd/vntsd/
H A Dvntsd.h35 * This module initializes vnts daemon, process user options such as instance
319 int instance; /* vcc instance */ member in struct:vntsd
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcpolicy/
H A Dpsvcpolicy.c324 int32_t instance; local
326 status = psvc_get_attr(hdlp, id, PSVC_INSTANCE_ATTR, &instance);
403 threshold_low_warn[instance] = 0;
404 threshold_high_shut[instance] = 0;
405 threshold_high_warn[instance] = 0;
406 threshold_low_shut[instance]++;
407 if (threshold_low_shut[instance] == n_read_temp) {
408 threshold_low_shut[instance] = 0;
420 threshold_low_shut[instance] = 0;
421 threshold_high_shut[instance]
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpiclfrutree.h236 uint8_t instance; member in struct:port_node
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dncu_phys.c75 uint_t instance; local
81 if (dlpi_parselink(name, module, &instance) != DLPI_SUCCESS)
84 if ((ksp = kstat_lookup(kcp, module, instance, "mac")) == NULL) {
/illumos-gate/usr/src/uts/common/inet/ipd/
H A Dipd.c1035 minor_t instance; local
1043 instance = ddi_get_instance(dip);
1044 if (ddi_create_minor_node(dip, "ipd", S_IFCHR, instance,
/illumos-gate/usr/src/uts/common/io/atge/
H A Datge_main.c114 * should be held if the operation has impact on the driver instance.
1056 int instance; local
1062 instance = ddi_get_instance(devinfo);
1081 * Setup name and instance number to be used for debugging and
1085 "atge", instance);
1287 macreg->m_instance = instance;
/illumos-gate/usr/src/uts/common/io/atu/
H A Datu.c1173 int instance, i, err; local
1193 instance = ddi_get_instance(dip);
1194 if (ddi_soft_state_zalloc(atu_soft_state_p, instance) != DDI_SUCCESS)
1197 sc = ddi_get_soft_state(atu_soft_state_p, instance);
1202 "atu", instance);
1295 instance + 1, DDI_NT_NET_WIFI, 0);
1312 ddi_soft_state_free(atu_soft_state_p, instance);
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dsge.c583 * PARAM: sge - SGE instance pointer.
1674 int instance; local
1679 instance = ddi_get_instance(sge->obj->ch_dip);
1680 if ((ksp = kstat_create(CHNAME "_debug", instance,
/illumos-gate/usr/src/uts/common/io/comstar/port/pppt/
H A Dpppt.c192 ulong_t instance = getminor((dev_t)arg); local
200 *result = (void *)instance;
218 /* we only allow instance 0 to attach */
/illumos-gate/usr/src/uts/common/os/
H A Dinstance.c44 #include <sys/instance.h>
65 static int in_inuse(int instance, char *name);
72 static int in_pathin(char *cp, int instance, char *bname, struct bind **args);
84 * This plus devnames defines the entire software state of the instance world.
87 in_node_t *ins_root; /* the root of our instance tree */
96 boolean_t ins_dirty; /* instance info needs flush */
104 * device nodes used to track instance number assignments.
106 * by a linked list of in_drv_t nodes, each with an instance assignment
110 * IN_UNKNOWN: Each node created in this state. The instance number of
112 * IN_PROVISIONAL: When a node is assigned an instance numbe
999 in_pathin(char *cp, int instance, char *bname, struct bind **args) argument
1292 in_inuse(int instance, char *name) argument
[all...]

Completed in 113 milliseconds

<<11121314151617181920>>