Lines Matching defs:instance

31 #include <sys/instance.h>
63 #include <sys/instance.h>
256 int instance, ddi_prop_t *sys_prop, int flag)
370 * cases, the caller may specify an instance (e.g. CPU nodes).
372 devi->devi_instance = instance;
1110 * freeing the instance if it succeeds.
1135 * Free instance number. This is a no-op if instance has
1137 * from init_node (DS_BOUND) because the instance has not yet
1188 * Keep instance permanent for successful probe and leaf nodes.
1223 e_ddi_keep_instance(dip); /* persist instance */
1440 * If the instance has successfully detached in detach_driver() context,
2788 * is the first point at which the unit-address (or instance) of the
3007 * insert devinfo node 'dip' into the per-driver instance list
3615 int instance; /* if != -1, instance must match */
3626 ((info->instance == -1) ||
3627 (ddi_get_instance(dip) == info->instance)) &&
3638 * Find dip with a known node name and instance and return with it held
3641 ddi_find_devinfo(char *nodename, int instance, int attached)
3646 info.instance = instance;
3803 * (3) if neither exists, a dev_t is faked with minor number = instance.
3804 * As of S9 FCS, no instance of #1 exists. #2 is used by several platforms
3935 * else, assume 1-1 instance-minor mapping
4575 * Run initchild on all child nodes such that instance assignment
4587 /* contiguous instance assignment */
4753 int instance, uint_t flags)
4778 /* add the device class, driver name and instance attributes */
4797 se_val.value.sv_int32 = instance;
5868 int instance = -1;
5944 * instance and path data are lost in call to
5984 instance = DEVI(dip)->devi_ev_instance;
5992 class, driver, instance, flags);
6560 * To take a device Offline means to detach the device instance from
6562 * instance.
6804 * Return the held dip for the specified major and instance, attempting to do
6817 hold_devi(major_t major, int instance, int flags)
6824 if ((major >= devcnt) || (instance == -1))
6827 /* try to find the instance in the per driver list */
6832 /* skip node if instance field is not valid */
6836 /* look for instance match */
6837 if (DEVI(dip)->devi_instance == instance) {
6876 if (e_ddi_majorinstance_to_path(major, instance, path) == 0) {
6884 * Verify major, instance, and path.
6889 ((DEVI(dip)->devi_instance != instance)) ||
6901 * The {e_}ddi_hold_devi{_by_{instance|dev|path}} hold the devinfo node
6912 ddi_hold_devi_by_instance(major_t major, int instance, int flags)
6914 return (hold_devi(major, instance, flags));