Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-4.19/fs/ubifs/
Dorphan.c65 int ubifs_add_orphan(struct ubifs_info *c, ino_t inum) in ubifs_add_orphan() argument
73 orphan->inum = inum; in ubifs_add_orphan()
86 if (inum < o->inum) in ubifs_add_orphan()
88 else if (inum > o->inum) in ubifs_add_orphan()
104 dbg_gen("ino %lu", (unsigned long)inum); in ubifs_add_orphan()
115 void ubifs_delete_orphan(struct ubifs_info *c, ino_t inum) in ubifs_delete_orphan() argument
124 if (inum < o->inum) in ubifs_delete_orphan()
126 else if (inum > o->inum) in ubifs_delete_orphan()
132 (unsigned long)inum); in ubifs_delete_orphan()
141 (unsigned long)inum); in ubifs_delete_orphan()
[all …]
Dkey.h103 union ubifs_key *key, ino_t inum) in ino_key_init() argument
105 key->u32[0] = inum; in ino_key_init()
116 ino_t inum) in ino_key_init_flash() argument
120 key->j32[0] = cpu_to_le32(inum); in ino_key_init_flash()
132 union ubifs_key *key, ino_t inum) in lowest_ino_key() argument
134 key->u32[0] = inum; in lowest_ino_key()
145 union ubifs_key *key, ino_t inum) in highest_ino_key() argument
147 key->u32[0] = inum; in highest_ino_key()
159 union ubifs_key *key, ino_t inum, in dent_key_init() argument
166 key->u32[0] = inum; in dent_key_init()
[all …]
Drecovery.c1242 ino_t inum; member
1257 static int add_ino(struct ubifs_info *c, ino_t inum, loff_t i_size, in add_ino() argument
1266 if (inum < e->inum) in add_ino()
1276 e->inum = inum; in add_ino()
1292 static struct size_entry *find_ino(struct ubifs_info *c, ino_t inum) in find_ino() argument
1299 if (inum < e->inum) in find_ino()
1301 else if (inum > e->inum) in find_ino()
1314 static void remove_ino(struct ubifs_info *c, ino_t inum) in remove_ino() argument
1316 struct size_entry *e = find_ino(c, inum); in remove_ino()
1368 ino_t inum = key_inum(c, key); in ubifs_recover_size_accum() local
[all …]
Ddebug.c291 count++, (unsigned long long) le64_to_cpu(dent->inum), in ubifs_dump_inode()
461 (unsigned long long)le64_to_cpu(dent->inum)); in ubifs_dump_node()
498 pr_err("\tinum %u\n", le32_to_cpu(trun->inum)); in ubifs_dump_node()
1766 ino_t inum; member
1805 ino_t inum = key_inum_flash(c, &ino->key); in add_inode() local
1813 if (inum < fscki->inum) in add_inode()
1815 else if (inum > fscki->inum) in add_inode()
1821 if (inum > c->highest_inum) { in add_inode()
1831 inode = ilookup(c->vfs_sb, inum); in add_inode()
1833 fscki->inum = inum; in add_inode()
[all …]
/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 …]
/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-4.19/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)
/kernel/linux/linux-4.19/include/linux/
Dproc_ns.h53 extern void proc_free_inum(unsigned int inum);
60 static inline int proc_alloc_inum(unsigned int *inum) in proc_alloc_inum() argument
62 *inum = 1; in proc_alloc_inum()
65 static inline void proc_free_inum(unsigned int inum) {} in proc_free_inum() argument
72 return proc_alloc_inum(&ns->inum); in ns_alloc_inum()
75 #define ns_free_inum(ns) proc_free_inum((ns)->inum)
/kernel/linux/linux-4.19/fs/gfs2/
Dexport.c68 struct gfs2_inum_host inum; member
73 int length, loff_t offset, u64 inum, in get_name_filldir() argument
79 if (inum != gnfd->inum.no_addr) in get_name_filldir()
112 gnfd.inum.no_addr = ip->i_no_addr; in gfs2_get_name()
113 gnfd.inum.no_formal_ino = ip->i_no_formal_ino; in gfs2_get_name()
135 struct gfs2_inum_host *inum) in gfs2_get_dentry() argument
140 inode = gfs2_lookup_by_inum(sdp, inum->no_addr, &inum->no_formal_ino, in gfs2_get_dentry()
Dtrace_gfs2.h449 __field( u64, inum )
460 __entry->inum = ip->i_no_addr;
469 (unsigned long long)__entry->inum,
486 __field( u64, inum )
494 __entry->inum = ip->i_no_addr;
502 (unsigned long long)__entry->inum,
515 __field( u64, inum )
526 __entry->inum = ip->i_no_addr;
538 (unsigned long long)__entry->inum,
557 __field( u64, inum )
[all …]
/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-4.19/fs/btrfs/
Dbackref.h19 typedef int (iterate_extent_inodes_t)(u64 inum, u64 offset, u64 root,
41 int paths_from_inode(u64 inum, struct inode_fs_paths *ipath);
60 int btrfs_check_shared(struct btrfs_root *root, u64 inum, u64 bytenr);
Dbackref.c21 u64 inum; member
57 e->inum = key->objectid; in check_extent_in_eb()
137 u64 inum; member
831 if (sc && sc->inum && ref->objectid != sc->inum) { in add_delayed_refs()
968 if (sc && sc->inum && key.objectid != sc->inum) { in add_inline_refs()
1067 if (sc && sc->inum && key.objectid != sc->inum) { in add_keyed_refs()
1466 int btrfs_check_shared(struct btrfs_root *root, u64 inum, u64 bytenr) argument
1478 .inum = inum,
1878 extent_item_objectid, eie->inum,
1880 ret = iterate(eie->inum, eie->offset, root, ctx);
[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 xfs_ino_t inum);
53 struct xfs_name *name, xfs_ino_t inum,
/kernel/linux/linux-4.19/fs/xfs/libxfs/
Dxfs_dir2.c245 xfs_ino_t inum, /* new entry inode number */ in xfs_dir_createname() argument
254 if (inum) { in xfs_dir_createname()
255 rval = xfs_dir_ino_validate(tp->t_mountp, inum); in xfs_dir_createname()
270 args->inumber = inum; in xfs_dir_createname()
276 if (!inum) in xfs_dir_createname()
341 xfs_ino_t *inum, /* out: inode number */ in xfs_dir_lookup() argument
399 *inum = args->inumber; in xfs_dir_lookup()
477 xfs_ino_t inum, /* new inode number */ in xfs_dir_replace() argument
486 rval = xfs_dir_ino_validate(tp->t_mountp, inum); in xfs_dir_replace()
499 args->inumber = inum; in xfs_dir_replace()
/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-4.19/fs/nfs/
Dcallback.c53 nn->nfs_callback_tcpport, PF_INET, net->ns.inum); in nfs4_callback_up_net()
60 nn->nfs_callback_tcpport6, PF_INET6, net->ns.inum); in nfs4_callback_up_net()
188 dprintk("NFS: destroy per-net callback data; net=%x\n", net->ns.inum); in nfs_callback_down_net()
201 dprintk("NFS: create per-net callback data; net=%x\n", net->ns.inum); in nfs_callback_up_net()
226 "net = %x\n", ret, net->ns.inum); in nfs_callback_up_net()
/kernel/linux/linux-4.19/fs/nfs_common/
Dgrace.c37 net->ns.inum, (net == &init_net) ? "(init_net)" : ""); in locks_start_grace()
113 net->ns.inum, __func__); in grace_exit_net()

123456