Lines Matching full:devid
40 * 1. Search for any vdevs whose devid matches that of the newly added
179 * The device associated with the given vdev (either by devid or physical path)
271 * devid: 'dm-uuid-mpath-35000c500a61d68a3' in zfs_process_add()
650 * Match by GUID if available otherwise fallback to devid or physical in zfs_iter_vdev()
686 /* pass the new devid for use by auto-replacing code */ in zfs_iter_vdev()
767 devphys_iter(const char *physical, const char *devid, zfs_process_func_t func, in devphys_iter() argument
777 data.dd_new_devid = devid; /* used by auto replace code */ in devphys_iter()
813 * devid: 'dm-uuid-mpath-35000c500a61d68a3'
828 by_vdev_path_iter(const char *by_vdev_path, const char *devid, in by_vdev_path_iter() argument
838 data.dd_new_devid = devid; in by_vdev_path_iter()
852 * Given a device identifier, find any vdevs with a matching devid.
853 * On Linux we can match devid directly which is always a whole disk.
856 devid_iter(const char *devid, zfs_process_func_t func, boolean_t is_slice) in devid_iter() argument
860 data.dd_compare = devid; in devid_iter()
865 data.dd_new_devid = devid; in devid_iter()
876 guid_iter(uint64_t pool_guid, uint64_t vdev_guid, const char *devid, in guid_iter() argument
886 data.dd_new_devid = devid; in guid_iter()
901 * devid: 'id1,sd@SATA_____Hitachi_HDS72101______JP2940HZ3H74MC/a'
909 * devid: 'ata-SAMSUNG_HD204UI_S2HGJD2Z805891-part1'
915 const char *devpath = NULL, *devid = NULL; in zfs_deliver_add() local
920 * Expecting a devid string and an optional physical location and guid in zfs_deliver_add()
922 if (nvlist_lookup_string(nvl, DEV_IDENTIFIER, &devid) != 0) { in zfs_deliver_add()
934 devid, devpath ? devpath : "NULL", is_slice); in zfs_deliver_add()
944 if (devid_iter(devid, zfs_process_add, is_slice)) in zfs_deliver_add()
946 if (devpath != NULL && devphys_iter(devpath, devid, zfs_process_add, in zfs_deliver_add()
950 (void) guid_iter(pool_guid, vdev_guid, devid, zfs_process_add, in zfs_deliver_add()
958 if (by_vdev_path_iter(by_vdev_path, devid, zfs_process_add, in zfs_deliver_add()