Searched refs:vdev_enc_sysfs_path (Results 1 – 10 of 10) sorted by relevance
192 vdev_enc_sysfs_path=$(realpath "/sys/class/block/$dev/device/enclosure_device"*)193 if [ ! -d "$vdev_enc_sysfs_path" ] ; then195 vdev_enc_sysfs_path=$(nvme_dev_to_slot "$dev")204 if [ -z "$vdev_enc_sysfs_path" ] ; then209 led_path=$(path_to_led "$vdev_enc_sysfs_path")
465 data->vdev_enc_sysfs_path ? in vdev_run_cmd()466 data->vdev_enc_sysfs_path : ""); in vdev_run_cmd()567 char *vdev_enc_sysfs_path = NULL; in for_each_vdev_run_cb() local575 &vdev_enc_sysfs_path); in for_each_vdev_run_cb()616 if (vdev_enc_sysfs_path) in for_each_vdev_run_cb()617 data->vdev_enc_sysfs_path = strdup(vdev_enc_sysfs_path); in for_each_vdev_run_cb()619 data->vdev_enc_sysfs_path = NULL; in for_each_vdev_run_cb()720 free(vcdl->data[i].vdev_enc_sysfs_path); in free_vdev_cmd_data_list()
98 char *vdev_enc_sysfs_path; /* enclosure sysfs path (if any) */ member
530 if (vd->vdev_enc_sysfs_path != NULL) in zfs_ereport_start()533 DATA_TYPE_STRING, vd->vdev_enc_sysfs_path, NULL); in zfs_ereport_start()1323 if (vd->vdev_enc_sysfs_path != NULL) in zfs_event_create()1326 vd->vdev_enc_sysfs_path)); in zfs_event_create()1402 if (vd->vdev_enc_sysfs_path) { in zfs_post_state_change()1405 vd->vdev_enc_sysfs_path); in zfs_post_state_change()
815 &vd->vdev_enc_sysfs_path) == 0) in vdev_alloc()816 vd->vdev_enc_sysfs_path = spa_strdup(vd->vdev_enc_sysfs_path); in vdev_alloc()1054 if (vd->vdev_enc_sysfs_path) in vdev_free()1055 spa_strfree(vd->vdev_enc_sysfs_path); in vdev_free()2397 old = dvd->vdev_enc_sysfs_path; in vdev_copy_path_impl()2398 new = svd->vdev_enc_sysfs_path; in vdev_copy_path_impl()2406 if (dvd->vdev_enc_sysfs_path) in vdev_copy_path_impl()2407 spa_strfree(dvd->vdev_enc_sysfs_path); in vdev_copy_path_impl()2409 if (svd->vdev_enc_sysfs_path) { in vdev_copy_path_impl()2411 svd->vdev_enc_sysfs_path); in vdev_copy_path_impl()[all …]
450 if (vd->vdev_enc_sysfs_path != NULL) in vdev_config_generate()452 vd->vdev_enc_sysfs_path); in vdev_config_generate()
419 char *vdev_enc_sysfs_path; /* enclosure sysfs path */ member