Home
last modified time | relevance | path

Searched refs:NILFS_I (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/fs/nilfs2/
H A Dinode.c48 struct nilfs_root *root = NILFS_I(inode)->i_root; in nilfs_inode_add_blocks()
78 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_get_block()
342 root = NILFS_I(dir)->i_root; in nilfs_new_inode()
343 ii = NILFS_I(inode); in nilfs_new_inode()
547 ii = NILFS_I(inode); in nilfs_iget_test()
572 NILFS_I(inode)->i_cno = args->cno; in nilfs_iget_set()
573 NILFS_I(inode)->i_root = args->root; in nilfs_iget_set()
691 NILFS_I(btnc_inode)->i_assoc_inode = inode; in nilfs_attach_btree_node_cache()
692 NILFS_I(btnc_inode)->i_bmap = ii->i_bmap; in nilfs_attach_btree_node_cache()
711 NILFS_I(btnc_inode)->i_assoc_inode = NULL; in nilfs_detach_btree_node_cache()
[all …]
H A Dmdt.h95 if (!test_bit(NILFS_I_DIRTY, &NILFS_I(inode)->i_state)) in nilfs_mdt_mark_dirty()
96 set_bit(NILFS_I_DIRTY, &NILFS_I(inode)->i_state); in nilfs_mdt_mark_dirty()
101 clear_bit(NILFS_I_DIRTY, &NILFS_I(inode)->i_state); in nilfs_mdt_clear_dirty()
H A Dmdt.c35 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_mdt_insert_new_block()
142 ret = nilfs_bmap_lookup(NILFS_I(inode)->i_bmap, blkoff, &blknum); in nilfs_mdt_submit_block()
303 ret = nilfs_bmap_seek_key(NILFS_I(inode)->i_bmap, start + 1, &next); in nilfs_mdt_find_block()
331 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_mdt_delete_block()
392 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_mdt_fetch_dirty()
540 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_mdt_save_to_shadow_map()
549 ret = nilfs_copy_dirty_pages(NILFS_I(s_inode)->i_assoc_inode->i_mapping, in nilfs_mdt_save_to_shadow_map()
630 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_mdt_restore_from_shadow_map()
643 NILFS_I(shadow->inode)->i_assoc_inode->i_mapping); in nilfs_mdt_restore_from_shadow_map()
658 struct inode *shadow_btnc_inode = NILFS_I(shadow->inode)->i_assoc_inode; in nilfs_mdt_clear_shadow_map()
H A Dgcinode.c129 struct inode *btnc_inode = NILFS_I(inode)->i_assoc_inode; in nilfs_gccache_submit_read_node()
164 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_init_gcinode()
H A Dioctl.c123 fileattr_fill_flags(fa, NILFS_I(inode)->i_flags & FS_FL_USER_VISIBLE); in nilfs_fileattr_get()
148 oldflags = NILFS_I(inode)->i_flags & ~FS_FL_USER_MODIFIABLE; in nilfs_fileattr_set()
149 NILFS_I(inode)->i_flags = oldflags | (flags & FS_FL_USER_MODIFIABLE); in nilfs_fileattr_set()
452 struct nilfs_bmap *bmap = NILFS_I(nilfs->ns_dat)->i_bmap; in nilfs_ioctl_do_get_bdescs()
617 if (list_empty(&NILFS_I(inode)->i_dirty)) { in nilfs_ioctl_move_blocks()
624 list_add(&NILFS_I(inode)->i_dirty, in nilfs_ioctl_move_blocks()
748 struct nilfs_bmap *bmap = NILFS_I(nilfs->ns_dat)->i_bmap; in nilfs_ioctl_mark_blocks_dirty()
H A Dnamei.c69 inode = nilfs_iget(dir->i_sb, NILFS_I(dir)->i_root, ino); in nilfs_lookup()
465 root = NILFS_I(d_inode(child))->i_root; in nilfs_get_parent()
528 struct nilfs_root *root = NILFS_I(inode)->i_root; in nilfs_encode_fh()
H A Difile.c162 nused = atomic64_read(&NILFS_I(ifile)->i_root->inodes_count); in nilfs_ifile_count_free_inodes()
H A Dsegment.c503 if (NILFS_I(inode)->i_root && in nilfs_segctor_begin_finfo()
520 ii = NILFS_I(inode); in nilfs_segctor_end_finfo()
587 err = nilfs_bmap_propagate(NILFS_I(inode)->i_bmap, bh); in nilfs_collect_file_data()
602 return nilfs_bmap_propagate(NILFS_I(inode)->i_bmap, bh); in nilfs_collect_file_node()
644 err = nilfs_bmap_propagate(NILFS_I(inode)->i_bmap, bh); in nilfs_collect_dat_data()
762 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_lookup_dirty_node_buffers()
1114 nilfs_bmap_lookup_dirty_buffers(NILFS_I(inode)->i_bmap, &node_buffers); in nilfs_segctor_scan_file()
1627 err = nilfs_bmap_assign(NILFS_I(inode)->i_bmap, &bh, blocknr, in nilfs_segctor_update_payload_blocknr()
2351 ii = NILFS_I(inode); in nilfs_construct_dsync_segment()
H A Dsuper.c171 kmem_cache_free(nilfs_inode_cachep, NILFS_I(inode)); in nilfs_free_inode()
628 struct nilfs_root *root = NILFS_I(d_inode(dentry))->i_root; in nilfs_statfs()
696 struct nilfs_root *root = NILFS_I(d_inode(dentry))->i_root; in nilfs_show_options()
1201 root = NILFS_I(d_inode(sb->s_root))->i_root; in nilfs_remount()
H A Dbtnode.c32 struct nilfs_inode_info *ii = NILFS_I(btnc_inode); in nilfs_init_btnc_inode()
H A Dnilfs.h67 static inline struct nilfs_inode_info *NILFS_I(const struct inode *inode) in NILFS_I() function
H A Dalloc.c444 ret = nilfs_bmap_last_key(NILFS_I(inode)->i_bmap, &blknum); in nilfs_palloc_count_desc_blocks()
H A Ddir.c347 struct nilfs_inode_info *ei = NILFS_I(dir); in nilfs_find_entry()