Home
last modified time | relevance | path

Searched refs:ii (Results 1 – 10 of 10) sorted by relevance

/fs/nilfs2/
Dinode.c77 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_get_block() local
84 ret = nilfs_bmap_lookup_contig(ii->i_bmap, blkoff, &blknum, maxblocks); in nilfs_get_block()
100 err = nilfs_bmap_insert(ii->i_bmap, blkoff, in nilfs_get_block()
341 struct nilfs_inode_info *ii; in nilfs_new_inode() local
355 ii = NILFS_I(inode); in nilfs_new_inode()
356 ii->i_state = BIT(NILFS_I_NEW); in nilfs_new_inode()
357 ii->i_root = root; in nilfs_new_inode()
377 ii->i_bh = bh; in nilfs_new_inode()
385 err = nilfs_bmap_read(ii->i_bmap, NULL); in nilfs_new_inode()
389 set_bit(NILFS_I_BMAP, &ii->i_state); in nilfs_new_inode()
[all …]
Dsegment.c518 struct nilfs_inode_info *ii; in nilfs_segctor_end_finfo() local
525 ii = NILFS_I(inode); in nilfs_segctor_end_finfo()
527 if (test_bit(NILFS_I_GCINODE, &ii->i_state)) in nilfs_segctor_end_finfo()
528 cno = ii->i_cno; in nilfs_segctor_end_finfo()
764 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_lookup_dirty_node_buffers() local
765 struct inode *btnc_inode = ii->i_assoc_inode; in nilfs_lookup_dirty_node_buffers()
798 struct nilfs_inode_info *ii, *n; in nilfs_dispose_list() local
804 list_for_each_entry_safe(ii, n, head, i_dirty) { in nilfs_dispose_list()
805 list_del_init(&ii->i_dirty); in nilfs_dispose_list()
807 if (unlikely(ii->i_bh)) { in nilfs_dispose_list()
[all …]
Dgcinode.c165 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_init_gcinode() local
171 ii->i_flags = 0; in nilfs_init_gcinode()
172 nilfs_bmap_init_gc(ii->i_bmap); in nilfs_init_gcinode()
183 struct nilfs_inode_info *ii; in nilfs_remove_all_gcinodes() local
186 ii = list_first_entry(head, struct nilfs_inode_info, i_dirty); in nilfs_remove_all_gcinodes()
187 list_del_init(&ii->i_dirty); in nilfs_remove_all_gcinodes()
188 truncate_inode_pages(&ii->vfs_inode.i_data, 0); in nilfs_remove_all_gcinodes()
189 nilfs_btnode_cache_clear(ii->i_assoc_inode->i_mapping); in nilfs_remove_all_gcinodes()
190 iput(&ii->vfs_inode); in nilfs_remove_all_gcinodes()
Dmdt.c35 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_mdt_insert_new_block() local
44 ret = nilfs_bmap_insert(ii->i_bmap, block, (unsigned long)bh); in nilfs_mdt_insert_new_block()
330 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_mdt_delete_block() local
333 err = nilfs_bmap_delete(ii->i_bmap, block); in nilfs_mdt_delete_block()
391 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_mdt_fetch_dirty() local
393 if (nilfs_bmap_test_and_clear_dirty(ii->i_bmap)) { in nilfs_mdt_fetch_dirty()
394 set_bit(NILFS_I_DIRTY, &ii->i_state); in nilfs_mdt_fetch_dirty()
397 return test_bit(NILFS_I_DIRTY, &ii->i_state); in nilfs_mdt_fetch_dirty()
537 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_mdt_save_to_shadow_map() local
547 ii->i_assoc_inode->i_mapping); in nilfs_mdt_save_to_shadow_map()
[all …]
Dsuper.c146 struct nilfs_inode_info *ii; in nilfs_alloc_inode() local
148 ii = kmem_cache_alloc(nilfs_inode_cachep, GFP_NOFS); in nilfs_alloc_inode()
149 if (!ii) in nilfs_alloc_inode()
151 ii->i_bh = NULL; in nilfs_alloc_inode()
152 ii->i_state = 0; in nilfs_alloc_inode()
153 ii->i_cno = 0; in nilfs_alloc_inode()
154 ii->i_assoc_inode = NULL; in nilfs_alloc_inode()
155 ii->i_bmap = &ii->i_bmap_data; in nilfs_alloc_inode()
156 return &ii->vfs_inode; in nilfs_alloc_inode()
1400 struct nilfs_inode_info *ii = obj; in nilfs_inode_init_once() local
[all …]
Dbtnode.c32 struct nilfs_inode_info *ii = NILFS_I(btnc_inode); in nilfs_init_btnc_inode() local
35 ii->i_flags = 0; in nilfs_init_btnc_inode()
36 memset(&ii->i_bmap_data, 0, sizeof(struct nilfs_bmap)); in nilfs_init_btnc_inode()
/fs/btrfs/
Dprint-tree.c176 struct btrfs_inode_item *ii; in btrfs_print_leaf() local
205 ii = btrfs_item_ptr(l, i, struct btrfs_inode_item); in btrfs_print_leaf()
207 btrfs_inode_generation(l, ii), in btrfs_print_leaf()
208 btrfs_inode_size(l, ii), in btrfs_print_leaf()
209 btrfs_inode_mode(l, ii)); in btrfs_print_leaf()
Dsend.c831 struct btrfs_inode_item *ii; in __get_inode_info() local
844 ii = btrfs_item_ptr(path->nodes[0], path->slots[0], in __get_inode_info()
847 *size = btrfs_inode_size(path->nodes[0], ii); in __get_inode_info()
849 *gen = btrfs_inode_generation(path->nodes[0], ii); in __get_inode_info()
851 *mode = btrfs_inode_mode(path->nodes[0], ii); in __get_inode_info()
853 *uid = btrfs_inode_uid(path->nodes[0], ii); in __get_inode_info()
855 *gid = btrfs_inode_gid(path->nodes[0], ii); in __get_inode_info()
857 *rdev = btrfs_inode_rdev(path->nodes[0], ii); in __get_inode_info()
2547 struct btrfs_inode_item *ii; in send_utimes() local
2576 ii = btrfs_item_ptr(eb, slot, struct btrfs_inode_item); in send_utimes()
[all …]
/fs/fuse/
Dfile.c1155 struct iov_iter *ii, loff_t pos, in fuse_fill_write_pages() argument
1172 iov_iter_count(ii)); in fuse_fill_write_pages()
1178 if (iov_iter_fault_in_readable(ii, bytes)) in fuse_fill_write_pages()
1189 tmp = iov_iter_copy_from_user_atomic(page, ii, offset, bytes); in fuse_fill_write_pages()
1192 iov_iter_advance(ii, tmp); in fuse_fill_write_pages()
1196 bytes = min(bytes, iov_iter_single_seg_count(ii)); in fuse_fill_write_pages()
1223 } while (iov_iter_count(ii) && count < fc->max_write && in fuse_fill_write_pages()
1240 struct iov_iter *ii, loff_t pos) in fuse_perform_write() argument
1248 if (inode->i_size < pos + iov_iter_count(ii)) in fuse_perform_write()
1255 unsigned int nr_pages = fuse_wr_pages(pos, iov_iter_count(ii), in fuse_perform_write()
[all …]
/fs/quota/
Ddquot.c2901 int dquot_set_dqinfo(struct super_block *sb, int type, struct qc_info *ii) in dquot_set_dqinfo() argument
2906 if ((ii->i_fieldmask & QC_WARNS_MASK) || in dquot_set_dqinfo()
2907 (ii->i_fieldmask & QC_RT_SPC_TIMER)) in dquot_set_dqinfo()
2912 if (ii->i_fieldmask & QC_FLAGS) { in dquot_set_dqinfo()
2913 if ((ii->i_flags & QCI_ROOT_SQUASH && in dquot_set_dqinfo()
2918 if (ii->i_fieldmask & QC_SPC_TIMER) in dquot_set_dqinfo()
2919 mi->dqi_bgrace = ii->i_spc_timelimit; in dquot_set_dqinfo()
2920 if (ii->i_fieldmask & QC_INO_TIMER) in dquot_set_dqinfo()
2921 mi->dqi_igrace = ii->i_ino_timelimit; in dquot_set_dqinfo()
2922 if (ii->i_fieldmask & QC_FLAGS) { in dquot_set_dqinfo()
[all …]