Linux Kernel Architecture
Chapter 10: Filesystems without Persistent Storage 10.2.4 Pseudo Filesystems Recall from Section 8.4.1 that the kernel supports ...
Chapter 10: Filesystems without Persistent Storage if it is configured to be active; generating it as a module is not possible. ...
Chapter 10: Filesystems without Persistent Storage union { struct sysfs_elem_dir s_dir; struct sysfs_elem_symlink s_symlink; str ...
Chapter 10: Filesystems without Persistent Storage sysfs_elem_attrandsysfs_bin_attrcontain pointers to data structures that repr ...
Chapter 10: Filesystems without Persistent Storage sysfs_put_active(respectively,sysfs_put_active_two) as soon as the operation ...
Chapter 10: Filesystems without Persistent Storage It is the responsibility of the code that declaresa new attribute type to pro ...
Chapter 10: Filesystems without Persistent Storage When a sysfs file related to generic hard disk attributes is accessed, the ke ...
Chapter 10: Filesystems without Persistent Storage starting point for the whole sysfs tree. The routine can not only be used to ...
Chapter 10: Filesystems without Persistent Storage attributes. These can either be specified explicitly viasysfs_dirent->iatt ...
Chapter 10: Filesystems without Persistent Storage for operations on files are collected in an instance ofstruct file_operations ...
Chapter 10: Filesystems without Persistent Storage struct sysfs_ops * ops; int needs_read_fill; struct list_head list; }; The co ...
Chapter 10: Filesystems without Persistent Storage sysfs_open_file sysfs_get_active_two sysfs_put_active_two sysfs_get_open_dire ...
Chapter 10: Filesystems without Persistent Storage ops = kobj->kset->ktype->sysfs_ops; else if (kobj->ktype) ops = k ...
Chapter 10: Filesystems without Persistent Storage sysfs_put_active_two(attr_sd); return 0; } Finally,sysfs_get_open_direntconne ...
Chapter 10: Filesystems without Persistent Storage sysfs_write_file fill_write_file Something to write? flush_write_buffer Figur ...
Chapter 10: Filesystems without Persistent Storage 10.3.5 Populating Sysfs Since sysfs is an interface to export data from the k ...
Chapter 10: Filesystems without Persistent Storage ssize_t (*show)(struct gendisk *, char *); ssize_t (*store)(struct gendisk *, ...
Chapter 10: Filesystems without Persistent Storage Two further steps are necessary to connect this data structure with sysfs: C ...
Extended Attributes and Access Control Lists Many filesystems provide features that extend thestandard functionality offered by ...
Chapter 11: Extended Attributes and Access Control Lists Chapter 11: Extended Attributes and Access Control Lists............... ...
«
32
33
34
35
36
37
38
39
40
41
»
Free download pdf