Home
last modified time | relevance | path

Searched refs:vdev_enc_sysfs_path (Results 1 – 7 of 7) sorted by relevance

/f-stack/freebsd/contrib/openzfs/cmd/zed/zed.d/
H A Dstatechange-led.sh127 vdev_enc_sysfs_path=$(echo "$tmp" | awk -F ',' '{print $2}')
134 if [ -z "$vdev_enc_sysfs_path" ] ; then
139 if [ ! -e "$vdev_enc_sysfs_path/fault" ] ; then
153 if ! check_and_set_led "$vdev_enc_sysfs_path/fault" "$val"; then
/f-stack/freebsd/contrib/openzfs/cmd/zpool/
H A Dzpool_iter.c506 data->vdev_enc_sysfs_path ? in vdev_run_cmd()
507 data->vdev_enc_sysfs_path : ""); in vdev_run_cmd()
607 char *vdev_enc_sysfs_path = NULL; in for_each_vdev_run_cb() local
614 &vdev_enc_sysfs_path); in for_each_vdev_run_cb()
655 if (vdev_enc_sysfs_path) in for_each_vdev_run_cb()
656 data->vdev_enc_sysfs_path = strdup(vdev_enc_sysfs_path); in for_each_vdev_run_cb()
658 data->vdev_enc_sysfs_path = NULL; in for_each_vdev_run_cb()
759 free(vcdl->data[i].vdev_enc_sysfs_path); in free_vdev_cmd_data_list()
H A Dzpool_util.h98 char *vdev_enc_sysfs_path; /* enclosure sysfs path (if any) */ member
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dzfs_fm.c491 if (vd->vdev_enc_sysfs_path != NULL) in zfs_ereport_start()
494 DATA_TYPE_STRING, vd->vdev_enc_sysfs_path, NULL); in zfs_ereport_start()
1269 if (vd->vdev_enc_sysfs_path != NULL) in zfs_event_create()
1272 vd->vdev_enc_sysfs_path)); in zfs_event_create()
1345 if (vd->vdev_enc_sysfs_path) { in zfs_post_state_change()
1348 vd->vdev_enc_sysfs_path); in zfs_post_state_change()
H A Dvdev_label.c450 if (vd->vdev_enc_sysfs_path != NULL) in vdev_config_generate()
452 vd->vdev_enc_sysfs_path); in vdev_config_generate()
H A Dvdev.c773 &vd->vdev_enc_sysfs_path) == 0) in vdev_alloc()
774 vd->vdev_enc_sysfs_path = spa_strdup(vd->vdev_enc_sysfs_path); in vdev_alloc()
1007 if (vd->vdev_enc_sysfs_path) in vdev_free()
1008 spa_strfree(vd->vdev_enc_sysfs_path); in vdev_free()
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dvdev_impl.h415 char *vdev_enc_sysfs_path; /* enclosure sysfs path */ member