/linux-4.1.27/arch/sparc/kernel/ |
D | prom_irqtrans.c | 18 static unsigned long psycho_pcislot_imap_offset(unsigned long ino) in psycho_pcislot_imap_offset() argument 20 unsigned int bus = (ino & 0x10) >> 4; in psycho_pcislot_imap_offset() 21 unsigned int slot = (ino & 0x0c) >> 2; in psycho_pcislot_imap_offset() 38 #define psycho_iclr_offset(ino) \ argument 39 ((ino & 0x20) ? (PSYCHO_ICLR_SCSI + (((ino) & 0x1f) << 3)) : \ 40 (PSYCHO_ICLR_A_SLOT0 + (((ino) & 0x1f)<<3))) 43 unsigned int ino, in psycho_irq_build() argument 51 ino &= 0x3f; in psycho_irq_build() 52 if (ino < PSYCHO_ONBOARD_IRQ_BASE) { in psycho_irq_build() 54 imap_off = psycho_pcislot_imap_offset(ino); in psycho_irq_build() [all …]
|
D | irq_64.c | 450 unsigned int ino = irq_data_to_sysino(data); in sun4v_irq_enable() local 453 err = sun4v_intr_settarget(ino, cpuid); in sun4v_irq_enable() 456 "err(%d)\n", ino, cpuid, err); in sun4v_irq_enable() 457 err = sun4v_intr_setstate(ino, HV_INTR_STATE_IDLE); in sun4v_irq_enable() 460 "err(%d)\n", ino, err); in sun4v_irq_enable() 461 err = sun4v_intr_setenabled(ino, HV_INTR_ENABLED); in sun4v_irq_enable() 464 ino, err); in sun4v_irq_enable() 471 unsigned int ino = irq_data_to_sysino(data); in sun4v_set_affinity() local 474 err = sun4v_intr_settarget(ino, cpuid); in sun4v_set_affinity() 477 "err(%d)\n", ino, cpuid, err); in sun4v_set_affinity() [all …]
|
D | sbus.c | 208 static unsigned int sbus_build_irq(struct platform_device *op, unsigned int ino) in sbus_build_irq() argument 215 imap = sysio_irq_offsets[ino]; in sbus_build_irq() 218 ino); in sbus_build_irq() 227 if (ino >= 0x20) { in sbus_build_irq() 230 int sbus_slot = (ino & 0x18)>>3; in sbus_build_irq() 232 sbus_level = ino & 0x7; in sbus_build_irq()
|
/linux-4.1.27/fs/sysv/ |
D | ialloc.c | 56 sysv_raw_inode(struct super_block *sb, unsigned ino, struct buffer_head **bh) in sysv_raw_inode() argument 62 block += (ino-1) >> sbi->s_inodes_per_block_bits; in sysv_raw_inode() 67 return res + ((ino-1) & sbi->s_inodes_per_block_1); in sysv_raw_inode() 75 int i = 0, ino; in refill_free_cache() local 77 ino = SYSV_ROOT_INO+1; in refill_free_cache() 78 raw_inode = sysv_raw_inode(sb, ino, &bh); in refill_free_cache() 81 while (ino <= sbi->s_ninodes) { in refill_free_cache() 83 *sv_sb_fic_inode(sb,i++) = cpu_to_fs16(SYSV_SB(sb), ino); in refill_free_cache() 87 if ((ino++ & sbi->s_inodes_per_block_1) == 0) { in refill_free_cache() 89 raw_inode = sysv_raw_inode(sb, ino, &bh); in refill_free_cache() [all …]
|
D | inode.c | 177 struct inode *sysv_iget(struct super_block *sb, unsigned int ino) in sysv_iget() argument 186 if (!ino || ino > sbi->s_ninodes) { in sysv_iget() 188 sb->s_id, ino); in sysv_iget() 192 inode = iget_locked(sb, ino); in sysv_iget() 198 raw_inode = sysv_raw_inode(sb, ino, &bh); in sysv_iget() 244 unsigned int ino, block; in __sysv_write_inode() local 247 ino = inode->i_ino; in __sysv_write_inode() 248 if (!ino || ino > sbi->s_ninodes) { in __sysv_write_inode() 250 inode->i_sb->s_id, ino); in __sysv_write_inode() 253 raw_inode = sysv_raw_inode(sb, ino, &bh); in __sysv_write_inode() [all …]
|
D | namei.c | 48 ino_t ino; in sysv_lookup() local 52 ino = sysv_inode_by_name(dentry); in sysv_lookup() 54 if (ino) { in sysv_lookup() 55 inode = sysv_iget(dir->i_sb, ino); in sysv_lookup()
|
/linux-4.1.27/fs/affs/ |
D | dir.c | 54 u32 ino; in affs_readdir() local 81 ino = (u32)(long)file->private_data; in affs_readdir() 82 if (ino && file->f_version == inode->i_version) { in affs_readdir() 83 pr_debug("readdir() left off=%d\n", ino); in affs_readdir() 87 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); in affs_readdir() 88 for (i = 0; ino && i < chain_pos; i++) { in affs_readdir() 89 fh_bh = affs_bread(sb, ino); in affs_readdir() 95 ino = be32_to_cpu(AFFS_TAIL(sb, fh_bh)->hash_chain); in affs_readdir() 99 if (ino) in affs_readdir() 104 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); in affs_readdir() [all …]
|
D | amigaffs.c | 27 u32 ino, hash_ino; in affs_insert_hash() local 30 ino = bh->b_blocknr; in affs_insert_hash() 33 pr_debug("%s(dir=%lu, ino=%d)\n", __func__, dir->i_ino, ino); in affs_insert_hash() 52 AFFS_HEAD(dir_bh)->table[offset] = cpu_to_be32(ino); in affs_insert_hash() 54 AFFS_TAIL(sb, dir_bh)->hash_chain = cpu_to_be32(ino); in affs_insert_hash() 56 affs_adjust_checksum(dir_bh, ino); in affs_insert_hash() 77 __be32 ino; in affs_remove_hash() local 94 ino = AFFS_TAIL(sb, rem_bh)->hash_chain; in affs_remove_hash() 96 AFFS_HEAD(bh)->table[offset] = ino; in affs_remove_hash() 98 AFFS_TAIL(sb, bh)->hash_chain = ino; in affs_remove_hash() [all …]
|
D | namei.c | 231 u32 ino = bh->b_blocknr; in affs_lookup() local 234 dentry->d_fsdata = (void *)(long)ino; in affs_lookup() 239 ino = be32_to_cpu(AFFS_TAIL(sb, bh)->original); in affs_lookup() 242 inode = affs_iget(sb, ino); in affs_lookup()
|
/linux-4.1.27/fs/autofs4/ |
D | expire.c | 23 struct autofs_info *ino = autofs4_dentry_ino(dentry); in autofs4_can_expire() local 26 if (ino == NULL) in autofs4_can_expire() 31 if (!timeout || time_after(ino->last_used + timeout, now)) in autofs4_can_expire() 61 struct autofs_info *ino = autofs4_dentry_ino(top); in autofs4_mount_busy() local 62 ino->last_used = jiffies; in autofs4_mount_busy() 198 struct autofs_info *ino = autofs4_dentry_ino(top); in autofs4_direct_busy() local 199 if (ino) in autofs4_direct_busy() 200 ino->last_used = jiffies; in autofs4_direct_busy() 245 struct autofs_info *ino = autofs4_dentry_ino(p); in autofs4_tree_busy() local 246 unsigned int ino_count = atomic_read(&ino->count); in autofs4_tree_busy() [all …]
|
D | root.c | 77 struct autofs_info *ino = autofs4_dentry_ino(dentry); in autofs4_add_active() local 78 if (ino) { in autofs4_add_active() 80 if (!ino->active_count) { in autofs4_add_active() 81 if (list_empty(&ino->active)) in autofs4_add_active() 82 list_add(&ino->active, &sbi->active_list); in autofs4_add_active() 84 ino->active_count++; in autofs4_add_active() 93 struct autofs_info *ino = autofs4_dentry_ino(dentry); in autofs4_del_active() local 94 if (ino) { in autofs4_del_active() 96 ino->active_count--; in autofs4_del_active() 97 if (!ino->active_count) { in autofs4_del_active() [all …]
|
D | inode.c | 27 struct autofs_info *ino = kzalloc(sizeof(*ino), GFP_KERNEL); in autofs4_new_ino() local 28 if (ino) { in autofs4_new_ino() 29 INIT_LIST_HEAD(&ino->active); in autofs4_new_ino() 30 INIT_LIST_HEAD(&ino->expiring); in autofs4_new_ino() 31 ino->last_used = jiffies; in autofs4_new_ino() 32 ino->sbi = sbi; in autofs4_new_ino() 34 return ino; in autofs4_new_ino() 37 void autofs4_clean_ino(struct autofs_info *ino) in autofs4_clean_ino() argument 39 ino->uid = GLOBAL_ROOT_UID; in autofs4_clean_ino() 40 ino->gid = GLOBAL_ROOT_GID; in autofs4_clean_ino() [all …]
|
D | autofs_i.h | 95 u64 ino; member 249 struct autofs_info *ino = autofs4_dentry_ino(dentry); in __autofs4_add_expiring() local 250 if (ino) { in __autofs4_add_expiring() 251 if (list_empty(&ino->expiring)) in __autofs4_add_expiring() 252 list_add(&ino->expiring, &sbi->expiring_list); in __autofs4_add_expiring() 260 struct autofs_info *ino = autofs4_dentry_ino(dentry); in autofs4_add_expiring() local 261 if (ino) { in autofs4_add_expiring() 263 if (list_empty(&ino->expiring)) in autofs4_add_expiring() 264 list_add(&ino->expiring, &sbi->expiring_list); in autofs4_add_expiring() 273 struct autofs_info *ino = autofs4_dentry_ino(dentry); in autofs4_del_expiring() local [all …]
|
D | waitq.c | 158 packet->ino = wq->ino; in autofs4_notify_daemon() 254 struct autofs_info *ino; in validate_request() local 269 ino = autofs4_dentry_ino(dentry); in validate_request() 270 if (!ino) in validate_request() 285 while (ino->flags & AUTOFS_INF_EXPIRING) { in validate_request() 429 wq->ino = autofs4_get_ino(sbi); in autofs4_wait() 505 struct autofs_info *ino; in autofs4_wait() local 509 ino = autofs4_dentry_ino(dentry); in autofs4_wait() 510 if (!ino) { in autofs4_wait() 514 ino = autofs4_dentry_ino(de); in autofs4_wait() [all …]
|
D | symlink.c | 18 struct autofs_info *ino = autofs4_dentry_ino(dentry); in autofs4_follow_link() local 19 if (ino && !autofs4_oz_mode(sbi)) in autofs4_follow_link() 20 ino->last_used = jiffies; in autofs4_follow_link()
|
D | dev-ioctl.c | 227 struct autofs_info *ino = autofs4_dentry_ino(path->dentry); in test_by_type() local 228 return ino && ino->sbi->type & *(unsigned *)p; in test_by_type() 436 struct autofs_info *ino; in autofs_dev_ioctl_requester() local 454 ino = autofs4_dentry_ino(path.dentry); in autofs_dev_ioctl_requester() 455 if (ino) { in autofs_dev_ioctl_requester() 459 param->requester.uid = from_kuid_munged(current_user_ns(), ino->uid); in autofs_dev_ioctl_requester() 460 param->requester.gid = from_kgid_munged(current_user_ns(), ino->gid); in autofs_dev_ioctl_requester()
|
/linux-4.1.27/include/trace/events/ |
D | ext3.h | 16 __field( ino_t, ino ) 25 __entry->ino = inode->i_ino; 34 (unsigned long) __entry->ino, 68 __field( ino_t, ino ) 75 __entry->ino = inode->i_ino; 82 (unsigned long) __entry->ino, 93 __field( ino_t, ino ) 99 __entry->ino = inode->i_ino; 105 (unsigned long) __entry->ino, __entry->nlink) 115 __field( ino_t, ino ) [all …]
|
D | ext4.h | 83 __field( ino_t, ino ) 93 __entry->ino = inode->i_ino; 102 (unsigned long) __entry->ino, __entry->mode, 113 __field( ino_t, ino ) 122 __entry->ino = inode->i_ino; 131 (unsigned long) __entry->ino, __entry->mode, 164 __field( ino_t, ino ) 171 __entry->ino = inode->i_ino; 178 (unsigned long) __entry->ino, 189 __field( ino_t, ino ) [all …]
|
D | f2fs.h | 10 #define show_dev_ino(entry) show_dev(entry), (unsigned long)entry->ino 124 __field(ino_t, ino) 135 __entry->ino = inode->i_ino; 163 __field(ino_t, ino) 169 __entry->ino = inode->i_ino; 193 __field(ino_t, ino) 201 __entry->ino = inode->i_ino; 275 __field(ino_t, ino) 283 __entry->ino = dir->i_ino; 319 __field(ino_t, ino) [all …]
|
D | writeback.h | 63 __field(unsigned long, ino) 70 __entry->ino = mapping ? mapping->host->i_ino : 0; 76 __entry->ino, 89 __field(unsigned long, ino) 100 __entry->ino = inode->i_ino; 107 __entry->ino, 142 __field(unsigned long, ino) 149 __entry->ino = inode->i_ino; 155 __entry->ino, 513 __field(unsigned long, ino) [all …]
|
D | btrfs.h | 97 __field( ino_t, ino ) 107 __entry->ino = inode->i_ino; 121 (unsigned long)__entry->ino, 236 __field( ino_t, ino ) 249 __entry->ino = inode->i_ino; 267 (unsigned long long)__entry->ino, 313 __field( ino_t, ino ) 327 __entry->ino = inode->i_ino; 346 (unsigned long)__entry->ino, __entry->index, 369 __field( ino_t, ino ) [all …]
|
D | sunrpc.h | 242 __field(unsigned long long, ino) 253 __entry->ino = (unsigned long long)inode->i_ino; 263 __entry->ino, __get_str(dstaddr), __get_str(dstport), 292 __field(unsigned long long, ino) 303 __entry->ino = (unsigned long long)inode->i_ino; 315 __entry->ino, __get_str(dstaddr), __get_str(dstport),
|
D | jbd2.h | 122 __field( ino_t, ino ) 127 __entry->ino = inode->i_ino; 132 (unsigned long) __entry->ino)
|
/linux-4.1.27/fs/minix/ |
D | bitmap.c | 106 minix_V1_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) in minix_V1_raw_inode() argument 112 if (!ino || ino > sbi->s_ninodes) { in minix_V1_raw_inode() 114 sb->s_id, (long)ino); in minix_V1_raw_inode() 117 ino--; in minix_V1_raw_inode() 119 ino / MINIX_INODES_PER_BLOCK; in minix_V1_raw_inode() 126 return p + ino % MINIX_INODES_PER_BLOCK; in minix_V1_raw_inode() 130 minix_V2_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) in minix_V2_raw_inode() argument 138 if (!ino || ino > sbi->s_ninodes) { in minix_V2_raw_inode() 140 sb->s_id, (long)ino); in minix_V2_raw_inode() 143 ino--; in minix_V2_raw_inode() [all …]
|
D | namei.c | 24 ino_t ino; in minix_lookup() local 29 ino = minix_inode_by_name(dentry); in minix_lookup() 30 if (ino) { in minix_lookup() 31 inode = minix_iget(dir->i_sb, ino); in minix_lookup()
|
/linux-4.1.27/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 …]
|
D | hostfs.h | 52 unsigned long long ino; member
|
/linux-4.1.27/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()
|
D | inode.c | 84 struct inode *squashfs_iget(struct super_block *sb, long long ino, in squashfs_iget() argument 97 err = squashfs_read_inode(inode, ino); in squashfs_iget() 112 int squashfs_read_inode(struct inode *inode, long long ino) in squashfs_read_inode() argument 116 u64 block = SQUASHFS_INODE_BLK(ino) + msblk->inode_table; in squashfs_read_inode() 117 int err, type, offset = SQUASHFS_INODE_OFFSET(ino); in squashfs_read_inode() 136 block = SQUASHFS_INODE_BLK(ino) + msblk->inode_table; in squashfs_read_inode() 137 offset = SQUASHFS_INODE_OFFSET(ino); in squashfs_read_inode() 180 "%llx, offset %x\n", SQUASHFS_INODE_BLK(ino), in squashfs_read_inode() 227 "%llx, offset %x\n", SQUASHFS_INODE_BLK(ino), in squashfs_read_inode() 250 SQUASHFS_INODE_BLK(ino), offset, in squashfs_read_inode() [all …]
|
D | namei.c | 214 long long ino; in squashfs_lookup() local 219 ino = SQUASHFS_MKINODE(blk, off); in squashfs_lookup() 225 inode = squashfs_iget(dir->i_sb, ino, ino_num); in squashfs_lookup()
|
/linux-4.1.27/fs/ocfs2/ |
D | ocfs2_trace.h | 528 TP_PROTO(unsigned long long ino, unsigned int new_cpos, 530 TP_ARGS(ino, new_cpos, clusters, depth), 532 __field(unsigned long long, ino) 538 __entry->ino = ino; 544 __entry->ino, __entry->new_cpos, 1041 TP_PROTO(unsigned long long ino, unsigned int cpos, 1044 TP_ARGS(ino, cpos, len, p_cluster, ext_flags), 1046 __field(unsigned long long, ino) 1053 __entry->ino = ino; 1060 __entry->ino, __entry->cpos, __entry->len, [all …]
|
D | stackglue.h | 217 u64 ino, 291 int ocfs2_plock(struct ocfs2_cluster_connection *conn, u64 ino,
|
D | dcache.c | 405 unsigned long long ino = 0ULL; in ocfs2_dentry_iput() local 407 ino = (unsigned long long)OCFS2_I(inode)->ip_blkno; in ocfs2_dentry_iput() 410 ino, dentry->d_flags, dentry); in ocfs2_dentry_iput()
|
/linux-4.1.27/fs/freevxfs/ |
D | vxfs_inode.c | 52 vxfs_dumpi(struct vxfs_inode_info *vip, ino_t ino) in vxfs_dumpi() argument 55 if (ino) in vxfs_dumpi() 56 printk(KERN_DEBUG "dumping vxfs inode %ld\n", ino); in vxfs_dumpi() 88 vxfs_blkiget(struct super_block *sbp, u_long extent, ino_t ino) in vxfs_blkiget() argument 93 block = extent + ((ino * VXFS_ISIZE) / sbp->s_blocksize); in vxfs_blkiget() 94 offset = ((ino % (sbp->s_blocksize / VXFS_ISIZE)) * VXFS_ISIZE); in vxfs_blkiget() 106 vxfs_dumpi(vip, ino); in vxfs_blkiget() 130 __vxfs_iget(ino_t ino, struct inode *ilistp) in __vxfs_iget() argument 135 offset = (ino % (PAGE_SIZE / VXFS_ISIZE)) * VXFS_ISIZE; in __vxfs_iget() 136 pp = vxfs_get_page(ilistp->i_mapping, ino * VXFS_ISIZE / PAGE_SIZE); in __vxfs_iget() [all …]
|
D | vxfs_lookup.c | 179 ino_t ino = 0; in vxfs_inode_by_name() local 183 ino = de->d_ino; in vxfs_inode_by_name() 188 return (ino); in vxfs_inode_by_name() 209 ino_t ino; in vxfs_lookup() local 214 ino = vxfs_inode_by_name(dip, dp); in vxfs_lookup() 215 if (ino) { in vxfs_lookup() 216 ip = vxfs_iget(dip->i_sb, ino); in vxfs_lookup()
|
/linux-4.1.27/fs/logfs/ |
D | inode.c | 81 static struct inode *__logfs_iget(struct super_block *sb, ino_t ino) in __logfs_iget() argument 83 struct inode *inode = iget_locked(sb, ino); in __logfs_iget() 109 struct inode *logfs_iget(struct super_block *sb, ino_t ino) in logfs_iget() argument 111 BUG_ON(ino == LOGFS_INO_MASTER); in logfs_iget() 112 BUG_ON(ino == LOGFS_INO_SEGFILE); in logfs_iget() 113 return __logfs_iget(sb, ino); in logfs_iget() 120 struct inode *logfs_safe_iget(struct super_block *sb, ino_t ino, int *is_cached) in logfs_safe_iget() argument 125 if (ino == LOGFS_INO_MASTER) in logfs_safe_iget() 127 if (ino == LOGFS_INO_SEGFILE) in logfs_safe_iget() 132 if (li->vfs_inode.i_ino == ino) { in logfs_safe_iget() [all …]
|
D | dir.c | 227 ta->ino = inode->i_ino; in logfs_unlink() 317 be64_to_cpu(dd->ino), dd->type); in logfs_readdir() 338 u64 ino = 0; in logfs_lookup() local 350 ino = be64_to_cpu(dd->ino); in logfs_lookup() 354 inode = logfs_iget(dir->i_sb, ino); in logfs_lookup() 357 ino, dir->i_ino, index); in logfs_lookup() 388 dd->ino = cpu_to_be64(inode->i_ino); in logfs_write_dir() 423 ta->ino = inode->i_ino; in __logfs_create() 642 dd->ino = cpu_to_be64(inode->i_ino); in logfs_replace_inode() 649 dd->name, be64_to_cpu(dd->ino)); in logfs_replace_inode() [all …]
|
D | segment.c | 167 static void *alias_tree_lookup(struct super_block *sb, u64 ino, u64 bix, in alias_tree_lookup() argument 173 return btree_lookup128(head, ino, index); in alias_tree_lookup() 176 static int alias_tree_insert(struct super_block *sb, u64 ino, u64 bix, in alias_tree_insert() argument 182 return btree_insert128(head, ino, index, val, GFP_NOFS); in alias_tree_insert() 192 err = write_alias_journal(sb, block->ino, block->bix, in btree_write_alias() 212 u64 ino, bix; in logfs_load_object_aliases() local 228 ino = be64_to_cpu(oa[i].ino); in logfs_load_object_aliases() 233 ino, bix, level, item->child_no, in logfs_load_object_aliases() 235 block = alias_tree_lookup(sb, ino, bix, level); in logfs_load_object_aliases() 237 block = __alloc_block(sb, ino, bix, level); in logfs_load_object_aliases() [all …]
|
D | logfs.h | 234 u64 ino; member 252 u64 ino; member 298 u64 ino; member 311 typedef int write_alias_t(struct super_block *sb, u64 ino, u64 bix, 520 struct inode *logfs_iget(struct super_block *sb, ino_t ino); 521 struct inode *logfs_safe_iget(struct super_block *sb, ino_t ino, int *cookie); 524 struct inode *logfs_new_meta_inode(struct super_block *sb, u64 ino); 525 struct inode *logfs_read_meta_inode(struct super_block *sb, u64 ino); 538 int write_alias_journal(struct super_block *sb, u64 ino, u64 bix, 553 int logfs_is_valid_block(struct super_block *sb, u64 ofs, u64 ino, u64 bix, [all …]
|
D | readwrite.c | 467 u64 ino , bix; in inode_write_alias() local 494 ino = LOGFS_INO_MASTER; in inode_write_alias() 497 err = write_one_alias(sb, ino, bix, level, pos, val); in inode_write_alias() 508 u64 ino , bix; in indirect_write_alias() local 518 ino = page->mapping->host->i_ino; in indirect_write_alias() 523 err = write_one_alias(sb, ino, bix, level, pos, val); in indirect_write_alias() 585 u64 ino, u64 bix, level_t level) in __alloc_block() argument 595 block->ino = ino; in __alloc_block() 1031 int logfs_is_valid_block(struct super_block *sb, u64 ofs, u64 ino, u64 bix, in logfs_is_valid_block() argument 1040 if (ino == -1) in logfs_is_valid_block() [all …]
|
D | gc.c | 113 static void logfs_cleanse_block(struct super_block *sb, u64 ofs, u64 ino, in logfs_cleanse_block() argument 119 inode = logfs_safe_iget(sb, ino, &cookie); in logfs_cleanse_block() 130 u64 ofs, ino, bix; in logfs_gc_segment() local 164 ino = be64_to_cpu(oh.ino); in logfs_gc_segment() 167 valid = logfs_is_valid_block(sb, ofs, ino, bix, gc_level); in logfs_gc_segment() 169 logfs_cleanse_block(sb, ofs, ino, bix, gc_level); in logfs_gc_segment()
|
D | logfs_abi.h | 289 __be64 ino; member 388 __be64 ino; member 575 __be64 ino; member
|
/linux-4.1.27/fs/ceph/ |
D | export.c | 14 u64 ino; member 21 u64 ino, parent_ino; member 48 cfh->ino = ceph_ino(inode); in ceph_encode_fh() 54 fh->ino = ceph_ino(inode); in ceph_encode_fh() 61 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() 101 dout("__fh_to_dentry %llx %p dentry %p\n", ino, inode, dentry); in __fh_to_dentry() 120 dout("fh_to_dentry %llx\n", fh->ino); in ceph_fh_to_dentry() 121 return __fh_to_dentry(sb, fh->ino); in ceph_fh_to_dentry() 125 struct dentry *child, u64 ino) in __get_parent() argument [all …]
|
D | snap.c | 90 if (new->ino < r->ino) in __insert_snap_realm() 92 else if (new->ino > r->ino) in __insert_snap_realm() 109 u64 ino) in ceph_create_snap_realm() argument 118 realm->ino = ino; in ceph_create_snap_realm() 126 dout("create_snap_realm %llx %p\n", realm->ino, realm); in ceph_create_snap_realm() 136 u64 ino) in __lookup_snap_realm() argument 143 if (ino < r->ino) in __lookup_snap_realm() 145 else if (ino > r->ino) in __lookup_snap_realm() 148 dout("lookup_snap_realm %llx %p\n", r->ino, r); in __lookup_snap_realm() 156 u64 ino) in ceph_lookup_snap_realm() argument [all …]
|
D | super.h | 373 u32 ino = vino & 0xffffffff; in ceph_ino_to_ino32() local 374 ino ^= vino >> 32; in ceph_ino_to_ino32() 375 if (!ino) in ceph_ino_to_ino32() 376 ino = 2; in ceph_ino_to_ino32() 377 return ino; in ceph_ino_to_ino32() 386 return ceph_ino_to_ino32(vino.ino); in ceph_vino_to_ino() 388 return (ino_t)vino.ino; in ceph_vino_to_ino() 396 static inline ino_t ceph_translate_ino(struct super_block *sb, ino_t ino) in ceph_translate_ino() argument 398 return ino; in ceph_translate_ino() 401 static inline ino_t ceph_translate_ino(struct super_block *sb, ino_t ino) in ceph_translate_ino() argument [all …]
|
D | debugfs.c | 93 seq_printf(s, " #%llx/%s", req->r_ino1.ino, in mdsc_show() 96 seq_printf(s, " #%llx", req->r_ino1.ino); in mdsc_show() 113 if (req->r_ino2.ino) in mdsc_show() 114 seq_printf(s, " #%llx/%s", req->r_ino2.ino, in mdsc_show()
|
D | inode.c | 62 dout("get_inode on %lu=%llx.%llx got %p\n", inode->i_ino, vino.ino, in ceph_get_inode() 73 .ino = ceph_ino(parent), in ceph_get_snapdir() 1061 vino.ino = le64_to_cpu(ininfo->ino); in ceph_fill_trace() 1106 vino.ino = le64_to_cpu(rinfo->targeti.in->ino); in ceph_fill_trace() 1129 (ceph_ino(d_inode(dn)) != vino.ino || in ceph_fill_trace() 1144 vino.ino = le64_to_cpu(rinfo->targeti.in->ino); in ceph_fill_trace() 1188 le64_to_cpu(rinfo->diri.in->ino)); in ceph_fill_trace() 1314 vino.ino = le64_to_cpu(rinfo->dir_in[i].in->ino); in readdir_prepopulate_inodes_only() 1385 vino.ino = le64_to_cpu(rinfo->dir_in[i].in->ino); in ceph_readdir_prepopulate() 1409 (ceph_ino(d_inode(dn)) != vino.ino || in ceph_readdir_prepopulate() [all …]
|
D | mds_client.c | 257 info->ino = ceph_decode_64(p); in parse_reply_info_create() 1849 u64 *ino, int *freepath) in set_request_path_attr() argument 1854 r = build_inode_path(rinode, ppath, pathlen, ino, freepath); in set_request_path_attr() 1858 r = build_dentry_path(rdentry, ppath, pathlen, ino, freepath); in set_request_path_attr() 1859 dout(" dentry %p %llx/%.*s\n", rdentry, *ino, *pathlen, in set_request_path_attr() 1862 *ino = rino; in set_request_path_attr() 1891 req->r_path1, req->r_ino1.ino, in create_request_message() 1899 req->r_path2, req->r_ino2.ino, in create_request_message() 2053 rhead->ino = cpu_to_le64(ceph_ino(req->r_target_inode)); in __prepare_send_request() 2094 rhead->ino = 0; in __prepare_send_request() [all …]
|
/linux-4.1.27/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() 457 static void pack_inode(struct ubifs_info *c, struct ubifs_ino_node *ino, in pack_inode() argument 463 ino->ch.node_type = UBIFS_INO_NODE; in pack_inode() 464 ino_key_init_flash(c, &ino->key, inode->i_ino); in pack_inode() 465 ino->creat_sqnum = cpu_to_le64(ui->creat_sqnum); in pack_inode() 466 ino->atime_sec = cpu_to_le64(inode->i_atime.tv_sec); in pack_inode() 467 ino->atime_nsec = cpu_to_le32(inode->i_atime.tv_nsec); in pack_inode() 468 ino->ctime_sec = cpu_to_le64(inode->i_ctime.tv_sec); in pack_inode() [all …]
|
D | sb.c | 79 struct ubifs_ino_node *ino; in create_default_filesystem() local 292 ino = kzalloc(tmp, GFP_KERNEL); in create_default_filesystem() 293 if (!ino) in create_default_filesystem() 296 ino_key_init_flash(c, &ino->key, UBIFS_ROOT_INO); in create_default_filesystem() 297 ino->ch.node_type = UBIFS_INO_NODE; in create_default_filesystem() 298 ino->creat_sqnum = cpu_to_le64(++c->max_sqnum); in create_default_filesystem() 299 ino->nlink = cpu_to_le32(2); in create_default_filesystem() 301 ino->atime_sec = tmp_le64; in create_default_filesystem() 302 ino->ctime_sec = tmp_le64; in create_default_filesystem() 303 ino->mtime_sec = tmp_le64; in create_default_filesystem() [all …]
|
D | debug.c | 417 const struct ubifs_ino_node *ino = node; in ubifs_dump_node() local 419 key_read(c, &ino->key, &key); in ubifs_dump_node() 423 (unsigned long long)le64_to_cpu(ino->creat_sqnum)); in ubifs_dump_node() 425 (unsigned long long)le64_to_cpu(ino->size)); in ubifs_dump_node() 426 pr_err("\tnlink %u\n", le32_to_cpu(ino->nlink)); in ubifs_dump_node() 428 (long long)le64_to_cpu(ino->atime_sec), in ubifs_dump_node() 429 le32_to_cpu(ino->atime_nsec)); in ubifs_dump_node() 431 (long long)le64_to_cpu(ino->mtime_sec), in ubifs_dump_node() 432 le32_to_cpu(ino->mtime_nsec)); in ubifs_dump_node() 434 (long long)le64_to_cpu(ino->ctime_sec), in ubifs_dump_node() [all …]
|
D | super.c | 105 struct ubifs_ino_node *ino; in ubifs_iget() local 119 ino = kmalloc(UBIFS_MAX_INO_NODE_SZ, GFP_NOFS); in ubifs_iget() 120 if (!ino) { in ubifs_iget() 127 err = ubifs_tnc_lookup(c, &key, ino); in ubifs_iget() 132 set_nlink(inode, le32_to_cpu(ino->nlink)); in ubifs_iget() 133 i_uid_write(inode, le32_to_cpu(ino->uid)); in ubifs_iget() 134 i_gid_write(inode, le32_to_cpu(ino->gid)); in ubifs_iget() 135 inode->i_atime.tv_sec = (int64_t)le64_to_cpu(ino->atime_sec); in ubifs_iget() 136 inode->i_atime.tv_nsec = le32_to_cpu(ino->atime_nsec); in ubifs_iget() 137 inode->i_mtime.tv_sec = (int64_t)le64_to_cpu(ino->mtime_sec); in ubifs_iget() [all …]
|
D | recovery.c | 1417 struct ubifs_ino_node *ino = c->sbuf; in fix_size_in_place() local 1426 err = ubifs_tnc_locate(c, &key, ino, &lnum, &offs); in fix_size_in_place() 1433 i_size = le64_to_cpu(ino->size); in fix_size_in_place() 1441 ino = c->sbuf + offs; in fix_size_in_place() 1442 ino->size = cpu_to_le64(e->d_size); in fix_size_in_place() 1443 len = le32_to_cpu(ino->ch.len); in fix_size_in_place() 1444 crc = crc32(UBIFS_CRC32_INIT, (void *)ino + 8, len - 8); in fix_size_in_place() 1445 ino->ch.crc = cpu_to_le32(crc); in fix_size_in_place() 1499 struct ubifs_ino_node *ino = c->sbuf; in ubifs_recover_size() local 1502 e->i_size = le64_to_cpu(ino->size); in ubifs_recover_size()
|
D | replay.c | 194 ino_t ino; in trun_remove_range() local 204 ino = key_inum(c, &r->key); in trun_remove_range() 206 data_key_init(c, &min_key, ino, min_blk); in trun_remove_range() 207 data_key_init(c, &max_key, ino, max_blk); in trun_remove_range() 602 struct ubifs_ino_node *ino = snod->node; in replay_bud() local 603 loff_t new_size = le64_to_cpu(ino->size); in replay_bud() 605 if (le32_to_cpu(ino->nlink) == 0) in replay_bud()
|
D | scan.c | 198 struct ubifs_ino_node *ino = buf; in ubifs_add_snod() local 220 key_read(c, &ino->key, &snod->key); in ubifs_add_snod()
|
/linux-4.1.27/fs/jffs2/ |
D | build.c | 57 dbg_fsbuild("building directory inode #%u\n", ic->ino); in jffs2_build_inode_pass1() 62 if (!fd->ino) in jffs2_build_inode_pass1() 67 child_ic = jffs2_get_ino_cache(c, fd->ino); in jffs2_build_inode_pass1() 70 fd->name, fd->ino, ic->ino); in jffs2_build_inode_pass1() 88 dbg_fsbuild("increased nlink for child \"%s\" (ino #%u)\n", fd->name, fd->ino); in jffs2_build_inode_pass1() 152 ic = jffs2_get_ino_cache(c, fd->ino); in jffs2_build_filesystem() 201 fd->name, fd->ino, ic->ino, fd->ic->pino_nlink); in jffs2_build_filesystem() 206 fd->ic->pino_nlink = ic->ino; in jffs2_build_filesystem() 245 dbg_fsbuild("removing ino #%u with nlink == zero.\n", ic->ino); in jffs2_build_remove_unlinked_inode() 257 dbg_fsbuild("inode #%u was a directory which may have children...\n", ic->ino); in jffs2_build_remove_unlinked_inode() [all …]
|
D | write.c | 41 jffs2_dbg(1, "%s(): Assigned ino# %d\n", __func__, f->inocache->ino); in jffs2_do_new_inode() 42 ri->ino = cpu_to_je32(f->inocache->ino); in jffs2_do_new_inode() 110 (alloc_mode==ALLOC_GC)?0:f->inocache->ino); in jffs2_write_dnode() 218 je32_to_cpu(rd->pino), name, name, je32_to_cpu(rd->ino), in jffs2_write_dirent() 231 je32_to_cpu(rd->pino), name, name, je32_to_cpu(rd->ino), in jffs2_write_dirent() 247 fd->ino = je32_to_cpu(rd->ino); in jffs2_write_dirent() 348 __func__, f->inocache->ino, offset, writelen); in jffs2_write_inode_range() 379 ri->ino = cpu_to_je32(f->inocache->ino); in jffs2_write_inode_range() 514 rd->pino = cpu_to_je32(dir_f->inocache->ino); in jffs2_do_create() 516 rd->ino = ri->ino; in jffs2_do_create() [all …]
|
D | nodelist.c | 30 dbg_dentlist("add dirent \"%s\", ino #%u\n", new->name, new->ino); in jffs2_add_fd_to_list() 37 (*prev)->name, (*prev)->ino); in jffs2_add_fd_to_list() 42 (*prev)->name, (*prev)->ino); in jffs2_add_fd_to_list() 421 struct jffs2_inode_cache *jffs2_get_ino_cache(struct jffs2_sb_info *c, uint32_t ino) in jffs2_get_ino_cache() argument 425 ret = c->inocache_list[ino % c->inocache_hashsize]; in jffs2_get_ino_cache() 426 while (ret && ret->ino < ino) { in jffs2_get_ino_cache() 430 if (ret && ret->ino != ino) in jffs2_get_ino_cache() 441 if (!new->ino) in jffs2_add_ino_cache() 442 new->ino = ++c->highest_ino; in jffs2_add_ino_cache() 444 dbg_inocache("add %p (ino #%u)\n", new, new->ino); in jffs2_add_ino_cache() [all …]
|
D | gc.c | 171 ic->ino); in jffs2_garbage_collect_pass() 180 ic->ino); in jffs2_garbage_collect_pass() 187 ic->ino, ic->state); in jffs2_garbage_collect_pass() 196 ic->ino); in jffs2_garbage_collect_pass() 215 __func__, ic->ino); in jffs2_garbage_collect_pass() 220 ic->ino); in jffs2_garbage_collect_pass() 334 ic->ino); in jffs2_garbage_collect_pass() 355 ic->ino); in jffs2_garbage_collect_pass() 372 ic->ino, ic->state); in jffs2_garbage_collect_pass() 386 __func__, ic->ino, ic->state); in jffs2_garbage_collect_pass() [all …]
|
D | readinode.c | 635 fd->ino = je32_to_cpu(rd->ino); in read_direntry() 972 dbg_readinode("ino #%u\n", f->inocache->ino); in jffs2_get_inode_nodes() 983 if (!valid_ref && f->inocache->ino != 1) in jffs2_get_inode_nodes() 984 JFFS2_WARNING("Eep. No valid nodes for ino #%u.\n", f->inocache->ino); in jffs2_get_inode_nodes() 1113 f->inocache->ino, rii->highest_version, rii->latest_mctime, in jffs2_get_inode_nodes() 1134 dbg_readinode("ino #%u pino/nlink is %d\n", f->inocache->ino, in jffs2_do_read_inode_internal() 1143 JFFS2_ERROR("cannot read nodes for ino %u, returned error is %d\n", f->inocache->ino, ret); in jffs2_do_read_inode_internal() 1152 f->inocache->ino, ret); in jffs2_do_read_inode_internal() 1181 if (f->inocache->ino != 1) { in jffs2_do_read_inode_internal() 1182 JFFS2_WARNING("no data nodes found for ino #%u\n", f->inocache->ino); in jffs2_do_read_inode_internal() [all …]
|
D | dir.c | 82 uint32_t ino = 0; in jffs2_lookup() local 104 ino = fd->ino; in jffs2_lookup() 106 if (ino) { in jffs2_lookup() 107 inode = jffs2_iget(dir_i->i_sb, ino); in jffs2_lookup() 109 pr_warn("iget() failed for ino #%u\n", ino); in jffs2_lookup() 136 fd->name, fd->ino, fd->type, curofs, (unsigned long)ctx->pos); in jffs2_readdir() 139 if (!fd->ino) { in jffs2_readdir() 146 (unsigned long)ctx->pos, fd->name, fd->ino, fd->type); in jffs2_readdir() 147 if (!dir_emit(ctx, fd->name, strlen(fd->name), fd->ino, fd->type)) in jffs2_readdir() 263 …ret = jffs2_do_link(c, dir_f, f->inocache->ino, type, dentry->d_name.name, dentry->d_name.len, now… in jffs2_link() [all …]
|
D | wbuf.c | 42 uint32_t ino; member 48 static int jffs2_wbuf_pending_for_ino(struct jffs2_sb_info *c, uint32_t ino) in jffs2_wbuf_pending_for_ino() argument 57 if (this && !ino) in jffs2_wbuf_pending_for_ino() 62 if (this->ino == ino) in jffs2_wbuf_pending_for_ino() 85 static void jffs2_wbuf_dirties_inode(struct jffs2_sb_info *c, uint32_t ino) in jffs2_wbuf_dirties_inode() argument 92 if (jffs2_wbuf_pending_for_ino(c, ino)) in jffs2_wbuf_dirties_inode() 102 new->ino = ino; in jffs2_wbuf_dirties_inode() 505 f = jffs2_gc_fetch_inode(c, ic->ino, !ic->pino_nlink); in jffs2_wbuf_recover() 509 ic->ino, PTR_ERR(f)); in jffs2_wbuf_recover() 522 JFFS2_ERROR("Inode #%u is in strange state %d!\n", ic->ino, ic->state); in jffs2_wbuf_recover() [all …]
|
D | scan.c | 422 ref->ino = je32_to_cpu(rr->ino); in jffs2_scan_xref_node() 435 ofs, ref->xid, ref->ino); in jffs2_scan_xref_node() 959 struct jffs2_inode_cache *jffs2_scan_make_ino_cache(struct jffs2_sb_info *c, uint32_t ino) in jffs2_scan_make_ino_cache() argument 963 ic = jffs2_get_ino_cache(c, ino); in jffs2_scan_make_ino_cache() 967 if (ino > c->highest_ino) in jffs2_scan_make_ino_cache() 968 c->highest_ino = ino; in jffs2_scan_make_ino_cache() 977 ic->ino = ino; in jffs2_scan_make_ino_cache() 980 if (ino == 1) in jffs2_scan_make_ino_cache() 989 uint32_t crc, ino = je32_to_cpu(ri->ino); in jffs2_scan_inode_node() local 1015 ic = jffs2_get_ino_cache(c, ino); in jffs2_scan_inode_node() [all …]
|
D | nodelist.h | 144 #define dirent_node_state(rd) ( (je32_to_cpu((rd)->ino)?REF_PRISTINE:REF_NORMAL) ) 174 uint32_t ino; member 259 uint32_t ino; /* == zero for unlink */ member 366 struct jffs2_inode_cache *jffs2_get_ino_cache(struct jffs2_sb_info *c, uint32_t ino); 411 int jffs2_do_link(struct jffs2_sb_info *c, struct jffs2_inode_info *dir_f, uint32_t ino, 417 uint32_t ino, struct jffs2_raw_inode *latest_node); 463 struct jffs2_inode_cache *jffs2_scan_make_ino_cache(struct jffs2_sb_info *c, uint32_t ino); 476 int jffs2_flush_wbuf_gc(struct jffs2_sb_info *c, uint32_t ino);
|
D | summary.c | 82 je32_to_cpu(item->d.ino)); in jffs2_sum_add_mem() 124 temp->inode = ri->ino; in jffs2_sum_add_inode_mem() 147 temp->ino = rd->ino; in jffs2_sum_add_dirent_mem() 272 temp->inode = node->i.ino; in jffs2_sum_add_kvec() 293 temp->ino = node->d.ino; in jffs2_sum_add_kvec() 392 int i, ino; in jffs2_sum_process_sum_data() local 412 ino = je32_to_cpu(spi->inode); in jffs2_sum_process_sum_data() 418 ic = jffs2_scan_make_ino_cache(c, ino); in jffs2_sum_process_sum_data() 478 fd->ino = je32_to_cpu(spd->ino); in jffs2_sum_process_sum_data() 744 sdrnt_ptr->ino = temp->d.ino; in jffs2_sum_write_data()
|
D | xattr.c | 482 ref->ino = je32_to_cpu(rr.ino); in verify_xattr_ref() 502 ref->ino, ref->xid, ref_offset(ref->node)); in verify_xattr_ref() 522 rr.ino = cpu_to_je32(ref->ino); in save_xattr_ref() 525 rr.ino = cpu_to_je32(ref->ic->ino); in save_xattr_ref() 545 dbg_xattr("success on saving xref (ino=%u, xid=%u)\n", ref->ic->ino, ref->xd->xid); in save_xattr_ref() 583 ref->ino = ref->ic->ino; in delete_xattr_ref() 591 ref->ino, ref->xid, ref->xseqno); in delete_xattr_ref() 804 i = (ref->ino ^ ref->xid) % XREF_TMPHASH_SIZE; in jffs2_build_xattr_subsystem() 806 if (tmp->ino == ref->ino && tmp->xid == ref->xid) in jffs2_build_xattr_subsystem() 842 ic = jffs2_get_ino_cache(c, ref->ino); in jffs2_build_xattr_subsystem() [all …]
|
D | fs.c | 99 ri->ino = cpu_to_je32(inode->i_ino); in jffs2_do_setattr() 250 struct inode *jffs2_iget(struct super_block *sb, unsigned long ino) in jffs2_iget() argument 260 jffs2_dbg(1, "%s(): ino == %lu\n", __func__, ino); in jffs2_iget() 262 inode = iget_locked(sb, ino); in jffs2_iget() 305 if (fd->type == DT_DIR && fd->ino) in jffs2_iget() 473 inode->i_ino = je32_to_cpu(ri->ino); in jffs2_new_inode() 657 ic->ino, ic->state); in jffs2_gc_fetch_inode()
|
D | summary.h | 61 jint32_t ino; /* == zero for unlink */ member 117 jint32_t ino; /* == zero for unlink */ member
|
D | super.c | 113 static struct inode *jffs2_nfs_get_inode(struct super_block *sb, uint64_t ino, in jffs2_nfs_get_inode() argument 119 return jffs2_iget(sb, ino); in jffs2_nfs_get_inode() 148 f->inocache->ino, pino); in jffs2_get_parent()
|
D | file.c | 174 ri.ino = cpu_to_je32(f->inocache->ino); in jffs2_write_begin() 283 ri->ino = cpu_to_je32(inode->i_ino); in jffs2_write_end()
|
D | read.c | 165 __func__, f->inocache->ino, offset, offset + len); in jffs2_read_inode_range() 182 f->inocache->ino, frag->ofs, offset); in jffs2_read_inode_range()
|
/linux-4.1.27/fs/ext3/ |
D | ialloc.c | 83 unsigned long ino; in ext3_free_inode() local 109 ino = inode->i_ino; in ext3_free_inode() 110 ext3_debug ("freeing inode %lu\n", ino); in ext3_free_inode() 116 if (ino < EXT3_FIRST_INO(sb) || ino > le32_to_cpu(es->s_inodes_count)) { in ext3_free_inode() 118 "reserved or nonexistent inode %lu", ino); in ext3_free_inode() 121 block_group = (ino - 1) / EXT3_INODES_PER_GROUP(sb); in ext3_free_inode() 122 bit = (ino - 1) % EXT3_INODES_PER_GROUP(sb); in ext3_free_inode() 136 "bit already cleared for inode %lu", ino); in ext3_free_inode() 353 unsigned long ino = 0; in ext3_new_inode() local 397 ino = 0; in ext3_new_inode() [all …]
|
D | ext3.h | 698 static inline int ext3_valid_inum(struct super_block *sb, unsigned long ino) in ext3_valid_inum() argument 700 return ino == EXT3_ROOT_INO || in ext3_valid_inum() 701 ino == EXT3_JOURNAL_INO || in ext3_valid_inum() 702 ino == EXT3_RESIZE_INO || in ext3_valid_inum() 703 (ino >= EXT3_FIRST_INO(sb) && in ext3_valid_inum() 704 ino <= le32_to_cpu(EXT3_SB(sb)->s_es->s_inodes_count)); in ext3_valid_inum()
|
/linux-4.1.27/fs/bfs/ |
D | dir.c | 24 int namelen, 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() 140 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 …]
|
D | bfs.h | 48 extern struct inode *bfs_iget(struct super_block *sb, unsigned long ino);
|
/linux-4.1.27/fs/nfs/ |
D | pnfs.c | 206 pnfs_alloc_layout_hdr(struct inode *ino, gfp_t gfp_flags) in pnfs_alloc_layout_hdr() argument 208 struct pnfs_layoutdriver_type *ld = NFS_SERVER(ino)->pnfs_curr_ld; in pnfs_alloc_layout_hdr() 209 return ld->alloc_layout_hdr(ino, gfp_flags); in pnfs_alloc_layout_hdr() 327 struct inode *ino = lseg->pls_layout->plh_inode; in pnfs_free_lseg() local 329 NFS_SERVER(ino)->pnfs_curr_ld->free_lseg(lseg); in pnfs_free_lseg() 863 struct inode *ino = lo->plh_inode; in send_layoutget() local 864 struct nfs_server *server = NFS_SERVER(ino); in send_layoutget() 880 lgp->args.inode = ino; in send_layoutget() 932 struct inode *ino = lo->plh_inode; in pnfs_send_layoutreturn() local 939 spin_lock(&ino->i_lock); in pnfs_send_layoutreturn() [all …]
|
D | callback_proc.c | 119 struct inode *ino; in get_layout_by_fh_locked() local 128 ino = igrab(lo->plh_inode); in get_layout_by_fh_locked() 129 if (!ino) in get_layout_by_fh_locked() 131 spin_lock(&ino->i_lock); in get_layout_by_fh_locked() 133 if (NFS_I(ino)->layout != lo) { in get_layout_by_fh_locked() 134 spin_unlock(&ino->i_lock); in get_layout_by_fh_locked() 135 iput(ino); in get_layout_by_fh_locked() 139 spin_unlock(&ino->i_lock); in get_layout_by_fh_locked() 164 struct inode *ino; in initiate_file_draining() local 173 ino = lo->plh_inode; in initiate_file_draining() [all …]
|
D | pnfs.h | 265 bool pnfs_roc(struct inode *ino); 266 void pnfs_roc_release(struct inode *ino); 267 void pnfs_roc_set_barrier(struct inode *ino, u32 barrier); 268 bool pnfs_roc_drain(struct inode *ino, u32 *barrier, struct rpc_task *task); 279 struct pnfs_layout_segment *pnfs_update_layout(struct inode *ino, 512 static inline int pnfs_return_layout(struct inode *ino) in pnfs_return_layout() argument 514 struct nfs_inode *nfsi = NFS_I(ino); in pnfs_return_layout() 515 struct nfs_server *nfss = NFS_SERVER(ino); in pnfs_return_layout() 518 return _pnfs_return_layout(ino); in pnfs_return_layout() 563 static inline int pnfs_return_layout(struct inode *ino) in pnfs_return_layout() argument [all …]
|
/linux-4.1.27/fs/jfs/ |
D | namei.c | 81 ino_t ino; in jfs_create() local 124 if ((rc = dtSearch(dip, &dname, &ino, &btstack, JFS_CREATE))) { in jfs_create() 132 tblk->ino = ip->i_ino; in jfs_create() 147 ino = ip->i_ino; in jfs_create() 148 if ((rc = dtInsert(tid, dip, &dname, &ino, &btstack))) { in jfs_create() 213 ino_t ino; in jfs_mkdir() local 256 if ((rc = dtSearch(dip, &dname, &ino, &btstack, JFS_CREATE))) { in jfs_mkdir() 264 tblk->ino = ip->i_ino; in jfs_mkdir() 279 ino = ip->i_ino; in jfs_mkdir() 280 if ((rc = dtInsert(tid, dip, &dname, &ino, &btstack))) { in jfs_mkdir() [all …]
|
D | jfs_imap.h | 40 #define INOTOIAG(ino) ((ino) >> L2INOSPERIAG) argument 48 #define INOPBLK(pxd,ino,l2nbperpg) (addressPXD((pxd)) + \ argument 49 ((((ino) & (INOSPEREXT-1)) >> L2INOSPERPAGE) << (l2nbperpg)))
|
D | jfs_imap.c | 307 int iagno, ino, extno, rc; in diRead() local 340 ino = ip->i_ino & (INOSPERIAG - 1); in diRead() 341 extno = ino >> L2INOSPEREXT; in diRead() 352 blkno = INOPBLK(&iagp->inoext[extno], ino, sbi->l2nbperpage); in diRead() 359 rel_inode = (ino & (INOSPERPAGE - 1)); in diRead() 604 s32 ino; in diWrite() local 623 ino = ip->i_ino & (INOSPERIAG - 1); in diWrite() 636 blkno = INOPBLK(&(jfs_ip->ixpxd), ino, sbi->l2nbperpage); in diWrite() 638 rel_inode = (ino & (INOSPERPAGE - 1)); in diWrite() 665 dioffset = (ino & (INOSPERPAGE - 1)) << L2DISIZE; in diWrite() [all …]
|
D | jfs_dtree.h | 31 u32 ino; member 260 ino_t * ino, struct btstack * btstack);
|
/linux-4.1.27/fs/ext2/ |
D | ialloc.c | 107 unsigned long ino; in ext2_free_inode() local 113 ino = inode->i_ino; in ext2_free_inode() 114 ext2_debug ("freeing inode %lu\n", ino); in ext2_free_inode() 127 if (ino < EXT2_FIRST_INO(sb) || in ext2_free_inode() 128 ino > le32_to_cpu(es->s_inodes_count)) { in ext2_free_inode() 130 "reserved or nonexistent inode %lu", ino); in ext2_free_inode() 133 block_group = (ino - 1) / EXT2_INODES_PER_GROUP(sb); in ext2_free_inode() 134 bit = (ino - 1) % EXT2_INODES_PER_GROUP(sb); in ext2_free_inode() 143 "bit already cleared for inode %lu", ino); in ext2_free_inode() 437 ino_t ino = 0; in ext2_new_inode() local [all …]
|
D | namei.c | 60 ino_t ino; in ext2_lookup() local 65 ino = ext2_inode_by_name(dir, &dentry->d_name); in ext2_lookup() 67 if (ino) { in ext2_lookup() 68 inode = ext2_iget(dir->i_sb, ino); in ext2_lookup() 72 (unsigned long) ino); in ext2_lookup() 82 unsigned long ino = ext2_inode_by_name(d_inode(child), &dotdot); in ext2_get_parent() local 83 if (!ino) in ext2_get_parent() 85 return d_obtain_alias(ext2_iget(d_inode(child)->i_sb, ino)); in ext2_get_parent()
|
D | inode.c | 1229 static struct ext2_inode *ext2_get_inode(struct super_block *sb, ino_t ino, in ext2_get_inode() argument 1239 if ((ino != EXT2_ROOT_INO && ino < EXT2_FIRST_INO(sb)) || in ext2_get_inode() 1240 ino > le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count)) in ext2_get_inode() 1243 block_group = (ino - 1) / EXT2_INODES_PER_GROUP(sb); in ext2_get_inode() 1250 offset = ((ino - 1) % EXT2_INODES_PER_GROUP(sb)) * EXT2_INODE_SIZE(sb); in ext2_get_inode() 1262 (unsigned long) ino); in ext2_get_inode() 1267 (unsigned long) ino, block); in ext2_get_inode() 1311 struct inode *ext2_iget (struct super_block *sb, unsigned long ino) in ext2_iget() argument 1322 inode = iget_locked(sb, ino); in ext2_iget() 1331 raw_inode = ext2_get_inode(inode->i_sb, ino, &bh); in ext2_iget() [all …]
|
/linux-4.1.27/fs/efs/ |
D | namei.c | 76 static struct inode *efs_nfs_get_inode(struct super_block *sb, u64 ino, in efs_nfs_get_inode() argument 81 if (ino == 0) in efs_nfs_get_inode() 83 inode = efs_iget(sb, ino); in efs_nfs_get_inode() 112 efs_ino_t ino; in efs_get_parent() local 114 ino = efs_find_entry(d_inode(child), "..", 2); in efs_get_parent() 115 if (ino) in efs_get_parent() 116 parent = d_obtain_alias(efs_iget(d_inode(child)->i_sb, ino)); in efs_get_parent()
|
/linux-4.1.27/fs/qnx4/ |
D | namei.c | 57 const char *name, struct qnx4_inode_entry **res_dir, int *ino) in qnx4_find_entry() argument 77 *ino = block * QNX4_INODES_PER_BLOCK + in qnx4_find_entry() 96 int ino; in qnx4_lookup() local 104 if (!(bh = qnx4_find_entry(len, dir, name, &de, &ino))) in qnx4_lookup() 109 ino = (le32_to_cpu(lnk->dl_inode_blk) - 1) * in qnx4_lookup() 115 foundinode = qnx4_iget(dir->i_sb, ino); in qnx4_lookup()
|
D | dir.c | 25 int ix, ino; in qnx4_readdir() local 53 ino = blknum * QNX4_INODES_PER_BLOCK + ix - 1; in qnx4_readdir() 56 ino = ( le32_to_cpu(le->dl_inode_blk) - 1 ) * in qnx4_readdir() 60 if (!dir_emit(ctx, de->di_fname, size, ino, DT_UNKNOWN)) { in qnx4_readdir()
|
D | inode.c | 260 struct inode *qnx4_iget(struct super_block *sb, unsigned long ino) in qnx4_iget() argument 268 inode = iget_locked(sb, ino); in qnx4_iget() 277 QNX4DEBUG((KERN_INFO "reading inode : [%d]\n", ino)); in qnx4_iget() 278 if (!ino) { in qnx4_iget() 281 sb->s_id, ino); in qnx4_iget() 285 block = ino / QNX4_INODES_PER_BLOCK; in qnx4_iget() 294 (ino % QNX4_INODES_PER_BLOCK); in qnx4_iget() 323 ino, sb->s_id); in qnx4_iget()
|
/linux-4.1.27/fs/nilfs2/ |
D | inode.c | 46 u64 ino; member 353 unsigned long ino) in nilfs_insert_inode_locked() argument 356 .ino = ino, .root = root, .cno = 0, .for_gc = 0 in nilfs_insert_inode_locked() 359 return insert_inode_locked4(inode, ino, nilfs_iget_test, &args); in nilfs_insert_inode_locked() 370 ino_t ino; in nilfs_new_inode() local 384 err = nilfs_ifile_create_inode(root->ifile, &ino, &ii->i_bh); in nilfs_new_inode() 391 inode->i_ino = ino; in nilfs_new_inode() 413 if (nilfs_insert_inode_locked(inode, root, ino) < 0) { in nilfs_new_inode() 502 struct nilfs_root *root, unsigned long ino, in __nilfs_read_inode() argument 511 err = nilfs_ifile_get_inode_block(root->ifile, ino, &bh); in __nilfs_read_inode() [all …]
|
D | ifile.c | 108 int nilfs_ifile_delete_inode(struct inode *ifile, ino_t ino) in nilfs_ifile_delete_inode() argument 111 .pr_entry_nr = ino, .pr_entry_bh = NULL in nilfs_ifile_delete_inode() 143 int nilfs_ifile_get_inode_block(struct inode *ifile, ino_t ino, in nilfs_ifile_get_inode_block() argument 149 if (unlikely(!NILFS_VALID_INODE(sb, ino))) { in nilfs_ifile_get_inode_block() 151 (unsigned long) ino); in nilfs_ifile_get_inode_block() 155 err = nilfs_palloc_get_entry_block(ifile, ino, 0, out_bh); in nilfs_ifile_get_inode_block() 158 (unsigned long) ino); in nilfs_ifile_get_inode_block()
|
D | nilfs.h | 133 #define NILFS_MDT_INODE(sb, ino) \ argument 134 ((ino) < NILFS_FIRST_INO(sb) && (NILFS_MDT_INO_BITS & (1 << (ino)))) 135 #define NILFS_VALID_INODE(sb, ino) \ argument 136 ((ino) >= NILFS_FIRST_INO(sb) || (NILFS_SYS_INO_BITS & (1 << (ino)))) 267 unsigned long ino); 269 unsigned long ino); 271 unsigned long ino); 273 unsigned long ino, __u64 cno);
|
D | namei.c | 71 ino_t ino; in nilfs_lookup() local 76 ino = nilfs_inode_by_name(dir, &dentry->d_name); in nilfs_lookup() 77 inode = ino ? nilfs_iget(dir->i_sb, NILFS_I(dir)->i_root, ino) : NULL; in nilfs_lookup() 451 unsigned long ino; in nilfs_get_parent() local 456 ino = nilfs_inode_by_name(d_inode(child), &dotdot); in nilfs_get_parent() 457 if (!ino) in nilfs_get_parent() 462 inode = nilfs_iget(d_inode(child)->i_sb, root, ino); in nilfs_get_parent() 470 u64 ino, u32 gen) in nilfs_get_dentry() argument 475 if (ino < NILFS_FIRST_INO(sb) && ino != NILFS_ROOT_INO) in nilfs_get_dentry() 482 inode = nilfs_iget(sb, root, ino); in nilfs_get_dentry() [all …]
|
D | ifile.h | 36 nilfs_ifile_map_inode(struct inode *ifile, ino_t ino, struct buffer_head *ibh) in nilfs_ifile_map_inode() argument 39 return nilfs_palloc_block_get_entry(ifile, ino, ibh, kaddr); in nilfs_ifile_map_inode() 42 static inline void nilfs_ifile_unmap_inode(struct inode *ifile, ino_t ino, in nilfs_ifile_unmap_inode() argument
|
D | recovery.c | 50 ino_t ino; /* Inode number of the file that this block member 324 ino_t ino; in nilfs_scan_dsync_log() local 347 ino = le64_to_cpu(finfo->fi_ino); in nilfs_scan_dsync_log() 366 rb->ino = ino; in nilfs_scan_dsync_log() 517 inode = nilfs_iget(sb, root, rb->ino); in nilfs_recover_dsync_blocks() 560 err, (unsigned long)rb->ino, in nilfs_recover_dsync_blocks()
|
D | export.h | 18 u64 ino; member
|
/linux-4.1.27/fs/ext4/ |
D | ialloc.c | 232 unsigned long ino; in ext4_free_inode() local 261 ino = inode->i_ino; in ext4_free_inode() 262 ext4_debug("freeing inode %lu\n", ino); in ext4_free_inode() 280 if (ino < EXT4_FIRST_INO(sb) || ino > le32_to_cpu(es->s_inodes_count)) { in ext4_free_inode() 281 ext4_error(sb, "reserved or nonexistent inode %lu", ino); in ext4_free_inode() 284 block_group = (ino - 1) / EXT4_INODES_PER_GROUP(sb); in ext4_free_inode() 285 bit = (ino - 1) % EXT4_INODES_PER_GROUP(sb); in ext4_free_inode() 339 ext4_error(sb, "bit already cleared for inode %lu", ino); in ext4_free_inode() 664 static int recently_deleted(struct super_block *sb, ext4_group_t group, int ino) in recently_deleted() argument 678 (ino / inodes_per_block)); in recently_deleted() [all …]
|
D | ext4.h | 1432 static inline int ext4_valid_inum(struct super_block *sb, unsigned long ino) in ext4_valid_inum() argument 1434 return ino == EXT4_ROOT_INO || in ext4_valid_inum() 1435 ino == EXT4_USR_QUOTA_INO || in ext4_valid_inum() 1436 ino == EXT4_GRP_QUOTA_INO || in ext4_valid_inum() 1437 ino == EXT4_BOOT_LOADER_INO || in ext4_valid_inum() 1438 ino == EXT4_JOURNAL_INO || in ext4_valid_inum() 1439 ino == EXT4_RESIZE_INO || in ext4_valid_inum() 1440 (ino >= EXT4_FIRST_INO(sb) && in ext4_valid_inum() 1441 ino <= le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count)); in ext4_valid_inum() 2430 #define ext4_grp_locked_error(sb, grp, ino, block, fmt, ...) \ argument [all …]
|
/linux-4.1.27/fs/qnx6/ |
D | namei.c | 18 unsigned ino; in qnx6_lookup() local 27 ino = qnx6_find_entry(len, dir, name, &page); in qnx6_lookup() 28 if (ino) { in qnx6_lookup() 29 foundinode = qnx6_iget(dir->i_sb, ino); in qnx6_lookup()
|
D | dir.c | 225 unsigned ino; in qnx6_find_entry() local 250 ino = qnx6_match(s, len, name, de); in qnx6_find_entry() 251 if (ino) in qnx6_find_entry() 256 ino = qnx6_long_match(len, in qnx6_find_entry() 258 if (ino) in qnx6_find_entry() 274 return ino; in qnx6_find_entry()
|
D | inode.c | 519 struct inode *qnx6_iget(struct super_block *sb, unsigned ino) in qnx6_iget() argument 529 inode = iget_locked(sb, ino); in qnx6_iget() 539 if (ino == 0) { in qnx6_iget() 541 sb->s_id, ino); in qnx6_iget() 545 n = (ino - 1) >> (PAGE_CACHE_SHIFT - QNX6_INODE_SIZE_BITS); in qnx6_iget() 546 offs = (ino - 1) & (~PAGE_CACHE_MASK >> QNX6_INODE_SIZE_BITS); in qnx6_iget()
|
/linux-4.1.27/fs/btrfs/ |
D | send.c | 75 u64 ino; member 231 u64 ino; member 239 u64 ino; member 250 u64 ino; member 265 u64 ino; member 275 static int is_waiting_for_move(struct send_ctx *sctx, u64 ino); 278 get_waiting_dir_move(struct send_ctx *sctx, u64 ino); 786 u64 ino, u64 *size, u64 *gen, u64 *mode, u64 *uid, in __get_inode_info() argument 793 key.objectid = ino; in __get_inode_info() 822 u64 ino, u64 *size, u64 *gen, in get_inode_info() argument [all …]
|
D | btrfs_inode.h | 230 u64 ino = BTRFS_I(inode)->location.objectid; in btrfs_ino() local 236 if (!ino || BTRFS_I(inode)->location.type == BTRFS_ROOT_ITEM_KEY) in btrfs_ino() 237 ino = inode->i_ino; in btrfs_ino() 238 return ino; in btrfs_ino()
|
D | export.c | 234 u64 ino; in btrfs_get_name() local 242 ino = btrfs_ino(inode); in btrfs_get_name() 249 if (ino == BTRFS_FIRST_FREE_OBJECTID) { in btrfs_get_name() 255 key.objectid = ino; in btrfs_get_name() 265 if (ino == BTRFS_FIRST_FREE_OBJECTID) { in btrfs_get_name() 274 if (ino == BTRFS_FIRST_FREE_OBJECTID) { in btrfs_get_name()
|
D | file.c | 54 u64 ino; member 78 else if (defrag1->ino > defrag2->ino) in __compare_inode_defrag() 80 else if (defrag1->ino < defrag2->ino) in __compare_inode_defrag() 170 defrag->ino = btrfs_ino(inode); in btrfs_add_inode_defrag() 224 btrfs_pick_defrag_inode(struct btrfs_fs_info *fs_info, u64 root, u64 ino) in btrfs_pick_defrag_inode() argument 232 tmp.ino = ino; in btrfs_pick_defrag_inode() 309 key.objectid = defrag->ino; in __btrfs_run_defrag_inode() 391 first_ino = defrag->ino + 1; in btrfs_run_defrag_inodes() 703 u64 ino = btrfs_ino(inode); in __btrfs_drop_extents() local 729 ret = btrfs_lookup_file_extent(trans, root, path, ino, in __btrfs_drop_extents() [all …]
|
D | tree-log.c | 1279 struct btrfs_root *root, u64 ino) in insert_orphan_item() argument 1283 ret = btrfs_insert_orphan_item(trans, root, ino); in insert_orphan_item() 1343 u64 ino = btrfs_ino(inode); in count_inode_refs() local 1345 key.objectid = ino; in count_inode_refs() 1361 if (key.objectid != ino || in count_inode_refs() 1408 u64 ino = btrfs_ino(inode); in fixup_inode_link_count() local 1437 ino, 1); in fixup_inode_link_count() 1441 ret = insert_orphan_item(trans, root, ino); in fixup_inode_link_count() 1586 const u64 dirid, const u64 ino) in name_in_log_ref() argument 1590 search_key.objectid = ino; in name_in_log_ref() [all …]
|
/linux-4.1.27/kernel/ |
D | audit_watch.c | 51 unsigned long ino; /* associated inode number */ member 139 int audit_watch_compare(struct audit_watch *watch, unsigned long ino, dev_t dev) in audit_watch_compare() argument 141 return (watch->ino != (unsigned long)-1) && in audit_watch_compare() 142 (watch->ino == ino) && in audit_watch_compare() 183 watch->ino = (unsigned long)-1; in audit_init_watch() 230 new->ino = old->ino; in audit_dupe_watch() 260 unsigned long ino, unsigned invalidating) in audit_update_watch() argument 288 nwatch->ino = ino; in audit_update_watch() 301 int h = audit_hash_ino((u32)ino); in audit_update_watch() 368 watch->ino = d_backing_inode(d)->i_ino; in audit_get_nd() [all …]
|
D | audit.h | 83 unsigned long ino; member 221 static inline int audit_hash_ino(u32 ino) in audit_hash_ino() argument 223 return (ino & (AUDIT_INODE_BUCKETS-1)); in audit_hash_ino() 271 extern int audit_watch_compare(struct audit_watch *watch, unsigned long ino, dev_t dev);
|
/linux-4.1.27/fs/f2fs/ |
D | node.h | 46 nid_t ino; /* inode number of the node's owner */ member 61 #define nat_get_ino(nat) (nat->ni.ino) 62 #define nat_set_ino(nat, i) (nat->ni.ino = i) 72 dst->ino = src->ino; in copy_node_info() 105 ni->ino = le32_to_cpu(raw_ne->ino); in node_info_from_raw_nat() 113 raw_ne->ino = cpu_to_le32(ni->ino); in raw_nat_from_node_info() 214 nid_t ino, unsigned int ofs, bool reset) in fill_node_footer() argument 225 rn->footer.ino = cpu_to_le32(ino); in fill_node_footer() 251 return le32_to_cpu(rn->footer.ino); in ino_of_node()
|
D | checkpoint.c | 320 static void __add_ino_entry(struct f2fs_sb_info *sbi, nid_t ino, int type) in __add_ino_entry() argument 332 e = radix_tree_lookup(&im->ino_root, ino); in __add_ino_entry() 340 if (radix_tree_insert(&im->ino_root, ino, e)) { in __add_ino_entry() 347 e->ino = ino; in __add_ino_entry() 357 static void __remove_ino_entry(struct f2fs_sb_info *sbi, nid_t ino, int type) in __remove_ino_entry() argument 363 e = radix_tree_lookup(&im->ino_root, ino); in __remove_ino_entry() 366 radix_tree_delete(&im->ino_root, ino); in __remove_ino_entry() 375 void add_dirty_inode(struct f2fs_sb_info *sbi, nid_t ino, int type) in add_dirty_inode() argument 378 __add_ino_entry(sbi, ino, type); in add_dirty_inode() 381 void remove_dirty_inode(struct f2fs_sb_info *sbi, nid_t ino, int type) in remove_dirty_inode() argument [all …]
|
D | recovery.c | 59 nid_t ino) in get_fsync_inode() argument 64 if (entry->inode->i_ino == ino) in get_fsync_inode() 96 if (de && inode->i_ino == le32_to_cpu(de->ino)) in recover_dentry() 100 einode = f2fs_iget(inode->i_sb, le32_to_cpu(de->ino)); in recover_dentry() 257 nid_t ino, nid; in check_index_in_prev_nodes() local 301 ino = ino_of_node(node_page); in check_index_in_prev_nodes() 304 if (ino != dn->inode->i_ino) { in check_index_in_prev_nodes() 306 inode = f2fs_iget(sbi->sb, ino); in check_index_in_prev_nodes() 320 if (ino == dn->inode->i_ino && dn->inode_page_locked) in check_index_in_prev_nodes() 332 if (ino != dn->inode->i_ino) in check_index_in_prev_nodes() [all …]
|
D | namei.c | 28 nid_t ino; in f2fs_new_inode() local 38 if (!alloc_nid(sbi, &ino)) { in f2fs_new_inode() 47 inode->i_ino = ino; in f2fs_new_inode() 76 alloc_nid_failed(sbi, ino); in f2fs_new_inode() 114 nid_t ino = 0; in f2fs_create() local 129 ino = inode->i_ino; in f2fs_create() 137 alloc_nid_done(sbi, ino); in f2fs_create() 185 unsigned long ino = f2fs_inode_by_name(d_inode(child), &dotdot); in f2fs_get_parent() local 186 if (!ino) in f2fs_get_parent() 188 return d_obtain_alias(f2fs_iget(d_inode(child)->i_sb, ino)); in f2fs_get_parent() [all …]
|
D | node.c | 212 bool has_fsynced_inode(struct f2fs_sb_info *sbi, nid_t ino) in has_fsynced_inode() argument 219 e = __lookup_nat_cache(nm_i, ino); in has_fsynced_inode() 226 bool need_inode_block_update(struct f2fs_sb_info *sbi, nid_t ino) in need_inode_block_update() argument 233 e = __lookup_nat_cache(nm_i, ino); in need_inode_block_update() 315 e = __lookup_nat_cache(nm_i, ni->ino); in set_node_addr() 317 if (fsync_done && ni->nid == ni->ino) in set_node_addr() 364 ni->ino = nat_get_ino(e); in get_node_info() 959 new_ni.ino = dn->inode->i_ino; in new_node_page() 1139 int sync_node_pages(struct f2fs_sb_info *sbi, nid_t ino, in sync_node_pages() argument 1144 int step = ino ? 2 : 0; in sync_node_pages() [all …]
|
D | dir.c | 269 res = le32_to_cpu(de->ino); in f2fs_inode_by_name() 283 de->ino = cpu_to_le32(inode->i_ino); in f2fs_set_link() 328 de->ino = cpu_to_le32(inode->i_ino); in do_make_empty_dir() 335 de->ino = cpu_to_le32(parent->i_ino); in do_make_empty_dir() 473 void f2fs_update_dentry(nid_t ino, umode_t mode, struct f2fs_dentry_ptr *d, in f2fs_update_dentry() argument 485 de->ino = cpu_to_le32(ino); in f2fs_update_dentry() 496 struct inode *inode, nid_t ino, umode_t mode) in __f2fs_add_link() argument 513 err = f2fs_add_inline_entry(dir, name, inode, ino, mode); in __f2fs_add_link() 573 f2fs_update_dentry(ino, mode, &d, name, dentry_hash, bit_pos); in __f2fs_add_link() 752 le32_to_cpu(de->ino), d_type)) in f2fs_fill_dentries()
|
D | inode.c | 164 struct inode *f2fs_iget(struct super_block *sb, unsigned long ino) in f2fs_iget() argument 170 inode = iget_locked(sb, ino); in f2fs_iget() 178 if (ino == F2FS_NODE_INO(sbi) || ino == F2FS_META_INO(sbi)) in f2fs_iget() 185 if (ino == F2FS_NODE_INO(sbi)) { in f2fs_iget() 188 } else if (ino == F2FS_META_INO(sbi)) { in f2fs_iget()
|
D | file.c | 141 static bool need_inode_page_update(struct f2fs_sb_info *sbi, nid_t ino) in need_inode_page_update() argument 143 struct page *i = find_get_page(NODE_MAPPING(sbi), ino); in need_inode_page_update() 146 if ((i && PageDirty(i)) || need_inode_block_update(sbi, ino)) in need_inode_page_update() 177 nid_t ino = inode->i_ino; in f2fs_sync_file() local 212 !exist_written_data(sbi, ino, APPEND_INO)) { in f2fs_sync_file() 215 if (need_inode_page_update(sbi, ino)) in f2fs_sync_file() 219 exist_written_data(sbi, ino, UPDATE_INO)) in f2fs_sync_file() 249 sync_node_pages(sbi, ino, &wbc); in f2fs_sync_file() 255 if (need_inode_block_update(sbi, ino)) { in f2fs_sync_file() 261 ret = wait_on_node_pages_writeback(sbi, ino); in f2fs_sync_file() [all …]
|
D | gc.c | 339 static struct inode *find_gc_inode(struct gc_inode_list *gc_list, nid_t ino) in find_gc_inode() argument 343 ie = radix_tree_lookup(&gc_list->iroot, ino); in find_gc_inode() 591 ra_node_page(sbi, dni.ino); in gc_data_segment() 598 inode = f2fs_iget(sb, dni.ino); in gc_data_segment() 617 inode = find_gc_inode(gc_list, dni.ino); in gc_data_segment()
|
D | data.c | 396 nid_t ino) in __find_extent_tree() argument 401 et = radix_tree_lookup(&sbi->extent_tree_root, ino); in __find_extent_tree() 416 nid_t ino = inode->i_ino; in __grab_extent_tree() local 419 et = radix_tree_lookup(&sbi->extent_tree_root, ino); in __grab_extent_tree() 422 f2fs_radix_tree_insert(&sbi->extent_tree_root, ino, et); in __grab_extent_tree() 424 et->ino = ino; in __grab_extent_tree() 773 unsigned long ino = F2FS_ROOT_INO(sbi); in f2fs_shrink_extent_tree() local 795 (void **)treevec, ino, EXT_TREE_VEC_SIZE))) { in f2fs_shrink_extent_tree() 798 ino = treevec[found - 1]->ino + 1; in f2fs_shrink_extent_tree() 817 radix_tree_delete(&sbi->extent_tree_root, et->ino); in f2fs_shrink_extent_tree()
|
/linux-4.1.27/fs/nfsd/ |
D | nfsfh.h | 13 static inline __u32 ino_t_to_u32(ino_t ino) in ino_t_to_u32() argument 15 return (__u32) ino; in ino_t_to_u32() 86 static inline void mk_fsid(int vers, u32 *fsidv, dev_t dev, ino_t ino, in mk_fsid() argument 94 fsidv[1] = ino_t_to_u32(ino); in mk_fsid() 102 fsidv[2] = ino_t_to_u32(ino); in mk_fsid() 107 fsidv[1] = ino_t_to_u32(ino); in mk_fsid() 113 fsidv[0] = ino_t_to_u32(ino); in mk_fsid() 131 *(u64*)fsidv = (u64)ino; in mk_fsid()
|
D | nfs3xdr.c | 181 p = xdr_encode_hyper(p, stat->ino); in encode_fattr3() 794 int namlen, u64 ino) in encode_entry_baggage() argument 797 p = xdr_encode_hyper(p, ino); /* file id */ in encode_entry_baggage() 873 loff_t offset, u64 ino, unsigned int d_type, int plus) in encode_entry() argument 927 p = encode_entry_baggage(cd, p, name, namlen, ino); in encode_entry() 941 p1 = encode_entry_baggage(cd, p1, name, namlen, ino); in encode_entry() 1002 int namlen, loff_t offset, u64 ino, unsigned int d_type) in nfs3svc_encode_entry() argument 1004 return encode_entry(cd, name, namlen, offset, ino, d_type, 0); in nfs3svc_encode_entry() 1009 int namlen, loff_t offset, u64 ino, in nfs3svc_encode_entry_plus() argument 1012 return encode_entry(cd, name, namlen, offset, ino, d_type, 1); in nfs3svc_encode_entry_plus()
|
D | nfsxdr.c | 187 *p++ = htonl((u32) stat->ino); in encode_fattr() 498 int namlen, loff_t offset, u64 ino, unsigned int d_type) in nfssvc_encode_entry() argument 525 if (ino > ~((u32) 0)) { in nfssvc_encode_entry() 530 *p++ = htonl((u32) ino); /* file id */ in nfssvc_encode_entry()
|
/linux-4.1.27/fs/xfs/ |
D | xfs_export.c | 104 fid->i32.ino = XFS_I(inode)->i_ino; in xfs_fs_encode_fh() 112 fid64->ino = XFS_I(inode)->i_ino; in xfs_fs_encode_fh() 123 u64 ino, in xfs_nfs_get_inode() argument 133 if (ino == 0) in xfs_nfs_get_inode() 141 error = xfs_iget(mp, NULL, ino, XFS_IGET_UNTRUSTED, 0, &ip); in xfs_nfs_get_inode() 176 inode = xfs_nfs_get_inode(sb, fid->i32.ino, fid->i32.gen); in xfs_fs_fh_to_dentry() 180 inode = xfs_nfs_get_inode(sb, fid64->ino, fid64->gen); in xfs_fs_fh_to_dentry()
|
D | xfs_trace.h | 47 __field(xfs_ino_t, ino) 60 __entry->ino = ctx->dp->i_ino; 73 __entry->ino, 169 __field(xfs_ino_t, ino) 184 __entry->ino = ctx->dp->i_ino; 200 __entry->ino, 221 __field(xfs_ino_t, ino) 232 __entry->ino = ip->i_ino; 244 __entry->ino, 260 __field(xfs_ino_t, ino) [all …]
|
D | xfs_itable.h | 27 xfs_ino_t ino, 62 xfs_ino_t ino, 72 xfs_ino_t ino,
|
D | xfs_itable.c | 37 xfs_ino_t ino) in xfs_internal_inum() argument 39 return (ino == mp->m_sb.sb_rbmino || ino == mp->m_sb.sb_rsumino || in xfs_internal_inum() 41 xfs_is_quota_inode(&mp->m_sb, ino))); in xfs_internal_inum() 51 xfs_ino_t ino, /* inode to get data for */ in xfs_bulkstat_one_int() argument 65 if (!buffer || xfs_internal_inum(mp, ino)) in xfs_bulkstat_one_int() 72 error = xfs_iget(mp, NULL, ino, in xfs_bulkstat_one_int() 89 buf->bs_ino = ino; in xfs_bulkstat_one_int() 161 xfs_ino_t ino, /* inode number to get data for */ in xfs_bulkstat_one() argument 167 return xfs_bulkstat_one_int(mp, ino, buffer, ubsize, in xfs_bulkstat_one()
|
D | xfs_quotaops.c | 37 xfs_ino_t ino) in xfs_qm_fill_state() argument 42 tstate->ino = ino; in xfs_qm_fill_state() 43 if (!ip && ino == NULLFSINO) in xfs_qm_fill_state() 46 if (xfs_iget(mp, NULL, ino, 0, 0, &ip)) in xfs_qm_fill_state()
|
D | xfs_icache.c | 49 xfs_ino_t ino) in xfs_inode_alloc() argument 75 ip->i_ino = ino; in xfs_inode_alloc() 144 xfs_ino_t ino, in xfs_iget_cache_hit() argument 160 if (ip->i_ino != ino) { in xfs_iget_cache_hit() 278 xfs_ino_t ino, in xfs_iget_cache_miss() argument 285 xfs_agino_t agino = XFS_INO_TO_AGINO(mp, ino); in xfs_iget_cache_miss() 288 ip = xfs_inode_alloc(mp, ino); in xfs_iget_cache_miss() 392 xfs_ino_t ino, in xfs_iget() argument 412 if (!ino || XFS_INO_TO_AGNO(mp, ino) >= mp->m_sb.sb_agcount) in xfs_iget() 416 pag = xfs_perag_get(mp, XFS_INO_TO_AGNO(mp, ino)); in xfs_iget() [all …]
|
D | xfs_icache.h | 51 int xfs_iget(struct xfs_mount *mp, struct xfs_trans *tp, xfs_ino_t ino, 55 struct xfs_inode * xfs_inode_alloc(struct xfs_mount *mp, xfs_ino_t ino);
|
D | xfs_export.h | 63 u64 ino; member
|
D | xfs_dir2_readdir.c | 70 xfs_ino_t ino; in xfs_dir2_sf_getdents() local 119 ino = dp->d_ops->sf_get_parent_ino(sfp); in xfs_dir2_sf_getdents() 121 if (!dir_emit(ctx, "..", 2, ino, DT_DIR)) in xfs_dir2_sf_getdents() 140 ino = dp->d_ops->sf_get_ino(sfp, sfep); in xfs_dir2_sf_getdents() 143 if (!dir_emit(ctx, (char *)sfep->name, sfep->namelen, ino, in xfs_dir2_sf_getdents()
|
/linux-4.1.27/fs/ |
D | readdir.c | 78 loff_t offset, u64 ino, unsigned int d_type) in fillonedir() argument 87 d_ino = ino; in fillonedir() 88 if (sizeof(d_ino) < sizeof(ino) && d_ino != ino) { in fillonedir() 153 loff_t offset, u64 ino, unsigned int d_type) in filldir() argument 165 d_ino = ino; in filldir() 166 if (sizeof(d_ino) < sizeof(ino) && d_ino != ino) { in filldir() 238 loff_t offset, u64 ino, unsigned int d_type) in filldir64() argument 255 if (__put_user(ino, &dirent->d_ino)) in filldir64()
|
D | stat.c | 24 stat->ino = inode->i_ino; in generic_fillattr() 156 tmp.st_ino = stat->ino; in cp_old_stat() 157 if (sizeof(tmp.st_ino) < sizeof(stat->ino) && tmp.st_ino != stat->ino) in cp_old_stat() 242 tmp.st_ino = stat->ino; in cp_new_stat() 243 if (sizeof(tmp.st_ino) < sizeof(stat->ino) && tmp.st_ino != stat->ino) in cp_new_stat() 378 tmp.st_ino = stat->ino; in cp_new_stat64() 379 if (sizeof(tmp.st_ino) < sizeof(stat->ino) && tmp.st_ino != stat->ino) in cp_new_stat64() 382 tmp.__st_ino = stat->ino; in cp_new_stat64()
|
D | inode.c | 788 struct hlist_head *head, unsigned long ino) in find_inode_fast() argument 794 if (inode->i_ino != ino) in find_inode_fast() 1063 struct inode *iget_locked(struct super_block *sb, unsigned long ino) in iget_locked() argument 1065 struct hlist_head *head = inode_hashtable + hash(sb, ino); in iget_locked() 1069 inode = find_inode_fast(sb, head, ino); in iget_locked() 1082 old = find_inode_fast(sb, head, ino); in iget_locked() 1084 inode->i_ino = ino; in iget_locked() 1119 static int test_inode_iunique(struct super_block *sb, unsigned long ino) in test_inode_iunique() argument 1121 struct hlist_head *b = inode_hashtable + hash(sb, ino); in test_inode_iunique() 1126 if (inode->i_ino == ino && inode->i_sb == sb) { in test_inode_iunique() [all …]
|
D | compat.c | 138 tmp.st_ino = stat->ino; in cp_compat_stat() 139 if (sizeof(tmp.st_ino) < sizeof(stat->ino) && tmp.st_ino != stat->ino) in cp_compat_stat() 851 int namlen, loff_t offset, u64 ino, in compat_fillonedir() argument 861 d_ino = ino; in compat_fillonedir() 862 if (sizeof(d_ino) < sizeof(ino) && d_ino != ino) { in compat_fillonedir() 921 loff_t offset, u64 ino, unsigned int d_type) in compat_filldir() argument 933 d_ino = ino; in compat_filldir() 934 if (sizeof(d_ino) < sizeof(ino) && d_ino != ino) { in compat_filldir() 1008 int namlen, loff_t offset, u64 ino, in compat_filldir64() argument 1028 if (__put_user_unaligned(ino, &dirent->d_ino)) in compat_filldir64()
|
/linux-4.1.27/fs/ufs/ |
D | ialloc.c | 63 unsigned ino, cg, bit; in ufs_free_inode() local 70 ino = inode->i_ino; in ufs_free_inode() 74 if (!((ino > 1) && (ino < (uspi->s_ncg * uspi->s_ipg )))) { in ufs_free_inode() 75 ufs_warning(sb, "ufs_free_inode", "reserved inode or nonexistent inode %u\n", ino); in ufs_free_inode() 80 cg = ufs_inotocg (ino); in ufs_free_inode() 81 bit = ufs_inotocgoff (ino); in ufs_free_inode() 96 ufs_error(sb, "ufs_free_inode", "bit already cleared for inode %u", ino); in ufs_free_inode() 99 if (ino < ucpi->c_irotor) in ufs_free_inode() 100 ucpi->c_irotor = ino; in ufs_free_inode()
|
D | namei.c | 54 ino_t ino; in ufs_lookup() local 60 ino = ufs_inode_by_name(dir, &dentry->d_name); in ufs_lookup() 61 if (ino) in ufs_lookup() 62 inode = ufs_iget(dir->i_sb, ino); in ufs_lookup()
|
/linux-4.1.27/fs/hpfs/ |
D | map.c | 137 struct fnode *hpfs_map_fnode(struct super_block *s, ino_t ino, struct buffer_head **bhp) in hpfs_map_fnode() argument 140 if (hpfs_sb(s)->sb_chk) if (hpfs_chk_sectors(s, ino, 1, "fnode")) { in hpfs_map_fnode() 143 if ((fnode = hpfs_map_sector(s, ino, bhp, FNODE_RD_AHEAD))) { in hpfs_map_fnode() 149 (unsigned long)ino); in hpfs_map_fnode() 157 (unsigned long)ino); in hpfs_map_fnode() 164 (unsigned long)ino); in hpfs_map_fnode() 172 (unsigned long)ino, in hpfs_map_fnode() 181 (unsigned long)ino); in hpfs_map_fnode() 295 dnode_secno hpfs_fnode_dno(struct super_block *s, ino_t ino) in hpfs_fnode_dno() argument 301 fnode = hpfs_map_fnode(s, ino, &bh); in hpfs_fnode_dno()
|
D | dir.c | 202 ino_t ino; in hpfs_lookup() local 232 ino = le32_to_cpu(de->fnode); in hpfs_lookup() 238 result = iget_locked(dir->i_sb, ino); in hpfs_lookup()
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
D | lustre_fid.h | 669 __u64 ino; in fid_flatten() local 673 ino = lu_igif_ino(fid); in fid_flatten() 674 return ino; in fid_flatten() 679 ino = (seq << 24) + ((seq >> 24) & 0xffffff0000ULL) + fid_oid(fid); in fid_flatten() 681 return ino ? ino : fid_oid(fid); in fid_flatten() 695 __u32 ino; in fid_flatten32() local 699 ino = lu_igif_ino(fid); in fid_flatten32() 700 return ino; in fid_flatten32() 710 ino = ((seq & 0x000fffffULL) << 12) + ((seq >> 8) & 0xfffff000) + in fid_flatten32() 714 return ino ? ino : fid_oid(fid); in fid_flatten32()
|
/linux-4.1.27/fs/fat/ |
D | nfs.c | 53 static struct inode *fat_ilookup(struct super_block *sb, u64 ino, loff_t i_pos) in fat_ilookup() argument 59 if ((ino < MSDOS_ROOT_INO) || (ino == MSDOS_FSINFO_INO)) in fat_ilookup() 61 return ilookup(sb, ino); in fat_ilookup() 66 u64 ino, u32 generation, loff_t i_pos) in __fat_nfs_get_inode() argument 68 struct inode *inode = fat_ilookup(sb, ino, i_pos); in __fat_nfs_get_inode() 102 u64 ino, u32 generation) in fat_nfs_get_inode() argument 105 return __fat_nfs_get_inode(sb, ino, generation, 0); in fat_nfs_get_inode()
|
/linux-4.1.27/fs/proc/ |
D | proc_net.c | 39 int seq_open_net(struct inode *ino, struct file *f, in seq_open_net() argument 47 net = get_proc_net(ino); in seq_open_net() 87 int seq_release_net(struct inode *ino, struct file *f) in seq_release_net() argument 94 seq_release_private(ino, f); in seq_release_net() 99 int single_release_net(struct inode *ino, struct file *f) in single_release_net() argument 103 return single_release(ino, f); in single_release_net()
|
D | nommu.c | 39 unsigned long ino = 0; in nommu_region_show() local 50 ino = inode->i_ino; in nommu_region_show() 63 MAJOR(dev), MINOR(dev), ino); in nommu_region_show()
|
D | task_nommu.c | 153 unsigned long ino = 0; in nommu_vma_show() local 165 ino = inode->i_ino; in nommu_vma_show() 179 MAJOR(dev), MINOR(dev), ino); in nommu_vma_show()
|
/linux-4.1.27/init/ |
D | initramfs.c | 57 int ino, minor, major; member 63 static inline int hash(int major, int minor, int ino) in hash() argument 65 unsigned long tmp = ino + minor + (major << 3); in hash() 70 static char __init *find_link(int major, int minor, int ino, in find_link() argument 74 for (p = head + hash(major, minor, ino); *p; p = &(*p)->next) { in find_link() 75 if ((*p)->ino != ino) in find_link() 90 q->ino = ino; in find_link() 155 static __initdata unsigned long ino, major, minor, nlink; variable 173 ino = parsed[0]; in parse_header() 305 char *old = find_link(major, minor, ino, mode, collected); in maybe_link()
|
/linux-4.1.27/fs/overlayfs/ |
D | readdir.c | 23 u64 ino; member 85 u64 ino, unsigned int d_type) in ovl_cache_entry_new() argument 98 p->ino = ino; in ovl_cache_entry_new() 109 const char *name, int len, u64 ino, in ovl_cache_entry_add_rb() argument 131 p = ovl_cache_entry_new(rdd, name, len, ino, d_type); in ovl_cache_entry_add_rb() 144 loff_t offset, u64 ino, unsigned int d_type) in ovl_fill_lower() argument 152 p = ovl_cache_entry_new(rdd, name, namelen, ino, d_type); in ovl_fill_lower() 189 int namelen, loff_t offset, u64 ino, in ovl_fill_merge() argument 197 return ovl_cache_entry_add_rb(rdd, name, namelen, ino, d_type); in ovl_fill_merge() 199 return ovl_fill_lower(rdd, name, namelen, offset, ino, d_type); in ovl_fill_merge() [all …]
|
/linux-4.1.27/include/uapi/linux/ |
D | bfs_fs.h | 45 __le16 ino; member 67 #define BFS_INO2OFF(ino) \ argument 68 ((__u32)(((ino) - BFS_ROOT_INO) * sizeof(struct bfs_inode)) + BFS_BSIZE)
|
D | jffs2.h | 124 jint32_t ino; /* == zero for unlink */ member 146 jint32_t ino; /* Inode number. */ member 187 jint32_t ino; /* inode number */ member
|
D | fuse.h | 149 uint64_t ino; member 691 uint64_t ino; member 715 uint64_t ino; member
|
D | auto_fs4.h | 134 __u64 ino; member
|
/linux-4.1.27/fs/xfs/libxfs/ |
D | xfs_symlink_remote.c | 53 xfs_ino_t ino, in xfs_symlink_hdr_set() argument 67 dsl->sl_owner = cpu_to_be64(ino); in xfs_symlink_hdr_set() 81 xfs_ino_t ino, in xfs_symlink_hdr_ok() argument 92 if (ino != be64_to_cpu(dsl->sl_owner)) in xfs_symlink_hdr_ok()
|
D | xfs_attr_remote.c | 70 xfs_ino_t ino, in xfs_attr3_rmt_hdr_ok() argument 83 if (ino != be64_to_cpu(rmt->rm_owner)) in xfs_attr3_rmt_hdr_ok() 212 xfs_ino_t ino, in xfs_attr3_rmt_hdr_set() argument 226 rmt->rm_owner = cpu_to_be64(ino); in xfs_attr3_rmt_hdr_set() 251 xfs_ino_t ino, in xfs_attr_rmtval_copyout() argument 270 if (!xfs_attr3_rmt_hdr_ok(src, ino, *offset, in xfs_attr_rmtval_copyout() 274 bno, *offset, byte_cnt, ino); in xfs_attr_rmtval_copyout() 299 xfs_ino_t ino, in xfs_attr_rmtval_copyin() argument 316 hdr_size = xfs_attr3_rmt_hdr_set(mp, dst, ino, *offset, in xfs_attr_rmtval_copyin()
|
D | xfs_da_format.c | 140 xfs_ino_t ino) in xfs_dir2_sf_put_ino() argument 142 ASSERT((ino & 0xff00000000000000ULL) == 0); in xfs_dir2_sf_put_ino() 145 put_unaligned_be64(ino, &to->i8.i); in xfs_dir2_sf_put_ino() 147 put_unaligned_be32(ino, &to->i4.i); in xfs_dir2_sf_put_ino() 160 xfs_ino_t ino) in xfs_dir2_sf_put_parent_ino() argument 162 xfs_dir2_sf_put_ino(hdr, &hdr->parent, ino); in xfs_dir2_sf_put_parent_ino() 184 xfs_ino_t ino) in xfs_dir2_sfe_put_ino() argument 187 (xfs_dir2_inou_t *)&sfep->name[sfep->namelen], ino); in xfs_dir2_sfe_put_ino() 203 xfs_ino_t ino) in xfs_dir3_sfe_put_ino() argument 206 (xfs_dir2_inou_t *)&sfep->name[sfep->namelen + 1], ino); in xfs_dir3_sfe_put_ino()
|
D | xfs_ialloc.c | 63 xfs_agino_t ino, /* starting inode of chunk */ in xfs_inobt_lookup() argument 67 cur->bc_rec.i.ir_startino = ino; in xfs_inobt_lookup() 234 xfs_ino_t ino = 0; in xfs_ialloc_inode_init() local 266 ino = XFS_AGINO_TO_INO(mp, agno, in xfs_ialloc_inode_init() 308 free->di_ino = cpu_to_be64(ino); in xfs_ialloc_inode_init() 309 ino++; in xfs_ialloc_inode_init() 752 xfs_ino_t ino; in xfs_dialloc_ag_inobt() local 969 ino = XFS_AGINO_TO_INO(mp, agno, rec.ir_startino + offset); in xfs_dialloc_ag_inobt() 986 *inop = ino; in xfs_dialloc_ag_inobt() 1178 xfs_ino_t ino; in xfs_dialloc_ag() local [all …]
|
D | xfs_dir2.c | 194 xfs_ino_t ino) in xfs_dir_ino_validate() argument 202 agno = XFS_INO_TO_AGNO(mp, ino); in xfs_dir_ino_validate() 203 agblkno = XFS_INO_TO_AGBNO(mp, ino); in xfs_dir_ino_validate() 204 ioff = XFS_INO_TO_OFFSET(mp, ino); in xfs_dir_ino_validate() 211 XFS_AGINO_TO_INO(mp, agno, agino) == ino; in xfs_dir_ino_validate() 215 (unsigned long long) ino); in xfs_dir_ino_validate() 434 xfs_ino_t ino, in xfs_dir_removename() argument 455 args->inumber = ino; in xfs_dir_removename()
|
D | xfs_ialloc.h | 103 xfs_ino_t ino, /* inode to locate */ 146 int xfs_inobt_lookup(struct xfs_btree_cur *cur, xfs_agino_t ino,
|
D | xfs_dir2_sf.c | 608 xfs_ino_t ino; /* entry inode number */ in xfs_dir2_sf_check() local 617 ino = dp->d_ops->sf_get_parent_ino(sfp); in xfs_dir2_sf_check() 618 i8count = ino > XFS_DIR2_MAX_SHORT_INUM; in xfs_dir2_sf_check() 624 ino = dp->d_ops->sf_get_ino(sfp, sfep); in xfs_dir2_sf_check() 625 i8count += ino > XFS_DIR2_MAX_SHORT_INUM; in xfs_dir2_sf_check() 874 xfs_ino_t ino=0; /* entry old inode number */ in xfs_dir2_sf_replace() local 933 ino = dp->d_ops->sf_get_parent_ino(sfp); in xfs_dir2_sf_replace() 934 ASSERT(args->inumber != ino); in xfs_dir2_sf_replace() 945 ino = dp->d_ops->sf_get_ino(sfp, sfep); in xfs_dir2_sf_replace() 946 ASSERT(args->inumber != ino); in xfs_dir2_sf_replace() [all …]
|
D | xfs_shared.h | 237 int xfs_symlink_hdr_set(struct xfs_mount *mp, xfs_ino_t ino, uint32_t offset, 239 bool xfs_symlink_hdr_ok(xfs_ino_t ino, uint32_t offset,
|
D | xfs_dir2.h | 55 xfs_ino_t ino); 58 xfs_ino_t ino); 137 struct xfs_name *name, xfs_ino_t ino,
|
/linux-4.1.27/fs/openpromfs/ |
D | inode.c | 41 static struct inode *openprom_iget(struct super_block *sb, ino_t ino); 188 unsigned int ino; in openpromfs_lookup() local 208 ino = child->unique_id; in openpromfs_lookup() 221 ino = prop->unique_id; in openpromfs_lookup() 232 inode = openprom_iget(dir->i_sb, ino); in openpromfs_lookup() 350 static struct inode *openprom_iget(struct super_block *sb, ino_t ino) in openprom_iget() argument 354 inode = iget_locked(sb, ino); in openprom_iget()
|
/linux-4.1.27/fs/exportfs/ |
D | expfs.c | 235 u64 ino; /* the inum we are looking for */ member 245 loff_t pos, u64 ino, unsigned int d_type) in filldir_one() argument 252 if (buf->ino == ino && len <= NAME_MAX) { in filldir_one() 301 buffer.ino = stat.ino; in get_name() 365 fid->i32.ino = inode->i_ino; in export_encode_fh()
|
/linux-4.1.27/include/linux/ |
D | exportfs.h | 108 u32 ino; member 232 struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen)); 235 struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen));
|
D | f2fs_fs.h | 143 __le32 ino[F2FS_ORPHANS_PER_BLOCK]; /* inode numbers */ member 237 __le32 ino; /* inode nunmber */ member 260 __le32 ino; /* inode number */ member 431 __le32 ino; /* inode number */ member
|
D | stat.h | 22 u64 ino; member
|
D | nfs_fs.h | 549 ino_t ino = (ino_t) fileid; in nfs_fileid_to_ino_t() local 551 ino ^= fileid >> (sizeof(u64)-sizeof(ino_t)) * 8; in nfs_fileid_to_ino_t() 552 return ino; in nfs_fileid_to_ino_t()
|
D | nilfs2_fs.h | 262 #define NILFS_ROOT_METADATA_FILE(ino) \ argument 263 ((ino) >= NILFS_DAT_INO && (ino) <= NILFS_SUFILE_INO)
|
D | cleancache.h | 22 ino_t ino; member
|
/linux-4.1.27/include/linux/ceph/ |
D | ceph_fs.h | 409 __le64 ino; /* use this ino for openc, mkdir, mknod, member 416 __le64 ino, cap_id; /* ino and unique cap id */ member 458 __le64 ino; member 637 __le64 ino, realm; member 677 __le64 ino; member 693 __le64 ino; member 722 __le64 ino; /* snap realm base */ member 753 __le64 ino; /* ino */ member
|
D | types.h | 18 u64 ino; member
|
D | decode.h | 198 u64 ino, const char *path) in ceph_encode_filepath() argument 201 BUG_ON(*p + 1 + sizeof(ino) + sizeof(len) + len > end); in ceph_encode_filepath() 203 ceph_encode_64(p, ino); in ceph_encode_filepath()
|
/linux-4.1.27/drivers/isdn/mISDN/ |
D | timerdev.c | 51 mISDN_open(struct inode *ino, struct file *filep) in mISDN_open() argument 56 printk(KERN_DEBUG "%s(%p,%p)\n", __func__, ino, filep); in mISDN_open() 67 return nonseekable_open(ino, filep); in mISDN_open() 71 mISDN_close(struct inode *ino, struct file *filep) in mISDN_close() argument 78 printk(KERN_DEBUG "%s(%p,%p)\n", __func__, ino, filep); in mISDN_close()
|
/linux-4.1.27/usr/ |
D | gen_init_cpio.c | 24 static unsigned int ino = 721; variable 112 ino++, /* ino */ in cpio_mkslink() 161 ino++, /* ino */ in cpio_mkgeneric() 255 ino++, /* ino */ in cpio_mknod() 345 ino, /* ino */ in cpio_mkfile() 373 ino++; in cpio_mkfile()
|
/linux-4.1.27/net/unix/ |
D | diag.c | 41 int ino; in sk_diag_dump_peer() local 46 ino = sock_i_ino(peer); in sk_diag_dump_peer() 50 return nla_put_u32(nlskb, UNIX_DIAG_PEER, ino); in sk_diag_dump_peer() 223 static struct sock *unix_lookup_by_ino(unsigned int ino) in unix_lookup_by_ino() argument 231 if (ino == sock_i_ino(sk)) { in unix_lookup_by_ino()
|
/linux-4.1.27/drivers/isdn/hysdn/ |
D | hysdn_procconf.c | 229 hysdn_conf_open(struct inode *ino, struct file *filep) in hysdn_conf_open() argument 237 card = PDE_DATA(ino); in hysdn_conf_open() 297 return nonseekable_open(ino, filep); in hysdn_conf_open() 304 hysdn_conf_close(struct inode *ino, struct file *filep) in hysdn_conf_close() argument 311 card = PDE_DATA(ino); in hysdn_conf_close()
|
D | hysdn_proclog.c | 204 hysdn_log_open(struct inode *ino, struct file *filep) in hysdn_log_open() argument 206 hysdn_card *card = PDE_DATA(ino); in hysdn_log_open() 229 return nonseekable_open(ino, filep); in hysdn_log_open() 240 hysdn_log_close(struct inode *ino, struct file *filep) in hysdn_log_close() argument
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
D | llog_internal.h | 75 lustre_build_llog_lvfs_oid(struct llog_logid *logid, __u64 ino, __u32 gen) in lustre_build_llog_lvfs_oid() argument 78 ostid_set_id(&logid->lgl_oi, ino); in lustre_build_llog_lvfs_oid()
|
/linux-4.1.27/fs/udf/ |
D | udfdecl.h | 144 struct kernel_lb_addr *ino) in udf_iget_special() argument 146 return __udf_iget(sb, ino, true); in udf_iget_special() 149 struct kernel_lb_addr *ino) in udf_iget() argument 151 return __udf_iget(sb, ino, false); in udf_iget()
|
/linux-4.1.27/drivers/isdn/hardware/eicon/ |
D | divamnt.c | 130 static int maint_open(struct inode *ino, struct file *filep) in maint_open() argument 141 ret = nonseekable_open(ino, filep); in maint_open() 147 static int maint_close(struct inode *ino, struct file *filep) in maint_close() argument
|
/linux-4.1.27/drivers/fmc/ |
D | fmc-chardev.c | 30 static int fc_open(struct inode *ino, struct file *f) in fc_open() argument 34 int minor = iminor(ino); in fc_open() 49 static int fc_release(struct inode *ino, struct file *f) in fc_release() argument
|
/linux-4.1.27/fs/omfs/ |
D | dir.c | 305 ino_t ino = be64_to_cpu(oi->i_head.h_self); in omfs_lookup() local 307 inode = omfs_iget(dir->i_sb, ino); in omfs_lookup() 320 u64 ino = be64_to_cpu(header->h_self); in omfs_is_bad() local 321 is_bad = ((ino != fsblock) || (ino < sbi->s_root_ino) || in omfs_is_bad() 322 (ino > sbi->s_num_blocks)); in omfs_is_bad()
|
D | inode.c | 200 struct inode *omfs_iget(struct super_block *sb, ino_t ino) in omfs_iget() argument 209 inode = iget_locked(sb, ino); in omfs_iget() 215 bh = omfs_bread(inode->i_sb, ino); in omfs_iget() 222 if (ino != be64_to_cpu(oi->i_head.h_self)) in omfs_iget()
|
D | omfs.h | 65 extern int omfs_find_empty_block(struct super_block *sb, int mode, ino_t *ino);
|
/linux-4.1.27/fs/exofs/ |
D | namei.c | 52 ino_t ino; in exofs_lookup() local 57 ino = exofs_inode_by_name(dir, dentry); in exofs_lookup() 58 inode = ino ? exofs_iget(dir->i_sb, ino) : NULL; in exofs_lookup()
|
/linux-4.1.27/fs/ncpfs/ |
D | dir.c | 588 ino_t ino = 0; in ncp_fill_cache() local 628 entry->ino = iunique(dir->i_sb, 2); in ncp_fill_cache() 665 ino = d_inode(newdent)->i_ino; in ncp_fill_cache() 675 if (!ino) in ncp_fill_cache() 676 ino = iunique(dir->i_sb, 2); in ncp_fill_cache() 678 ino, DT_UNKNOWN); in ncp_fill_cache() 810 struct inode* ino = d_inode(dent); in ncp_conn_logged_in() local 811 if (ino) { in ncp_conn_logged_in() 813 NCP_FINFO(ino)->volNumber = volNumber; in ncp_conn_logged_in() 814 NCP_FINFO(ino)->dirEntNum = dirEntNum; in ncp_conn_logged_in() [all …]
|
D | ncp_fs.h | 36 ino_t ino; member
|
/linux-4.1.27/security/selinux/ |
D | selinuxfs.c | 207 ino_t ino = file_inode(filp)->i_ino; in sel_read_handle_unknown() local 208 int handle_unknown = (ino == SEL_REJECT_UNKNOWN) ? in sel_read_handle_unknown() 350 unsigned long *ino); 676 ino_t ino = file_inode(file)->i_ino; in selinux_transaction_write() local 680 if (ino >= ARRAY_SIZE(write_op) || !write_op[ino]) in selinux_transaction_write() 687 rv = write_op[ino](file, data, size); in selinux_transaction_write() 1522 static inline u16 sel_ino_to_class(unsigned long ino) in sel_ino_to_class() argument 1524 return (ino & SEL_INO_MASK) / (SEL_VEC_MAX + 1); in sel_ino_to_class() 1532 static inline u32 sel_ino_to_perm(unsigned long ino) in sel_ino_to_perm() argument 1534 return (ino & SEL_INO_MASK) % (SEL_VEC_MAX + 1); in sel_ino_to_perm() [all …]
|
/linux-4.1.27/fs/cifs/ |
D | readdir.c | 399 u64 ino; member 411 de->ino = le64_to_cpu(info->basic.UniqueId); in cifs_fill_dirent_unix() 436 de->ino = le64_to_cpu(info->UniqueId); in cifs_fill_dirent_search() 694 ino_t ino; in cifs_filldir() local 746 if (de.ino && (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM)) { in cifs_filldir() 747 fattr.cf_uniqueid = de.ino; in cifs_filldir() 764 ino = cifs_uniqueid_to_ino_t(fattr.cf_uniqueid); in cifs_filldir() 765 return !dir_emit(ctx, name.name, name.len, ino, fattr.cf_dtype); in cifs_filldir()
|
/linux-4.1.27/drivers/isdn/divert/ |
D | divert_procfs.c | 139 isdn_divert_open(struct inode *ino, struct file *filep) in isdn_divert_open() argument 151 return nonseekable_open(ino, filep); in isdn_divert_open() 158 isdn_divert_close(struct inode *ino, struct file *filep) in isdn_divert_close() argument
|
/linux-4.1.27/fs/ntfs/ |
D | super.c | 1596 struct inode *ino; in load_and_init_attrdef() local 1603 ino = ntfs_iget(sb, FILE_AttrDef); in load_and_init_attrdef() 1604 if (IS_ERR(ino) || is_bad_inode(ino)) { in load_and_init_attrdef() 1605 if (!IS_ERR(ino)) in load_and_init_attrdef() 1606 iput(ino); in load_and_init_attrdef() 1609 NInoSetSparseDisabled(NTFS_I(ino)); in load_and_init_attrdef() 1611 i_size = i_size_read(ino); in load_and_init_attrdef() 1623 page = ntfs_map_page(ino->i_mapping, index); in load_and_init_attrdef() 1637 iput(ino); in load_and_init_attrdef() 1643 iput(ino); in load_and_init_attrdef() [all …]
|
/linux-4.1.27/fs/hppfs/ |
D | hppfs.c | 141 static struct dentry *hppfs_lookup(struct inode *ino, struct dentry *dentry, in hppfs_lookup() argument 155 parent = HPPFS_I(ino)->proc_dentry; in hppfs_lookup() 164 inode = get_inode(ino->i_sb, proc_dentry); in hppfs_lookup() 612 void hppfs_evict_inode(struct inode *ino) in hppfs_evict_inode() argument 614 clear_inode(ino); in hppfs_evict_inode() 615 dput(HPPFS_I(ino)->proc_dentry); in hppfs_evict_inode() 616 mntput(ino->i_sb->s_fs_info); in hppfs_evict_inode()
|
/linux-4.1.27/fs/romfs/ |
D | super.c | 155 int j, ino, nextfh; in romfs_readdir() local 194 ino = offset; in romfs_readdir() 197 ino = be32_to_cpu(ri.spec); in romfs_readdir() 198 if (!dir_emit(ctx, fsname, j, ino, in romfs_readdir()
|
/linux-4.1.27/fs/kernfs/ |
D | dir.c | 424 ida_simple_remove(&root->ino_ida, kn->ino); in kernfs_put() 531 kn->ino = ret; in __kernfs_new_node() 1394 struct kernfs_node *parent, ino_t ino, struct kernfs_node *pos) in kernfs_dir_next_pos() argument 1396 pos = kernfs_dir_pos(ns, parent, ino, pos); in kernfs_dir_next_pos() 1429 ino_t ino = pos->ino; in kernfs_fop_readdir() local 1436 if (!dir_emit(ctx, name, len, ino, type)) in kernfs_fop_readdir()
|
/linux-4.1.27/include/net/ |
D | raw.h | 55 int raw_seq_open(struct inode *ino, struct file *file,
|
/linux-4.1.27/arch/x86/ia32/ |
D | sys_ia32.c | 78 __put_user(stat->ino, &ubuf->__st_ino) || in cp_stat64() 79 __put_user(stat->ino, &ubuf->st_ino) || in cp_stat64()
|
/linux-4.1.27/security/integrity/evm/ |
D | evm_crypto.c | 101 unsigned long ino; in hmac_add_misc() member 109 hmac_misc.ino = inode->i_ino; in hmac_add_misc()
|
/linux-4.1.27/drivers/pci/ |
D | proc.c | 113 struct inode *ino = file_inode(file); in proc_bus_pci_write() local 114 struct pci_dev *dev = PDE_DATA(ino); in proc_bus_pci_write() 180 i_size_write(ino, dev->cfg_size); in proc_bus_pci_write()
|
/linux-4.1.27/fs/nfs/flexfilelayout/ |
D | flexfilelayoutdev.c | 366 struct inode *ino = lseg->pls_layout->plh_inode; in nfs4_ff_layout_prepare_ds() local 367 struct nfs_server *s = NFS_SERVER(ino); in nfs4_ff_layout_prepare_ds() 418 pnfs_error_mark_layout_for_return(ino, lseg); in nfs4_ff_layout_prepare_ds() 429 pnfs_error_mark_layout_for_return(ino, lseg); in nfs4_ff_layout_prepare_ds()
|
/linux-4.1.27/drivers/char/ipmi/ |
D | ipmi_watchdog.c | 863 static int ipmi_open(struct inode *ino, struct file *filep) in ipmi_open() argument 865 switch (iminor(ino)) { in ipmi_open() 876 return nonseekable_open(ino, filep); in ipmi_open() 906 static int ipmi_close(struct inode *ino, struct file *filep) in ipmi_close() argument 908 if (iminor(ino) == WATCHDOG_MINOR) { in ipmi_close()
|
/linux-4.1.27/fs/quota/ |
D | quota.c | 341 fqs->qs_uquota.qfs_ino = state.s_state[USRQUOTA].ino; in quota_getstate() 346 fqs->qs_gquota.qfs_ino = state.s_state[GRPQUOTA].ino; in quota_getstate() 357 fqs->qs_gquota.qfs_ino = state.s_state[PRJQUOTA].ino; in quota_getstate() 411 fqs->qs_uquota.qfs_ino = state.s_state[USRQUOTA].ino; in quota_getstatev() 416 fqs->qs_gquota.qfs_ino = state.s_state[GRPQUOTA].ino; in quota_getstatev() 421 fqs->qs_pquota.qfs_ino = state.s_state[PRJQUOTA].ino; in quota_getstatev()
|
/linux-4.1.27/arch/arc/kernel/ |
D | troubleshoot.c | 85 unsigned long ino = 0; in show_faulting_vma() local 106 ino = inode->i_ino; in show_faulting_vma()
|