/fs/ubifs/ |
D | orphan.c | 69 int ubifs_add_orphan(struct ubifs_info *c, ino_t inum) in ubifs_add_orphan() argument 77 orphan->inum = inum; in ubifs_add_orphan() 90 if (inum < o->inum) in ubifs_add_orphan() 92 else if (inum > o->inum) in ubifs_add_orphan() 108 dbg_gen("ino %lu", (unsigned long)inum); in ubifs_add_orphan() 119 void ubifs_delete_orphan(struct ubifs_info *c, ino_t inum) in ubifs_delete_orphan() argument 128 if (inum < o->inum) in ubifs_delete_orphan() 130 else if (inum > o->inum) in ubifs_delete_orphan() 136 (unsigned long)inum); in ubifs_delete_orphan() 144 (unsigned long)inum); in ubifs_delete_orphan() [all …]
|
D | key.h | 97 union ubifs_key *key, ino_t inum) in ino_key_init() argument 99 key->u32[0] = inum; in ino_key_init() 110 ino_t inum) in ino_key_init_flash() argument 114 key->j32[0] = cpu_to_le32(inum); in ino_key_init_flash() 126 union ubifs_key *key, ino_t inum) in lowest_ino_key() argument 128 key->u32[0] = inum; in lowest_ino_key() 139 union ubifs_key *key, ino_t inum) in highest_ino_key() argument 141 key->u32[0] = inum; in highest_ino_key() 153 union ubifs_key *key, ino_t inum, in dent_key_init() argument 159 key->u32[0] = inum; in dent_key_init() [all …]
|
D | recovery.c | 1250 ino_t inum; member 1265 static int add_ino(struct ubifs_info *c, ino_t inum, loff_t i_size, in add_ino() argument 1274 if (inum < e->inum) in add_ino() 1284 e->inum = inum; in add_ino() 1300 static struct size_entry *find_ino(struct ubifs_info *c, ino_t inum) in find_ino() argument 1307 if (inum < e->inum) in find_ino() 1309 else if (inum > e->inum) in find_ino() 1322 static void remove_ino(struct ubifs_info *c, ino_t inum) in remove_ino() argument 1324 struct size_entry *e = find_ino(c, inum); in remove_ino() 1392 ino_t inum = key_inum(c, key); in ubifs_recover_size_accum() local [all …]
|
D | debug.c | 511 (unsigned long long)le64_to_cpu(dent->inum)); in dbg_dump_node() 551 le32_to_cpu(trun->inum)); in dbg_dump_node() 1843 ino_t inum; member 1882 ino_t inum = key_inum_flash(c, &ino->key); in add_inode() local 1890 if (inum < fscki->inum) in add_inode() 1892 else if (inum > fscki->inum) in add_inode() 1898 if (inum > c->highest_inum) { in add_inode() 1908 inode = ilookup(c->vfs_sb, inum); in add_inode() 1910 fscki->inum = inum; in add_inode() 1960 static struct fsck_inode *search_inode(struct fsck_data *fsckd, ino_t inum) in search_inode() argument [all …]
|
D | journal.c | 594 dent->inum = deletion ? 0 : cpu_to_le64(inode->i_ino); in ubifs_jnl_update() 973 dent->inum = cpu_to_le64(old_inode->i_ino); in ubifs_jnl_rename() 986 dent2->inum = 0; in ubifs_jnl_rename() 1151 ino_t inum = inode->i_ino; in ubifs_jnl_truncate() local 1155 (unsigned long)inum, old_size, new_size); in ubifs_jnl_truncate() 1168 trun->inum = cpu_to_le32(inum); in ubifs_jnl_truncate() 1178 data_key_init(c, &key, inum, blk); in ubifs_jnl_truncate() 1221 ubifs_wbuf_add_ino_nolock(&c->jheads[BASEHD].wbuf, inum); in ubifs_jnl_truncate() 1231 ino_key_init(c, &key, inum); in ubifs_jnl_truncate() 1242 data_key_init(c, &key, inum, blk); in ubifs_jnl_truncate() [all …]
|
D | xattr.c | 279 static struct inode *iget_xattr(struct ubifs_info *c, ino_t inum) in iget_xattr() argument 283 inode = ubifs_iget(c->vfs_sb, inum); in iget_xattr() 345 inode = iget_xattr(c, le64_to_cpu(xent->inum)); in ubifs_setxattr() 389 inode = iget_xattr(c, le64_to_cpu(xent->inum)); in ubifs_getxattr() 552 inode = iget_xattr(c, le64_to_cpu(xent->inum)); in ubifs_removexattr()
|
D | ubifs.h | 915 ino_t inum; member 1498 void ubifs_wbuf_add_ino_nolock(struct ubifs_wbuf *wbuf, ino_t inum); 1591 int ubifs_tnc_remove_ino(struct ubifs_info *c, ino_t inum); 1663 int ubifs_add_orphan(struct ubifs_info *c, ino_t inum); 1664 void ubifs_delete_orphan(struct ubifs_info *c, ino_t inum); 1750 struct inode *ubifs_iget(struct super_block *sb, unsigned long inum);
|
D | replay.c | 241 ino_t inum = key_inum(c, &r->key); in apply_replay_entry() local 243 err = ubifs_tnc_remove_ino(c, inum); in apply_replay_entry() 461 le64_to_cpu(dent->inum) > MAX_INUM) { in ubifs_validate_entry() 637 !le64_to_cpu(dent->inum), &used); in replay_bud() 659 trun_key_init(c, &key, le32_to_cpu(trun->inum)); in replay_bud()
|
D | ubifs-media.h | 533 __le64 inum; member 576 __le32 inum; member
|
D | io.c | 1082 void ubifs_wbuf_add_ino_nolock(struct ubifs_wbuf *wbuf, ino_t inum) in ubifs_wbuf_add_ino_nolock() argument 1090 wbuf->inodes[wbuf->next_ino++] = inum; in ubifs_wbuf_add_ino_nolock() 1102 static int wbuf_has_ino(struct ubifs_wbuf *wbuf, ino_t inum) in wbuf_has_ino() argument 1108 if (inum == wbuf->inodes[i]) { in wbuf_has_ino()
|
/fs/gfs2/ |
D | export.c | 74 struct gfs2_inum_host inum; member 79 loff_t offset, u64 inum, unsigned int type) in get_name_filldir() argument 83 if (inum != gnfd->inum.no_addr) in get_name_filldir() 114 gnfd.inum.no_addr = ip->i_no_addr; in gfs2_get_name() 115 gnfd.inum.no_formal_ino = ip->i_no_formal_ino; in gfs2_get_name() 138 struct gfs2_inum_host *inum) in gfs2_get_dentry() argument 143 inode = gfs2_ilookup(sb, inum->no_addr, 0); in gfs2_get_dentry() 145 if (GFS2_I(inode)->i_no_formal_ino != inum->no_formal_ino) { in gfs2_get_dentry() 152 inode = gfs2_lookup_by_inum(sdp, inum->no_addr, &inum->no_formal_ino, in gfs2_get_dentry()
|
D | trace_gfs2.h | 429 __field( u64, inum ) 440 __entry->inum = ip->i_no_addr; 449 (unsigned long long)__entry->inum, 468 __field( u64, inum ) 476 __entry->inum = ip->i_no_addr; 483 (unsigned long long)__entry->inum,
|
D | inode.c | 446 const struct gfs2_inum_host *inum, umode_t mode, in init_dinode() argument 456 dibh = gfs2_meta_new(gl, inum->no_addr); in init_dinode() 462 di->di_num.no_formal_ino = cpu_to_be64(inum->no_formal_ino); in init_dinode() 463 di->di_num.no_addr = cpu_to_be64(inum->no_addr); in init_dinode() 473 di->di_goal_meta = di->di_goal_data = cpu_to_be64(inum->no_addr); in init_dinode() 515 umode_t mode, const struct gfs2_inum_host *inum, in make_dinode() argument 539 init_dinode(dip, gl, inum, mode, uid, gid, generation, dev, symname, size, bhp); in make_dinode() 662 struct gfs2_inum_host inum = { .no_addr = 0, .no_formal_ino = 0 }; in gfs2_create_inode() local 684 error = alloc_dinode(dip, &inum.no_addr, &generation); in gfs2_create_inode() 687 inum.no_formal_ino = generation; in gfs2_create_inode() [all …]
|
/fs/xfs/ |
D | xfs_dir2.h | 38 struct xfs_name *name, xfs_ino_t inum, 42 struct xfs_name *name, xfs_ino_t *inum, 49 struct xfs_name *name, xfs_ino_t inum,
|
D | xfs_dir2.c | 196 xfs_ino_t inum, /* new entry inode number */ in xfs_dir_createname() argument 206 if ((rval = xfs_dir_ino_validate(tp->t_mountp, inum))) in xfs_dir_createname() 214 args.inumber = inum; in xfs_dir_createname() 274 xfs_ino_t *inum, /* out: inode number */ in xfs_dir_lookup() argument 310 *inum = args.inumber; in xfs_dir_lookup() 408 xfs_ino_t inum, /* new inode number */ in xfs_dir_replace() argument 419 if ((rval = xfs_dir_ino_validate(tp->t_mountp, inum))) in xfs_dir_replace() 426 args.inumber = inum; in xfs_dir_replace()
|
/fs/btrfs/ |
D | backref.h | 33 typedef int (iterate_extent_inodes_t)(u64 inum, u64 offset, u64 root, 38 int inode_item_info(u64 inum, u64 ioff, struct btrfs_root *fs_root, 57 int paths_from_inode(u64 inum, struct inode_fs_paths *ipath);
|
D | backref.c | 821 static int __inode_info(u64 inum, u64 ioff, u8 key_type, in __inode_info() argument 830 key.objectid = inum; in __inode_info() 855 int inode_item_info(u64 inum, u64 ioff, struct btrfs_root *fs_root, in inode_item_info() argument 859 return __inode_info(inum, ioff, BTRFS_INODE_ITEM_KEY, fs_root, path, in inode_item_info() 863 static int inode_ref_info(u64 inum, u64 ioff, struct btrfs_root *fs_root, in inode_ref_info() argument 867 return __inode_info(inum, ioff, BTRFS_INODE_REF_KEY, fs_root, path, in inode_ref_info() 1255 static int iterate_irefs(u64 inum, struct btrfs_root *fs_root, in iterate_irefs() argument 1273 ret = inode_ref_info(inum, parent ? parent+1 : 0, fs_root, path, in iterate_irefs() 1321 static int inode_to_path(u64 inum, struct btrfs_inode_ref *iref, in inode_to_path() argument 1336 inum, fspath_min, bytes_left); in inode_to_path() [all …]
|
D | scrub.c | 270 static int scrub_print_warning_inode(u64 inum, u64 offset, u64 root, void *ctx) in scrub_print_warning_inode() argument 293 ret = inode_item_info(inum, 0, local_root, swarn->path); in scrub_print_warning_inode() 312 ret = paths_from_inode(inum, ipath); in scrub_print_warning_inode() 326 (unsigned long long)swarn->sector, root, inum, offset, in scrub_print_warning_inode() 338 (unsigned long long)swarn->sector, root, inum, offset, ret); in scrub_print_warning_inode() 415 static int scrub_fixup_readpage(u64 inum, u64 offset, u64 root, void *ctx) in scrub_fixup_readpage() argument 435 key.objectid = inum; in scrub_fixup_readpage()
|
/fs/jfs/ |
D | jfs_imap.c | 429 struct inode *diReadSpecial(struct super_block *sb, ino_t inum, int secondary) in diReadSpecial() argument 451 ASSERT(inum < INOSPEREXT); in diReadSpecial() 453 ip->i_ino = inum; in diReadSpecial() 455 address += inum >> 3; /* 8 inodes per 4K page */ in diReadSpecial() 467 dp += inum % 8; /* 8 inodes per 4K page */ in diReadSpecial() 486 if ((inum == FILESYSTEM_I) && (JFS_IP(ip)->ipimap == sbi->ipaimap)) { in diReadSpecial() 522 ino_t inum = ip->i_ino; in diWriteSpecial() local 530 ASSERT(inum < INOSPEREXT); in diWriteSpecial() 532 address += inum >> 3; /* 8 inodes per 4K page */ in diWriteSpecial() 544 dp += inum % 8; /* 8 inodes per 4K page */ in diWriteSpecial() [all …]
|
D | jfs_imap.h | 165 extern int diUpdatePMap(struct inode *ipimap, unsigned long inum,
|
D | namei.c | 1442 ino_t inum; in jfs_lookup() local 1451 rc = dtSearch(dip, &key, &inum, &btstack, JFS_LOOKUP); in jfs_lookup() 1459 ip = jfs_iget(dip->i_sb, inum); in jfs_lookup() 1461 jfs_err("jfs_lookup: iget failed on inum %d", (uint)inum); in jfs_lookup()
|
/fs/jffs2/ |
D | fs.c | 611 int inum, int unlinked) in jffs2_gc_fetch_inode() argument 631 inode = ilookup(OFNI_BS_2SFFJ(c), inum); in jffs2_gc_fetch_inode() 634 inum); in jffs2_gc_fetch_inode() 637 ic = jffs2_get_ino_cache(c, inum); in jffs2_gc_fetch_inode() 640 inum); in jffs2_gc_fetch_inode() 660 inode = jffs2_iget(OFNI_BS_2SFFJ(c), inum); in jffs2_gc_fetch_inode() 666 inum, unlinked); in jffs2_gc_fetch_inode()
|
/fs/proc/ |
D | generic.c | 353 int proc_alloc_inum(unsigned int *inum) in proc_alloc_inum() argument 376 *inum = PROC_DYNAMIC_FIRST + i; in proc_alloc_inum() 380 void proc_free_inum(unsigned int inum) in proc_free_inum() argument 384 ida_remove(&proc_inum_ida, inum - PROC_DYNAMIC_FIRST); in proc_free_inum()
|
D | namespaces.c | 78 inode = iget_locked(sb, ns_ops->inum(ns)); in proc_ns_get_dentry() 162 snprintf(name, sizeof(name), "%s:[%u]", ns_ops->name, ns_ops->inum(ns)); in proc_ns_readlink()
|
/fs/fat/ |
D | dir.c | 482 unsigned long inum; in __fat_readdir() local 645 inum = inode->i_ino; in __fat_readdir() 647 inum = parent_ino(filp->f_path.dentry); in __fat_readdir() 652 inum = tmp->i_ino; in __fat_readdir() 655 inum = iunique(sb, MSDOS_ROOT_INO); in __fat_readdir() 658 if (filldir(dirent, fill_name, fill_len, *furrfu, inum, in __fat_readdir()
|