Home
last modified time | relevance | path

Searched refs:sysfs (Results 1 – 25 of 720) sorted by relevance

12345678910>>...29

/linux/Documentation/translations/zh_TW/filesystems/
H A Dsysfs.txt3 Chinese translated version of Documentation/filesystems/sysfs.rst
15 Documentation/filesystems/sysfs.rst 的中文翻譯
30 sysfs - 用於導出內核對象(kobject)的文件系統
39 sysfs 簡介:
42 sysfs 是一個最初基於 ramfs 且位於內存的文件系統。它提供導出內核
45 sysfs 始終與 kobject 的底層結構緊密相關。請閱讀
50 使用 sysfs
53 只要內核配置中定義了 CONFIG_SYSFS ,sysfs 總是被編譯進內核。你可
56 mount -t sysfs sysfs /sys
62 任何 kobject 在系統中註冊,就會有一個目錄在 sysfs 中被創建。這個
[all …]
/linux/Documentation/translations/zh_CN/filesystems/
H A Dsysfs.txt1 Chinese translated version of Documentation/filesystems/sysfs.rst
13 Documentation/filesystems/sysfs.rst 的中文翻译
27 sysfs - 用于导出内核对象(kobject)的文件系统
36 sysfs 简介:
39 sysfs 是一个最初基于 ramfs 且位于内存的文件系统。它提供导出内核
42 sysfs 始终与 kobject 的底层结构紧密相关。请阅读
47 使用 sysfs
50 只要内核配置中定义了 CONFIG_SYSFS ,sysfs 总是被编译进内核。你可
53 mount -t sysfs sysfs /sys
59 任何 kobject 在系统中注册,就会有一个目录在 sysfs 中被创建。这个
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-tty29 These sysfs values expose the TIOCGSERIAL interface via
30 sysfs rather than via ioctls.
38 These sysfs values expose the TIOCGSERIAL interface via
39 sysfs rather than via ioctls.
47 These sysfs values expose the TIOCGSERIAL interface via
48 sysfs rather than via ioctls.
56 These sysfs values expose the TIOCGSERIAL interface via
57 sysfs rather than via ioctls.
65 These sysfs values expose the TIOCGSERIAL interface via
66 sysfs rather than via ioctls.
[all …]
H A Dsysfs-bus-event_source-devices-hv_gpci6 (See ABI/testing/sysfs-bus-event_source-devices-format).
81 This sysfs file exposes the cpumask which is designated to make
88 This sysfs file exposes the system topology information by making HCALL
92 * This sysfs file will be created only for power10 and above platforms.
94 * User needs root privileges to read data from this sysfs file.
96 * This sysfs file will be created, only when the HCALL returns "H_SUCCESS",
102 * The end user reading this sysfs file must decode the content as per
105 Possible error codes while reading this sysfs file:
120 This sysfs file exposes the system topology information by making HCALL
124 * This sysfs file will be created only for power10 and above platforms.
[all …]
H A Dsysfs-class-firmware5 Description: The data sysfs file is used for firmware-fallback and for
6 firmware uploads. Cat a firmware image to this sysfs file
7 after you echo 1 to the loading sysfs file. When the firmware
8 image write is complete, echo 0 to the loading sysfs file. This
30 for the status sysfs file and <ERROR> will be one of the
33 error sysfs file is only meaningful when the current firmware
41 Description: The loading sysfs file is used for both firmware-fallback and
43 you are writing a firmware file to the data sysfs node. Echo
57 written to the data sysfs file. This value is periodically
/linux/tools/testing/selftests/cgroup/
H A Dwith_stress.sh19 echo $verb$subsys_ctrl >$sysfs/cgroup.subtree_control
28 sysfs=`mount -t cgroup2 | head -1 | awk '{ print $3 }'`
29 if [ ! -d "$sysfs" ]; then
34 if ! echo +$subsys_ctrl >$sysfs/cgroup.subtree_control ; then
35 echo "Skipping: cannot enable $subsys_ctrl in $sysfs" >&2
39 if ! echo -$subsys_ctrl >$sysfs/cgroup.subtree_control ; then
40 echo "Skipping: cannot disable $subsys_ctrl in $sysfs" >&2
50 sysfs=
/linux/drivers/base/
H A Dauxiliary_sysfs.c29 guard(mutex)(&auxdev->sysfs.lock); in auxiliary_irq_dir_prepare()
30 if (auxdev->sysfs.irq_dir_exists) in auxiliary_irq_dir_prepare()
37 auxdev->sysfs.irq_dir_exists = true; in auxiliary_irq_dir_prepare()
38 xa_init(&auxdev->sysfs.irqs); in auxiliary_irq_dir_prepare()
73 ret = xa_insert(&auxdev->sysfs.irqs, irq, info, GFP_KERNEL); in auxiliary_device_sysfs_irq_add()
83 xa_store(&auxdev->sysfs.irqs, irq, no_free_ptr(info), GFP_KERNEL); in auxiliary_device_sysfs_irq_add()
87 xa_erase(&auxdev->sysfs.irqs, irq); in auxiliary_device_sysfs_irq_add()
102 struct auxiliary_irq_info *info __free(kfree) = xa_load(&auxdev->sysfs.irqs, irq); in auxiliary_device_sysfs_irq_remove()
111 xa_erase(&auxdev->sysfs.irqs, irq); in auxiliary_device_sysfs_irq_remove()
/linux/fs/sysfs/
H A DKconfig3 bool "sysfs file system support" if EXPERT
7 The sysfs filesystem is a virtual filesystem that the kernel uses to
11 Users can use sysfs to ascertain useful information about the running
13 which driver each is bound to. sysfs can also be used to tune devices
16 Some system agents rely on the information in sysfs to operate.
17 /sbin/hotplug uses device and object attributes in sysfs to assist in
20 sysfs is currently used by the block subsystem to mount the root
21 partition. If sysfs is disabled you must specify the boot device on
/linux/tools/testing/selftests/powerpc/dscr/
H A Ddscr_sysfs_test.c32 DIR *sysfs; in check_all_cpu_dscr_defaults() local
36 sysfs = opendir(CPU_PATH); in check_all_cpu_dscr_defaults()
37 if (!sysfs) { in check_all_cpu_dscr_defaults()
42 while ((dp = readdir(sysfs))) { in check_all_cpu_dscr_defaults()
59 closedir(sysfs); in check_all_cpu_dscr_defaults()
63 closedir(sysfs); in check_all_cpu_dscr_defaults()
/linux/Documentation/networking/
H A Dsysfs-tagging.rst10 The problem. Network devices show up in sysfs and with the network
16 sysfs, sysfs now has tagging directory support.
19 the sysfs directory entries we ensure that we don't have conflicts
23 Each sysfs directory entry may be tagged with a namespace via the
29 Each sysfs superblock's kernfs_super_info contains an array
31 kobj_nstype first mounts sysfs, a new superblock is created. It
32 will be differentiated from other sysfs mounts by having its
35 the contents of other namespaces' sysfs mounts. Therefore, when a
/linux/Documentation/gpu/amdgpu/
H A Dflashing.rst9 For supported GPUs, `amdgpu` will export a series of sysfs files that can be
15 2. "Write" the IFWI image to the sysfs file `psp_vbflash`. This will stage the IFWI in memory.
16 3. "Read" from the `psp_vbflash` sysfs file to initiate the flash process.
17 4. Poll the `psp_vbflash_status` sysfs file to determine when the flash process completes.
22 is done using the `usbc_pd_fw` sysfs file.
25 * Writing the name of a firmware payload stored in `/lib/firmware/amdgpu` to the sysfs file will in…
31 sysfs files
H A Dras.rst5 The AMDGPU RAS interfaces are exposed via sysfs (for informational queries) and
8 RAS debugfs/sysfs Control and Error Injection Interfaces
20 RAS Error Count sysfs Interface
24 :doc: AMDGPU RAS sysfs Error Count Interface
32 RAS VRAM Bad Pages sysfs Interface
36 :doc: AMDGPU RAS sysfs gpu_vram_bad_pages Interface
48 The test verifies the RAS feature enabled status and makes sure the necessary sysfs and debugfs fil…
/linux/Documentation/translations/zh_CN/core-api/
H A Dkobject.rst28 特定的类型,并且,通常在sysfs虚拟文件系统中表示。
43 当你看到一个下面全是其他目录的sysfs目录时,通常这些目录中的每一个都对应
115 在调用kobject_init()后,为了向sysfs注册kobject,必须调用函数kobject_add()::
193 有时,开发者想要的只是在sysfs层次结构中创建一个简单的目录,而不必去搞那些复杂
199 这个函数将创建一个kobject,并将其放在sysfs中指定的父kobject下面的位置。要创
221 道,那么使用kobject就没有什么意义。当sysfs被引入时,即使是可预测的对象生命
274 类型的对象如何在 sysfs 中被表示;它们超出了本文的范围。
291 - kset也是sysfs中的一个子目录,与kset相关的kobjects可以在这里显示
293 sysfs层次结构的顶级目录就是以这种方式构建的。
316 来销毁它。这将从sysfs中删除该kset并递减其引用计数值。当引用计数
[all …]
/linux/Documentation/translations/zh_CN/PCI/
H A Dsysfs-pci.rst4 :Original: Documentation/PCI/sysfs-pci.rst
15 通过sysfs访问PCI设备资源
18 sysfs,通常挂载在/sys,在支持它的平台上提供对PCI资源的访问。例如,一个特定的总线可能看起
92 拔功能,例如关闭设备的电源。该设备被从内核的PCI设备列表中移除,它的sysfs目录被移除,并且该
95 通过sysfs访问原有资源
98 如果底层平台支持的话,传统的I/O端口和ISA内存资源也会在sysfs中提供。它们位于PCI类的层次结构
/linux/Documentation/translations/zh_CN/userspace-api/
H A Dsysfs-platform_profile.rst4 :Original: Documentation/userspace-api/sysfs-platform_profile.rst
20 platform_profile属性的目的是提供一个通用的sysfs API来选择这些平台自动配置
32 sysfs-platform_profile ABI 文档定义了一个固定的配置文件名集合。驱动程序
40 sysfs-platform_profile ABI文档中。
/linux/tools/lib/python/abi/
H A Dsystem_symbols.py98 if self.sysfs:
99 p = path.replace(self.sysfs, "/sys", count=1)
109 if not self.sysfs:
112 real = real.replace(self.sysfs, "/sys", count=1)
125 def __init__(self, abi, sysfs="/sys", hints=False): argument
140 if sysfs != "/sys":
141 self.sysfs = sysfs.rstrip("/")
143 self.sysfs = None
173 self._walk(sysfs)
/linux/Documentation/driver-api/firmware/
H A Dfw_upload.rst8 persistent sysfs nodes to enable users to initiate firmware updates for
11 upload uses the same *loading* and *data* sysfs files described in the
12 documentation for firmware fallback. It also adds additional sysfs files
21 firmware upload by echoing a 1 to the *loading* sysfs file for the target
22 device. Next, the user writes the firmware image to the *data* sysfs
24 sysfs file to signal completion. Echoing 0 to *loading* also triggers the
99 Corresponding strings are reported through the status sysfs node that
116 In addition to the *loading* and *data* sysfs files, there are additional
117 sysfs files to monitor the status of the data transfer to the target
122 The additional sysfs files are:
/linux/Documentation/translations/zh_CN/scsi/
H A Dlibsas.rst40 建一个对应的 SCSI 主机,并将你的 SAS 驱动程序注册到其在 sysfs
363 sysfs 树有以下用途::
375 也就是说,sysfs 域树不会显示或保存某些状态变化,例如,如果你更
376 改了 READY LED 含义的设置,sysfs 树不会反映这种状态变化;但它
381 当某个设备或多个设备从域中拔出时,这一变化会立即反映在 sysfs
392sysfs 中的每个扩展器目录下,都有一个名为 "smp_portal" 的
393 文件。这是一个二进制的 sysfs 属性文件,它实现了一个 SMP 入口
404 2. 以读写模式打开该扩展器的 SMP portal sysfs 文件。
423 SMP portal 的 sysfs 文件名,并输出扩展器的信息,包括路由表内容。
/linux/Documentation/admin-guide/
H A Dvideo-output.rst6 The output sysfs class driver provides an abstract video output layer that
8 device through common sysfs interface. For example, on my IBM ThinkPad T42
10 method for 'state' with output sysfs class. The user interface under sysfs is::
/linux/tools/testing/selftests/power_supply/
H A Dhelpers.sh16 TEST_NAME="$DEVNAME".sysfs."$PROP"
60 TEST_NAME="$DEVNAME".sysfs."$PROP"
80 TEST_NAME="$DEVNAME".sysfs."$PROP"
95 TEST_NAME="$DEVNAME".sysfs."$PROP"
113 TEST_NAME="$DEVNAME".sysfs."$PROP"
/linux/Documentation/driver-api/rapidio/
H A Dsysfs.rst5 The RapidIO sysfs files have moved to:
6 Documentation/ABI/testing/sysfs-bus-rapidio and
7 Documentation/ABI/testing/sysfs-class-rapidio
/linux/Documentation/translations/zh_CN/cpu-freq/
H A Dcpufreq-stats.rst16 sysfs CPUFreq Stats的一般说明
35 这些统计数据以/sysfs中一系列只读接口的形式呈现。cpufreq-stats接口(若已配置)将为每个CPU生成
36 /sysfs(<sysfs root>/devices/system/cpu/cpuX/cpufreq/stats/)中cpufreq目录下的stats目录。
133 一旦启用了这个选项,并且你的CPU支持cpufrequency,你就可以在/sysfs中看到CPU频率统计。
/linux/Documentation/translations/zh_TW/cpu-freq/
H A Dcpufreq-stats.rst16 sysfs CPUFreq Stats的一般說明
35 這些統計數據以/sysfs中一系列只讀接口的形式呈現。cpufreq-stats接口(若已配置)將爲每個CPU生成
36 /sysfs(<sysfs root>/devices/system/cpu/cpuX/cpufreq/stats/)中cpufreq目錄下的stats目錄。
133 一旦啓用了這個選項,並且你的CPU支持cpufrequency,你就可以在/sysfs中看到CPU頻率統計。
/linux/Documentation/translations/zh_CN/infiniband/
H A Dsysfs.rst3 :Original: Documentation/infiniband/sysfs.rst
20 sysfs接口已移至
21 Documentation/ABI/stable/sysfs-class-infiniband.
/linux/Documentation/hwmon/
H A Dw83791d.rst93 See below for the description of the sysfs-interface.
100 The sysfs interface to the global enable is via the sysfs beep_enable file.
103 The sysfs interface to the beep bitmask has migrated from the original legacy
104 method of a single sysfs beep_mask file to a newer method using multiple
105 `*_beep` files as described in `Documentation/hwmon/sysfs-interface.rst`.
108 original legacy method used a single sysfs alarms file containing a bitmap
109 of triggered alarms. The newer method uses multiple sysfs `*_alarm` files
110 (again following the pattern described in sysfs-interface).
118 NOTE: All new code should be written to use the newer sysfs-interface
127 The sysfs-interface is documented in the 'sysfs-interface' file. Only

12345678910>>...29