Home
last modified time | relevance | path

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

12345678910>>...129

/linux/Documentation/translations/zh_CN/filesystems/
A Dsysfs.txt27 sysfs - 用于导出内核对象(kobject)的文件系统
36 sysfs 简介:
42 sysfs 始终与 kobject 的底层结构紧密相关。请阅读
47 使用 sysfs
53 mount -t sysfs sysfs /sys
61 内核的对象层次到用户空间。sysfs 中的顶层目录代表着内核对象层次的
150 sysfs 会为这个类型调用适当的方法。当一个文件被读写时,这个方法会
256 sysfs 目录的安排显示了内核数据结构之间的关系。
258 顶层 sysfs 目录如下:
290 设备 sysfs 接口快捷的方法。
[all …]
/linux/Documentation/translations/zh_TW/filesystems/
A Dsysfs.txt30 sysfs - 用於導出內核對象(kobject)的文件系統
39 sysfs 簡介:
45 sysfs 始終與 kobject 的底層結構緊密相關。請閱讀
50 使用 sysfs
56 mount -t sysfs sysfs /sys
64 內核的對象層次到用戶空間。sysfs 中的頂層目錄代表著內核對象層次的
153 sysfs 會爲這個類型調用適當的方法。當一個文件被讀寫時,這個方法會
259 sysfs 目錄的安排顯示了內核數據結構之間的關係。
261 頂層 sysfs 目錄如下:
293 設備 sysfs 接口快捷的方法。
[all …]
/linux/Documentation/ABI/testing/
A Dsysfs-tty30 sysfs rather than via ioctls.
39 sysfs rather than via ioctls.
48 sysfs rather than via ioctls.
57 sysfs rather than via ioctls.
66 sysfs rather than via ioctls.
75 sysfs rather than via ioctls.
84 sysfs rather than via ioctls.
93 sysfs rather than via ioctls.
102 sysfs rather than via ioctls.
111 sysfs rather than via ioctls.
[all …]
/linux/fs/sysfs/
A D.built-in.a.cmd1sysfs/built-in.a := echo >/dev/null; rm -f fs/sysfs/built-in.a; /usr/bin/ccache /home/test/workspa…
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/cgroup/
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/Documentation/networking/
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/tools/lib/api/fs/
A Dfs.c313 FS(sysfs, FS__SYSFS);
458 const char *sysfs = sysfs__mountpoint(); in sysfs__read_ull_base() local
460 if (!sysfs) in sysfs__read_ull_base()
463 snprintf(path, sizeof(path), "%s/%s", sysfs, entry); in sysfs__read_ull_base()
481 const char *sysfs = sysfs__mountpoint(); in sysfs__read_int() local
483 if (!sysfs) in sysfs__read_int()
486 snprintf(path, sizeof(path), "%s/%s", sysfs, entry); in sysfs__read_int()
494 const char *sysfs = sysfs__mountpoint(); in sysfs__read_str() local
496 if (!sysfs) in sysfs__read_str()
549 const char *sysfs = sysfs__mountpoint(); in sysfs__write_int() local
[all …]
/linux/Documentation/translations/zh_CN/core-api/
A Dkobject.rst28 特定的类型,并且,通常在sysfs虚拟文件系统中表示。
43 当你看到一个下面全是其他目录的sysfs目录时,通常这些目录中的每一个都对应
193 有时,开发者想要的只是在sysfs层次结构中创建一个简单的目录,而不必去搞那些复杂
199 这个函数将创建一个kobject,并将其放在sysfs中指定的父kobject下面的位置。要创
221 道,那么使用kobject就没有什么意义。当sysfs被引入时,即使是可预测的对象生命
275 类型的对象如何在 sysfs 中被表示;它们超出了本文的范围。
292 - kset也是sysfs中的一个子目录,与kset相关的kobjects可以在这里显示
294 sysfs层次结构的顶级目录就是以这种方式构建的。
317 来销毁它。这将从sysfs中删除该kset并递减其引用计数值。当引用计数
363 sysfs内务将被正确处理。
[all …]
/linux/Documentation/filesystems/
A Dsysfs.rst4 sysfs - _The_ filesystem for exporting kernel objects
18 sysfs is a ram-based filesystem initially based on ramfs. It provides
22 sysfs is tied inherently to the kobject infrastructure. Please read
27 Using sysfs
30 sysfs is always compiled in if CONFIG_SYSFS is defined. You can access
33 mount -t sysfs sysfs /sys
40 created for it in sysfs. That directory is created as a subdirectory
42 userspace. Top-level directories in sysfs represent the common
127 For the common cases sysfs.h provides convenience macros to make
290 The top level sysfs directory looks like::
[all …]
/linux/tools/testing/selftests/powerpc/dscr/
A Ddscr_sysfs_test.c42 DIR *sysfs; in check_all_cpu_dscr_defaults() local
46 sysfs = opendir(CPU_PATH); in check_all_cpu_dscr_defaults()
47 if (!sysfs) { in check_all_cpu_dscr_defaults()
52 while ((dp = readdir(sysfs))) { in check_all_cpu_dscr_defaults()
71 closedir(sysfs); in check_all_cpu_dscr_defaults()
/linux/Documentation/gpu/
A Damdgpu.rst90 The AMDGPU RAS interfaces are exposed via sysfs (for informational queries) and
93 RAS debugfs/sysfs Control and Error Injection Interfaces
105 RAS Error Count sysfs Interface
109 :doc: AMDGPU RAS sysfs Error Count Interface
117 RAS VRAM Bad Pages sysfs Interface
121 :doc: AMDGPU RAS sysfs gpu_vram_bad_pages Interface
161 GPU sysfs Power State Interfaces
164 GPU power controls are exposed via sysfs files.
221 via sysfs
250 Various memory accounting can be accessed via sysfs
[all …]
/linux/tools/perf/util/
A Dpmu-hybrid.c24 const char *sysfs; in perf_pmu__hybrid_mounted() local
31 sysfs = sysfs__mountpoint(); in perf_pmu__hybrid_mounted()
32 if (!sysfs) in perf_pmu__hybrid_mounted()
35 snprintf(path, PATH_MAX, CPUS_TEMPLATE_CPU, sysfs, name); in perf_pmu__hybrid_mounted()
A Dpmu.c95 if (!sysfs) in pmu_format()
501 if (!sysfs) in pmu_aliases()
552 if (!sysfs) in pmu_type()
580 if (!sysfs) in pmu_read_sysfs()
633 if (!sysfs) in pmu_cpumask()
649 const char *sysfs; in pmu_is_uncore() local
684 if (!sysfs) in is_arm_pmu_core()
689 sysfs, name); in is_arm_pmu_core()
1827 const char *sysfs; in perf_pmu__open_file() local
1830 if (!sysfs) in perf_pmu__open_file()
[all …]
/linux/Documentation/translations/zh_CN/cpu-freq/
A Dcpufreq-stats.rst14 sysfs CPUFreq Stats的一般说明
33 这些统计数据在/sysfs中以一堆只读接口的形式提供。这个接口(在配置好后)将出现在
34 /sysfs(<sysfs root>/devices/system/cpu/cpuX/cpufreq/stats/)中cpufreq下的一个单
132 一旦启用了这个选项,并且你的CPU支持cpufrequency,你就可以在/sysfs中看到CPU频率统计。
/linux/Documentation/admin-guide/
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::
A Dsysfs-rules.rst1 Rules on how to access information in sysfs
4 The kernel-exported sysfs exports internal kernel implementation details
7 internal API. Therefore, there are aspects of the sysfs interface that
10 To minimize the risk of breaking users of sysfs, which are in most cases
12 of sysfs must follow some rules to use an as-abstract-as-possible way to
15 abstractions these programs provide instead of accessing sysfs directly.
19 versions of the sysfs interface.
28 to sysfs has failed; it causes more problems than it solves. It
31 - sysfs is always at ``/sys``
43 applications that look for devices in sysfs.
[all …]
/linux/Documentation/hwmon/
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
A Dlm93.rst83 sysfs files prochot1, prochot2, prochot1_avg, prochot2_avg, prochot1_max,
93 These intervals can be found in the sysfs files prochot1_interval and
105 non-zero integer to the sysfs file prochot_short.
112 The sysfs files prochot1_override and prochot2_override contain boolean
114 #P2_PROCHOT, respectively. The sysfs file prochot_override_duty_cycle
136 fan tachometer with a pwm) to the sysfs file fan<n>_smart_tach. A zero
145 15.10.6 of the datasheet for details.) The sysfs files pwm1_override
194 sysfs files temp<n>_auto_base. The offsets are expressed in cumulative
243 the sysfs files pwm<n>_auto_spinup_time. The value in this file is
273 C in the sysfs files temp<n>_auto_boost_hyst.
[all …]
/linux/Documentation/translations/zh_TW/cpu-freq/
A Dcpufreq-stats.rst13 sysfs CPUFreq Stats的一般說明
32 這些統計數據在/sysfs中以一堆只讀接口的形式提供。這個接口(在配置好後)將出現在
33 /sysfs(<sysfs root>/devices/system/cpu/cpuX/cpufreq/stats/)中cpufreq下的一個單
131 一旦啓用了這個選項,並且你的CPU支持cpufrequency,你就可以在/sysfs中看到CPU頻率統計。
/linux/Documentation/driver-api/driver-model/
A Doverview.rst82 file system named sysfs.
89 none on /sys type sysfs (rw,noexec,nosuid,nodev)
93 The auto-mounting of sysfs is typically accomplished by an entry similar to
96 none /sys sysfs defaults 0 0
100 none /sys sysfs nodev,noexec,nosuid 0 0
102 If sysfs is not automatically mounted, you can always do it manually with::
104 # mount -t sysfs sysfs /sys
122 More information about the sysfs directory layout can be found in
124 Documentation/filesystems/sysfs.rst.
/linux/Documentation/driver-api/rapidio/
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/tools/testing/selftests/cpufreq/
A Dmain.sh49 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
52 echo $msg sysfs is not mounted >&2
60 echo $msg cpus not available in sysfs >&2
65 echo $msg cpufreq directory not available in sysfs >&2
/linux/Documentation/translations/zh_CN/infiniband/
A Dsysfs.rst3 :Original: Documentation/infiniband/sysfs.rst
20 sysfs接口已移至
21 Documentation/ABI/stable/sysfs-class-infiniband.
/linux/drivers/hwtracing/coresight/
A DMakefile7 coresight-sysfs.o coresight-syscfg.o coresight-config.o \
19 coresight-etm3x-sysfs.o
21 coresight-etm4x-y := coresight-etm4x-core.o coresight-etm4x-sysfs.o \
29 coresight-cti-sysfs.o

Completed in 40 milliseconds

12345678910>>...129