Searched refs:is_spare (Results 1 – 4 of 4) sorted by relevance
674 boolean_t is_replacing, is_spare; in get_replication() local693 is_spare = strcmp(childtype, in get_replication()695 if (is_replacing || is_spare) { in get_replication()703 || (is_spare && rchildren >= 2)); in get_replication()1046 is_spare(nvlist_t *config, const char *path) in is_spare() function1128 if (is_spare(config, buf)) in is_device_in_use()
85 bool is_spare; /* is this a spare component? */ member541 dev_ptr->comp[i].is_spare) in pm_raid_edit_menufmt()554 !dev_ptr->comp[i].is_spare) in pm_raid_edit_menufmt()710 if (dev_ptr->comp[i].is_spare) in pm_raid_check()752 dev_ptr->comp[i].is_spare = pm_raid_curspare; in pm_raid_disk_add()777 dev_ptr->comp[i].is_spare != pm_raid_curspare) in pm_raid_disk_del()803 if (dev_ptr->comp[pm_cur].is_spare) in pm_raid_disk_del()843 !raids[i].comp[ii].is_spare) { in pm_raid_commit()869 raids[i].comp[ii].is_spare) { in pm_raid_commit()2156 if(raids[i].comp[ii].is_spare) in pm_getrefdev()
231 u_int32_t is_spare[9]; member
2247 size_t *rsz, boolean_t is_spare) argument2261 if (is_spare) {2276 (is_spare = (strcmp(type, VDEV_TYPE_SPARE) == 0))) {2287 phypath_size, rsz, is_spare);