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")
502 data->vdev_enc_sysfs_path, NULL, NULL); in vdev_run_cmd()600 const char *vdev_enc_sysfs_path = NULL; in for_each_vdev_run_cb() local612 &vdev_enc_sysfs_path); in for_each_vdev_run_cb()653 if (vdev_enc_sysfs_path) in for_each_vdev_run_cb()654 data->vdev_enc_sysfs_path = strdup(vdev_enc_sysfs_path); in for_each_vdev_run_cb()656 data->vdev_enc_sysfs_path = NULL; in for_each_vdev_run_cb()757 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
571 if (vd->vdev_enc_sysfs_path != NULL) in zfs_ereport_start()574 DATA_TYPE_STRING, vd->vdev_enc_sysfs_path, NULL); in zfs_ereport_start()1397 if (vd->vdev_enc_sysfs_path != NULL) in zfs_event_create()1400 vd->vdev_enc_sysfs_path)); in zfs_event_create()1490 if (vd->vdev_enc_sysfs_path) { in zfs_post_state_change()1493 vd->vdev_enc_sysfs_path); in zfs_post_state_change()
925 vd->vdev_enc_sysfs_path = spa_strdup(tmp); in vdev_alloc()1184 if (vd->vdev_enc_sysfs_path) in vdev_free()1185 spa_strfree(vd->vdev_enc_sysfs_path); in vdev_free()2657 old = dvd->vdev_enc_sysfs_path; in vdev_copy_path_impl()2658 new = svd->vdev_enc_sysfs_path; in vdev_copy_path_impl()2666 if (dvd->vdev_enc_sysfs_path) in vdev_copy_path_impl()2667 spa_strfree(dvd->vdev_enc_sysfs_path); in vdev_copy_path_impl()2669 if (svd->vdev_enc_sysfs_path) { in vdev_copy_path_impl()2670 dvd->vdev_enc_sysfs_path = spa_strdup( in vdev_copy_path_impl()2671 svd->vdev_enc_sysfs_path); in vdev_copy_path_impl()[all …]
481 if (vd->vdev_enc_sysfs_path != NULL) in vdev_config_generate()483 vd->vdev_enc_sysfs_path); in vdev_config_generate()
2297 const char *vdev_enc_sysfs_path, const char *opt_key, const char *opt_val) in zpool_vdev_script_alloc_env() argument2330 vdev_enc_sysfs_path ? vdev_enc_sysfs_path : ""); in zpool_vdev_script_alloc_env()
8687 <parameter type-id='80f4b756' name='vdev_enc_sysfs_path'/>
407 char *vdev_enc_sysfs_path; /* enclosure sysfs path */ member
363 const char *vdev_enc_sysfs_path, const char *opt_key, const char *opt_val);