/linux-master/fs/zonefs/ |
H A D | trace.h | 28 __field(ino_t, ino) 35 __entry->ino = 41 TP_printk("bdev=(%d,%d), ino=%lu op=%s, sector=%llu, nr_sectors=%llu", 42 show_dev(__entry->dev), (unsigned long)__entry->ino, 53 __field(ino_t, ino) 61 __entry->ino = inode->i_ino; 68 TP_printk("bdev=(%d, %d), ino=%lu, sector=%llu, size=%zu, wpoffset=%llu, ret=%zu", 69 show_dev(__entry->dev), (unsigned long)__entry->ino, 80 __field(ino_t, ino) 87 __entry->ino [all...] |
/linux-master/fs/jffs2/ |
H A D | build.c | 58 dbg_fsbuild("building directory inode #%u\n", ic->ino); 63 if (!fd->ino) 68 child_ic = jffs2_get_ino_cache(c, fd->ino); 70 dbg_fsbuild("child \"%s\" (ino #%u) of dir ino #%u doesn't exist!\n", 71 fd->name, fd->ino, ic->ino); 89 dbg_fsbuild("increased nlink for child \"%s\" (ino #%u)\n", fd->name, fd->ino); 153 ic = jffs2_get_ino_cache(c, fd->ino); [all...] |
/linux-master/fs/qnx4/ |
H A D | namei.c | 51 const char *name, struct qnx4_inode_entry **res_dir, int *ino) 71 *ino = block * QNX4_INODES_PER_BLOCK + 90 int ino; local 98 if (!(bh = qnx4_find_entry(len, dir, name, &de, &ino))) 103 ino = (le32_to_cpu(lnk->dl_inode_blk) - 1) * 109 foundinode = qnx4_iget(dir->i_sb, ino); 50 qnx4_find_entry(int len, struct inode *dir, const char *name, struct qnx4_inode_entry **res_dir, int *ino) argument
|
/linux-master/fs/freevxfs/ |
H A D | vxfs_inode.c | 27 vxfs_dumpi(struct vxfs_inode_info *vip, ino_t ino) argument 30 if (ino) 31 printk(KERN_DEBUG "dumping vxfs inode %ld\n", ino); 124 * @ino: inode number to search 127 * vxfs_blkiget searches inode @ino in the filesystem described by 137 vxfs_blkiget(struct super_block *sbp, u_long extent, ino_t ino) argument 148 block = extent + ((ino * VXFS_ISIZE) / sbp->s_blocksize); 149 offset = ((ino % (sbp->s_blocksize / VXFS_ISIZE)) * VXFS_ISIZE); 160 vxfs_dumpi(vip, ino); 176 * @ino 184 __vxfs_iget(struct inode *ilistp, struct vxfs_inode_info *vip, ino_t ino) argument 222 vxfs_stiget(struct super_block *sbp, ino_t ino) argument 251 vxfs_iget(struct super_block *sbp, ino_t ino) argument [all...] |
/linux-master/fs/autofs/ |
H A D | root.c | 70 struct autofs_info *ino; local 72 ino = autofs_dentry_ino(dentry); 74 list_del_init(&ino->active); 82 struct autofs_info *ino = autofs_dentry_ino(dentry); local 99 if (!path_is_mountpoint(&file->f_path) && autofs_empty(ino)) { 111 struct autofs_info *ino = autofs_dentry_ino(de); local 116 if (!ino) 121 if (!list_empty(&ino->active)) 122 list_del(&ino->active); 123 if (!list_empty(&ino 146 struct autofs_info *ino; local 201 struct autofs_info *ino; local 248 struct autofs_info *ino = autofs_dentry_ino(path->dentry); local 317 struct autofs_info *ino; local 335 struct autofs_info *ino = autofs_dentry_ino(dentry); local 423 struct autofs_info *ino = autofs_dentry_ino(dentry); local 497 struct autofs_info *ino; local 570 struct autofs_info *ino = autofs_dentry_ino(dentry); local 626 struct autofs_info *ino = autofs_dentry_ino(dentry); local 695 struct autofs_info *ino = autofs_dentry_ino(dentry); local 728 struct autofs_info *ino = autofs_dentry_ino(dentry); local [all...] |
H A D | inode.c | 14 struct autofs_info *ino; local 16 ino = kzalloc(sizeof(*ino), GFP_KERNEL); 17 if (ino) { 18 INIT_LIST_HEAD(&ino->active); 19 INIT_LIST_HEAD(&ino->expiring); 20 ino->last_used = jiffies; 21 ino->sbi = sbi; 22 ino->count = 1; 24 return ino; 27 autofs_clean_ino(struct autofs_info *ino) argument 34 autofs_free_ino(struct autofs_info *ino) argument 312 struct autofs_info *ino; local [all...] |
/linux-master/include/linux/ceph/ |
H A D | types.h | 16 * Identify inodes by both their ino AND snapshot id (a u64). 19 u64 ino; member in struct:ceph_vino
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_udp6.c | 21 unsigned long ino; local 27 bpf_probe_read_kernel(&ino, sizeof(ino), &inode->i_ino); 28 return ino;
|
H A D | bpf_iter_udp4.c | 14 unsigned long ino; local 20 bpf_probe_read_kernel(&ino, sizeof(ino), &inode->i_ino); 21 return ino;
|
/linux-master/include/uapi/linux/ |
H A D | bfs_fs.h | 46 __le16 ino; member in struct:bfs_dirent 68 #define BFS_INO2OFF(ino) \ 69 ((__u32)(((ino) - BFS_ROOT_INO) * sizeof(struct bfs_inode)) + BFS_BSIZE)
|
/linux-master/include/trace/events/ |
H A D | fs_dax.h | 15 __field(unsigned long, ino) 28 __entry->ino = inode->i_ino; 38 TP_printk("dev %d:%d ino %#lx %s %s address %#lx vm_start " 42 __entry->ino, 69 __field(unsigned long, ino) 78 __entry->ino = inode->i_ino; 84 TP_printk("dev %d:%d ino %#lx %s address %#lx zero_page %p " 88 __entry->ino, 110 __field(unsigned long, ino) 121 __entry->ino [all...] |
H A D | ext4.h | 144 __field( ino_t, ino ) 154 __entry->ino = inode->i_ino; 160 TP_printk("dev %d,%d orig_ino %lu ino %lu mode 0%o uid %u gid %u", 163 (unsigned long) __entry->ino, __entry->mode, 174 __field( ino_t, ino ) 183 __entry->ino = inode->i_ino; 190 TP_printk("dev %d,%d ino %lu mode 0%o uid %u gid %u blocks %llu", 192 (unsigned long) __entry->ino, __entry->mode, 225 __field( ino_t, ino ) 232 __entry->ino [all...] |
/linux-master/fs/bfs/ |
H A D | dir.c | 24 static int bfs_add_entry(struct inode *dir, const struct qstr *child, int ino); 54 if (de->ino) { 57 le16_to_cpu(de->ino), 85 unsigned long ino; local 91 ino = find_first_zero_bit(info->si_imap, info->si_lasti + 1); 92 if (ino > info->si_lasti) { 97 set_bit(ino, info->si_imap); 105 inode->i_ino = ino; 106 BFS_I(inode)->i_dsk_ino = ino; 139 unsigned long ino local 267 bfs_add_entry(struct inode *dir, const struct qstr *child, int ino) argument [all...] |
/linux-master/fs/iomap/ |
H A D | trace.h | 13 * ino: inode number 32 __field(u64, ino) 37 __entry->ino = inode->i_ino; 40 TP_printk("dev %d:%d ino 0x%llx nr_pages %d", 42 __entry->ino, 58 __field(u64, ino) 65 __entry->ino = inode->i_ino; 70 TP_printk("dev %d:%d ino 0x%llx size 0x%llx offset 0x%llx length 0x%llx", 72 __entry->ino, 121 __field(u64, ino) [all...] |
/linux-master/fs/ |
H A D | pidfs.c | 134 static int pidfs_inum(struct pid *pid, unsigned long *ino) argument 143 *ino = ret; 147 static inline void pidfs_free_inum(unsigned long ino) argument 149 if (ino > 0) 150 ida_free(&pidfd_inum_ida, ino); 153 static inline int pidfs_inum(struct pid *pid, unsigned long *ino) argument 155 *ino = pid->ino; 158 #define pidfs_free_inum(ino) ((void)(ino)) [all...] |
/linux-master/fs/xfs/ |
H A D | xfs_export.c | 89 fid->i32.ino = XFS_I(inode)->i_ino; 97 fid64->ino = XFS_I(inode)->i_ino; 108 u64 ino, 116 * NFS can sometimes send requests for ino 0. Fail them gracefully. 118 if (ino == 0) 126 error = xfs_iget(mp, NULL, ino, XFS_IGET_UNTRUSTED, 0, &ip); 184 inode = xfs_nfs_get_inode(sb, fid->i32.ino, fid->i32.gen); 188 inode = xfs_nfs_get_inode(sb, fid64->ino, fid64->gen); 106 xfs_nfs_get_inode( struct super_block *sb, u64 ino, u32 generation) argument
|
/linux-master/fs/nilfs2/ |
H A D | ifile.c | 42 * number is stored in the place pointed by @ino, and buffer_head pointer 87 * @ino: inode number 96 * %-ENOENT - The inode number @ino have not been allocated. 98 int nilfs_ifile_delete_inode(struct inode *ifile, ino_t ino) argument 101 .pr_entry_nr = ino, .pr_entry_bh = NULL 133 int nilfs_ifile_get_inode_block(struct inode *ifile, ino_t ino, argument 139 if (unlikely(!NILFS_VALID_INODE(sb, ino))) { 140 nilfs_error(sb, "bad inode number: %lu", (unsigned long)ino); 144 err = nilfs_palloc_get_entry_block(ifile, ino, 0, out_bh); 146 nilfs_warn(sb, "error %d reading inode: ino [all...] |
/linux-master/fs/xfs/scrub/ |
H A D | iscan.c | 211 * Special-case ino == 0 here so that we never set visited_ino to 247 * Advance ino to the next inode that the inobt thinks is allocated, being 249 * inode btree. Advancing ino effectively means that we've pushed the inode 250 * scan forward, so set the iscan cursor to (ino - 1) so that our live update 384 xfs_ino_t ino = iscan->cursor_ino; local 392 error = xfs_iget(sc->mp, sc->tp, ino, XFS_IGET_NORETRY, 0, 430 ino++; 443 iscan->__batch_ino = ino - 1; 447 for (i = 1; i < nr_inodes; i++, ino++, allocmask >>= 1) { 452 iscan->cursor_ino = ino; 683 xchk_iscan_skipped( const struct xchk_iscan *iscan, xfs_ino_t ino) argument 704 xchk_iscan_want_live_update( struct xchk_iscan *iscan, xfs_ino_t ino) argument [all...] |
H A D | readdir.c | 40 xfs_ino_t ino; local 60 ino = xfs_dir2_sf_get_parent_ino(sfp); 64 error = dirent_fn(sc, dp, dapos, &name, ino, priv); 73 ino = xfs_dir2_sf_get_ino(mp, sfp, sfep); 78 error = dirent_fn(sc, dp, dapos, &name, ino, priv); 112 xfs_ino_t ino; local 127 ino = be64_to_cpu(dep->inumber); 132 error = dirent_fn(sc, dp, dapos, &name, ino, priv); 201 xfs_ino_t ino; local 241 ino 311 xchk_dir_lookup( struct xfs_scrub *sc, struct xfs_inode *dp, const struct xfs_name *name, xfs_ino_t *ino) argument [all...] |
H A D | nlinks.c | 104 xfs_ino_t ino, 115 error = xfarray_load_sparse(xnc->nlinks, ino, &nl); 119 trace_xchk_nlinks_update_incore(xnc->sc->mp, ino, &nl, parents_delta, 127 error = xfarray_store(xnc->nlinks, ino, &nl); 203 xfs_ino_t ino, 223 if (dot && ino != dp->i_ino) { 229 if (!xfs_verify_dir_ino(sc->mp, ino)) { 241 trace_xchk_nlinks_collect_dirent(sc->mp, dp, ino, name); 246 * If this is a dotdot entry, it is a back link from dp to ino. How 253 * Otherwise, increment the number of backrefs pointing back to ino 102 xchk_nlinks_update_incore( struct xchk_nlink_ctrs *xnc, xfs_ino_t ino, int parents_delta, int backrefs_delta, int children_delta) argument 198 xchk_nlinks_collect_dirent( struct xfs_scrub *sc, struct xfs_inode *dp, xfs_dir2_dataptr_t dapos, const struct xfs_name *name, xfs_ino_t ino, void *priv) argument 349 xchk_nlinks_collect_metafile( struct xchk_nlink_ctrs *xnc, xfs_ino_t ino) argument 492 xchk_nlinks_comparison_read( struct xchk_nlink_ctrs *xnc, xfs_ino_t ino, struct xchk_nlink *obs) argument 653 xchk_nlinks_compare_inum( struct xchk_nlink_ctrs *xnc, xfs_ino_t ino) argument 795 xfs_ino_t ino = cur - 1; local [all...] |
/linux-master/fs/ceph/ |
H A D | export.c | 16 u64 ino; member in struct:ceph_nfs_fh 20 * Larger fh that includes parent ino. 23 u64 ino, parent_ino; member in struct:ceph_nfs_confh 30 u64 ino; member in struct:ceph_nfs_snapfh 74 sfh->parent_ino = sfh->ino; 77 sfh->ino = ceph_ino(inode); 112 cfh->ino = ceph_ino(inode); 119 fh->ino = ceph_ino(inode); 126 static struct inode *__lookup_inode(struct super_block *sb, u64 ino) argument 133 vino.ino 172 ceph_lookup_inode(struct super_block *sb, u64 ino) argument 184 __fh_to_dentry(struct super_block *sb, u64 ino) argument 318 __get_parent(struct super_block *sb, struct dentry *child, u64 ino) argument [all...] |
/linux-master/fs/sysv/ |
H A D | inode.c | 170 struct inode *sysv_iget(struct super_block *sb, unsigned int ino) argument 179 if (!ino || ino > sbi->s_ninodes) { 181 sb->s_id, ino); 185 inode = iget_locked(sb, ino); 191 raw_inode = sysv_raw_inode(sb, ino, &bh); 197 /* SystemV FS: kludge permissions if ino==SYSV_ROOT_INO ?? */ 234 unsigned int ino, block; local 237 ino = inode->i_ino; 238 if (!ino || in [all...] |
/linux-master/fs/ubifs/ |
H A D | journal.c | 53 * @ino: the inode to zero out 55 static inline void zero_ino_node_unused(struct ubifs_ino_node *ino) argument 57 memset(ino->padding1, 0, 4); 58 memset(ino->padding2, 0, 26); 569 * @ino: buffer in which to pack inode node 573 static void pack_inode(struct ubifs_info *c, struct ubifs_ino_node *ino, argument 579 ino->ch.node_type = UBIFS_INO_NODE; 580 ino_key_init_flash(c, &ino->key, inode->i_ino); 581 ino->creat_sqnum = cpu_to_le64(ui->creat_sqnum); 582 ino 675 struct ubifs_ino_node *ino; local 971 struct ubifs_ino_node *ino, *ino_start; local 1682 struct ubifs_ino_node *ino; local 1851 struct ubifs_ino_node *ino; local 1972 struct ubifs_ino_node *ino; local [all...] |
/linux-master/kernel/ |
H A D | audit_watch.c | 40 unsigned long ino; /* associated inode number */ member in struct:audit_watch 128 int audit_watch_compare(struct audit_watch *watch, unsigned long ino, dev_t dev) argument 130 return (watch->ino != AUDIT_INO_UNSET) && 131 (watch->ino == ino) && 172 watch->ino = AUDIT_INO_UNSET; 219 new->ino = old->ino; 247 unsigned long ino, unsigned invalidating) 266 /* updating ino wil 245 audit_update_watch(struct audit_parent *parent, const struct qstr *dname, dev_t dev, unsigned long ino, unsigned invalidating) argument 527 unsigned long ino; local [all...] |
/linux-master/fs/ext4/ |
H A D | ialloc.c | 239 unsigned long ino; local 268 ino = inode->i_ino; 269 ext4_debug("freeing inode %lu\n", ino); 281 if (ino < EXT4_FIRST_INO(sb) || ino > le32_to_cpu(es->s_inodes_count)) { 282 ext4_error(sb, "reserved or nonexistent inode %lu", ino); 285 block_group = (ino - 1) / EXT4_INODES_PER_GROUP(sb); 286 bit = (ino - 1) % EXT4_INODES_PER_GROUP(sb); 355 ext4_error(sb, "bit already cleared for inode %lu", ino); 674 static int recently_deleted(struct super_block *sb, ext4_group_t group, int ino) argument 717 find_inode_bit(struct super_block *sb, ext4_group_t group, struct buffer_head *bitmap, unsigned long *ino) argument 751 ext4_mark_inode_used(struct super_block *sb, int ino) argument 934 unsigned long ino = 0; local 1369 ext4_orphan_get(struct super_block *sb, unsigned long ino) argument [all...] |