/freebsd/sys/contrib/openzfs/cmd/zpool/os/linux/ |
H A D | zpool_vdev_os.c | 421 * Read from a sysfs file and return an allocated string. Removes 448 * Note, we can read less bytes than st_size, and that's ok. Sysfs in zpool_sysfs_gets() 470 * Write a string to a sysfs file. 491 /* Given a vdev nvlist_t, rescan its enclosure sysfs path */ 516 * Given a vdev string return an allocated string containing the sysfs path to 538 /* Make sure we're getting the updated enclosure sysfs path */ in zpool_power_sysfs_path() 568 * Given a path to a sysfs power control file, return B_TRUE if you should use 582 * Check the sysfs power control value for a vdev. 620 * ENOENT: No sysfs path to power control 621 * EIO: Couldn't write sysfs powe [all...] |
/freebsd/sys/contrib/openzfs/cmd/zed/zed.d/ |
H A D | pool_import-led.sh | 26 # 3: The led sysfs path passed from ZFS does not exist 50 # Read an enclosure sysfs file, and write it if it's not already set to 'val' 53 # file: sysfs file to set (like /sys/class/enclosure/0:0:1:0/SLOT 10/fault) 57 # 0 on success, 3 on missing sysfs path 175 # 0 on success, 3 on missing sysfs path 207 # Skip anything with no sysfs LED entries
|
H A D | statechange-led.sh | 26 # 3: The led sysfs path passed from ZFS does not exist 50 # Read an enclosure sysfs file, and write it if it's not already set to 'val' 53 # file: sysfs file to set (like /sys/class/enclosure/0:0:1:0/SLOT 10/fault) 57 # 0 on success, 3 on missing sysfs path 175 # 0 on success, 3 on missing sysfs path 207 # Skip anything with no sysfs LED entries
|
H A D | vdev_attach-led.sh | 26 # 3: The led sysfs path passed from ZFS does not exist 50 # Read an enclosure sysfs file, and write it if it's not already set to 'val' 53 # file: sysfs file to set (like /sys/class/enclosure/0:0:1:0/SLOT 10/fault) 57 # 0 on success, 3 on missing sysfs path 175 # 0 on success, 3 on missing sysfs path 207 # Skip anything with no sysfs LED entries
|
H A D | vdev_clear-led.sh | 26 # 3: The led sysfs path passed from ZFS does not exist 50 # Read an enclosure sysfs file, and write it if it's not already set to 'val' 53 # file: sysfs file to set (like /sys/class/enclosure/0:0:1:0/SLOT 10/fault) 57 # 0 on success, 3 on missing sysfs path 175 # 0 on success, 3 on missing sysfs path 207 # Skip anything with no sysfs LED entries
|
H A D | statechange-slot_off.sh | 9 # FAULTED, then power down the slot via sysfs: 24 # 4: The enclosure sysfs path passed from ZFS does not exist 47 # Turn off the slot and wait for sysfs to report that the slot is off.
|
H A D | zed.rc | 110 # and NVMe PCI drives (assuming they're supported by Linux in sysfs). 148 # supports slot power control via sysfs. 155 # enclosure fully supports slot power control via sysfs.
|
H A D | deadman-slot_off.sh | 31 # 4: The enclosure sysfs path passed from ZFS does not exist 54 # Turn off the slot and wait for sysfs to report that the slot is off.
|
/freebsd/sys/contrib/openzfs/lib/libzutil/os/linux/ |
H A D | zutil_device_path_os.c | 166 * Read the contents of a sysfs file into an allocated buffer and remove the 169 * This is useful for reading sysfs files that return a single string. Return 176 char buf[4096]; /* all sysfs files report 4k size */ in zfs_read_sysfs_file() 200 * Given a dev name like "nvme0n1", return the full PCI slot sysfs path to 209 * Returned string must be freed. Returns NULL on error or no sysfs path. 290 * Given a dev name like "sda", return the full enclosure sysfs path to 339 * Look though all sysfs entries in /sys/block/<dev>/device for in zfs_get_enclosure_sysfs_path() 414 * back to their enclosure device in sysfs. This will be useful for the
|
H A D | zutil_import_os.c | 772 * Rescan the enclosure sysfs path for turning on enclosure LEDs and store it 791 /* Add enclosure sysfs path (if disk is in an enclosure). */ in update_vdev_config_dev_sysfs_path() 799 * We couldn't dynamically scan the disk's enclosure sysfs path. in update_vdev_config_dev_sysfs_path() 801 * enclosure sysfs path in the nvlist, then keep using it. in update_vdev_config_dev_sysfs_path() 824 /* Rescan our enclosure sysfs path for this vdev */ in sysfs_path_pool_vdev_iter_f() 859 * We also store the enclosure sysfs path for turning on enclosure LEDs
|
/freebsd/sys/contrib/device-tree/Bindings/leds/ |
H A D | leds-trigger-pattern.txt | 15 For example (using sysfs interface): 35 For example (using sysfs interface):
|
/freebsd/stand/kboot/kboot/ |
H A D | init.c | 35 host_mount("sysfs", "/sys", "sysfs", MS_RELATIME, ""); in init_fs_env()
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | thermal.c | 7 #include <linux/sysfs.h> 10 #include <linux/hwmon-sysfs.h>
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | thermal.c | 7 #include <linux/sysfs.h> 10 #include <linux/hwmon-sysfs.h>
|
/freebsd/sys/contrib/openzfs/include/os/linux/kernel/linux/ |
H A D | mod_compat.h | 127 * "scope_prefix" the part of the sysctl / sysfs tree the node resides under 163 * "scope_prefix" the part of the the sysctl / sysfs tree the node resides under
|
/freebsd/lib/ofed/libibumad/ |
H A D | Makefile | 10 sysfs.c
|
/freebsd/contrib/ntp/ntpd/ |
H A D | ntp_ppsdev.c | 13 * quite a bit of file system traversal & lookup in the 'sysfs' tree. 115 * The issue here is that several files in the 'sysfs' tree claim a size 208 * given the dir-fd of a pps instance dir in the linux sysfs tree, get 254 * by processing the contents of the kernel sysfs tree.
|
/freebsd/sys/contrib/openzfs/module/zcommon/ |
H A D | zfeature_common.c | 251 zfs_mod_supported_impl(const char *scope, const char *name, const char *sysfs) in zfs_mod_supported_impl() argument 254 if (snprintf(path, sizeof (path), "%s%s%s%s%s", sysfs, in zfs_mod_supported_impl() 273 * Check both the primary and alternate sysfs locations to determine in zfs_mod_supported() 305 * query the running module, via sysfs, to determine which in zfs_mod_supported_feature()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/ |
H A D | cleanup.ksh | 31 log_unsupported "sysfs is linux-only"
|
H A D | setup.ksh | 31 log_unsupported "sysfs is linux-only"
|
H A D | zfeature_set_unsupported.ksh | 41 log_unsupported "sysfs is linux-only"
|
H A D | zfs_get_unsupported.ksh | 41 log_unsupported "sysfs is linux-only"
|
H A D | zfs_set_unsupported.ksh | 41 log_unsupported "sysfs is linux-only"
|
/freebsd/sys/contrib/device-tree/Bindings/power/supply/ |
H A D | lt3651-charger.txt | 19 cannot report changes and userspace will need to periodically read the sysfs
|
/freebsd/lib/ofed/libibverbs/ |
H A D | Makefile | 19 sysfs.c \
|