/Linux-v4.19/fs/xfs/scrub/ |
D | inode.c | 82 xfs_ino_t ino, in xchk_inode_extsize() argument 91 xchk_ino_set_corrupt(sc, ino); in xchk_inode_extsize() 104 xfs_ino_t ino, in xchk_inode_cowextsize() argument 115 xchk_ino_set_corrupt(sc, ino); in xchk_inode_cowextsize() 123 xfs_ino_t ino, in xchk_inode_flags() argument 139 if ((flags & XFS_DIFLAG_NEWRTBM) && ino != mp->m_sb.sb_rbmino) in xchk_inode_flags() 161 xchk_ino_set_corrupt(sc, ino); in xchk_inode_flags() 169 xfs_ino_t ino, in xchk_inode_flags2() argument 178 xchk_ino_set_warning(sc, ino); in xchk_inode_flags2() 205 xchk_ino_set_corrupt(sc, ino); in xchk_inode_flags2() [all …]
|
/Linux-v4.19/arch/sparc/kernel/ |
D | prom_irqtrans.c | 19 static unsigned long psycho_pcislot_imap_offset(unsigned long ino) in psycho_pcislot_imap_offset() argument 21 unsigned int bus = (ino & 0x10) >> 4; in psycho_pcislot_imap_offset() 22 unsigned int slot = (ino & 0x0c) >> 2; in psycho_pcislot_imap_offset() 39 #define psycho_iclr_offset(ino) \ argument 40 ((ino & 0x20) ? (PSYCHO_ICLR_SCSI + (((ino) & 0x1f) << 3)) : \ 41 (PSYCHO_ICLR_A_SLOT0 + (((ino) & 0x1f)<<3))) 44 unsigned int ino, in psycho_irq_build() argument 52 ino &= 0x3f; in psycho_irq_build() 53 if (ino < PSYCHO_ONBOARD_IRQ_BASE) { in psycho_irq_build() 55 imap_off = psycho_pcislot_imap_offset(ino); in psycho_irq_build() [all …]
|
/Linux-v4.19/fs/sysv/ |
D | ialloc.c | 57 sysv_raw_inode(struct super_block *sb, unsigned ino, struct buffer_head **bh) in sysv_raw_inode() argument 63 block += (ino-1) >> sbi->s_inodes_per_block_bits; in sysv_raw_inode() 68 return res + ((ino-1) & sbi->s_inodes_per_block_1); in sysv_raw_inode() 76 int i = 0, ino; in refill_free_cache() local 78 ino = SYSV_ROOT_INO+1; in refill_free_cache() 79 raw_inode = sysv_raw_inode(sb, ino, &bh); in refill_free_cache() 82 while (ino <= sbi->s_ninodes) { in refill_free_cache() 84 *sv_sb_fic_inode(sb,i++) = cpu_to_fs16(SYSV_SB(sb), ino); in refill_free_cache() 88 if ((ino++ & sbi->s_inodes_per_block_1) == 0) { in refill_free_cache() 90 raw_inode = sysv_raw_inode(sb, ino, &bh); in refill_free_cache() [all …]
|
/Linux-v4.19/fs/affs/ |
D | dir.c | 56 u32 ino; in affs_readdir() local 83 ino = (u32)(long)file->private_data; in affs_readdir() 84 if (ino && inode_eq_iversion(inode, file->f_version)) { in affs_readdir() 85 pr_debug("readdir() left off=%d\n", ino); in affs_readdir() 89 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); in affs_readdir() 90 for (i = 0; ino && i < chain_pos; i++) { in affs_readdir() 91 fh_bh = affs_bread(sb, ino); in affs_readdir() 97 ino = be32_to_cpu(AFFS_TAIL(sb, fh_bh)->hash_chain); in affs_readdir() 101 if (ino) in affs_readdir() 106 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); in affs_readdir() [all …]
|
/Linux-v4.19/fs/autofs/ |
D | expire.c | 17 struct autofs_info *ino = autofs_dentry_ino(dentry); in autofs_can_expire() local 20 if (ino == NULL) in autofs_can_expire() 25 if (!timeout || time_after(ino->last_used + timeout, jiffies)) in autofs_can_expire() 62 struct autofs_info *ino; in autofs_mount_busy() local 64 ino = autofs_dentry_ino(top); in autofs_mount_busy() 65 ino->last_used = jiffies; in autofs_mount_busy() 205 struct autofs_info *ino; in autofs_direct_busy() local 207 ino = autofs_dentry_ino(top); in autofs_direct_busy() 208 if (ino) in autofs_direct_busy() 209 ino->last_used = jiffies; in autofs_direct_busy() [all …]
|
D | root.c | 69 struct autofs_info *ino; in autofs_add_active() local 71 ino = autofs_dentry_ino(dentry); in autofs_add_active() 72 if (ino) { in autofs_add_active() 74 if (!ino->active_count) { in autofs_add_active() 75 if (list_empty(&ino->active)) in autofs_add_active() 76 list_add(&ino->active, &sbi->active_list); in autofs_add_active() 78 ino->active_count++; in autofs_add_active() 86 struct autofs_info *ino; in autofs_del_active() local 88 ino = autofs_dentry_ino(dentry); in autofs_del_active() 89 if (ino) { in autofs_del_active() [all …]
|
D | inode.c | 18 struct autofs_info *ino; in autofs_new_ino() local 20 ino = kzalloc(sizeof(*ino), GFP_KERNEL); in autofs_new_ino() 21 if (ino) { in autofs_new_ino() 22 INIT_LIST_HEAD(&ino->active); in autofs_new_ino() 23 INIT_LIST_HEAD(&ino->expiring); in autofs_new_ino() 24 ino->last_used = jiffies; in autofs_new_ino() 25 ino->sbi = sbi; in autofs_new_ino() 27 return ino; in autofs_new_ino() 30 void autofs_clean_ino(struct autofs_info *ino) in autofs_clean_ino() argument 32 ino->uid = GLOBAL_ROOT_UID; in autofs_clean_ino() [all …]
|
D | autofs_i.h | 92 u64 ino; member 236 struct autofs_info *ino = autofs_dentry_ino(dentry); in __autofs_add_expiring() local 238 if (ino) { in __autofs_add_expiring() 239 if (list_empty(&ino->expiring)) in __autofs_add_expiring() 240 list_add(&ino->expiring, &sbi->expiring_list); in __autofs_add_expiring() 247 struct autofs_info *ino = autofs_dentry_ino(dentry); in autofs_add_expiring() local 249 if (ino) { in autofs_add_expiring() 251 if (list_empty(&ino->expiring)) in autofs_add_expiring() 252 list_add(&ino->expiring, &sbi->expiring_list); in autofs_add_expiring() 260 struct autofs_info *ino = autofs_dentry_ino(dentry); in autofs_del_expiring() local [all …]
|
/Linux-v4.19/include/trace/events/ |
D | ext4.h | 85 __field( ino_t, ino ) 95 __entry->ino = inode->i_ino; 104 (unsigned long) __entry->ino, __entry->mode, 115 __field( ino_t, ino ) 124 __entry->ino = inode->i_ino; 133 (unsigned long) __entry->ino, __entry->mode, 166 __field( ino_t, ino ) 173 __entry->ino = inode->i_ino; 180 (unsigned long) __entry->ino, 191 __field( ino_t, ino ) [all …]
|
D | fs_dax.h | 15 __field(unsigned long, ino) 28 __entry->ino = inode->i_ino; 42 __entry->ino, 69 __field(unsigned long, ino) 78 __entry->ino = inode->i_ino; 88 __entry->ino, 110 __field(unsigned long, ino) 121 __entry->ino = inode->i_ino; 133 __entry->ino, 157 __field(unsigned long, ino) [all …]
|
D | nilfs2.h | 168 unsigned long ino, 171 TP_ARGS(inode, ino, block), 175 __field(unsigned long, ino) 181 __entry->ino = ino; 187 __entry->ino, 193 unsigned long ino, 197 TP_ARGS(inode, ino, blkoff, mode), 201 __field(unsigned long, ino) 208 __entry->ino = ino; 215 __entry->ino,
|
/Linux-v4.19/fs/minix/ |
D | bitmap.c | 107 minix_V1_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) in minix_V1_raw_inode() argument 113 if (!ino || ino > sbi->s_ninodes) { in minix_V1_raw_inode() 115 sb->s_id, (long)ino); in minix_V1_raw_inode() 118 ino--; in minix_V1_raw_inode() 120 ino / MINIX_INODES_PER_BLOCK; in minix_V1_raw_inode() 127 return p + ino % MINIX_INODES_PER_BLOCK; in minix_V1_raw_inode() 131 minix_V2_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) in minix_V2_raw_inode() argument 139 if (!ino || ino > sbi->s_ninodes) { in minix_V2_raw_inode() 141 sb->s_id, (long)ino); in minix_V2_raw_inode() 144 ino--; in minix_V2_raw_inode() [all …]
|
/Linux-v4.19/fs/hostfs/ |
D | hostfs_kern.c | 124 static char *inode_name(struct inode *ino) in inode_name() argument 129 dentry = d_find_alias(ino); in inode_name() 283 unsigned long long next, ino; in hostfs_readdir() local 296 while ((name = read_dir(dir, &next, &ino, &len, &type)) != NULL) { in hostfs_readdir() 297 if (!dir_emit(ctx, name, len, ino, type)) in hostfs_readdir() 305 static int hostfs_open(struct inode *ino, struct file *file) in hostfs_open() argument 313 if ((mode & HOSTFS_I(ino)->mode) == mode) in hostfs_open() 316 mode |= HOSTFS_I(ino)->mode; in hostfs_open() 335 mutex_lock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 337 if ((mode & HOSTFS_I(ino)->mode) == mode) { in hostfs_open() [all …]
|
/Linux-v4.19/fs/ocfs2/ |
D | ocfs2_trace.h | 529 TP_PROTO(unsigned long long ino, unsigned int new_cpos, 531 TP_ARGS(ino, new_cpos, clusters, depth), 533 __field(unsigned long long, ino) 539 __entry->ino = ino; 545 __entry->ino, __entry->new_cpos, 1042 TP_PROTO(unsigned long long ino, unsigned int cpos, 1045 TP_ARGS(ino, cpos, len, p_cluster, ext_flags), 1047 __field(unsigned long long, ino) 1054 __entry->ino = ino; 1061 __entry->ino, __entry->cpos, __entry->len, [all …]
|
/Linux-v4.19/fs/squashfs/ |
D | export.c | 58 __le64 ino; in squashfs_inode_lookup() local 63 err = squashfs_read_metadata(sb, &ino, &start, &offset, sizeof(ino)); in squashfs_inode_lookup() 68 (u64) le64_to_cpu(ino)); in squashfs_inode_lookup() 70 return le64_to_cpu(ino); in squashfs_inode_lookup() 77 long long ino; in squashfs_export_iget() local 82 ino = squashfs_inode_lookup(sb, ino_num); in squashfs_export_iget() 83 if (ino >= 0) in squashfs_export_iget() 84 dentry = d_obtain_alias(squashfs_iget(sb, ino, ino_num)); in squashfs_export_iget() 97 return squashfs_export_iget(sb, fid->i32.ino); in squashfs_fh_to_dentry()
|
/Linux-v4.19/fs/xfs/libxfs/ |
D | xfs_types.c | 126 xfs_ino_t ino) in xfs_verify_ino() argument 128 xfs_agnumber_t agno = XFS_INO_TO_AGNO(mp, ino); in xfs_verify_ino() 129 xfs_agino_t agino = XFS_INO_TO_AGINO(mp, ino); in xfs_verify_ino() 133 if (XFS_AGINO_TO_INO(mp, agno, agino) != ino) in xfs_verify_ino() 142 xfs_ino_t ino) in xfs_internal_inum() argument 144 return ino == mp->m_sb.sb_rbmino || ino == mp->m_sb.sb_rsumino || in xfs_internal_inum() 146 xfs_is_quota_inode(&mp->m_sb, ino)); in xfs_internal_inum() 156 xfs_ino_t ino) in xfs_verify_dir_ino() argument 158 if (xfs_internal_inum(mp, ino)) in xfs_verify_dir_ino() 160 return xfs_verify_ino(mp, ino); in xfs_verify_dir_ino()
|
/Linux-v4.19/fs/jffs2/ |
D | build.c | 58 dbg_fsbuild("building directory inode #%u\n", ic->ino); in jffs2_build_inode_pass1() 63 if (!fd->ino) in jffs2_build_inode_pass1() 68 child_ic = jffs2_get_ino_cache(c, fd->ino); in jffs2_build_inode_pass1() 71 fd->name, fd->ino, ic->ino); in jffs2_build_inode_pass1() 89 dbg_fsbuild("increased nlink for child \"%s\" (ino #%u)\n", fd->name, fd->ino); in jffs2_build_inode_pass1() 153 ic = jffs2_get_ino_cache(c, fd->ino); in jffs2_build_filesystem() 202 fd->name, fd->ino, ic->ino, fd->ic->pino_nlink); in jffs2_build_filesystem() 207 fd->ic->pino_nlink = ic->ino; in jffs2_build_filesystem() 246 dbg_fsbuild("removing ino #%u with nlink == zero.\n", ic->ino); in jffs2_build_remove_unlinked_inode() 258 dbg_fsbuild("inode #%u was a directory which may have children...\n", ic->ino); in jffs2_build_remove_unlinked_inode() [all …]
|
/Linux-v4.19/fs/bfs/ |
D | dir.c | 24 static int bfs_add_entry(struct inode *dir, const struct qstr *child, int ino); 54 if (de->ino) { in bfs_readdir() 57 le16_to_cpu(de->ino), in bfs_readdir() 85 unsigned long ino; in bfs_create() local 91 ino = find_first_zero_bit(info->si_imap, info->si_lasti + 1); in bfs_create() 92 if (ino > info->si_lasti) { in bfs_create() 97 set_bit(ino, info->si_imap); in bfs_create() 105 inode->i_ino = ino; in bfs_create() 106 BFS_I(inode)->i_dsk_ino = ino; in bfs_create() 139 unsigned long ino = (unsigned long)le16_to_cpu(de->ino); in bfs_lookup() local [all …]
|
D | inode.c | 34 struct inode *bfs_iget(struct super_block *sb, unsigned long ino) in bfs_iget() argument 41 inode = iget_locked(sb, ino); in bfs_iget() 47 if ((ino < BFS_ROOT_INO) || (ino > BFS_SB(inode->i_sb)->si_lasti)) { in bfs_iget() 48 printf("Bad inode number %s:%08lx\n", inode->i_sb->s_id, ino); in bfs_iget() 52 block = (ino - BFS_ROOT_INO) / BFS_INODES_PER_BLOCK + 1; in bfs_iget() 56 ino); in bfs_iget() 60 off = (ino - BFS_ROOT_INO) % BFS_INODES_PER_BLOCK; in bfs_iget() 99 static struct bfs_inode *find_inode(struct super_block *sb, u16 ino, struct buffer_head **p) in find_inode() argument 101 if ((ino < BFS_ROOT_INO) || (ino > BFS_SB(sb)->si_lasti)) { in find_inode() 102 printf("Bad inode number %s:%08x\n", sb->s_id, ino); in find_inode() [all …]
|
/Linux-v4.19/fs/freevxfs/ |
D | vxfs_inode.c | 51 vxfs_dumpi(struct vxfs_inode_info *vip, ino_t ino) in vxfs_dumpi() argument 54 if (ino) in vxfs_dumpi() 55 printk(KERN_DEBUG "dumping vxfs inode %ld\n", ino); in vxfs_dumpi() 164 vxfs_blkiget(struct super_block *sbp, u_long extent, ino_t ino) in vxfs_blkiget() argument 175 block = extent + ((ino * VXFS_ISIZE) / sbp->s_blocksize); in vxfs_blkiget() 176 offset = ((ino % (sbp->s_blocksize / VXFS_ISIZE)) * VXFS_ISIZE); in vxfs_blkiget() 187 vxfs_dumpi(vip, ino); in vxfs_blkiget() 211 __vxfs_iget(struct inode *ilistp, struct vxfs_inode_info *vip, ino_t ino) in __vxfs_iget() argument 216 offset = (ino % (PAGE_SIZE / VXFS_ISIZE)) * VXFS_ISIZE; in __vxfs_iget() 217 pp = vxfs_get_page(ilistp->i_mapping, ino * VXFS_ISIZE / PAGE_SIZE); in __vxfs_iget() [all …]
|
/Linux-v4.19/fs/ceph/ |
D | snap.c | 91 if (new->ino < r->ino) in __insert_snap_realm() 93 else if (new->ino > r->ino) in __insert_snap_realm() 110 u64 ino) in ceph_create_snap_realm() argument 119 realm->ino = ino; in ceph_create_snap_realm() 127 dout("create_snap_realm %llx %p\n", realm->ino, realm); in ceph_create_snap_realm() 137 u64 ino) in __lookup_snap_realm() argument 144 if (ino < r->ino) in __lookup_snap_realm() 146 else if (ino > r->ino) in __lookup_snap_realm() 149 dout("lookup_snap_realm %llx %p\n", r->ino, r); in __lookup_snap_realm() 157 u64 ino) in ceph_lookup_snap_realm() argument [all …]
|
D | export.c | 15 u64 ino; member 22 u64 ino, parent_ino; member 49 cfh->ino = ceph_ino(inode); in ceph_encode_fh() 55 fh->ino = ceph_ino(inode); in ceph_encode_fh() 62 static struct dentry *__fh_to_dentry(struct super_block *sb, u64 ino) in __fh_to_dentry() argument 69 vino.ino = ino; in __fh_to_dentry() 119 dout("fh_to_dentry %llx\n", fh->ino); in ceph_fh_to_dentry() 120 return __fh_to_dentry(sb, fh->ino); in ceph_fh_to_dentry() 124 struct dentry *child, u64 ino) in __get_parent() argument 142 .ino = ino, in __get_parent() [all …]
|
/Linux-v4.19/fs/ubifs/ |
D | journal.c | 67 static inline void zero_ino_node_unused(struct ubifs_ino_node *ino) in zero_ino_node_unused() argument 69 memset(ino->padding1, 0, 4); in zero_ino_node_unused() 70 memset(ino->padding2, 0, 26); in zero_ino_node_unused() 447 static void pack_inode(struct ubifs_info *c, struct ubifs_ino_node *ino, in pack_inode() argument 453 ino->ch.node_type = UBIFS_INO_NODE; in pack_inode() 454 ino_key_init_flash(c, &ino->key, inode->i_ino); in pack_inode() 455 ino->creat_sqnum = cpu_to_le64(ui->creat_sqnum); in pack_inode() 456 ino->atime_sec = cpu_to_le64(inode->i_atime.tv_sec); in pack_inode() 457 ino->atime_nsec = cpu_to_le32(inode->i_atime.tv_nsec); in pack_inode() 458 ino->ctime_sec = cpu_to_le64(inode->i_ctime.tv_sec); in pack_inode() [all …]
|
/Linux-v4.19/fs/nfs/ |
D | pnfs.c | 259 pnfs_alloc_layout_hdr(struct inode *ino, gfp_t gfp_flags) in pnfs_alloc_layout_hdr() argument 261 struct pnfs_layoutdriver_type *ld = NFS_SERVER(ino)->pnfs_curr_ld; in pnfs_alloc_layout_hdr() 262 return ld->alloc_layout_hdr(ino, gfp_flags); in pnfs_alloc_layout_hdr() 987 pnfs_alloc_init_layoutget_args(struct inode *ino, in pnfs_alloc_init_layoutget_args() argument 993 struct nfs_server *server = pnfs_find_server(ino, ctx); in pnfs_alloc_init_layoutget_args() 1017 if (ino) { in pnfs_alloc_init_layoutget_args() 1018 loff_t i_size = i_size_read(ino); in pnfs_alloc_init_layoutget_args() 1030 lgp->args.inode = ino; in pnfs_alloc_init_layoutget_args() 1143 struct inode *ino = lo->plh_inode; in pnfs_send_layoutreturn() local 1144 struct pnfs_layoutdriver_type *ld = NFS_SERVER(ino)->pnfs_curr_ld; in pnfs_send_layoutreturn() [all …]
|
/Linux-v4.19/fs/jfs/ |
D | namei.c | 81 ino_t ino; in jfs_create() local 126 if ((rc = dtSearch(dip, &dname, &ino, &btstack, JFS_CREATE))) { in jfs_create() 134 tblk->ino = ip->i_ino; in jfs_create() 149 ino = ip->i_ino; in jfs_create() 150 if ((rc = dtInsert(tid, dip, &dname, &ino, &btstack))) { in jfs_create() 213 ino_t ino; in jfs_mkdir() local 258 if ((rc = dtSearch(dip, &dname, &ino, &btstack, JFS_CREATE))) { in jfs_mkdir() 266 tblk->ino = ip->i_ino; in jfs_mkdir() 281 ino = ip->i_ino; in jfs_mkdir() 282 if ((rc = dtInsert(tid, dip, &dname, &ino, &btstack))) { in jfs_mkdir() [all …]
|