Home
last modified time | relevance | path

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

123

/linux-6.1.9/fs/ubifs/
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 …]
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 …]
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()
1557 ino_t inum = inode->i_ino; in ubifs_jnl_truncate() local
1563 (unsigned long)inum, old_size, new_size); in ubifs_jnl_truncate()
1582 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()
/linux-6.1.9/drivers/usb/core/
Dconfig.c52 int cfgno, int inum, int asnum, struct usb_host_endpoint *ep, in usb_parse_ssp_isoc_endpoint_companion() argument
66 cfgno, inum, asnum, ep->desc.bEndpointAddress); in usb_parse_ssp_isoc_endpoint_companion()
73 int inum, int asnum, struct usb_host_endpoint *ep, in usb_parse_ss_endpoint_companion() argument
89 cfgno, inum, asnum, ep->desc.bEndpointAddress); in usb_parse_ss_endpoint_companion()
115 cfgno, inum, asnum, ep->desc.bEndpointAddress); in usb_parse_ss_endpoint_companion()
121 cfgno, inum, asnum, ep->desc.bEndpointAddress); in usb_parse_ss_endpoint_companion()
133 cfgno, inum, asnum, ep->desc.bEndpointAddress); in usb_parse_ss_endpoint_companion()
140 cfgno, inum, asnum, ep->desc.bEndpointAddress); in usb_parse_ss_endpoint_companion()
149 cfgno, inum, asnum, ep->desc.bEndpointAddress); in usb_parse_ss_endpoint_companion()
168 cfgno, inum, asnum, ep->desc.bEndpointAddress, in usb_parse_ss_endpoint_companion()
[all …]
/linux-6.1.9/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.h447 __field( u64, inum )
458 __entry->inum = ip->i_no_addr;
467 (unsigned long long)__entry->inum,
484 __field( u64, inum )
492 __entry->inum = ip->i_no_addr;
500 (unsigned long long)__entry->inum,
513 __field( u64, inum )
524 __entry->inum = ip->i_no_addr;
536 (unsigned long long)__entry->inum,
555 __field( u64, inum )
[all …]
/linux-6.1.9/include/linux/
Dproc_ns.h54 extern void proc_free_inum(unsigned int inum);
58 static inline int proc_alloc_inum(unsigned int *inum) in proc_alloc_inum() argument
60 *inum = 1; in proc_alloc_inum()
63 static inline void proc_free_inum(unsigned int inum) {} in proc_free_inum() argument
70 return proc_alloc_inum(&ns->inum); in ns_alloc_inum()
73 #define ns_free_inum(ns) proc_free_inum((ns)->inum)
Dns_common.h12 unsigned int inum; member
/linux-6.1.9/fs/xfs/libxfs/
Dxfs_dir2.c259 xfs_ino_t inum, /* new entry inode number */ in xfs_dir_createname() argument
268 if (inum) { in xfs_dir_createname()
269 rval = xfs_dir_ino_validate(tp->t_mountp, inum); in xfs_dir_createname()
284 args->inumber = inum; in xfs_dir_createname()
290 if (!inum) in xfs_dir_createname()
355 xfs_ino_t *inum, /* out: inode number */ in xfs_dir_lookup() argument
413 *inum = args->inumber; in xfs_dir_lookup()
491 xfs_ino_t inum, /* new inode number */ in xfs_dir_replace() argument
500 rval = xfs_dir_ino_validate(tp->t_mountp, inum); in xfs_dir_replace()
513 args->inumber = inum; in xfs_dir_replace()
Dxfs_dir2.h42 const struct xfs_name *name, xfs_ino_t inum,
45 const struct xfs_name *name, xfs_ino_t *inum,
51 const struct xfs_name *name, xfs_ino_t inum,
/linux-6.1.9/fs/nfs/
Dcallback.c54 nn->nfs_callback_tcpport, PF_INET, net->ns.inum); in nfs4_callback_up_net()
62 nn->nfs_callback_tcpport6, PF_INET6, net->ns.inum); in nfs4_callback_up_net()
190 dprintk("NFS: destroy per-net callback data; net=%x\n", net->ns.inum); in nfs_callback_down_net()
203 dprintk("NFS: create per-net callback data; net=%x\n", net->ns.inum); in nfs_callback_up_net()
230 "net = %x\n", ret, net->ns.inum); in nfs_callback_up_net()
/linux-6.1.9/fs/jfs/
Djfs_imap.c414 struct inode *diReadSpecial(struct super_block *sb, ino_t inum, int secondary) in diReadSpecial() argument
436 ASSERT(inum < INOSPEREXT); in diReadSpecial()
438 ip->i_ino = inum; in diReadSpecial()
440 address += inum >> 3; /* 8 inodes per 4K page */ in diReadSpecial()
452 dp += inum % 8; /* 8 inodes per 4K page */ in diReadSpecial()
471 if ((inum == FILESYSTEM_I) && (JFS_IP(ip)->ipimap == sbi->ipaimap)) { in diReadSpecial()
501 ino_t inum = ip->i_ino; in diWriteSpecial() local
509 ASSERT(inum < INOSPEREXT); in diWriteSpecial()
511 address += inum >> 3; /* 8 inodes per 4K page */ in diWriteSpecial()
522 dp += inum % 8; /* 8 inodes per 4K page */ in diWriteSpecial()
[all …]
/linux-6.1.9/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()
/linux-6.1.9/fs/lockd/
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()
Dsvc.c272 dprintk("%s: per-net data created; net=%x\n", __func__, net->ns.inum); in lockd_up_net()
294 __func__, net->ns.inum); in lockd_down_net()
620 net->ns.inum, __func__); in lockd_exit_net()
623 net->ns.inum, __func__); in lockd_exit_net()
626 net->ns.inum, __func__); in lockd_exit_net()
/linux-6.1.9/fs/btrfs/
Dbackref.c23 u64 inum; member
59 e->inum = key->objectid; in check_extent_in_eb()
139 u64 inum; member
1059 if (sc && sc->inum && key.objectid != sc->inum && in add_inline_refs()
1160 if (sc && sc->inum && key.objectid != sc->inum && in add_keyed_refs()
1687 int btrfs_is_data_extent_shared(struct btrfs_root *root, u64 inum, u64 bytenr, in btrfs_is_data_extent_shared() argument
1700 .inum = inum, in btrfs_is_data_extent_shared()
2144 extent_item_objectid, eie->inum, in iterate_leaf_refs()
2146 ret = iterate(eie->inum, eie->offset, root, ctx); in iterate_leaf_refs()
2238 static int build_ino_list(u64 inum, u64 offset, u64 root, void *ctx) in build_ino_list() argument
[all …]
Dbackref.h35 typedef int (iterate_extent_inodes_t)(u64 inum, u64 offset, u64 root,
56 int paths_from_inode(u64 inum, struct inode_fs_paths *ipath);
80 int btrfs_is_data_extent_shared(struct btrfs_root *root, u64 inum, u64 bytenr,
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/init/
Dversion-timestamp.c22 .ns.inum = PROC_UTS_INIT_INO,
/linux-6.1.9/kernel/bpf/
Dnet_namespace.c209 unsigned int inum = 0; in bpf_netns_link_fill_info() local
215 inum = net->ns.inum; in bpf_netns_link_fill_info()
218 info->netns.netns_ino = inum; in bpf_netns_link_fill_info()
/linux-6.1.9/include/uapi/linux/
Drds.h204 __u64 inum; member
214 __u64 inum; member

123