Back to home page

OSCL-LXR

 
 

    


 
  Name Size Date (UTC) Last indexed Description
  Name Size Date (UTC) Last indexed Description
folder Parent directory - 2025-03-06 09:18:41

Linux kernel
There are several guides for kernel developers and users. These guides can be rendered in a number of formats, like HTML and PDF. Please read Documentation/admin-guide/README.rst first.
In order to build the documentation, use ``make htmldocs`` or ``make pdfdocs``. The formatted documentation can also be read online at:
https://www.kernel.org/doc/html/latest/
There are various text files in the Documentation/ subdirectory, several of them using the Restructured Text markup notation.
Please read the Documentation/process/changes.rst file, as it contains the requirements for building and running the kernel, and information about the problems which may result by upgrading your kernel.

folder 9p/ - 2025-03-06 09:18:37  
folder adfs/ - 2025-03-06 09:18:37  
folder affs/ - 2025-03-06 09:18:37  
folder afs/ - 2025-03-06 09:18:37  
folder autofs/ - 2025-03-06 09:18:37  
folder befs/ - 2025-03-06 09:18:37  
folder bfs/ - 2025-03-06 09:18:37  
folder btrfs/ - 2025-03-06 09:18:37  
folder cachefiles/ - 2025-03-06 09:18:37  
folder ceph/ - 2025-03-06 09:18:37  
folder cifs/ - 2025-03-06 09:18:37  
folder coda/ - 2025-03-06 09:18:37  
folder configfs/ - 2025-03-06 09:18:37  
folder cramfs/ - 2025-03-06 09:18:37

Notes on Filesystem Layout
These notes describe what mkcramfs generates. Kernel requirements are a bit looser, e.g. it doesn't care if the <file_data> items are swapped around (though it does care that directory entries (inodes) in a given directory are contiguous, as this is used by readdir).
All data is currently in host-endian format; neither mkcramfs nor the kernel ever do swabbing. (See section `Block Size' below.)


SEE ALSO: README

folder crypto/ - 2025-03-06 09:18:37  
folder debugfs/ - 2025-03-06 09:18:37  
folder devpts/ - 2025-03-06 09:18:37  
folder dlm/ - 2025-03-06 09:18:37  
folder ecryptfs/ - 2025-03-06 09:18:37  
folder efivarfs/ - 2025-03-06 09:18:37  
folder efs/ - 2025-03-06 09:18:37  
folder erofs/ - 2025-03-06 09:18:37  
folder exfat/ - 2025-03-06 09:18:37  
folder exportfs/ - 2025-03-06 09:18:37  
folder ext2/ - 2025-03-06 09:18:37  
folder ext4/ - 2025-03-06 09:18:37  
folder f2fs/ - 2025-03-06 09:18:37  
folder fat/ - 2025-03-06 09:18:37  
folder freevxfs/ - 2025-03-06 09:18:37  
folder fscache/ - 2025-03-06 09:18:37  
folder fuse/ - 2025-03-06 09:18:37  
folder gfs2/ - 2025-03-06 09:18:37  
folder hfs/ - 2025-03-06 09:18:37  
folder hfsplus/ - 2025-03-06 09:18:37  
folder hostfs/ - 2025-03-06 09:18:37  
folder hpfs/ - 2025-03-06 09:18:37  
folder hugetlbfs/ - 2025-03-06 09:18:37  
folder iomap/ - 2025-03-06 09:18:37  
folder isofs/ - 2025-03-06 09:18:37  
folder jbd2/ - 2025-03-06 09:18:37  
folder jffs2/ - 2025-03-06 09:18:37  
folder jfs/ - 2025-03-06 09:18:37  
folder kernfs/ - 2025-03-06 09:18:37  
folder ksmbd/ - 2025-03-06 09:18:37  
folder lockd/ - 2025-03-06 09:18:37  
folder minix/ - 2025-03-06 09:18:37  
folder netfs/ - 2025-03-06 09:18:37  
folder nfs/ - 2025-03-06 09:18:38  
folder nfs_common/ - 2025-03-06 09:18:38  
folder nfsd/ - 2025-03-06 09:18:38  
folder nilfs2/ - 2025-03-06 09:18:38  
folder nls/ - 2025-03-06 09:18:38  
folder notify/ - 2025-03-06 09:18:38  
folder ntfs/ - 2025-03-06 09:18:38  
folder ntfs3/ - 2025-03-06 09:18:38  
folder ocfs2/ - 2025-03-06 09:18:38  
folder omfs/ - 2025-03-06 09:18:38  
folder openpromfs/ - 2025-03-06 09:18:38  
folder orangefs/ - 2025-03-06 09:18:38  
folder overlayfs/ - 2025-03-06 09:18:38  
folder proc/ - 2025-03-06 09:18:38  
folder pstore/ - 2025-03-06 09:18:38  
folder qnx4/ - 2025-03-06 09:18:38

This is a snapshot of the QNX4 filesystem for Linux. Please send diffs and remarks to <alarsen.net">al@alarsen.net> .
Credits :
Richard "Scuba" A. Frowijn <wxs.nl">scuba@wxs.nl> Frank "Jedi/Sector One" Denis <pureftpd.org">j@pureftpd.org> Anders Larsen <alarsen.net">al@alarsen.net> (Maintainer)

folder qnx6/ - 2025-03-06 09:18:38

This is a snapshot of the QNX6 filesystem for Linux. Please send diffs and remarks to <ontika.net">chaosman@ontika.net> .
Credits :
Al Viro <ZenIV.linux.org.uk">viro@ZenIV.linux.org.uk> (endless patience with me & support ;)) Kai Bankett <ontika.net">chaosman@ontika.net> (Maintainer)

folder quota/ - 2025-03-06 09:18:38  
folder ramfs/ - 2025-03-06 09:18:38  
folder reiserfs/ - 2025-03-06 09:18:38

[LICENSING]
ReiserFS is hereby licensed under the GNU General Public License version 2.
Source code files that contain the phrase "licensing governed by reiserfs/README" are "governed files" throughout this file. Governed files are licensed under the GPL. The portions of them owned by Hans Reiser, or authorized to be licensed by him, have been in the past, and likely will be in the future, licensed to other parties under other licenses. If you add your code to governed files, and don't want it to be owned by Hans Reiser, put your copyright label on that code so the poor blight and his customers can keep things straight. All portions of governed files not labeled otherwise are owned by Hans Reiser, and by adding your code to it, widely distributing it to others or sending us a patch, and leaving the sentence in stating that licensing is governed by the statement in this file, you accept this. It will be a kindness if you identify whether Hans Reiser is allowed to license code labeled as owned by you on your behalf other than under the GPL, because he wants to know if it is okay to do so and put a check in the mail to you (for non-trivial improvements) when he makes his next sale. He makes no guarantees as to the amount if any, though he feels motivated to motivate contributors, and you can surely discuss this with him before or after contributing. You have the right to decline to allow him to license your code contribution other than under the GPL.


SEE ALSO: README

folder romfs/ - 2025-03-06 09:18:38  
folder smbfs_common/ - 2025-03-06 09:18:38  
folder squashfs/ - 2025-03-06 09:18:38  
folder sysfs/ - 2025-03-06 09:18:38  
folder sysv/ - 2025-03-06 09:18:38  
folder tracefs/ - 2025-03-06 09:18:38  
folder ubifs/ - 2025-03-06 09:18:38  
folder udf/ - 2025-03-06 09:18:38  
folder ufs/ - 2025-03-06 09:18:38  
folder unicode/ - 2025-03-06 09:18:38  
folder vboxsf/ - 2025-03-06 09:18:38  
folder verity/ - 2025-03-06 09:18:38  
folder xfs/ - 2025-03-06 09:18:38  
folder zonefs/ - 2025-03-06 09:18:38  
aio.c 62496 bytes 2025-03-06 09:18:37 2025-03-06 13:22:17  
anon_inodes.c 8257 bytes 2025-03-06 09:18:37 2025-03-06 13:22:17  
attr.c 13595 bytes 2025-03-06 09:18:37 2025-03-06 13:22:17  
bad_inode.c 5904 bytes 2025-03-06 09:18:37 2025-03-06 13:22:17  
binfmt_aout.c 8395 bytes 2025-03-06 09:18:37 2025-03-06 13:22:17  
binfmt_elf.c 63050 bytes 2025-03-06 09:18:37 2025-03-06 13:22:18  
binfmt_elf_fdpic.c 44465 bytes 2025-03-06 09:18:37 2025-03-06 13:22:18 FDPIC ELF binary format
binfmt_elf_test.c 2796 bytes 2025-03-06 09:18:37 2025-03-06 13:22:18  
binfmt_flat.c 26377 bytes 2025-03-06 09:18:37 2025-03-06 13:22:19  
binfmt_misc.c 17791 bytes 2025-03-06 09:18:37 2025-03-06 13:22:19  
binfmt_script.c 4291 bytes 2025-03-06 09:18:37 2025-03-06 13:22:19  
buffer.c 82015 bytes 2025-03-06 09:18:37 2025-03-06 13:22:20  
char_dev.c 16941 bytes 2025-03-06 09:18:37 2025-03-06 13:22:20  
compat_binfmt_elf.c 3926 bytes 2025-03-06 09:18:37 2025-03-06 13:22:20  
coredump.c 30075 bytes 2025-03-06 09:18:37 2025-03-06 13:22:20  
d_path.c 11728 bytes 2025-03-06 09:18:37 2025-03-06 13:22:20  
dax.c 53670 bytes 2025-03-06 09:18:37 2025-03-06 13:22:21 Direct Access filesystem code
dcache.c 90087 bytes 2025-03-06 09:18:37 2025-03-06 13:22:21

fs/ Complete reimplementation (C) 1997 Thomas Schoebel-Theuer, with heavy changes by Linus Torvalds

direct-io.c 39895 bytes 2025-03-06 09:18:37 2025-03-06 13:22:21  
drop_caches.c 1898 bytes 2025-03-06 09:18:37 2025-03-06 13:22:21

Implement the manual drop-all-pagecache function

eventfd.c 12324 bytes 2025-03-06 09:18:37 2025-03-06 13:22:21  
eventpoll.c 66458 bytes 2025-03-06 09:18:37 2025-03-06 13:22:22  
exec.c 52192 bytes 2025-03-06 09:18:37 2025-03-06 13:22:23

checking implemented by tytso.

fcntl.c 23902 bytes 2025-03-06 09:18:37 2025-03-06 13:22:23  
fhandle.c 6967 bytes 2025-03-06 09:18:37 2025-03-06 13:22:23  
file.c 32391 bytes 2025-03-06 09:18:37 2025-03-06 13:22:24  
file_table.c 11289 bytes 2025-03-06 09:18:37 2025-03-06 13:22:24  
filesystems.c 6672 bytes 2025-03-06 09:18:37 2025-03-06 13:22:24  
fs-writeback.c 80675 bytes 2025-03-06 09:18:37 2025-03-06 13:22:24  
fs_context.c 18110 bytes 2025-03-06 09:18:37 2025-03-06 13:22:24  
fs_parser.c 10927 bytes 2025-03-06 09:18:37 2025-03-06 13:22:24  
fs_pin.c 1905 bytes 2025-03-06 09:18:37 2025-03-06 13:22:24  
fs_struct.c 3474 bytes 2025-03-06 09:18:37 2025-03-06 13:22:24  
fs_types.c 2599 bytes 2025-03-06 09:18:37 2025-03-06 13:22:24  
fsopen.c 11207 bytes 2025-03-06 09:18:37 2025-03-06 13:22:24  
init.c 6221 bytes 2025-03-06 09:18:37 2025-03-06 13:22:24

Routines that mimic syscalls, but don't use the user address space or file descriptors. Only for init/ and related early ode.

inode.c 68888 bytes 2025-03-06 09:18:37 2025-03-06 13:22:25

C) 1997 Linus Torvalds (C) 1999 Andrea Arcangeli <suse.de">andrea@suse.de> (dynamic inode allocation)

internal.h 6011 bytes 2025-03-06 09:18:37 2025-03-06 13:22:25

block/bdev.c

ioctl.c 24480 bytes 2025-03-06 09:18:37 2025-03-06 13:22:25  
Kconfig 10018 bytes 2025-03-06 09:18:37 -  
Kconfig.binfmt 7550 bytes 2025-03-06 09:18:37 -  
kernel_read_file.c 4492 bytes 2025-03-06 09:18:37 2025-03-06 13:22:25  
libfs.c 40672 bytes 2025-03-06 09:18:37 2025-03-06 13:22:25

fs/ Library for filesystems writers.

locks.c 76934 bytes 2025-03-06 09:18:37 2025-03-06 13:22:26

linux/fs/ We implement four types of file locks: BSD locks, posix locks, open file description locks, and leases.

Makefile 4601 bytes 2025-03-06 09:18:37 2025-03-06 13:22:26  
mbcache.c 12564 bytes 2025-03-06 09:18:37 2025-03-06 13:22:26  
mount.h 4054 bytes 2025-03-06 09:18:37 2025-03-06 13:22:26  
mpage.c 19239 bytes 2025-03-06 09:18:37 2025-03-06 13:22:26  
namei.c 139806 bytes 2025-03-06 09:18:37 2025-03-06 13:22:27

Some corrections by tytso.

namespace.c 116672 bytes 2025-03-06 09:18:37 2025-03-06 13:22:28  
no-block.c 478 bytes 2025-03-06 09:18:37 2025-03-06 13:22:28 implementation of routines required for non-BLOCK configuration
nsfs.c 6753 bytes 2025-03-06 09:18:37 2025-03-06 13:22:28  
open.c 38370 bytes 2025-03-06 09:18:37 2025-03-06 13:22:28  
pipe.c 36899 bytes 2025-03-06 09:18:37 2025-03-06 13:22:29  
pnode.c 15427 bytes 2025-03-06 09:18:37 2025-03-06 13:22:29  
pnode.h 1997 bytes 2025-03-06 09:18:37 2025-03-06 13:22:29  
posix_acl.c 26396 bytes 2025-03-06 09:18:37 2025-03-06 13:22:29

This file contains generic functions for manipulating POSIX 1003.1e draft standard 17 ACLs.

proc_namespace.c 8325 bytes 2025-03-06 09:18:37 2025-03-06 13:22:29 handling of /proc/<pid>/{mounts,mountinfo,mountstats}
read_write.c 41135 bytes 2025-03-06 09:18:37 2025-03-06 13:22:29  
readdir.c 14221 bytes 2025-03-06 09:18:37 2025-03-06 13:22:29  
remap_range.c 14426 bytes 2025-03-06 09:18:37 2025-03-06 13:22:29  
select.c 35550 bytes 2025-03-06 09:18:37 2025-03-06 13:22:30

This file contains the procedures for the handling of select and poll Created for Linux based loosely upon Mathius Lattner's minix patches by Peter MacDonald.

seq_file.c 26286 bytes 2025-03-06 09:18:37 2025-03-06 13:22:30

linux/fs/ helper functions for making synthetic files from sequences of records. initial implementation -- AV, Oct 2001.

signalfd.c 8916 bytes 2025-03-06 09:18:37 2025-03-06 13:22:30  
splice.c 39629 bytes 2025-03-06 09:18:37 2025-03-06 13:22:30  
stack.c 2597 bytes 2025-03-06 09:18:37 2025-03-06 13:22:30  
stat.c 22267 bytes 2025-03-06 09:18:37 2025-03-06 13:22:31  
statfs.c 9962 bytes 2025-03-06 09:18:37 2025-03-06 13:22:31  
super.c 47798 bytes 2025-03-06 09:18:37 2025-03-06 13:22:31  
sync.c 10636 bytes 2025-03-06 09:18:37 2025-03-06 13:22:31

High-level sync()-related operations

sysctls.c 809 bytes 2025-03-06 09:18:37 2025-03-06 13:22:31

proc/sys/fs shared sysctls These sysctls are shared between different filesystems.

timerfd.c 14276 bytes 2025-03-06 09:18:37 2025-03-06 13:22:31  
userfaultfd.c 55959 bytes 2025-03-06 09:18:37 2025-03-06 13:22:32  
utimes.c 7813 bytes 2025-03-06 09:18:37 2025-03-06 13:22:32  
xattr.c 29613 bytes 2025-03-06 09:18:37 2025-03-06 13:22:32