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()1394 if (vd->vdev_enc_sysfs_path != NULL) in zfs_event_create()1397 vd->vdev_enc_sysfs_path)); in zfs_event_create()1473 if (vd->vdev_enc_sysfs_path) { in zfs_post_state_change()1476 vd->vdev_enc_sysfs_path); in zfs_post_state_change()
886 vd->vdev_enc_sysfs_path = spa_strdup(tmp); in vdev_alloc()1141 if (vd->vdev_enc_sysfs_path) in vdev_free()1142 spa_strfree(vd->vdev_enc_sysfs_path); in vdev_free()2564 old = dvd->vdev_enc_sysfs_path; in vdev_copy_path_impl()2565 new = svd->vdev_enc_sysfs_path; in vdev_copy_path_impl()2573 if (dvd->vdev_enc_sysfs_path) in vdev_copy_path_impl()2574 spa_strfree(dvd->vdev_enc_sysfs_path); in vdev_copy_path_impl()2576 if (svd->vdev_enc_sysfs_path) { in vdev_copy_path_impl()2577 dvd->vdev_enc_sysfs_path = spa_strdup( in vdev_copy_path_impl()2578 svd->vdev_enc_sysfs_path); in vdev_copy_path_impl()[all …]
480 if (vd->vdev_enc_sysfs_path != NULL) in vdev_config_generate()482 vd->vdev_enc_sysfs_path); in vdev_config_generate()
2285 const char *vdev_enc_sysfs_path, const char *opt_key, const char *opt_val) in zpool_vdev_script_alloc_env() argument2318 vdev_enc_sysfs_path ? vdev_enc_sysfs_path : ""); in zpool_vdev_script_alloc_env()
8539 <parameter type-id='80f4b756' name='vdev_enc_sysfs_path'/>
406 char *vdev_enc_sysfs_path; /* enclosure sysfs path */ member
347 const char *vdev_enc_sysfs_path, const char *opt_key, const char *opt_val);