/fs/ext2/ |
D | ioctl.c | 24 struct ext2_inode_info *ei = EXT2_I(inode); in ext2_ioctl() local 33 ext2_get_inode_flags(ei); in ext2_ioctl() 34 flags = ei->i_flags & EXT2_FL_USER_VISIBLE; in ext2_ioctl() 62 oldflags = ei->i_flags; in ext2_ioctl() 80 ei->i_flags = flags; in ext2_ioctl() 109 && ei->i_block_alloc_info) { in ext2_ioctl() 110 rsv_window_size = ei->i_block_alloc_info->rsv_window_node.rsv_goal_size; in ext2_ioctl() 140 mutex_lock(&ei->truncate_mutex); in ext2_ioctl() 141 if (!ei->i_block_alloc_info) in ext2_ioctl() 144 if (ei->i_block_alloc_info){ in ext2_ioctl() [all …]
|
D | inode.c | 261 struct ext2_inode_info *ei = EXT2_I(inode); in ext2_find_near() local 262 __le32 *start = ind->bh ? (__le32 *) ind->bh->b_data : ei->i_data; in ext2_find_near() 280 bg_start = ext2_group_first_block_no(inode->i_sb, ei->i_block_group); in ext2_find_near() 585 struct ext2_inode_info *ei = EXT2_I(inode); in ext2_get_blocks() local 628 mutex_lock(&ei->truncate_mutex); in ext2_get_blocks() 634 if (S_ISREG(inode->i_mode) && (!ei->i_block_alloc_info)) in ext2_get_blocks() 654 mutex_unlock(&ei->truncate_mutex); in ext2_get_blocks() 665 mutex_unlock(&ei->truncate_mutex); in ext2_get_blocks() 671 mutex_unlock(&ei->truncate_mutex); in ext2_get_blocks() 1006 struct ext2_inode_info *ei = EXT2_I(inode); in ext2_truncate() local [all …]
|
D | ialloc.c | 448 struct ext2_inode_info *ei; in ext2_new_inode() local 457 ei = EXT2_I(inode); in ext2_new_inode() 567 memset(ei->i_data, 0, sizeof(ei->i_data)); in ext2_new_inode() 568 ei->i_flags = in ext2_new_inode() 570 ei->i_faddr = 0; in ext2_new_inode() 571 ei->i_frag_no = 0; in ext2_new_inode() 572 ei->i_frag_size = 0; in ext2_new_inode() 573 ei->i_file_acl = 0; in ext2_new_inode() 574 ei->i_dir_acl = 0; in ext2_new_inode() 575 ei->i_dtime = 0; in ext2_new_inode() [all …]
|
D | super.c | 145 struct ext2_inode_info *ei; in ext2_alloc_inode() local 146 ei = (struct ext2_inode_info *)kmem_cache_alloc(ext2_inode_cachep, GFP_KERNEL); in ext2_alloc_inode() 147 if (!ei) in ext2_alloc_inode() 150 ei->i_acl = EXT2_ACL_NOT_CACHED; in ext2_alloc_inode() 151 ei->i_default_acl = EXT2_ACL_NOT_CACHED; in ext2_alloc_inode() 153 ei->i_block_alloc_info = NULL; in ext2_alloc_inode() 154 ei->vfs_inode.i_version = 1; in ext2_alloc_inode() 155 return &ei->vfs_inode; in ext2_alloc_inode() 165 struct ext2_inode_info *ei = (struct ext2_inode_info *) foo; in init_once() local 167 rwlock_init(&ei->i_meta_lock); in init_once() [all …]
|
D | acl.c | 158 struct ext2_inode_info *ei = EXT2_I(inode); in ext2_get_acl() local 169 acl = ext2_iget_acl(inode, &ei->i_acl); in ext2_get_acl() 176 acl = ext2_iget_acl(inode, &ei->i_default_acl); in ext2_get_acl() 203 ext2_iset_acl(inode, &ei->i_acl, acl); in ext2_get_acl() 207 ext2_iset_acl(inode, &ei->i_default_acl, acl); in ext2_get_acl() 220 struct ext2_inode_info *ei = EXT2_I(inode); in ext2_set_acl() local 269 ext2_iset_acl(inode, &ei->i_acl, acl); in ext2_set_acl() 273 ext2_iset_acl(inode, &ei->i_default_acl, acl); in ext2_set_acl()
|
D | symlink.c | 26 struct ext2_inode_info *ei = EXT2_I(dentry->d_inode); in ext2_follow_link() local 27 nd_set_link(nd, (char *)ei->i_data); in ext2_follow_link()
|
/fs/coda/ |
D | inode.c | 45 struct coda_inode_info *ei; in coda_alloc_inode() local 46 ei = (struct coda_inode_info *)kmem_cache_alloc(coda_inode_cachep, GFP_KERNEL); in coda_alloc_inode() 47 if (!ei) in coda_alloc_inode() 49 memset(&ei->c_fid, 0, sizeof(struct CodaFid)); in coda_alloc_inode() 50 ei->c_flags = 0; in coda_alloc_inode() 51 ei->c_uid = 0; in coda_alloc_inode() 52 ei->c_cached_perm = 0; in coda_alloc_inode() 53 return &ei->vfs_inode; in coda_alloc_inode() 63 struct coda_inode_info *ei = (struct coda_inode_info *) foo; in init_once() local 65 inode_init_once(&ei->vfs_inode); in init_once()
|
/fs/ext3/ |
D | inode.c | 414 struct ext3_inode_info *ei = EXT3_I(inode); in ext3_find_near() local 415 __le32 *start = ind->bh ? (__le32*) ind->bh->b_data : ei->i_data; in ext3_find_near() 434 bg_start = ext3_group_first_block_no(inode->i_sb, ei->i_block_group); in ext3_find_near() 801 struct ext3_inode_info *ei = EXT3_I(inode); in ext3_get_blocks_handle() local 850 mutex_lock(&ei->truncate_mutex); in ext3_get_blocks_handle() 872 mutex_unlock(&ei->truncate_mutex); in ext3_get_blocks_handle() 884 if (S_ISREG(inode->i_mode) && (!ei->i_block_alloc_info)) in ext3_get_blocks_handle() 919 if (!err && extend_disksize && inode->i_size > ei->i_disksize) in ext3_get_blocks_handle() 920 ei->i_disksize = inode->i_size; in ext3_get_blocks_handle() 921 mutex_unlock(&ei->truncate_mutex); in ext3_get_blocks_handle() [all …]
|
D | ioctl.c | 24 struct ext3_inode_info *ei = EXT3_I(inode); in ext3_ioctl() local 32 ext3_get_inode_flags(ei); in ext3_ioctl() 33 flags = ei->i_flags & EXT3_FL_USER_VISIBLE; in ext3_ioctl() 65 oldflags = ei->i_flags; in ext3_ioctl() 111 ei->i_flags = flags; in ext3_ioctl() 193 && ei->i_block_alloc_info) { in ext3_ioctl() 194 rsv_window_size = ei->i_block_alloc_info->rsv_window_node.rsv_goal_size; in ext3_ioctl() 225 mutex_lock(&ei->truncate_mutex); in ext3_ioctl() 226 if (!ei->i_block_alloc_info) in ext3_ioctl() 229 if (ei->i_block_alloc_info){ in ext3_ioctl() [all …]
|
D | ialloc.c | 429 struct ext3_inode_info *ei; in ext3_new_inode() local 443 ei = EXT3_I(inode); in ext3_new_inode() 558 memset(ei->i_data, 0, sizeof(ei->i_data)); in ext3_new_inode() 559 ei->i_dir_start_lookup = 0; in ext3_new_inode() 560 ei->i_disksize = 0; in ext3_new_inode() 562 ei->i_flags = in ext3_new_inode() 565 ei->i_faddr = 0; in ext3_new_inode() 566 ei->i_frag_no = 0; in ext3_new_inode() 567 ei->i_frag_size = 0; in ext3_new_inode() 569 ei->i_file_acl = 0; in ext3_new_inode() [all …]
|
D | acl.c | 161 struct ext3_inode_info *ei = EXT3_I(inode); in ext3_get_acl() local 172 acl = ext3_iget_acl(inode, &ei->i_acl); in ext3_get_acl() 179 acl = ext3_iget_acl(inode, &ei->i_default_acl); in ext3_get_acl() 206 ext3_iset_acl(inode, &ei->i_acl, acl); in ext3_get_acl() 210 ext3_iset_acl(inode, &ei->i_default_acl, acl); in ext3_get_acl() 226 struct ext3_inode_info *ei = EXT3_I(inode); in ext3_set_acl() local 274 ext3_iset_acl(inode, &ei->i_acl, acl); in ext3_set_acl() 278 ext3_iset_acl(inode, &ei->i_default_acl, acl); in ext3_set_acl()
|
D | symlink.c | 28 struct ext3_inode_info *ei = EXT3_I(dentry->d_inode); in ext3_follow_link() local 29 nd_set_link(nd, (char*)ei->i_data); in ext3_follow_link()
|
/fs/isofs/ |
D | inode.c | 64 struct iso_inode_info *ei; in isofs_alloc_inode() local 65 ei = kmem_cache_alloc(isofs_inode_cachep, GFP_KERNEL); in isofs_alloc_inode() 66 if (!ei) in isofs_alloc_inode() 68 return &ei->vfs_inode; in isofs_alloc_inode() 78 struct iso_inode_info *ei = foo; in init_once() local 80 inode_init_once(&ei->vfs_inode); in init_once() 953 struct iso_inode_info *ei = ISOFS_I(inode); in isofs_get_blocks() local 967 firstext = ei->i_first_extent; in isofs_get_blocks() 968 sect_size = ei->i_section_size >> ISOFS_BUFFER_BITS(inode); in isofs_get_blocks() 969 nextblk = ei->i_next_section_block; in isofs_get_blocks() [all …]
|
/fs/yaffs2/ |
D | yaffs_mtdif.c | 214 struct erase_info ei; in nandmtd_EraseBlockInNAND() local 217 ei.mtd = mtd; in nandmtd_EraseBlockInNAND() 218 ei.addr = addr; in nandmtd_EraseBlockInNAND() 219 ei.len = dev->nDataBytesPerChunk * dev->nChunksPerBlock; in nandmtd_EraseBlockInNAND() 220 ei.time = 1000; in nandmtd_EraseBlockInNAND() 221 ei.retries = 2; in nandmtd_EraseBlockInNAND() 222 ei.callback = NULL; in nandmtd_EraseBlockInNAND() 223 ei.priv = (u_long) dev; in nandmtd_EraseBlockInNAND() 229 retval = mtd->erase(mtd, &ei); in nandmtd_EraseBlockInNAND()
|
/fs/proc/ |
D | root.c | 44 struct proc_inode *ei; in proc_get_sb() local 52 ei = PROC_I(proc_mnt->mnt_sb->s_root->d_inode); in proc_get_sb() 53 if (!ei->pid) in proc_get_sb() 54 ei->pid = find_get_pid(1); in proc_get_sb() 75 ei = PROC_I(sb->s_root->d_inode); in proc_get_sb() 76 if (!ei->pid) { in proc_get_sb() 78 ei->pid = get_pid(find_pid_ns(1, ns)); in proc_get_sb()
|
D | inode.c | 77 struct proc_inode *ei; in proc_alloc_inode() local 80 ei = (struct proc_inode *)kmem_cache_alloc(proc_inode_cachep, GFP_KERNEL); in proc_alloc_inode() 81 if (!ei) in proc_alloc_inode() 83 ei->pid = NULL; in proc_alloc_inode() 84 ei->fd = 0; in proc_alloc_inode() 85 ei->op.proc_get_link = NULL; in proc_alloc_inode() 86 ei->pde = NULL; in proc_alloc_inode() 87 ei->sysctl = NULL; in proc_alloc_inode() 88 ei->sysctl_entry = NULL; in proc_alloc_inode() 89 inode = &ei->vfs_inode; in proc_alloc_inode() [all …]
|
/fs/ext4/ |
D | migrate.c | 336 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_ext_swap_inode_data() local 350 i_data[0] = ei->i_data[EXT4_IND_BLOCK]; in ext4_ext_swap_inode_data() 351 i_data[1] = ei->i_data[EXT4_DIND_BLOCK]; in ext4_ext_swap_inode_data() 352 i_data[2] = ei->i_data[EXT4_TIND_BLOCK]; in ext4_ext_swap_inode_data() 371 ei->i_flags |= EXT4_EXTENTS_FL; in ext4_ext_swap_inode_data() 372 memcpy(ei->i_data, tmp_ei->i_data, sizeof(ei->i_data)); in ext4_ext_swap_inode_data() 433 struct ext4_inode_info *ei = EXT4_I(inode); in free_ext_block() local 434 struct ext4_extent_header *eh = (struct ext4_extent_header *)ei->i_data; in free_ext_block() 457 struct ext4_inode_info *ei; in ext4_ext_migrate() local 530 ei = EXT4_I(inode); in ext4_ext_migrate() [all …]
|
D | inode.c | 456 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_find_near() local 457 __le32 *start = ind->bh ? (__le32 *) ind->bh->b_data : ei->i_data; in ext4_find_near() 477 bg_start = ext4_group_first_block_no(inode->i_sb, ei->i_block_group); in ext4_find_near() 874 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_get_blocks_handle() local 953 if (disksize > ei->i_disksize) in ext4_get_blocks_handle() 954 ei->i_disksize = disksize; in ext4_get_blocks_handle() 3161 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_direct_IO() local 3183 ei->i_disksize = inode->i_size; in ext4_direct_IO() 3209 ei->i_disksize = end; in ext4_direct_IO() 3826 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_truncate() local [all …]
|
D | ialloc.c | 695 struct ext4_inode_info *ei; in ext4_new_inode() local 714 ei = EXT4_I(inode); in ext4_new_inode() 880 inode->i_mtime = inode->i_atime = inode->i_ctime = ei->i_crtime = in ext4_new_inode() 883 memset(ei->i_data, 0, sizeof(ei->i_data)); in ext4_new_inode() 884 ei->i_dir_start_lookup = 0; in ext4_new_inode() 885 ei->i_disksize = 0; in ext4_new_inode() 892 ei->i_flags = EXT4_I(dir)->i_flags & ~(EXT4_INDEX_FL|EXT4_EXTENTS_FL); in ext4_new_inode() 894 ei->i_flags &= ~(EXT4_IMMUTABLE_FL|EXT4_APPEND_FL); in ext4_new_inode() 897 ei->i_flags &= ~EXT4_DIRSYNC_FL; in ext4_new_inode() 898 ei->i_file_acl = 0; in ext4_new_inode() [all …]
|
D | acl.c | 161 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_get_acl() local 172 acl = ext4_iget_acl(inode, &ei->i_acl); in ext4_get_acl() 179 acl = ext4_iget_acl(inode, &ei->i_default_acl); in ext4_get_acl() 206 ext4_iset_acl(inode, &ei->i_acl, acl); in ext4_get_acl() 210 ext4_iset_acl(inode, &ei->i_default_acl, acl); in ext4_get_acl() 226 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_set_acl() local 274 ext4_iset_acl(inode, &ei->i_acl, acl); in ext4_set_acl() 278 ext4_iset_acl(inode, &ei->i_default_acl, acl); in ext4_set_acl()
|
D | ioctl.c | 24 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_ioctl() local 31 ext4_get_inode_flags(ei); in ext4_ioctl() 32 flags = ei->i_flags & EXT4_FL_USER_VISIBLE; in ext4_ioctl() 60 oldflags = ei->i_flags; in ext4_ioctl() 109 ei->i_flags = flags; in ext4_ioctl()
|
D | symlink.c | 28 struct ext4_inode_info *ei = EXT4_I(dentry->d_inode); in ext4_follow_link() local 29 nd_set_link(nd, (char *) ei->i_data); in ext4_follow_link()
|
/fs/reiserfs/ |
D | bitmap.c | 472 struct reiserfs_inode_info *ei) in __discard_prealloc() argument 474 unsigned long save = ei->i_prealloc_block; in __discard_prealloc() 476 struct inode *inode = &ei->vfs_inode; in __discard_prealloc() 479 if (ei->i_prealloc_count < 0) in __discard_prealloc() 484 while (ei->i_prealloc_count > 0) { in __discard_prealloc() 485 reiserfs_free_prealloc_block(th, inode, ei->i_prealloc_block); in __discard_prealloc() 486 ei->i_prealloc_block++; in __discard_prealloc() 487 ei->i_prealloc_count--; in __discard_prealloc() 492 ei->i_prealloc_block = save; in __discard_prealloc() 493 list_del_init(&(ei->i_prealloc_list)); in __discard_prealloc() [all …]
|
/fs/efs/ |
D | super.c | 61 struct efs_inode_info *ei; in efs_alloc_inode() local 62 ei = (struct efs_inode_info *)kmem_cache_alloc(efs_inode_cachep, GFP_KERNEL); in efs_alloc_inode() 63 if (!ei) in efs_alloc_inode() 65 return &ei->vfs_inode; in efs_alloc_inode() 75 struct efs_inode_info *ei = (struct efs_inode_info *) foo; in init_once() local 77 inode_init_once(&ei->vfs_inode); in init_once()
|
/fs/hpfs/ |
D | super.c | 163 struct hpfs_inode_info *ei; in hpfs_alloc_inode() local 164 ei = (struct hpfs_inode_info *)kmem_cache_alloc(hpfs_inode_cachep, GFP_NOFS); in hpfs_alloc_inode() 165 if (!ei) in hpfs_alloc_inode() 167 ei->vfs_inode.i_version = 1; in hpfs_alloc_inode() 168 return &ei->vfs_inode; in hpfs_alloc_inode() 178 struct hpfs_inode_info *ei = (struct hpfs_inode_info *) foo; in init_once() local 180 mutex_init(&ei->i_mutex); in init_once() 181 mutex_init(&ei->i_parent_mutex); in init_once() 182 inode_init_once(&ei->vfs_inode); in init_once()
|