Linux Kernel Architecture
Chapter 8: The Virtual Filesystem File access and ownership rights are held ini_mode(file type and access permissions) and ini_u ...
Chapter 8: The Virtual Filesystem int (mknod) (struct inode ,struct dentry ,int,dev_t); int (rename) (struct inode , struct dent ...
Chapter 8: The Virtual Filesystem dentry cache, which is of great relevance to VFS implementation. At the moment, we can simply ...
Chapter 8: The Virtual Filesystem However, the superblock manages more inode lists that are managed independently ofi_sb_list (S ...
Chapter 8: The Virtual Filesystem struct fdtable fdtab; int next_fd; struct embedded_fd_set close_on_exec_init; struct embedded_ ...
Chapter 8: The Virtual Filesystem structures are managed. I explain this below, but first have to clarify what the remaining mem ...
Chapter 8: The Virtual Filesystem #define f_vfsmnt f_path.mnt const struct file_operations *f_op; atomic_t f_count; unsigned int ...
Chapter 8: The Virtual Filesystem ❑ f_opspecifies the functions invoked for file operations (see Section 8.3.4). ❑ f_versionis u ...
Chapter 8: The Virtual Filesystem 8.3.4 File Operations Files must not only be able to store information, but must also allow th ...
Chapter 8: The Virtual Filesystem Most pointer names reveal the task that they perform(there are also many identically named sys ...
Chapter 8: The Virtual Filesystem ❑ check_media_changeis only available for device files and checks whether there has been a med ...
Chapter 8: The Virtual Filesystem Although different pointers are assigned to the two objects, they share some common features — ...
Chapter 8: The Virtual Filesystem used on Sparc systems to emulate SunOS; special files and libraries needed for emulation are i ...
Chapter 8: The Virtual Filesystem countis a usage counter to specify the number of processes using the namespace.rootpoints to t ...
Chapter 8: The Virtual Filesystem int d_mounted; unsigned char d_iname[DNAME_INLINE_LEN_MIN]; /* small names */ }; Thedentryinst ...
Chapter 8: The Virtual Filesystem ❑ d_parentis a pointer to the parent directory in whosed_subdirslist thedentryinstance is loca ...
Chapter 8: The Virtual Filesystem Recall that the hash table is implemented in keeping with the classical pattern. The functiond ...
Chapter 8: The Virtual Filesystem uppercase and lowercase, a simple string match would return an incorrect result. A FAT-specifi ...
Chapter 8: The Virtual Filesystem Some helper functions are more complicated, so it’s best to inspect their prototypes.^12 <d ...
Chapter 8: The Virtual Filesystem registration, which is a prerequisite for these actions). I then introduce the most important ...
«
24
25
26
27
28
29
30
31
32
33
»
Free download pdf