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")
470 data->vdev_enc_sysfs_path, NULL, NULL); in vdev_run_cmd()568 const char *vdev_enc_sysfs_path = NULL; in for_each_vdev_run_cb() local580 &vdev_enc_sysfs_path); in for_each_vdev_run_cb()621 if (vdev_enc_sysfs_path) in for_each_vdev_run_cb()622 data->vdev_enc_sysfs_path = strdup(vdev_enc_sysfs_path); in for_each_vdev_run_cb()624 data->vdev_enc_sysfs_path = NULL; in for_each_vdev_run_cb()725 free(vcdl->data[i].vdev_enc_sysfs_path); in free_vdev_cmd_data_list()
88 char *vdev_enc_sysfs_path; /* enclosure sysfs path (if any) */ member
564 if (vd->vdev_enc_sysfs_path != NULL) in zfs_ereport_start()567 DATA_TYPE_STRING, vd->vdev_enc_sysfs_path, NULL); in zfs_ereport_start()1390 if (vd->vdev_enc_sysfs_path != NULL) in zfs_event_create()1393 vd->vdev_enc_sysfs_path)); in zfs_event_create()1483 if (vd->vdev_enc_sysfs_path) { in zfs_post_state_change()1486 vd->vdev_enc_sysfs_path); in zfs_post_state_change()
953 vd->vdev_enc_sysfs_path = spa_strdup(tmp); in vdev_alloc() 1231 if (vd->vdev_enc_sysfs_path) in vdev_free() 1232 spa_strfree(vd->vdev_enc_sysfs_path); in vdev_free() 2785 old = dvd->vdev_enc_sysfs_path; in vdev_copy_path_search() 2786 new = svd->vdev_enc_sysfs_path; in vdev_copy_path_search() 2790 zfs_dbgmsg("vdev_copy_path: vdev %llu: vdev_enc_sysfs_path " in vdev_copy_path_search() 2794 if (dvd->vdev_enc_sysfs_path) in vdev_copy_path_search() 2795 spa_strfree(dvd->vdev_enc_sysfs_path); in vdev_copy_path_search() 2797 if (svd->vdev_enc_sysfs_path) { in vdev_copy_path_search() 2798 dvd->vdev_enc_sysfs_path in vdev_copy_path_search() [all...]
516 if (vd->vdev_enc_sysfs_path != NULL) in vdev_config_generate() 518 vd->vdev_enc_sysfs_path); in vdev_config_generate()
2293 const char *vdev_enc_sysfs_path, const char *opt_key, const char *opt_val) in zpool_vdev_script_alloc_env() argument2326 vdev_enc_sysfs_path ? vdev_enc_sysfs_path : ""); in zpool_vdev_script_alloc_env()
9140 <parameter type-id='80f4b756' name='vdev_enc_sysfs_path'/>
391 char *vdev_enc_sysfs_path; /* enclosure sysfs path */ member
358 const char *vdev_enc_sysfs_path, const char *opt_key, const char *opt_val);