Searched refs:vdev_enc_sysfs_path (Results 1 – 13 of 13) sorted by relevance
194 vdev_enc_sysfs_path=$(realpath "/sys/class/block/$dev/device/enclosure_device"*)195 if [ ! -d "$vdev_enc_sysfs_path" ] ; then197 vdev_enc_sysfs_path=$(nvme_dev_to_slot "$dev")206 if [ -z "$vdev_enc_sysfs_path" ] ; then211 led_path=$(path_to_led "$vdev_enc_sysfs_path")
452 data->vdev_enc_sysfs_path, NULL, NULL); in vdev_run_cmd()550 const char *vdev_enc_sysfs_path = NULL; in for_each_vdev_run_cb() local562 &vdev_enc_sysfs_path); in for_each_vdev_run_cb()603 if (vdev_enc_sysfs_path) in for_each_vdev_run_cb()604 data->vdev_enc_sysfs_path = strdup(vdev_enc_sysfs_path); in for_each_vdev_run_cb()606 data->vdev_enc_sysfs_path = NULL; in for_each_vdev_run_cb()707 free(vcdl->data[i].vdev_enc_sysfs_path); in free_vdev_cmd_data_list()
100 char *vdev_enc_sysfs_path; /* enclosure sysfs path (if any) */ member
570 if (vd->vdev_enc_sysfs_path != NULL) in zfs_ereport_start()573 DATA_TYPE_STRING, vd->vdev_enc_sysfs_path, NULL); in zfs_ereport_start()1395 if (vd->vdev_enc_sysfs_path != NULL) in zfs_event_create()1398 vd->vdev_enc_sysfs_path)); in zfs_event_create()1474 if (vd->vdev_enc_sysfs_path) { in zfs_post_state_change()1477 vd->vdev_enc_sysfs_path); in zfs_post_state_change()
1115 if (vd->vdev_enc_sysfs_path) in vdev_free()1116 spa_strfree(vd->vdev_enc_sysfs_path); in vdev_free()2530 old = dvd->vdev_enc_sysfs_path; in vdev_copy_path_impl()2531 new = svd->vdev_enc_sysfs_path; in vdev_copy_path_impl()2539 if (dvd->vdev_enc_sysfs_path) in vdev_copy_path_impl()2540 spa_strfree(dvd->vdev_enc_sysfs_path); in vdev_copy_path_impl()2542 if (svd->vdev_enc_sysfs_path) { in vdev_copy_path_impl()2543 dvd->vdev_enc_sysfs_path = spa_strdup( in vdev_copy_path_impl()2544 svd->vdev_enc_sysfs_path); in vdev_copy_path_impl()2546 dvd->vdev_enc_sysfs_path = NULL; in vdev_copy_path_impl()[all …]
468 if (vd->vdev_enc_sysfs_path != NULL) in vdev_config_generate()470 vd->vdev_enc_sysfs_path); in vdev_config_generate()
2109 const char *vdev_enc_sysfs_path, const char *opt_key, const char *opt_val) in zpool_vdev_script_alloc_env() argument2142 vdev_enc_sysfs_path ? vdev_enc_sysfs_path : ""); in zpool_vdev_script_alloc_env()
7963 <parameter type-id='80f4b756' name='vdev_enc_sysfs_path'/>
406 char *vdev_enc_sysfs_path; /* enclosure sysfs path */ member
341 const char *vdev_enc_sysfs_path, const char *opt_key, const char *opt_val);