Searched refs:ino (Results 101 - 125 of 418) sorted by path

1234567891011>>

/linux-master/fs/exportfs/
H A Dexpfs.c242 u64 ino; /* the inum we are looking for */ member in struct:getdents_callback
252 loff_t pos, u64 ino, unsigned int d_type)
258 if (buf->ino == ino && len <= NAME_MAX && !is_dot_dotdot(name, len)) {
299 * inode->i_ino is unsigned long, kstat->ino is u64, so the
308 buffer.ino = stat.ino;
348 * exportfs_encode_ino64_fid - encode non-decodeable 64bit ino file id
364 fid->i64.ino = inode->i_ino;
251 filldir_one(struct dir_context *ctx, const char *name, int len, loff_t pos, u64 ino, unsigned int d_type) argument
/linux-master/fs/ext2/
H A Ddir.c422 int ext2_inode_by_name(struct inode *dir, const struct qstr *child, ino_t *ino) argument
431 *ino = le32_to_cpu(de->inode);
H A Dext2.h722 const struct qstr *child, ino_t *ino);
H A Dialloc.c109 unsigned long ino; local
115 ino = inode->i_ino;
116 ext2_debug ("freeing inode %lu\n", ino);
129 if (ino < EXT2_FIRST_INO(sb) ||
130 ino > le32_to_cpu(es->s_inodes_count)) {
132 "reserved or nonexistent inode %lu", ino);
135 block_group = (ino - 1) / EXT2_INODES_PER_GROUP(sb);
136 bit = (ino - 1) % EXT2_INODES_PER_GROUP(sb);
145 "bit already cleared for inode %lu", ino);
426 ino_t ino local
[all...]
H A Dinode.c1305 static struct ext2_inode *ext2_get_inode(struct super_block *sb, ino_t ino, argument
1315 if ((ino != EXT2_ROOT_INO && ino < EXT2_FIRST_INO(sb)) ||
1316 ino > le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count))
1319 block_group = (ino - 1) / EXT2_INODES_PER_GROUP(sb);
1326 offset = ((ino - 1) % EXT2_INODES_PER_GROUP(sb)) * EXT2_INODE_SIZE(sb);
1338 (unsigned long) ino);
1343 (unsigned long) ino, block);
1378 struct inode *ext2_iget (struct super_block *sb, unsigned long ino) argument
1389 inode = iget_locked(sb, ino);
1507 ino_t ino = inode->i_ino; local
[all...]
H A Dnamei.c59 ino_t ino; local
65 res = ext2_inode_by_name(dir, &dentry->d_name, &ino);
71 inode = ext2_iget(dir->i_sb, ino);
75 (unsigned long) ino);
84 ino_t ino; local
87 res = ext2_inode_by_name(d_inode(child), &dotdot_name, &ino);
91 return d_obtain_alias(ext2_iget(child->d_sb, ino));
H A Dsuper.c359 u64 ino, u32 generation)
363 if (ino < EXT2_FIRST_INO(sb) && ino != EXT2_ROOT_INO)
365 if (ino > le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count))
373 inode = ext2_iget(sb, ino);
358 ext2_nfs_get_inode(struct super_block *sb, u64 ino, u32 generation) argument
H A Dtrace.h16 __field(ino_t, ino)
26 __entry->ino = file_inode(iocb->ki_filp)->i_ino;
34 TP_printk("dev %d:%d ino 0x%lx isize 0x%llx pos 0x%llx len %zu flags %s aio %d ret %zd",
36 __entry->ino,
60 __field(ino_t, ino)
70 __entry->ino = file_inode(iocb->ki_filp)->i_ino;
78 TP_printk("dev %d:%d ino 0x%lx isize 0x%llx pos 0x%llx len %zd flags %s aio %d ret %d",
80 __entry->ino,
/linux-master/fs/ext4/
H A Dblock_validity.c27 u32 ino; member in struct:ext4_system_zone
50 entry1->ino == entry2->ino)
71 unsigned int count, u32 ino)
94 new_entry->ino = ino;
149 u32 ino)
157 if ((ino < EXT4_ROOT_INO) ||
158 (ino > le32_to_cpu(sbi->s_es->s_inodes_count)))
160 inode = ext4_iget(sb, ino, EXT4_IGET_SPECIA
69 add_system_zone(struct ext4_system_blocks *system_blks, ext4_fsblk_t start_blk, unsigned int count, u32 ino) argument
147 ext4_protect_reserved_inode(struct super_block *sb, struct ext4_system_blocks *system_blks, u32 ino) argument
[all...]
H A Dext4.h94 #define ext_debug(ino, fmt, ...) \
95 pr_debug("[%s/%d] EXT4-fs (%s): ino %lu: (%s, %d): %s:" fmt, \
97 ino->i_sb->s_id, ino->i_ino, __FILE__, __LINE__, \
100 #define ext_debug(ino, fmt, ...) no_printk(fmt, ##__VA_ARGS__)
1791 static inline int ext4_valid_inum(struct super_block *sb, unsigned long ino) argument
1793 return ino == EXT4_ROOT_INO ||
1794 (ino >= EXT4_FIRST_INO(sb) &&
1795 ino <= le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count));
2857 extern int ext4_mark_inode_used(struct super_block *sb, int ino);
[all...]
H A Dfast_commit.c1331 int parent_ino, dname_len, ino, inode_len; member in struct:dentry_info_args
1349 darg->ino = le32_to_cpu(fcd.fc_ino);
1374 trace_ext4_fc_replay(sb, EXT4_FC_TAG_UNLINK, darg.ino,
1379 inode = ext4_iget(sb, darg.ino, EXT4_IGET_NORMAL);
1382 ext4_debug("Inode %d not found", darg.ino);
1470 trace_ext4_fc_replay(sb, EXT4_FC_TAG_LINK, darg.ino,
1473 inode = ext4_iget(sb, darg.ino, EXT4_IGET_NORMAL);
1488 static int ext4_fc_record_modified_inode(struct super_block *sb, int ino) argument
1495 if (state->fc_modified_inodes[i] == ino)
1510 state->fc_modified_inodes[state->fc_modified_inodes_used++] = ino;
1525 int inode_len, ino, ret, tag = tl->fc_tag; local
1678 ext4_fc_record_regions(struct super_block *sb, int ino, ext4_lblk_t lblk, ext4_fsblk_t pblk, int len, int replay) argument
[all...]
H A Dfast_commit.h140 int ino, len; member in struct:ext4_fc_alloc_region
H A Dialloc.c239 unsigned long ino; local
268 ino = inode->i_ino;
269 ext4_debug("freeing inode %lu\n", ino);
281 if (ino < EXT4_FIRST_INO(sb) || ino > le32_to_cpu(es->s_inodes_count)) {
282 ext4_error(sb, "reserved or nonexistent inode %lu", ino);
285 block_group = (ino - 1) / EXT4_INODES_PER_GROUP(sb);
286 bit = (ino - 1) % EXT4_INODES_PER_GROUP(sb);
355 ext4_error(sb, "bit already cleared for inode %lu", ino);
674 static int recently_deleted(struct super_block *sb, ext4_group_t group, int ino) argument
717 find_inode_bit(struct super_block *sb, ext4_group_t group, struct buffer_head *bitmap, unsigned long *ino) argument
751 ext4_mark_inode_used(struct super_block *sb, int ino) argument
934 unsigned long ino = 0; local
1369 ext4_orphan_get(struct super_block *sb, unsigned long ino) argument
[all...]
H A Dinode.c341 ext4_warning(inode->i_sb, "%s: ino %lu, used %d "
1502 "ino %lu, to_free %d with only %d reserved "
2667 "%ld pages, ino %lu; err %d", __func__,
4332 static int __ext4_get_inode_loc(struct super_block *sb, unsigned long ino, argument
4343 if (ino < EXT4_ROOT_INO ||
4344 ino > le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count))
4347 iloc->block_group = (ino - 1) / EXT4_INODES_PER_GROUP(sb);
4356 inode_offset = ((ino - 1) %
4460 trace_ext4_load_inode(sb, ino);
4508 int ext4_get_fc_inode_loc(struct super_block *sb, unsigned long ino, argument
4655 __ext4_iget(struct super_block *sb, unsigned long ino, ext4_iget_flags flags, const char *function, unsigned int line) argument
4984 __ext4_update_other_inode_time(struct super_block *sb, unsigned long orig_ino, unsigned long ino, struct ext4_inode *raw_inode) argument
5024 unsigned long ino; local
[all...]
H A Dnamei.c875 "Directory (ino: %lu) htree depth %#06x exceed"
1843 __u32 ino = le32_to_cpu(de->inode); local
1845 if (!ext4_valid_inum(dir->i_sb, ino)) {
1846 EXT4_ERROR_INODE(dir, "bad inode number: %u", ino);
1849 if (unlikely(ino == dir->i_ino)) {
1854 inode = ext4_iget(dir->i_sb, ino, EXT4_IGET_NORMAL);
1858 ino);
1888 __u32 ino; local
1897 ino = le32_to_cpu(de->inode);
1900 if (!ext4_valid_inum(child->d_sb, ino)) {
1902 "bad parent inode number: %u", ino); local
3640 ext4_setent(handle_t *handle, struct ext4_renament *ent, unsigned ino, unsigned file_type) argument
3667 ext4_resetent(handle_t *handle, struct ext4_renament *ent, unsigned ino, unsigned file_type) argument
[all...]
H A Dsuper.c660 __u32 ino, __u64 block,
673 sbi->s_last_error_ino = ino;
680 sbi->s_first_error_ino = ino;
709 __u32 ino, __u64 block,
726 save_error_info(sb, error, ino, block, func, line);
1056 unsigned long ino, ext4_fsblk_t block,
1074 if (ino)
1075 printk(KERN_CONT "inode %lu: ", ino);
1088 save_error_info(sb, EFSCORRUPTED, ino, block, function,
1095 ext4_handle_error(sb, false, EFSCORRUPTED, ino, bloc
659 save_error_info(struct super_block *sb, int error, __u32 ino, __u64 block, const char *func, unsigned int line) argument
708 ext4_handle_error(struct super_block *sb, bool force_ro, int error, __u32 ino, __u64 block, const char *func, unsigned int line) argument
1540 ext4_nfs_get_inode(struct super_block *sb, u64 ino, u32 generation) argument
[all...]
/linux-master/fs/f2fs/
H A Dcheckpoint.c516 static void __add_ino_entry(struct f2fs_sb_info *sbi, nid_t ino, argument
524 e = radix_tree_lookup(&im->ino_root, ino);
536 e = radix_tree_lookup(&im->ino_root, ino);
544 if (unlikely(radix_tree_insert(&im->ino_root, ino, e)))
548 e->ino = ino;
565 static void __remove_ino_entry(struct f2fs_sb_info *sbi, nid_t ino, int type) argument
571 e = radix_tree_lookup(&im->ino_root, ino);
574 radix_tree_delete(&im->ino_root, ino);
583 void f2fs_add_ino_entry(struct f2fs_sb_info *sbi, nid_t ino, in argument
589 f2fs_remove_ino_entry(struct f2fs_sb_info *sbi, nid_t ino, int type) argument
596 f2fs_exist_written_data(struct f2fs_sb_info *sbi, nid_t ino, int mode) argument
626 f2fs_set_dirty_device(struct f2fs_sb_info *sbi, nid_t ino, unsigned int devidx, int type) argument
632 f2fs_is_dirty_device(struct f2fs_sb_info *sbi, nid_t ino, unsigned int devidx, int type) argument
685 f2fs_remove_orphan_inode(struct f2fs_sb_info *sbi, nid_t ino) argument
691 recover_orphan_inode(struct f2fs_sb_info *sbi, nid_t ino) argument
769 nid_t ino = le32_to_cpu(orphan_blk->ino[j]); local
1089 unsigned long ino = 0; local
[all...]
H A Dcompress.c939 f2fs_warn(sbi, "access invalid cluster, ino:%lu, nid:%u, ofs_in_node:%u, reason:%s",
1227 .ino = cc->inode->i_ino,
1861 nid_t ino, block_t blkaddr)
1892 set_page_private_data(cpage, ino);
1923 void f2fs_invalidate_compress_pages(struct f2fs_sb_info *sbi, nid_t ino) argument
1951 if (ino != get_page_private_data(&folio->page)) {
1860 f2fs_cache_compressed_page(struct f2fs_sb_info *sbi, struct page *page, nid_t ino, block_t blkaddr) argument
H A Ddata.c545 struct page *page, nid_t ino)
553 if (!inode && !page && !ino)
574 if (ino && ino == ino_of_node(target))
639 nid_t ino, enum page_type type, bool force)
650 ret = __has_merged_page(io->bio, inode, page, ino);
669 nid_t ino, enum page_type type)
671 __submit_merged_write_cond(sbi, inode, page, ino, type, false);
2752 .ino = inode->i_ino,
544 __has_merged_page(struct bio *bio, struct inode *inode, struct page *page, nid_t ino) argument
637 __submit_merged_write_cond(struct f2fs_sb_info *sbi, struct inode *inode, struct page *page, nid_t ino, enum page_type type, bool force) argument
667 f2fs_submit_merged_write_cond(struct f2fs_sb_info *sbi, struct inode *inode, struct page *page, nid_t ino, enum page_type type) argument
H A Ddir.c440 res = le32_to_cpu(de->ino);
454 de->ino = cpu_to_le32(inode->i_ino);
656 void f2fs_update_dentry(nid_t ino, umode_t mode, struct f2fs_dentry_ptr *d, argument
668 de->ino = cpu_to_le32(ino);
679 struct inode *inode, nid_t ino, umode_t mode)
748 f2fs_update_dentry(ino, mode, &d, &fname->disk_name, fname->hash,
774 struct inode *inode, nid_t ino, umode_t mode)
784 err = f2fs_add_inline_entry(dir, fname, inode, ino, mode);
788 err = f2fs_add_regular_entry(dir, fname, inode, ino, mod
678 f2fs_add_regular_entry(struct inode *dir, const struct f2fs_filename *fname, struct inode *inode, nid_t ino, umode_t mode) argument
773 f2fs_add_dentry(struct inode *dir, const struct f2fs_filename *fname, struct inode *inode, nid_t ino, umode_t mode) argument
798 f2fs_do_add_link(struct inode *dir, const struct qstr *name, struct inode *inode, nid_t ino, umode_t mode) argument
[all...]
H A Dextent_cache.c46 f2fs_warn(sbi, "%s: inode (ino=%lx) extent info [%u, %u, %u] is incorrect, run fsck to fix",
329 nid_t ino = inode->i_ino; local
332 et = radix_tree_lookup(&eti->extent_tree_root, ino);
336 f2fs_radix_tree_insert(&eti->extent_tree_root, ino, et);
338 et->ino = ino;
917 radix_tree_delete(&eti->extent_tree_root, et->ino);
H A Df2fs.h282 /* for the list of ino */
284 ORPHAN_INO, /* for orphan ino list */
285 APPEND_INO, /* for append ino list */
286 UPDATE_INO, /* for update ino list */
287 TRANS_DIR_INO, /* for transactions dir ino list */
294 nid_t ino; /* inode number */ member in struct:ino_entry
669 nid_t ino; /* inode number */ member in struct:extent_tree
1031 nid_t ino; member in struct:flush_cmd
1199 nid_t ino; /* inode number */ member in struct:f2fs_io_info
1271 struct radix_tree_root ino_root; /* ino entr
4370 f2fs_cache_compressed_page(struct f2fs_sb_info *sbi, struct page *page, nid_t ino, block_t blkaddr) argument
4374 f2fs_invalidate_compress_pages(struct f2fs_sb_info *sbi, nid_t ino) argument
[all...]
H A Dfile.c226 static bool need_inode_page_update(struct f2fs_sb_info *sbi, nid_t ino) argument
228 struct page *i = find_get_page(NODE_MAPPING(sbi), ino);
231 if ((i && PageDirty(i)) || f2fs_need_inode_block_update(sbi, ino))
256 nid_t ino = inode->i_ino; local
295 !f2fs_exist_written_data(sbi, ino, APPEND_INO)) {
298 if (need_inode_page_update(sbi, ino))
302 f2fs_exist_written_data(sbi, ino, UPDATE_INO))
353 if (f2fs_need_inode_block_update(sbi, ino)) {
374 f2fs_remove_ino_entry(sbi, ino, APPEND_INO);
381 f2fs_remove_ino_entry(sbi, ino, UPDATE_IN
[all...]
H A Dgc.c939 static struct inode *find_gc_inode(struct gc_inode_list *gc_list, nid_t ino) argument
943 ie = radix_tree_lookup(&gc_list->iroot, ino);
1129 if (f2fs_check_nid_range(sbi, dni->ino)) {
1143 f2fs_err(sbi, "Inconsistent blkaddr offset: base:%u, ofs_in_node:%u, max:%u, ino:%u, nid:%u",
1144 base, ofs_in_node, max_addrs, dni->ino, dni->nid);
1179 .ino = inode->i_ino,
1265 .ino = inode->i_ino,
1446 .ino = inode->i_ino,
1542 /* Get an inode by ino with checking validity */
1547 f2fs_ra_node_page(sbi, dni.ino);
[all...]
H A Dinline.c131 .ino = dn->inode->i_ino,
161 f2fs_warn(fio.sbi, "%s: corrupted inline inode ino=%lx, i_addr[0]:0x%x, run fsck to fix.",
413 f2fs_warn(F2FS_P_SB(page), "%s: corrupted inline inode ino=%lx, i_addr[0]:0x%x, run fsck to fix.",
475 nid_t ino; local
499 ino = le32_to_cpu(de->ino);
502 err = f2fs_add_regular_entry(dir, &fname, NULL, ino, fake_mode);
616 struct inode *inode, nid_t ino, umode_t mode)
655 f2fs_update_dentry(ino, mode, &d, &fname->disk_name, fname->hash,
615 f2fs_add_inline_entry(struct inode *dir, const struct f2fs_filename *fname, struct inode *inode, nid_t ino, umode_t mode) argument

Completed in 392 milliseconds

1234567891011>>