/linux/fs/squashfs/ |
H A D | export.c | 50 if (ino_num == 0 || (ino_num - 1) >= msblk->inodes) in squashfs_inode_lookup() 116 u64 lookup_table_start, u64 next_table, unsigned int inodes) in squashfs_read_inode_lookup_table() argument 118 unsigned int length = SQUASHFS_LOOKUP_BLOCK_BYTES(inodes); in squashfs_read_inode_lookup_table() 119 unsigned int indexes = SQUASHFS_LOOKUP_BLOCKS(inodes); in squashfs_read_inode_lookup_table() 129 if (inodes == 0) in squashfs_read_inode_lookup_table()
|
H A D | super.c | 289 msblk->inodes = le32_to_cpu(sblk->inodes); in squashfs_fill_super() 301 TRACE("Number of inodes %d\n", msblk->inodes); in squashfs_fill_super() 391 lookup_table_start, next_table, msblk->inodes); in squashfs_fill_super() 574 buf->f_files = msblk->inodes; in squashfs_statfs()
|
H A D | squashfs_fs_sb.h | 65 unsigned int inodes; member
|
/linux/fs/ceph/ |
H A D | metric.c | 28 struct ceph_opened_inodes *inodes; in ceph_mdsc_send_metrics() local 50 + sizeof(*icaps) + sizeof(*inodes) + sizeof(*rsize) in ceph_mdsc_send_metrics() 146 inodes = (struct ceph_opened_inodes *)(icaps + 1); in ceph_mdsc_send_metrics() 147 inodes->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_OPENED_INODES); in ceph_mdsc_send_metrics() 148 inodes->header.ver = 1; in ceph_mdsc_send_metrics() 149 inodes->header.compat = 1; in ceph_mdsc_send_metrics() 150 inodes->header.data_len = cpu_to_le32(sizeof(*inodes) - header_len); in ceph_mdsc_send_metrics() 151 inodes->opened_inodes = cpu_to_le64(percpu_counter_sum(&m->opened_inodes)); in ceph_mdsc_send_metrics() 152 inodes->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics() 156 rsize = (struct ceph_read_io_size *)(inodes + 1); in ceph_mdsc_send_metrics()
|
/linux/fs/overlayfs/ |
H A D | Kconfig | 47 bool "Overlayfs: turn on inodes index feature by default" 51 the index directory to map lower inodes to upper inodes by default. 56 The inodes index feature prevents breaking of lower hardlinks on copy 59 Note, that the inodes index feature is not backward compatible. 60 That is, mounting an overlay which has an inodes index on a kernel 101 inodes to a unified address space. The mapped 64bit inode numbers 102 might not be compatible with applications that expect 32bit inodes. 104 If compatibility with applications that expect 32bit inodes is not an 124 mounting an overlay which has metacopy only inodes on a kernel
|
/linux/Documentation/filesystems/ext4/ |
H A D | orphan.rst | 6 In unix there can inodes that are unlinked from directory hierarchy but that 8 clean up these inodes as otherwise they (and the blocks referenced from them) 14 Traditionally ext4 tracks orphan inodes in a form of single linked list where 19 in heavy creation of orphan inodes. When orphan file feature 39 filesystem, we read the whole orphan file and process all orphan inodes found
|
H A D | special_inodes.rst | 3 Special inodes 39 Note that there are also some inodes allocated from non-reserved inode numbers 55 - Inode number of file tracking orphan inodes.
|
H A D | eainode.rst | 13 sharing of large xattr values between multiple owning inodes. For 17 inode is not referenced by multiple inodes) to verify that the EA inode
|
H A D | bitmaps.rst | 27 the number of inodes per group. See the section on inodes for more
|
H A D | dynamic.rst | 9 .. include:: inodes.rst
|
H A D | super.rst | 231 - Start of list of orphaned inodes to delete. 289 - All inodes have at least # bytes. 293 - New inodes should reserve # bytes. 579 - “imagic inodes”. Not clear from the code what this does 612 tracking of unlinked but still open inodes. When there may be any 666 - Encrypted inodes are present on the filesystem. (INCOMPAT_ENCRYPT). 700 - Indicates that large inodes exist on this filesystem 724 - Verity inodes may be present on the filesystem. (RO_COMPAT_VERITY)
|
H A D | group_descr.rst | 120 - Upper 32-bits of location of inodes bitmap. 124 - Upper 32-bits of location of inodes table.
|
H A D | inodes.rst | 466 on-disk inode at format time for all inodes in the filesystem to provide 472 having to upgrade all of the on-disk inodes. Access to fields beyond 484 Each block group contains ``sb->s_inodes_per_group`` inodes. Because 501 January 2038. If the filesystem does not have orphan_file feature, inodes 502 that are not linked from any directory but are still open (orphan inodes) have
|
/linux/Documentation/filesystems/ |
H A D | squashfs.rst | 9 It uses zlib, lz4, lzo, or xz compression to compress files, inodes and 50 Squashfs compresses data, inodes and directories. In addition, inode and 54 inodes have different sizes). 175 Metadata (inodes and directories) are compressed in 8Kbyte blocks. Each 181 boundaries, therefore inodes overlap compressed blocks. Inodes are identified 186 To maximise compression there are different inodes for each file type 191 directory inode are defined: inodes optimised for frequently occurring 198 Like inodes, directories are packed into compressed metadata blocks, stored 205 fact that (in most cases) the inodes of the files will be in the same 271 expired/flushed inodes. [all …]
|
H A D | quota.rst | 8 number of used inodes (inode is a filesystem structure which is associated with 10 of used inodes there are actually two limits. The first one is called softlimit 15 more space/inodes until he frees enough of them to get below softlimit.
|
H A D | qnx6.rst | 19 concepts of blocks, inodes and directories. 53 Each superblock holds a set of root inodes for the different filesystem 66 indirect addressing blocks or inodes. 101 filename inodes start with 0) 127 Symbolic links are also filesystem objects with inodes. They got a specific
|
H A D | sysv-fs.rst | 60 separate areas for inodes and for directories/data. 103 There is a cache of a certain number of free inodes in the super-block. 104 When it is exhausted, new free inodes are found using a linear search. 226 Inode size inodes per block
|
H A D | ext2.rst | 76 the concepts of blocks, inodes and directories. It has space in the 100 bitmap and the inode usage bitmap which show which blocks and inodes 125 number of inodes and blocks in the filesystem and how many are free, 126 how many inodes and blocks are in each block group, when the filesystem 187 The inode allocation code tries to assign inodes which are in the same 200 Symbolic links are also filesystem objects with inodes. They deserve 313 created, and depend upon the block size chosen. The ratio of inodes to 315 increase the number of inodes is to increase the size of the filesystem. 316 No tools currently exist which can change the ratio of inodes to blocks.
|
/linux/fs/xfs/ |
H A D | xfs_inode.c | 384 int inodes, in xfs_lock_inodes() argument 400 ASSERT(ips && inodes >= 2 && inodes <= 5); in xfs_lock_inodes() 406 inodes <= XFS_MMAPLOCK_MAX_SUBCLASS + 1); in xfs_lock_inodes() 408 inodes <= XFS_ILOCK_MAX_SUBCLASS + 1); in xfs_lock_inodes() 418 for (; i < inodes; i++) { in xfs_lock_inodes() 2127 struct xfs_inode *inodes[__XFS_SORT_INODES]; in xfs_rename() local 2157 inodes, &num_inodes); in xfs_rename() 2202 error = xfs_qm_vop_rename_dqattach(inodes); in xfs_rename() 2214 xfs_lock_inodes(inodes, num_inodes, XFS_ILOCK_EXCL); in xfs_rename() 2260 xfs_iunlock_rename(inodes, num_inodes); in xfs_rename() [all …]
|
/linux/fs/bcachefs/ |
H A D | fsck.c | 766 for (_i = (_w)->inodes.data; _i < (_w)->inodes.data + (_w)->inodes.nr && \ 782 DARRAY(struct inode_walker_entry) inodes; 787 darray_exit(&w->inodes); in inode_walker_exit() 802 return darray_push(&w->inodes, ((struct inode_walker_entry) { in add_inode() 823 w->inodes.nr = 0; in get_inodes_all_snapshots() 849 __darray_for_each(w->inodes, i) in lookup_inode_for_snapshot() 872 while (i > w->inodes.data && i[-1].snapshot > k.k->p.snapshot) in lookup_inode_for_snapshot() 875 size_t pos = i - w->inodes.data; in lookup_inode_for_snapshot() 876 int ret = darray_insert_item(&w->inodes, pos, new); in lookup_inode_for_snapshot() 880 i = w->inodes.data + pos; in lookup_inode_for_snapshot() [all …]
|
/linux/fs/qnx6/ |
H A D | inode.c | 432 sbi->inodes = qnx6_private_inode(s, &sb1->Inode); in qnx6_fill_super() 433 if (!sbi->inodes) in qnx6_fill_super() 467 iput(sbi->inodes); in qnx6_fill_super() 482 iput(qs->inodes); in qnx6_put_super() 541 mapping = sbi->inodes->i_mapping; in qnx6_iget()
|
H A D | qnx6.h | 36 struct inode * inodes; member
|
/linux/fs/ |
H A D | fs-writeback.c | 382 struct inode *inodes[]; member 493 struct backing_dev_info *bdi = inode_to_bdi(isw->inodes[0]); in inode_switch_wbs_work_fn() 494 struct bdi_writeback *old_wb = isw->inodes[0]->i_wb; in inode_switch_wbs_work_fn() 523 for (inodep = isw->inodes; *inodep; inodep++) { in inode_switch_wbs_work_fn() 539 for (inodep = isw->inodes; *inodep; inodep++) in inode_switch_wbs_work_fn() 597 isw = kzalloc(struct_size(isw, inodes, 2), GFP_ATOMIC); in inode_switch_wbs() 620 isw->inodes[0] = inode; in inode_switch_wbs() 648 isw->inodes[*nr] = inode; in isw_prepare_wbs_switch() 672 isw = kzalloc(struct_size(isw, inodes, WB_MAX_INODES_PER_ISW), in cleanup_offline_cgwb()
|
H A D | super.c | 185 long inodes; in super_cache_scan() local 202 inodes = list_lru_shrink_count(&sb->s_inode_lru, sc); in super_cache_scan() 204 total_objects = dentries + inodes + fs_objects + 1; in super_cache_scan() 210 inodes = mult_frac(sc->nr_to_scan, inodes, total_objects); in super_cache_scan() 222 sc->nr_to_scan = inodes + 1; in super_cache_scan()
|
/linux/fs/btrfs/ |
H A D | backref.c | 2533 struct btrfs_data_container *inodes = ctx; in build_ino_list() local 2536 if (inodes->bytes_left >= c) { in build_ino_list() 2537 inodes->bytes_left -= c; in build_ino_list() 2538 inodes->val[inodes->elem_cnt] = inum; in build_ino_list() 2539 inodes->val[inodes->elem_cnt + 1] = offset; in build_ino_list() 2540 inodes->val[inodes->elem_cnt + 2] = root; in build_ino_list() 2541 inodes->elem_cnt += 3; in build_ino_list() 2543 inodes->bytes_missing += c - inodes->bytes_left; in build_ino_list() 2544 inodes->bytes_left = 0; in build_ino_list() 2545 inodes->elem_missed += 3; in build_ino_list()
|