Lines Matching refs:sysfs
4 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
46 sysfs internally stores a pointer to the kobject that implements a
48 the past this kobject pointer has been used by sysfs to do reference
50 With the current sysfs implementation the kobject reference count is
58 the filesystem. sysfs forwards file I/O operations to methods defined
124 considered a bad idea." so trying to set a sysfs file writable for
127 For the common cases sysfs.h provides convenience macros to make
155 set of sysfs operations for forwarding read and write calls to the
167 When a file is read or written, sysfs calls the appropriate method
209 sysfs allocates a buffer of size (PAGE_SIZE) and passes it to the
210 method. sysfs will call the method exactly once for each read or
223 - On write(2), sysfs expects the entire buffer to be passed during the
224 first write. sysfs then passes the entire buffer to the store() method.
228 When writing sysfs files, userspace processes should first read the
255 - The object passed to the methods will be pinned in memory via sysfs
287 The sysfs directory arrangement exposes the relationship of kernel
290 The top level sysfs directory looks like::
331 point to the sysfs directory for the given device. /sys/dev provides a
332 quick way to lookup the sysfs interface for a device from the result of
345 The following interface layers currently exist in sysfs.
418 The sysfs directory structure and the attributes in each directory define an
420 this ABI is stable and properly documented. All new sysfs attributes must be