Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/cmd/zed/zed.d/
H A Dvdev_clear-sync-led.sh194 vdev_enc_sysfs_path=$(realpath "/sys/class/block/$dev/device/enclosure_device"*)
195 if [ ! -d "$vdev_enc_sysfs_path" ] ; then
197 vdev_enc_sysfs_path=$(nvme_dev_to_slot "$dev")
206 if [ -z "$vdev_enc_sysfs_path" ] ; then
211 led_path=$(path_to_led "$vdev_enc_sysfs_path")
H A Dvdev_attach-sync-led.sh194 vdev_enc_sysfs_path=$(realpath "/sys/class/block/$dev/device/enclosure_device"*)
195 if [ ! -d "$vdev_enc_sysfs_path" ] ; then
197 vdev_enc_sysfs_path=$(nvme_dev_to_slot "$dev")
206 if [ -z "$vdev_enc_sysfs_path" ] ; then
211 led_path=$(path_to_led "$vdev_enc_sysfs_path")
H A Dstatechange-sync-led.sh194 vdev_enc_sysfs_path=$(realpath "/sys/class/block/$dev/device/enclosure_device"*)
195 if [ ! -d "$vdev_enc_sysfs_path" ] ; then
197 vdev_enc_sysfs_path=$(nvme_dev_to_slot "$dev")
206 if [ -z "$vdev_enc_sysfs_path" ] ; then
211 led_path=$(path_to_led "$vdev_enc_sysfs_path")
H A Dpool_import-sync-led.sh194 vdev_enc_sysfs_path=$(realpath "/sys/class/block/$dev/device/enclosure_device"*)
195 if [ ! -d "$vdev_enc_sysfs_path" ] ; then
197 vdev_enc_sysfs_path=$(nvme_dev_to_slot "$dev")
206 if [ -z "$vdev_enc_sysfs_path" ] ; then
211 led_path=$(path_to_led "$vdev_enc_sysfs_path")
/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_iter.c470 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() local
580 &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()
H A Dzpool_util.h88 char *vdev_enc_sysfs_path; /* enclosure sysfs path (if any) */ member
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfs_fm.c564 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()
H A Dvdev.c953 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...]
H A Dvdev_label.c516 if (vd->vdev_enc_sysfs_path != NULL) in vdev_config_generate()
518 vd->vdev_enc_sysfs_path); in vdev_config_generate()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_util.c2293 const char *vdev_enc_sysfs_path, const char *opt_key, const char *opt_val) in zpool_vdev_script_alloc_env() argument
2326 vdev_enc_sysfs_path ? vdev_enc_sysfs_path : ""); in zpool_vdev_script_alloc_env()
H A Dlibzfs.abi9140 <parameter type-id='80f4b756' name='vdev_enc_sysfs_path'/>
/freebsd/sys/contrib/openzfs/include/sys/
H A Dvdev_impl.h391 char *vdev_enc_sysfs_path; /* enclosure sysfs path */ member
/freebsd/sys/contrib/openzfs/include/
H A Dlibzfs.h358 const char *vdev_enc_sysfs_path, const char *opt_key, const char *opt_val);