Lines Matching defs:device

198 		 * Deal with the device id name space
397 * We are dealing with the device id name space.
594 * We don't keep track of keys in the device id nonshared namespace
1235 char *filenm, /* device filename to be stored */
1302 * is legal for a metadevice and a physical device to have
1653 /* Tack the directory and device strings together */
1747 * md_setdevname - Allows putting a device name into the database
1756 char *devname, /* device name to be stored */
1794 cmn_err(CE_WARN, "Unknown device with minor number of %d",
1885 * Check to see if it has a device id associated with
1886 * and if the MDDB_DEVID_STYLE flag is set. If the device
1905 * Reference the device id namespace
1928 * If it has a device id then get the header for the devid namespace
2008 /* Also in the device id name space if there is one */
2023 * If a disk device does not support
2025 * device and then try and add it, bit
2096 * Also get the minor name of the device, use the minor name
2138 * use the key to add the device id into the device id name space
2226 * md_get_invdid - return the invalid device id's
2302 /* found invalid device id. Add to list */
2354 * md_validate_devid - Checks the device id's to see if they're valid.
2355 * Returns a count of the number of invalid device id's
2446 /* device id is invalid */
2476 char *devname, /* char array to put device name in */
2486 * Allows getting a device name from the database.
2488 * the device name to be built in. Also the max_size
2498 char *devname, /* char array to put device name in */
2559 char *hspname /* alternate key or returned device name */
2593 /* Copy the driver name, device name and key for return */
2811 * md_getdevnum - Allows getting a device number from the database.
2899 * Reference the device id namespace
2911 * If the key is in the device id name space then
2912 * this device has disk tracking info stored
2917 * Get the minor name and the device id
2948 * For a multipath device more than 1 md_dev64_t will
2967 * device's name, not miniroot's name.
2977 * It is a valid device id
2987 * Invalid device id, say so
2996 * then with the invalid device id we simply cant
3024 * If no entry is found in the device id name space
3026 * underlying meta device
3027 * No device id associated
3028 * Has a device id but mddb is in the old fromat
3056 * Has a device id associated with it?
3057 * If yes, then we will try to add them into the device id nm
3066 * We don't translate the devt of the meta device
3067 * and currently no device id associated with metadevice
3078 * Add the device id info only if
3089 * If retval has a device id, add them
3149 * md_getnextkey - Allows running thru the list of defined device names.
3307 * md_update_namespace - update namespace device name and pathname
3316 char *devname, /* device name */
3317 char *pathname, /* pathname to device */
3498 * md_getdevid - Allows getting a device id from the database.
3500 * the device id to be copied to. The size is returned
3577 * md_remdevname - Allows removing a device name from the database.
3624 * If there is non-empty device id name space
3641 * Update the device id namespace as well
3669 * Remove from the device id name space
3948 * supporting device id's we must be careful.
4002 * minor name and any associated device id. These will reside in
4003 * the device id namespace of the upgraded system.
4102 * size of all device ids that were on the list.
4169 * Called after the unit's snarf to cleanup the device id name space
4262 * Resolve md_dev64_t by device id when current configure changes. This
4269 md_resolve_bydevid(minor_t mnum, md_dev64_t device, mdkey_t key)
4286 if (device != NODEV64 && (md_getmajor(device) == md_major))
4287 return (device);
4298 * Something can be resolved by device id
4299 * Resolve by the device id and if it can't be resolved
4316 * This device has been powered off
4318 if (device == NODEV64) {
4319 device = md_expldev(devs[0]);
4323 if (device == md_expldev(devs[cnt]))
4327 device = md_expldev(devs[0]);
4335 targ_dev = md_xlate_mini_2_targ(device);
4367 device = NODEV64;
4370 return (device);