Home
last modified time | relevance | path

Searched refs:inodes (Results 1 – 25 of 108) sorted by relevance

12345

/linux-6.12.1/fs/squashfs/
Dexport.c50 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()
Dsuper.c289 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()
Dsquashfs_fs_sb.h65 unsigned int inodes; member
/linux-6.12.1/fs/ceph/
Dmetric.c28 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-6.12.1/fs/overlayfs/
DKconfig47 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-6.12.1/Documentation/filesystems/ext4/
Dorphan.rst6 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
Dspecial_inodes.rst3 Special inodes
39 Note that there are also some inodes allocated from non-reserved inode numbers
55 - Inode number of file tracking orphan inodes.
Deainode.rst13 sharing of large xattr values between multiple owning inodes. For
17 inode is not referenced by multiple inodes) to verify that the EA inode
Dbitmaps.rst27 the number of inodes per group. See the section on inodes for more
Ddynamic.rst9 .. include:: inodes.rst
Dsuper.rst231 - 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)
/linux-6.12.1/fs/xfs/
Dxfs_iwalk.c498 unsigned int inodes) in xfs_iwalk_prefetch() argument
508 if (inodes == 0) in xfs_iwalk_prefetch()
509 inodes = IWALK_MAX_INODE_PREFETCH; in xfs_iwalk_prefetch()
510 inodes = min(inodes, IWALK_MAX_INODE_PREFETCH); in xfs_iwalk_prefetch()
513 inodes = round_up(inodes, XFS_INODES_PER_CHUNK); in xfs_iwalk_prefetch()
528 inobt_records = (inodes * 5) / (4 * XFS_INODES_PER_CHUNK); in xfs_iwalk_prefetch()
Dxfs_inode.c384 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()
2116 struct xfs_inode *inodes[__XFS_SORT_INODES]; in xfs_rename() local
2146 inodes, &num_inodes); in xfs_rename()
2191 error = xfs_qm_vop_rename_dqattach(inodes); in xfs_rename()
2203 xfs_lock_inodes(inodes, num_inodes, XFS_ILOCK_EXCL); in xfs_rename()
2249 xfs_iunlock_rename(inodes, num_inodes); in xfs_rename()
[all …]
/linux-6.12.1/Documentation/filesystems/
Dsquashfs.rst9 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 …]
Dquota.rst8 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.
Dqnx6.rst19 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
Dsysv-fs.rst60 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
Dext2.rst76 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-6.12.1/fs/xfs/scrub/
Dialloc.c44 unsigned long long inodes; member
599 iabt->inodes += irec.ir_count; in xchk_iallocbt_rec()
690 unsigned long long inodes) in xchk_iallocbt_xref_rmap_inodes() argument
704 inode_blocks = XFS_B_TO_FSB(sc->mp, inodes * sc->mp->m_sb.sb_inodesize); in xchk_iallocbt_xref_rmap_inodes()
716 .inodes = 0, in xchk_iallocbt()
749 xchk_iallocbt_xref_rmap_inodes(sc, iabt.inodes); in xchk_iallocbt()
/linux-6.12.1/fs/ext2/
DKconfig15 is created with at least 256 byte inodes.
25 Extended attributes are name:value pairs associated with inodes by
/linux-6.12.1/fs/bcachefs/
Dfsck.c766 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-6.12.1/fs/qnx6/
Dinode.c432 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()
Dqnx6.h36 struct inode * inodes; member
/linux-6.12.1/fs/
Dfs-writeback.c383 struct inode *inodes[]; member
494 struct backing_dev_info *bdi = inode_to_bdi(isw->inodes[0]); in inode_switch_wbs_work_fn()
495 struct bdi_writeback *old_wb = isw->inodes[0]->i_wb; in inode_switch_wbs_work_fn()
524 for (inodep = isw->inodes; *inodep; inodep++) { in inode_switch_wbs_work_fn()
540 for (inodep = isw->inodes; *inodep; inodep++) in inode_switch_wbs_work_fn()
598 isw = kzalloc(struct_size(isw, inodes, 2), GFP_ATOMIC); in inode_switch_wbs()
621 isw->inodes[0] = inode; in inode_switch_wbs()
649 isw->inodes[*nr] = inode; in isw_prepare_wbs_switch()
673 isw = kzalloc(struct_size(isw, inodes, WB_MAX_INODES_PER_ISW), in cleanup_offline_cgwb()
/linux-6.12.1/fs/btrfs/
Dbackref.c2532 struct btrfs_data_container *inodes = ctx; in build_ino_list() local
2535 if (inodes->bytes_left >= c) { in build_ino_list()
2536 inodes->bytes_left -= c; in build_ino_list()
2537 inodes->val[inodes->elem_cnt] = inum; in build_ino_list()
2538 inodes->val[inodes->elem_cnt + 1] = offset; in build_ino_list()
2539 inodes->val[inodes->elem_cnt + 2] = root; in build_ino_list()
2540 inodes->elem_cnt += 3; in build_ino_list()
2542 inodes->bytes_missing += c - inodes->bytes_left; in build_ino_list()
2543 inodes->bytes_left = 0; in build_ino_list()
2544 inodes->elem_missed += 3; in build_ino_list()

12345