Home
last modified time | relevance | path

Searched refs:inum (Results 1 – 25 of 50) sorted by relevance

12

/fs/ubifs/
Dorphan.c45 static struct ubifs_orphan *orphan_add(struct ubifs_info *c, ino_t inum, in orphan_add() argument
54 orphan->inum = inum; in orphan_add()
68 if (inum < o->inum) in orphan_add()
70 else if (inum > o->inum) in orphan_add()
92 dbg_gen("ino %lu", (unsigned long)inum); in orphan_add()
96 static struct ubifs_orphan *lookup_orphan(struct ubifs_info *c, ino_t inum) in lookup_orphan() argument
104 if (inum < o->inum) in lookup_orphan()
106 else if (inum > o->inum) in lookup_orphan()
132 dbg_gen("deleted twice ino %lu", (unsigned long)orph->inum); in orphan_delete()
140 dbg_gen("delete later ino %lu", (unsigned long)orph->inum); in orphan_delete()
[all …]
Dkey.h91 union ubifs_key *key, ino_t inum) in ino_key_init() argument
93 key->u32[0] = inum; in ino_key_init()
104 ino_t inum) in ino_key_init_flash() argument
108 key->j32[0] = cpu_to_le32(inum); in ino_key_init_flash()
120 union ubifs_key *key, ino_t inum) in lowest_ino_key() argument
122 key->u32[0] = inum; in lowest_ino_key()
133 union ubifs_key *key, ino_t inum) in highest_ino_key() argument
135 key->u32[0] = inum; in highest_ino_key()
147 union ubifs_key *key, ino_t inum, in dent_key_init() argument
153 key->u32[0] = inum; in dent_key_init()
[all …]
Drecovery.c1231 ino_t inum; member
1246 static int add_ino(struct ubifs_info *c, ino_t inum, loff_t i_size, in add_ino() argument
1255 if (inum < e->inum) in add_ino()
1265 e->inum = inum; in add_ino()
1281 static struct size_entry *find_ino(struct ubifs_info *c, ino_t inum) in find_ino() argument
1288 if (inum < e->inum) in find_ino()
1290 else if (inum > e->inum) in find_ino()
1303 static void remove_ino(struct ubifs_info *c, ino_t inum) in remove_ino() argument
1305 struct size_entry *e = find_ino(c, inum); in remove_ino()
1357 ino_t inum = key_inum(c, key); in ubifs_recover_size_accum() local
[all …]
Ddebug.c281 count++, (unsigned long long) le64_to_cpu(dent->inum), in ubifs_dump_inode()
481 (unsigned long long)le64_to_cpu(dent->inum)); in ubifs_dump_node()
521 pr_err("\tinum %u\n", le32_to_cpu(trun->inum)); in ubifs_dump_node()
1780 ino_t inum; member
1819 ino_t inum = key_inum_flash(c, &ino->key); in add_inode() local
1827 if (inum < fscki->inum) in add_inode()
1829 else if (inum > fscki->inum) in add_inode()
1835 if (inum > c->highest_inum) { in add_inode()
1845 inode = ilookup(c->vfs_sb, inum); in add_inode()
1847 fscki->inum = inum; in add_inode()
[all …]
Djournal.c601 dent->inum = deletion ? 0 : cpu_to_le64(inode->i_ino); in ubifs_jnl_update()
905 xino = ubifs_iget(c->vfs_sb, le64_to_cpu(xent->inum)); in ubifs_jnl_write_inode()
1097 dent1->inum = cpu_to_le64(fst_inode->i_ino); in ubifs_jnl_xrename()
1113 dent2->inum = cpu_to_le64(snd_inode->i_ino); in ubifs_jnl_xrename()
1284 dent->inum = cpu_to_le64(old_inode->i_ino); in ubifs_jnl_rename()
1301 dent2->inum = cpu_to_le64(whiteout->i_ino); in ubifs_jnl_rename()
1305 dent2->inum = 0; in ubifs_jnl_rename()
1554 ino_t inum = inode->i_ino; in ubifs_jnl_truncate() local
1560 (unsigned long)inum, old_size, new_size); in ubifs_jnl_truncate()
1576 trun->inum = cpu_to_le32(inum); in ubifs_jnl_truncate()
[all …]
Dxattr.c246 static struct inode *iget_xattr(struct ubifs_info *c, ino_t inum) in iget_xattr() argument
250 inode = ubifs_iget(c->vfs_sb, inum); in iget_xattr()
311 inode = iget_xattr(c, le64_to_cpu(xent->inum)); in ubifs_xattr_set()
353 inode = iget_xattr(c, le64_to_cpu(xent->inum)); in ubifs_xattr_get()
529 xino = ubifs_iget(c->vfs_sb, le64_to_cpu(xent->inum)); in ubifs_purge_xattrs()
622 inode = iget_xattr(c, le64_to_cpu(xent->inum)); in ubifs_xattr_remove()
Dubifs.h933 ino_t inum; member
1741 void ubifs_wbuf_add_ino_nolock(struct ubifs_wbuf *wbuf, ino_t inum);
1848 int ubifs_tnc_remove_ino(struct ubifs_info *c, ino_t inum);
1927 int ubifs_add_orphan(struct ubifs_info *c, ino_t inum);
1928 void ubifs_delete_orphan(struct ubifs_info *c, ino_t inum);
2045 struct inode *ubifs_iget(struct super_block *sb, unsigned long inum);
Dreplay.c261 ino_t inum = key_inum(c, &r->key); in apply_replay_entry() local
268 err = ubifs_tnc_remove_ino(c, inum); in apply_replay_entry()
490 le64_to_cpu(dent->inum) > MAX_INUM) { in ubifs_validate_entry()
774 !le64_to_cpu(dent->inum), &used); in replay_bud()
796 trun_key_init(c, &key, le32_to_cpu(trun->inum)); in replay_bud()
Dubifs-media.h559 __le64 inum; member
600 __le32 inum; member
/fs/gfs2/
Dexport.c65 struct gfs2_inum_host inum; member
70 int length, loff_t offset, u64 inum, in get_name_filldir() argument
76 if (inum != gnfd->inum.no_addr) in get_name_filldir()
109 gnfd.inum.no_addr = ip->i_no_addr; in gfs2_get_name()
110 gnfd.inum.no_formal_ino = ip->i_no_formal_ino; in gfs2_get_name()
132 struct gfs2_inum_host *inum) in gfs2_get_dentry() argument
137 if (!inum->no_formal_ino) in gfs2_get_dentry()
139 inode = gfs2_lookup_by_inum(sdp, inum->no_addr, inum->no_formal_ino, in gfs2_get_dentry()
Dtrace_gfs2.h450 __field( u64, inum )
461 __entry->inum = ip->i_no_addr;
470 (unsigned long long)__entry->inum,
487 __field( u64, inum )
495 __entry->inum = ip->i_no_addr;
503 (unsigned long long)__entry->inum,
516 __field( u64, inum )
527 __entry->inum = ip->i_no_addr;
539 (unsigned long long)__entry->inum,
558 __field( u64, inum )
[all …]
/fs/xfs/libxfs/
Dxfs_dir2.c247 xfs_ino_t inum, /* new entry inode number */ in xfs_dir_createname() argument
256 if (inum) { in xfs_dir_createname()
257 rval = xfs_dir_ino_validate(tp->t_mountp, inum); in xfs_dir_createname()
272 args->inumber = inum; in xfs_dir_createname()
278 if (!inum) in xfs_dir_createname()
343 xfs_ino_t *inum, /* out: inode number */ in xfs_dir_lookup() argument
401 *inum = args->inumber; in xfs_dir_lookup()
479 xfs_ino_t inum, /* new inode number */ in xfs_dir_replace() argument
488 rval = xfs_dir_ino_validate(tp->t_mountp, inum); in xfs_dir_replace()
501 args->inumber = inum; in xfs_dir_replace()
Dxfs_dir2.h42 struct xfs_name *name, xfs_ino_t inum,
45 struct xfs_name *name, xfs_ino_t *inum,
51 struct xfs_name *name, xfs_ino_t inum,
/fs/nfs/
Dcallback.c55 nn->nfs_callback_tcpport, PF_INET, net->ns.inum); in nfs4_callback_up_net()
63 nn->nfs_callback_tcpport6, PF_INET6, net->ns.inum); in nfs4_callback_up_net()
191 dprintk("NFS: destroy per-net callback data; net=%x\n", net->ns.inum); in nfs_callback_down_net()
204 dprintk("NFS: create per-net callback data; net=%x\n", net->ns.inum); in nfs_callback_up_net()
231 "net = %x\n", ret, net->ns.inum); in nfs_callback_up_net()
/fs/jfs/
Djfs_imap.c415 struct inode *diReadSpecial(struct super_block *sb, ino_t inum, int secondary) in diReadSpecial() argument
437 ASSERT(inum < INOSPEREXT); in diReadSpecial()
439 ip->i_ino = inum; in diReadSpecial()
441 address += inum >> 3; /* 8 inodes per 4K page */ in diReadSpecial()
453 dp += inum % 8; /* 8 inodes per 4K page */ in diReadSpecial()
472 if ((inum == FILESYSTEM_I) && (JFS_IP(ip)->ipimap == sbi->ipaimap)) { in diReadSpecial()
502 ino_t inum = ip->i_ino; in diWriteSpecial() local
510 ASSERT(inum < INOSPEREXT); in diWriteSpecial()
512 address += inum >> 3; /* 8 inodes per 4K page */ in diWriteSpecial()
523 dp += inum % 8; /* 8 inodes per 4K page */ in diWriteSpecial()
[all …]
Djfs_imap.h152 extern int diUpdatePMap(struct inode *ipimap, unsigned long inum,
/fs/btrfs/
Dbackref.c23 u64 inum; member
59 e->inum = key->objectid; in check_extent_in_eb()
139 u64 inum; member
1057 if (sc && sc->inum && key.objectid != sc->inum && in add_inline_refs()
1158 if (sc && sc->inum && key.objectid != sc->inum && in add_keyed_refs()
1569 int btrfs_check_shared(struct btrfs_root *root, u64 inum, u64 bytenr, argument
1580 .inum = inum,
1973 extent_item_objectid, eie->inum,
1975 ret = iterate(eie->inum, eie->offset, root, ctx);
2067 static int build_ino_list(u64 inum, u64 offset, u64 root, void *ctx) argument
[all …]
Dbackref.h20 typedef int (iterate_extent_inodes_t)(u64 inum, u64 offset, u64 root,
41 int paths_from_inode(u64 inum, struct inode_fs_paths *ipath);
65 int btrfs_check_shared(struct btrfs_root *root, u64 inum, u64 bytenr,
/fs/lockd/
Dsvc.c271 dprintk("%s: per-net data created; net=%x\n", __func__, net->ns.inum); in lockd_up_net()
290 __func__, net->ns.inum); in lockd_down_net()
294 __func__, nlmsvc_task, net->ns.inum); in lockd_down_net()
706 net->ns.inum, __func__); in lockd_exit_net()
709 net->ns.inum, __func__); in lockd_exit_net()
712 net->ns.inum, __func__); in lockd_exit_net()
Dhost.c594 net->ns.inum); in nlm_complain_hosts()
596 net->ns.inum); in nlm_complain_hosts()
609 host->h_inuse, host->h_expires, host->net->ns.inum); in nlm_complain_hosts()
623 net ? net->ns.inum : 0); in nlm_shutdown_hosts_net()
664 net ? net->ns.inum : 0); in nlm_gc_hosts()
682 host->net->ns.inum); in nlm_gc_hosts()
/fs/jffs2/
Dfs.c623 int inum, int unlinked) in jffs2_gc_fetch_inode() argument
643 inode = ilookup(OFNI_BS_2SFFJ(c), inum); in jffs2_gc_fetch_inode()
646 inum); in jffs2_gc_fetch_inode()
649 ic = jffs2_get_ino_cache(c, inum); in jffs2_gc_fetch_inode()
652 inum); in jffs2_gc_fetch_inode()
672 inode = jffs2_iget(OFNI_BS_2SFFJ(c), inum); in jffs2_gc_fetch_inode()
678 inum, unlinked); in jffs2_gc_fetch_inode()
/fs/nfs_common/
Dgrace.c38 net->ns.inum, (net == &init_net) ? "(init_net)" : ""); in locks_start_grace()
118 net->ns.inum, __func__); in grace_exit_net()
/fs/
Dnsfs.c85 inode->i_ino = ns->inum; in __ns_get_path()
226 res = snprintf(buf, size, "%s:[%u]", name, ns->inum); in ns_get_name()
265 return (ns->inum == ino) && (nsfs_mnt->mnt_sb->s_dev == dev); in ns_match()
/fs/proc/
Dgeneric.c202 int proc_alloc_inum(unsigned int *inum) in proc_alloc_inum() argument
211 *inum = PROC_DYNAMIC_FIRST + (unsigned int)i; in proc_alloc_inum()
215 void proc_free_inum(unsigned int inum) in proc_free_inum() argument
217 ida_simple_remove(&proc_inum_ida, inum - PROC_DYNAMIC_FIRST); in proc_free_inum()
/fs/xfs/
Dxfs_inode.c672 xfs_ino_t inum; in xfs_lookup() local
680 error = xfs_dir_lookup(NULL, dp, name, &inum, ci_name); in xfs_lookup()
684 error = xfs_iget(dp->i_mount, NULL, inum, 0, 0, ipp); in xfs_lookup()
2435 xfs_ino_t inum) in xfs_ifree_mark_inode_stale() argument
2443 ip = radix_tree_lookup(&pag->pag_ici_root, XFS_INO_TO_AGINO(mp, inum)); in xfs_ifree_mark_inode_stale()
2458 if (ip->i_ino != inum || __xfs_iflags_test(ip, XFS_ISTALE)) in xfs_ifree_mark_inode_stale()
2538 xfs_ino_t inum = xic->first_ino; in xfs_ifree_cluster() local
2546 for (j = 0; j < nbufs; j++, inum += igeo->inodes_per_cluster) { in xfs_ifree_cluster()
2552 ioffset = inum - xic->first_ino; in xfs_ifree_cluster()
2558 blkno = XFS_AGB_TO_DADDR(mp, XFS_INO_TO_AGNO(mp, inum), in xfs_ifree_cluster()
[all …]

12