Home
last modified time | relevance | path

Searched refs:ocfs2_dinode (Results 1 – 29 of 29) sorted by relevance

/linux-4.1.27/fs/ocfs2/
Dlocalalloc.c51 static u32 ocfs2_local_alloc_count_bits(struct ocfs2_dinode *alloc);
54 struct ocfs2_dinode *alloc,
58 static void ocfs2_clear_local_alloc(struct ocfs2_dinode *alloc);
62 struct ocfs2_dinode *alloc,
287 struct ocfs2_dinode *alloc = NULL; in ocfs2_load_local_alloc()
321 alloc = (struct ocfs2_dinode *) alloc_bh->b_data; in ocfs2_load_local_alloc()
386 struct ocfs2_dinode *alloc_copy = NULL; in ocfs2_shutdown_local_alloc()
387 struct ocfs2_dinode *alloc = NULL; in ocfs2_shutdown_local_alloc()
435 alloc = (struct ocfs2_dinode *) bh->b_data; in ocfs2_shutdown_local_alloc()
491 struct ocfs2_dinode **alloc_copy) in ocfs2_begin_local_alloc_recovery()
[all …]
Docfs2_fs.h702 struct ocfs2_dinode { struct
1284 offsetof(struct ocfs2_dinode, id2.i_symlink); in ocfs2_fast_symlink_chars()
1288 struct ocfs2_dinode *di) in ocfs2_max_inline_data_with_xattr()
1294 offsetof(struct ocfs2_dinode, id2.i_data.id_data) - in ocfs2_max_inline_data_with_xattr()
1298 offsetof(struct ocfs2_dinode, id2.i_data.id_data); in ocfs2_max_inline_data_with_xattr()
1306 offsetof(struct ocfs2_dinode, id2.i_list.l_recs); in ocfs2_extent_recs_per_inode()
1313 struct ocfs2_dinode *di) in ocfs2_extent_recs_per_inode_with_xattr()
1320 offsetof(struct ocfs2_dinode, id2.i_list.l_recs) - in ocfs2_extent_recs_per_inode_with_xattr()
1324 offsetof(struct ocfs2_dinode, id2.i_list.l_recs); in ocfs2_extent_recs_per_inode_with_xattr()
1344 offsetof(struct ocfs2_dinode, id2.i_chain.cl_recs); in ocfs2_chain_recs_per_inode()
[all …]
Dresize.c95 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) bm_bh->b_data; in ocfs2_update_last_group_and_inode()
183 struct ocfs2_dinode *backup_di = NULL; in update_backups()
201 backup_di = (struct ocfs2_dinode *)backup->b_data; in update_backups()
222 struct ocfs2_dinode *super_di = NULL; in ocfs2_update_super_and_backups()
236 super_di = (struct ocfs2_dinode *)super_bh->b_data; in ocfs2_update_super_and_backups()
271 struct ocfs2_dinode *fe = NULL; in ocfs2_group_extend()
303 fe = (struct ocfs2_dinode *)main_bm_bh->b_data; in ocfs2_group_extend()
377 struct ocfs2_dinode *di, in ocfs2_check_new_group()
415 struct ocfs2_dinode *di, in ocfs2_verify_group_and_input()
459 struct ocfs2_dinode *fe = NULL; in ocfs2_group_add()
[all …]
Dnamei.c244 struct ocfs2_dinode *dirfe; in ocfs2_mknod()
283 dirfe = (struct ocfs2_dinode *) parent_fe_bh->b_data; in ocfs2_mknod()
508 struct ocfs2_dinode *fe = NULL; in __ocfs2_mknod_locked()
540 fe = (struct ocfs2_dinode *) (*new_fe_bh)->b_data; in __ocfs2_mknod_locked()
679 struct ocfs2_dinode *fe = NULL; in ocfs2_link()
756 fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_link()
867 struct ocfs2_dinode *fe = NULL; in ocfs2_unlink()
964 fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_unlink()
1196 struct ocfs2_dinode *newfe = NULL; in ocfs2_rename()
1206 struct ocfs2_dinode *old_di; in ocfs2_rename()
[all …]
Dlocalalloc.h38 struct ocfs2_dinode **alloc_copy);
41 struct ocfs2_dinode *alloc);
Dsuballoc.c83 static inline void ocfs2_debug_suballoc_inode(struct ocfs2_dinode *fe);
228 struct ocfs2_dinode *di, in ocfs2_validate_gd_parent()
273 struct ocfs2_dinode *di, in ocfs2_check_group_descriptor()
326 int ocfs2_read_group_descriptor(struct inode *inode, struct ocfs2_dinode *di, in ocfs2_read_group_descriptor()
693 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_block_group_alloc()
807 struct ocfs2_dinode *fe; in ocfs2_reserve_suballoc_bits()
830 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_reserve_suballoc_bits()
1419 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_relink_block_group()
1592 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_alloc_dinode_update_counts()
1617 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_rollback_alloc_dinode_counts()
[all …]
Dsymlink.c62 struct ocfs2_dinode *fe; in ocfs2_fast_symlink_readpage()
72 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_fast_symlink_readpage()
Dinode.c265 void ocfs2_populate_inode(struct inode *inode, struct ocfs2_dinode *fe, in ocfs2_populate_inode()
410 struct ocfs2_dinode *fe; in ocfs2_read_locked_inode()
514 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_read_locked_inode()
558 struct ocfs2_dinode *fe; in ocfs2_truncate_for_delete()
561 fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_truncate_for_delete()
621 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_remove_inode()
732 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_wipe_inode()
870 struct ocfs2_dinode *di; in ocfs2_query_inode_wipe()
891 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_query_inode_wipe()
1255 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_mark_inode_dirty()
[all …]
Djournal.c79 struct ocfs2_dinode *la_dinode,
80 struct ocfs2_dinode *tl_dinode,
585 .ot_offset = offsetof(struct ocfs2_dinode, i_check),
805 struct ocfs2_dinode *di = NULL; in ocfs2_journal_init()
844 di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_journal_init()
893 static void ocfs2_bump_recovery_generation(struct ocfs2_dinode *di) in ocfs2_bump_recovery_generation()
898 static u32 ocfs2_get_recovery_generation(struct ocfs2_dinode *di) in ocfs2_get_recovery_generation()
910 struct ocfs2_dinode *fe; in ocfs2_journal_toggle_dirty()
912 fe = (struct ocfs2_dinode *)bh->b_data; in ocfs2_journal_toggle_dirty()
1180 struct ocfs2_dinode *lri_la_dinode;
[all …]
Dalloc.h170 void ocfs2_dinode_new_extent_list(struct inode *inode, struct ocfs2_dinode *di);
171 void ocfs2_set_inode_data_inline(struct inode *inode, struct ocfs2_dinode *di);
182 struct ocfs2_dinode **tl_copy);
184 struct ocfs2_dinode *tl_copy);
Dsuballoc.h144 struct ocfs2_dinode *di);
203 struct ocfs2_dinode *di,
210 int ocfs2_read_group_descriptor(struct inode *inode, struct ocfs2_dinode *di,
Dinode.h147 void ocfs2_populate_inode(struct inode *inode, struct ocfs2_dinode *fe,
155 struct ocfs2_dinode *fe);
Ddir.c415 struct ocfs2_dinode *di; in ocfs2_find_entry_id()
424 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_entry_id()
617 static int ocfs2_read_dx_root(struct inode *dir, struct ocfs2_dinode *di, in ocfs2_read_dx_root()
1038 struct ocfs2_dinode *di; in ocfs2_find_entry_dx()
1048 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_entry_dx()
1381 struct ocfs2_dinode *di; in ocfs2_delete_entry_id()
1390 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_delete_entry_id()
1618 struct ocfs2_dinode *di = (struct ocfs2_dinode *)parent_fe_bh->b_data; in __ocfs2_add_entry()
1769 struct ocfs2_dinode *di; in ocfs2_dir_foreach_blk_id()
1780 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_dir_foreach_blk_id()
[all …]
Dextent_map.c289 struct ocfs2_dinode *di) in ocfs2_last_eb_is_empty()
417 struct ocfs2_dinode *di; in ocfs2_get_clusters_nocache()
427 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_get_clusters_nocache()
719 struct ocfs2_dinode *di; in ocfs2_fiemap_inline()
724 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_fiemap_inline()
733 phys += offsetof(struct ocfs2_dinode, id2.i_symlink); in ocfs2_fiemap_inline()
735 phys += offsetof(struct ocfs2_dinode, in ocfs2_fiemap_inline()
Daops.c61 struct ocfs2_dinode *fe = NULL; in ocfs2_symlink_get_block()
84 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_symlink_get_block()
227 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_read_inline_data()
1840 struct ocfs2_dinode *di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; in ocfs2_write_begin_inline()
1891 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_size_fits_inline_data()
1906 struct ocfs2_dinode *di = NULL; in ocfs2_try_to_write_inline_data()
1939 di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; in ocfs2_try_to_write_inline_data()
2052 struct ocfs2_dinode *di; in ocfs2_write_begin_nolock()
2111 di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; in ocfs2_write_begin_nolock()
2312 struct ocfs2_dinode *di, in ocfs2_write_end_inline()
[all …]
Drefcounttree.c407 struct ocfs2_dinode *di; in ocfs2_get_refcount_block()
417 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_get_refcount_block()
565 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_create_refcount_tree()
706 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_set_refcount_tree()
768 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_remove_refcount_tree()
938 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_try_remove_refcount_tree()
3435 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_refcount_cow_hunk()
3641 struct ocfs2_dinode *di, in ocfs2_refcount_cow_xattr()
3782 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_change_ctime()
3817 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_attach_refcount_tree()
[all …]
Dxattr.c303 struct ocfs2_dinode *di,
946 struct ocfs2_dinode *di) in ocfs2_has_inline_xattr_value_outside()
963 struct ocfs2_dinode *di, in ocfs2_xattr_ibody_list()
984 struct ocfs2_dinode *di, in ocfs2_xattr_block_list()
1022 struct ocfs2_dinode *di = NULL; in ocfs2_listxattr()
1037 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_listxattr()
1151 struct ocfs2_dinode *di = (struct ocfs2_dinode *)xs->inode_bh->b_data; in ocfs2_xattr_ibody_get()
1278 struct ocfs2_dinode *di = NULL; in ocfs2_xattr_get_nolock()
1294 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_xattr_get_nolock()
2261 struct ocfs2_dinode *di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_init_dinode_xa_loc()
[all …]
Dmove_extents.c379 struct ocfs2_dinode *ac_dinode; in ocfs2_find_victim_alloc_group()
396 ac_dinode = (struct ocfs2_dinode *)ac_bh->b_data; in ocfs2_find_victim_alloc_group()
771 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in __ocfs2_move_extents_range()
903 struct ocfs2_dinode *di; in ocfs2_move_extents()
957 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_move_extents()
Dfile.c265 struct ocfs2_dinode *di = (struct ocfs2_dinode *) bh->b_data; in ocfs2_update_inode_atime()
385 struct ocfs2_dinode *di; in ocfs2_orphan_for_truncate()
430 di = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_orphan_for_truncate()
449 struct ocfs2_dinode *fe = NULL; in ocfs2_truncate_file()
454 fe = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_truncate_file()
568 struct ocfs2_dinode *fe = NULL; in __ocfs2_extend_allocation()
588 fe = (struct ocfs2_dinode *) bh->b_data; in __ocfs2_extend_allocation()
773 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_write_zero_page()
1326 struct ocfs2_dinode *di; in __ocfs2_write_remove_suid()
1350 di = (struct ocfs2_dinode *) bh->b_data; in __ocfs2_write_remove_suid()
[all …]
Docfs2.h391 struct ocfs2_dinode *local_alloc_copy;
553 static inline unsigned int ocfs2_read_links_count(struct ocfs2_dinode *di) in ocfs2_read_links_count()
564 static inline void ocfs2_set_links_count(struct ocfs2_dinode *di, u32 nlink) in ocfs2_set_links_count()
575 static inline void ocfs2_add_links_count(struct ocfs2_dinode *di, int n) in ocfs2_add_links_count()
Dxattr.h55 struct ocfs2_dinode *di);
Dbuffer_head_io.c396 struct ocfs2_dinode *di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_write_super_or_backup()
Dioctl.c287 struct ocfs2_dinode *dinode_alloc = NULL; in ocfs2_info_scan_inode_alloc()
307 dinode_alloc = (struct ocfs2_dinode *)bh->b_data; in ocfs2_info_scan_inode_alloc()
436 struct ocfs2_dinode *gb_dinode, in ocfs2_info_freefrag_scan_chain()
547 struct ocfs2_dinode *gb_dinode = NULL; in ocfs2_info_freefrag_scan_bitmap()
567 gb_dinode = (struct ocfs2_dinode *)bh->b_data; in ocfs2_info_freefrag_scan_bitmap()
Dalloc.c181 struct ocfs2_dinode *di = et->et_object; in ocfs2_dinode_set_last_eb_blk()
189 struct ocfs2_dinode *di = et->et_object; in ocfs2_dinode_get_last_eb_blk()
199 struct ocfs2_dinode *di = et->et_object; in ocfs2_dinode_update_clusters()
243 struct ocfs2_dinode *di = et->et_object; in ocfs2_dinode_sanity_check()
253 struct ocfs2_dinode *di = et->et_object; in ocfs2_dinode_fill_root_el()
5775 struct ocfs2_dinode *di; in ocfs2_truncate_log_needs_flush()
5778 di = (struct ocfs2_dinode *) tl_bh->b_data; in ocfs2_truncate_log_needs_flush()
5814 struct ocfs2_dinode *di; in ocfs2_truncate_log_append()
5821 di = (struct ocfs2_dinode *) tl_bh->b_data; in ocfs2_truncate_log_append()
5891 struct ocfs2_dinode *di; in ocfs2_replay_truncate_records()
[all …]
Drefcounttree.h81 struct ocfs2_dinode *di,
Dacl.c172 struct ocfs2_dinode *di; in ocfs2_acl_set_mode()
195 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_acl_set_mode()
Djournal.h39 struct ocfs2_dinode;
594 struct ocfs2_dinode *fe, in ocfs2_calc_tree_trunc_credits()
Dsuper.c128 static int ocfs2_verify_volume(struct ocfs2_dinode *di,
763 struct ocfs2_dinode *di; in ocfs2_sb_probe()
824 di = (struct ocfs2_dinode *) (*bh)->b_data; in ocfs2_sb_probe()
1668 struct ocfs2_dinode *bm_lock; in ocfs2_statfs()
1691 bm_lock = (struct ocfs2_dinode *) bh->b_data; in ocfs2_statfs()
2045 struct ocfs2_dinode *di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_initialize_super()
2349 static int ocfs2_verify_volume(struct ocfs2_dinode *di, in ocfs2_verify_volume()
2420 struct ocfs2_dinode *local_alloc = NULL; /* only used if we in ocfs2_check_volume()
Ddlmglue.c2218 struct ocfs2_dinode *fe; in ocfs2_inode_lock_update()
2256 fe = (struct ocfs2_dinode *) (*bh)->b_data; in ocfs2_inode_lock_update()