Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/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()
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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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.h10 unsigned int inum; member
/kernel/linux/linux-5.10/fs/hmdfs/
Dstash.c108 uint64_t inum; member
123 uint64_t inum; member
878 hmdfs_lookup_stash_inode(struct hmdfs_peer *conn, uint64_t inum) in hmdfs_lookup_stash_inode() argument
883 if (info->remote_ino == inum) in hmdfs_lookup_stash_inode()
1025 u64 inum, unsigned int d_type) in hmdfs_has_stash_file() argument
1043 u64 inum, unsigned int d_type) in hmdfs_fill_stash_file() argument
1106 conn->owner, conn->device_id, ctx->inum, in hmdfs_verify_restore_file_head()
1118 conn->owner, conn->device_id, ctx->inum, in hmdfs_verify_restore_file_head()
1123 if (le64_to_cpu(head->ino) != ctx->inum) { in hmdfs_verify_restore_file_head()
1126 conn->owner, conn->device_id, ctx->inum, in hmdfs_verify_restore_file_head()
[all …]
/kernel/linux/linux-5.10/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,
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/jfs/
Djfs_imap.c416 struct inode *diReadSpecial(struct super_block *sb, ino_t inum, int secondary) in diReadSpecial() argument
438 ASSERT(inum < INOSPEREXT); in diReadSpecial()
440 ip->i_ino = inum; in diReadSpecial()
442 address += inum >> 3; /* 8 inodes per 4K page */ in diReadSpecial()
454 dp += inum % 8; /* 8 inodes per 4K page */ in diReadSpecial()
473 if ((inum == FILESYSTEM_I) && (JFS_IP(ip)->ipimap == sbi->ipaimap)) { in diReadSpecial()
503 ino_t inum = ip->i_ino; in diWriteSpecial() local
511 ASSERT(inum < INOSPEREXT); in diWriteSpecial()
513 address += inum >> 3; /* 8 inodes per 4K page */ in diWriteSpecial()
524 dp += inum % 8; /* 8 inodes per 4K page */ in diWriteSpecial()
[all …]
/kernel/linux/linux-5.10/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()
704 net->ns.inum, __func__); in lockd_exit_net()
707 net->ns.inum, __func__); in lockd_exit_net()
710 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()
/kernel/linux/linux-5.10/fs/btrfs/
Dbackref.c22 u64 inum; member
58 e->inum = key->objectid; in check_extent_in_eb()
138 u64 inum; member
1056 if (sc && sc->inum && key.objectid != sc->inum && in add_inline_refs()
1157 if (sc && sc->inum && key.objectid != sc->inum && in add_keyed_refs()
1564 int btrfs_check_shared(struct btrfs_root *root, u64 inum, u64 bytenr, argument
1575 .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);
64 int btrfs_check_shared(struct btrfs_root *root, u64 inum, u64 bytenr,
/kernel/linux/linux-5.10/fs/jffs2/
Dfs.c622 int inum, int unlinked) in jffs2_gc_fetch_inode() argument
642 inode = ilookup(OFNI_BS_2SFFJ(c), inum); in jffs2_gc_fetch_inode()
645 inum); in jffs2_gc_fetch_inode()
648 ic = jffs2_get_ino_cache(c, inum); in jffs2_gc_fetch_inode()
651 inum); in jffs2_gc_fetch_inode()
671 inode = jffs2_iget(OFNI_BS_2SFFJ(c), inum); in jffs2_gc_fetch_inode()
677 inum, unlinked); in jffs2_gc_fetch_inode()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/init/
Dversion.c38 .ns.inum = PROC_UTS_INIT_INO,
/kernel/linux/linux-5.10/kernel/bpf/
Dnet_namespace.c208 unsigned int inum = 0; in bpf_netns_link_fill_info() local
214 inum = net->ns.inum; in bpf_netns_link_fill_info()
217 info->netns.netns_ino = inum; in bpf_netns_link_fill_info()

1234