Go to the source code of this file.
Defines | |
#define | TARFS_BLKSIZE 512 |
#define | TARFS_BLKSIZE_BITS 9 |
#define | TARFS_MAGIC 0x4625 |
#define | FSNAME "tarfs" |
#define | TARFS_EVAL ((unsigned long) - 1) |
#define | TARFS_THISDIR_FPOS ((unsigned long) - 2) |
#define | TARFS_PARENTDIR_FPOS ((unsigned long) - 3) |
#define | TARFS_ROOT_INO ((unsigned long) - 4) |
#define | TARFS_NUMLENGTH 11 |
#define | TARFS_CAN_ADD -1 |
#define | PRINTD(X) |
Petr Cermak <xgxg@seznam.cz>
Definition in file tarfs_common.h.
|
Registered name of this fs Definition at line 29 of file tarfs_common.h. |
|
Definition at line 55 of file tarfs_common.h. Referenced by tarfs_get_new_root_inode(), tarfs_lookup(), tarfs_read_inode(), tarfs_read_super(), tarfs_readdir(), tarfs_readpage(), and tarfs_statfs(). |
|
Size of one tar block Definition at line 26 of file tarfs_common.h. Referenced by offset_by_name(), offset_by_name2(), pom_read_name(), read_block(), skip_blocks(), symlinkname(), tar_get_root_ino(), tar_length(), tar_lookup(), tar_read_page(), tar_readdir(), tarfs_read_super(), and tarfs_statfs(). |
|
No. of bits of size Definition at line 27 of file tarfs_common.h. Referenced by tarfs_read_super(). |
|
influences return value of function is_right_prefix() to allow reading/listing files added to tar archive later it's nessery to search the archive to the end, so the function is_right_prefix must return -1 also in case dname doesn't contain fname. So if this macro is set to 0, it's more effective to read dirs, but adding files is not supported to allow reading added files set this macro to -1, otherwise to 0
Definition at line 50 of file tarfs_common.h. Referenced by is_right_prefix(). |
|
Error return value when returning unsigned long values Definition at line 30 of file tarfs_common.h. Referenced by find_nolink(), get_root_ino_pom(), oct_to_dec(), offset_by_name(), offset_by_name2(), skip_blocks(), tar_fill_inode(), tar_get_root_ino(), tar_lookup(), tar_read_page(), tar_readdir(), tarfs_lookup(), tarfs_read_super(), tarfs_readdir(), and tarfs_readpage(). |
|
Magic number of this filesystem Definition at line 28 of file tarfs_common.h. Referenced by tarfs_read_super(), and tarfs_statfs(). |
|
Length of octal number in tar Definition at line 34 of file tarfs_common.h. Referenced by find_nolink(), offset_by_name(), offset_by_name2(), skip_blocks(), symlinkname(), tar_fill_inode(), tar_get_root_ino(), tar_length(), tar_lookup(), and tar_readdir(). |
|
Value of filp->f_pos. Means '..' directory Definition at line 32 of file tarfs_common.h. Referenced by tar_readdir(). |
|
Inode number of root directory if not present in tar Definition at line 33 of file tarfs_common.h. Referenced by get_root_ino_pom(), tar_fill_inode(), tar_lookup(), tar_read_page(), tar_readdir(), and tarfs_read_inode(). |
|
Value of filp->f_pos. Means '.' directory Definition at line 31 of file tarfs_common.h. Referenced by tar_readdir(). |