Home
last modified time | relevance | path

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

12

/fs/ceph/
Dmetric.c28 struct ceph_opened_inodes *inodes; in ceph_mdsc_send_metrics() local
49 + sizeof(*icaps) + sizeof(*inodes) + sizeof(*rsize) in ceph_mdsc_send_metrics()
145 inodes = (struct ceph_opened_inodes *)(icaps + 1); in ceph_mdsc_send_metrics()
146 inodes->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_OPENED_INODES); in ceph_mdsc_send_metrics()
147 inodes->header.ver = 1; in ceph_mdsc_send_metrics()
148 inodes->header.compat = 1; in ceph_mdsc_send_metrics()
149 inodes->header.data_len = cpu_to_le32(sizeof(*inodes) - header_len); in ceph_mdsc_send_metrics()
150 inodes->opened_inodes = cpu_to_le64(percpu_counter_sum(&m->opened_inodes)); in ceph_mdsc_send_metrics()
151 inodes->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics()
155 rsize = (struct ceph_read_io_size *)(inodes + 1); in ceph_mdsc_send_metrics()
/fs/overlayfs/
DKconfig46 bool "Overlayfs: turn on inodes index feature by default"
50 the index directory to map lower inodes to upper inodes by default.
55 The inodes index feature prevents breaking of lower hardlinks on copy
58 Note, that the inodes index feature is not backward compatible.
59 That is, mounting an overlay which has an inodes index on a kernel
100 inodes to a unified address space. The mapped 64bit inode numbers
101 might not be compatible with applications that expect 32bit inodes.
103 If compatibility with applications that expect 32bit inodes is not an
123 mounting an overlay which has metacopy only inodes on a kernel
/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
DKconfig9 compress both files, inodes and directories. Inodes in the system
147 Xattrs are name:value pairs associated with inodes by
Dsquashfs_fs.h242 __le32 inodes; member
/fs/xfs/
Dxfs_iwalk.c503 unsigned int inodes) in xfs_iwalk_prefetch() argument
513 if (inodes == 0) in xfs_iwalk_prefetch()
514 inodes = IWALK_MAX_INODE_PREFETCH; in xfs_iwalk_prefetch()
515 inodes = min(inodes, IWALK_MAX_INODE_PREFETCH); in xfs_iwalk_prefetch()
518 inodes = round_up(inodes, XFS_INODES_PER_CHUNK); in xfs_iwalk_prefetch()
533 inobt_records = (inodes * 5) / (4 * XFS_INODES_PER_CHUNK); in xfs_iwalk_prefetch()
Dxfs_inode.c453 int inodes, in xfs_lock_inodes() argument
469 ASSERT(ips && inodes >= 2 && inodes <= 5); in xfs_lock_inodes()
475 inodes <= XFS_MMAPLOCK_MAX_SUBCLASS + 1); in xfs_lock_inodes()
477 inodes <= XFS_ILOCK_MAX_SUBCLASS + 1); in xfs_lock_inodes()
487 for (; i < inodes; i++) { in xfs_lock_inodes()
2865 struct xfs_inode *inodes[__XFS_SORT_INODES]; in xfs_rename() local
2895 inodes, &num_inodes); in xfs_rename()
2913 error = xfs_qm_vop_rename_dqattach(inodes); in xfs_rename()
2923 xfs_lock_inodes(inodes, num_inodes, XFS_ILOCK_EXCL); in xfs_rename()
3018 for (i = 0; i < num_inodes && inodes[i] != NULL; i++) { in xfs_rename()
[all …]
/fs/xfs/scrub/
Dialloc.c44 unsigned long long inodes; member
599 iabt->inodes += irec.ir_count; in xchk_iallocbt_rec()
692 unsigned long long inodes) in xchk_iallocbt_xref_rmap_inodes() argument
706 inode_blocks = XFS_B_TO_FSB(sc->mp, inodes * sc->mp->m_sb.sb_inodesize); in xchk_iallocbt_xref_rmap_inodes()
719 .inodes = 0, in xchk_iallocbt()
741 xchk_iallocbt_xref_rmap_inodes(sc, which, iabt.inodes); in xchk_iallocbt()
/fs/qnx6/
Dinode.c436 sbi->inodes = qnx6_private_inode(s, &sb1->Inode); in qnx6_fill_super()
437 if (!sbi->inodes) in qnx6_fill_super()
471 iput(sbi->inodes); in qnx6_fill_super()
486 iput(qs->inodes); in qnx6_put_super()
546 mapping = sbi->inodes->i_mapping; in qnx6_iget()
Dqnx6.h36 struct inode * inodes; member
/fs/
Dfs-writeback.c359 struct inode *inodes[]; member
470 struct backing_dev_info *bdi = inode_to_bdi(isw->inodes[0]); in inode_switch_wbs_work_fn()
471 struct bdi_writeback *old_wb = isw->inodes[0]->i_wb; in inode_switch_wbs_work_fn()
500 for (inodep = isw->inodes; *inodep; inodep++) { in inode_switch_wbs_work_fn()
516 for (inodep = isw->inodes; *inodep; inodep++) in inode_switch_wbs_work_fn()
574 isw = kzalloc(struct_size(isw, inodes, 2), GFP_ATOMIC); in inode_switch_wbs()
597 isw->inodes[0] = inode; in inode_switch_wbs()
625 isw->inodes[*nr] = inode; in isw_prepare_wbs_switch()
649 isw = kzalloc(struct_size(isw, inodes, WB_MAX_INODES_PER_ISW), in cleanup_offline_cgwb()
Dsuper.c193 long inodes; in super_cache_scan() local
210 inodes = list_lru_shrink_count(&sb->s_inode_lru, sc); in super_cache_scan()
212 total_objects = dentries + inodes + fs_objects + 1; in super_cache_scan()
218 inodes = mult_frac(sc->nr_to_scan, inodes, total_objects); in super_cache_scan()
230 sc->nr_to_scan = inodes + 1; in super_cache_scan()
/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()
Dioctl.c3421 struct btrfs_data_container *inodes = NULL; in btrfs_ioctl_logical_to_ino() local
3450 inodes = init_data_container(size); in btrfs_ioctl_logical_to_ino()
3451 if (IS_ERR(inodes)) { in btrfs_ioctl_logical_to_ino()
3452 ret = PTR_ERR(inodes); in btrfs_ioctl_logical_to_ino()
3462 inodes, ignore_offset); in btrfs_ioctl_logical_to_ino()
3469 ret = copy_to_user((void __user *)(unsigned long)loi->inodes, inodes, in btrfs_ioctl_logical_to_ino()
3475 kvfree(inodes); in btrfs_ioctl_logical_to_ino()
/fs/ext2/
DKconfig19 Extended attributes are name:value pairs associated with inodes by
/fs/ubifs/
Dio.c1159 wbuf->inodes = kmalloc(size, GFP_KERNEL); in ubifs_wbuf_init()
1160 if (!wbuf->inodes) { in ubifs_wbuf_init()
1202 wbuf->inodes[wbuf->next_ino++] = inum; in ubifs_wbuf_add_ino_nolock()
1220 if (inum == wbuf->inodes[i]) { in wbuf_has_ino()
Ddebug.c1800 struct rb_root inodes; member
1823 p = &fsckd->inodes.rb_node; in add_inode()
1883 rb_insert_color(&fscki->rb, &fsckd->inodes); in add_inode()
1902 p = fsckd->inodes.rb_node; in search_inode()
2148 rbtree_postorder_for_each_entry_safe(fscki, n, &fsckd->inodes, rb) in free_inodes()
2170 struct rb_node *this = rb_first(&fsckd->inodes); in check_inodes()
2293 fsckd.inodes = RB_ROOT; in dbg_check_filesystem()
DKconfig71 Xattrs are name:value pairs associated with inodes by
/fs/ext4/
Dxattr.h134 struct inode *inodes[]; member
/fs/proc/
Dinternal.h221 void proc_invalidate_siblings_dcache(struct hlist_head *inodes, spinlock_t *lock);
Dinode.c108 void proc_invalidate_siblings_dcache(struct hlist_head *inodes, spinlock_t *lock) in proc_invalidate_siblings_dcache() argument
118 node = hlist_first_rcu(inodes); in proc_invalidate_siblings_dcache()
/fs/cramfs/
DREADME6 swapped around (though it does care that directory entries (inodes) in
149 data, only the superblock, inodes and block pointers.
/fs/reiserfs/
DKconfig66 Extended attributes are name:value pairs associated with inodes by

12