Home
last modified time | relevance | path

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

12

/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()
385 struct ocfs2_dinode *alloc_copy = NULL; in ocfs2_shutdown_local_alloc()
386 struct ocfs2_dinode *alloc = NULL; in ocfs2_shutdown_local_alloc()
434 alloc = (struct ocfs2_dinode *) bh->b_data; in ocfs2_shutdown_local_alloc()
489 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.c102 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) bm_bh->b_data; in ocfs2_update_last_group_and_inode()
192 struct ocfs2_dinode *backup_di = NULL; in update_backups()
210 backup_di = (struct ocfs2_dinode *)backup->b_data; in update_backups()
231 struct ocfs2_dinode *super_di = NULL; in ocfs2_update_super_and_backups()
245 super_di = (struct ocfs2_dinode *)super_bh->b_data; in ocfs2_update_super_and_backups()
280 struct ocfs2_dinode *fe = NULL; in ocfs2_group_extend()
312 fe = (struct ocfs2_dinode *)main_bm_bh->b_data; in ocfs2_group_extend()
386 struct ocfs2_dinode *di, in ocfs2_check_new_group()
424 struct ocfs2_dinode *di, in ocfs2_verify_group_and_input()
468 struct ocfs2_dinode *fe = NULL; in ocfs2_group_add()
[all …]
Dinode.c275 void ocfs2_populate_inode(struct inode *inode, struct ocfs2_dinode *fe, in ocfs2_populate_inode()
421 struct ocfs2_dinode *fe; in ocfs2_read_locked_inode()
541 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_read_locked_inode()
598 struct ocfs2_dinode *fe; in ocfs2_truncate_for_delete()
601 fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_truncate_for_delete()
661 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_remove_inode()
772 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_wipe_inode()
910 struct ocfs2_dinode *di; in ocfs2_query_inode_wipe()
931 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_query_inode_wipe()
1014 struct ocfs2_dinode *di = NULL; in ocfs2_delete_inode()
[all …]
Dnamei.c246 struct ocfs2_dinode *dirfe; in ocfs2_mknod()
289 dirfe = (struct ocfs2_dinode *) parent_fe_bh->b_data; in ocfs2_mknod()
515 struct ocfs2_dinode *fe = NULL; in __ocfs2_mknod_locked()
547 fe = (struct ocfs2_dinode *) (*new_fe_bh)->b_data; in __ocfs2_mknod_locked()
695 struct ocfs2_dinode *fe = NULL; in ocfs2_link()
776 fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_link()
887 struct ocfs2_dinode *fe = NULL; in ocfs2_unlink()
988 fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_unlink()
1214 struct ocfs2_dinode *newfe = NULL; in ocfs2_rename()
1224 struct ocfs2_dinode *old_di; in ocfs2_rename()
[all …]
Djournal.c79 struct ocfs2_dinode *la_dinode,
80 struct ocfs2_dinode *tl_dinode,
583 .ot_offset = offsetof(struct ocfs2_dinode, i_check),
832 struct ocfs2_dinode *di = NULL; in ocfs2_journal_init()
871 di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_journal_init()
920 static void ocfs2_bump_recovery_generation(struct ocfs2_dinode *di) in ocfs2_bump_recovery_generation()
925 static u32 ocfs2_get_recovery_generation(struct ocfs2_dinode *di) in ocfs2_get_recovery_generation()
937 struct ocfs2_dinode *fe; in ocfs2_journal_toggle_dirty()
939 fe = (struct ocfs2_dinode *)bh->b_data; in ocfs2_journal_toggle_dirty()
1207 struct ocfs2_dinode *lri_la_dinode;
[all …]
Dsuballoc.c83 static inline void ocfs2_debug_suballoc_inode(struct ocfs2_dinode *fe);
217 struct ocfs2_dinode *di, in ocfs2_validate_gd_parent()
258 struct ocfs2_dinode *di, in ocfs2_check_group_descriptor()
311 int ocfs2_read_group_descriptor(struct inode *inode, struct ocfs2_dinode *di, in ocfs2_read_group_descriptor()
677 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_block_group_alloc()
791 struct ocfs2_dinode *fe; in ocfs2_reserve_suballoc_bits()
814 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_reserve_suballoc_bits()
1430 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_relink_block_group()
1603 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_alloc_dinode_update_counts()
1628 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_rollback_alloc_dinode_counts()
[all …]
Dlocalalloc.h38 struct ocfs2_dinode **alloc_copy);
41 struct ocfs2_dinode *alloc);
Dsymlink.c62 struct ocfs2_dinode *fe; in ocfs2_fast_symlink_readpage()
72 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_fast_symlink_readpage()
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,
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()
1482 struct ocfs2_dinode *di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; in ocfs2_write_begin_inline()
1533 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_size_fits_inline_data()
1548 struct ocfs2_dinode *di = NULL; in ocfs2_try_to_write_inline_data()
1581 di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; in ocfs2_try_to_write_inline_data()
1658 struct ocfs2_dinode *di; in ocfs2_write_begin_nolock()
1720 di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; in ocfs2_write_begin_nolock()
1929 struct ocfs2_dinode *di, in ocfs2_write_end_inline()
[all …]
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()
609 static int ocfs2_read_dx_root(struct inode *dir, struct ocfs2_dinode *di, in ocfs2_read_dx_root()
1028 struct ocfs2_dinode *di; in ocfs2_find_entry_dx()
1038 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_entry_dx()
1371 struct ocfs2_dinode *di; in ocfs2_delete_entry_id()
1380 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_delete_entry_id()
1608 struct ocfs2_dinode *di = (struct ocfs2_dinode *)parent_fe_bh->b_data; in __ocfs2_add_entry()
1759 struct ocfs2_dinode *di; in ocfs2_dir_foreach_blk_id()
1770 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()
721 struct ocfs2_dinode *di; in ocfs2_fiemap_inline()
726 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_fiemap_inline()
735 phys += offsetof(struct ocfs2_dinode, id2.i_symlink); in ocfs2_fiemap_inline()
737 phys += offsetof(struct ocfs2_dinode, in ocfs2_fiemap_inline()
Dinode.h147 void ocfs2_populate_inode(struct inode *inode, struct ocfs2_dinode *fe,
151 struct ocfs2_dinode *fe);
Dxattr.c303 struct ocfs2_dinode *di,
961 struct ocfs2_dinode *di) in ocfs2_has_inline_xattr_value_outside()
978 struct ocfs2_dinode *di, in ocfs2_xattr_ibody_list()
999 struct ocfs2_dinode *di, in ocfs2_xattr_block_list()
1037 struct ocfs2_dinode *di = NULL; in ocfs2_listxattr()
1052 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_listxattr()
1166 struct ocfs2_dinode *di = (struct ocfs2_dinode *)xs->inode_bh->b_data; in ocfs2_xattr_ibody_get()
1293 struct ocfs2_dinode *di = NULL; in ocfs2_xattr_get_nolock()
1309 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_xattr_get_nolock()
2276 struct ocfs2_dinode *di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_init_dinode_xa_loc()
[all …]
Drefcounttree.c405 struct ocfs2_dinode *di; in ocfs2_get_refcount_block()
415 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_get_refcount_block()
563 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_create_refcount_tree()
704 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_set_refcount_tree()
766 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_remove_refcount_tree()
936 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_try_remove_refcount_tree()
3417 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_refcount_cow_hunk()
3623 struct ocfs2_dinode *di, in ocfs2_refcount_cow_xattr()
3764 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_change_ctime()
3799 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_attach_refcount_tree()
[all …]
Dfile.c269 struct ocfs2_dinode *di = (struct ocfs2_dinode *) bh->b_data; in ocfs2_update_inode_atime()
389 struct ocfs2_dinode *di; in ocfs2_orphan_for_truncate()
434 di = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_orphan_for_truncate()
453 struct ocfs2_dinode *fe = NULL; in ocfs2_truncate_file()
458 fe = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_truncate_file()
572 struct ocfs2_dinode *fe = NULL; in __ocfs2_extend_allocation()
592 fe = (struct ocfs2_dinode *) bh->b_data; in __ocfs2_extend_allocation()
777 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_write_zero_page()
1353 struct ocfs2_dinode *di; in __ocfs2_write_remove_suid()
1377 di = (struct ocfs2_dinode *) bh->b_data; in __ocfs2_write_remove_suid()
[all …]
Dmove_extents.c377 struct ocfs2_dinode *ac_dinode; in ocfs2_find_victim_alloc_group()
394 ac_dinode = (struct ocfs2_dinode *)ac_bh->b_data; in ocfs2_find_victim_alloc_group()
769 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in __ocfs2_move_extents_range()
901 struct ocfs2_dinode *di; in ocfs2_move_extents()
955 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_move_extents()
Docfs2.h394 struct ocfs2_dinode *local_alloc_copy;
564 static inline unsigned int ocfs2_read_links_count(struct ocfs2_dinode *di) in ocfs2_read_links_count()
575 static inline void ocfs2_set_links_count(struct ocfs2_dinode *di, u32 nlink) in ocfs2_set_links_count()
586 static inline void ocfs2_add_links_count(struct ocfs2_dinode *di, int n) in ocfs2_add_links_count()
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()
5818 struct ocfs2_dinode *di; in ocfs2_truncate_log_needs_flush()
5821 di = (struct ocfs2_dinode *) tl_bh->b_data; in ocfs2_truncate_log_needs_flush()
5857 struct ocfs2_dinode *di; in ocfs2_truncate_log_append()
5864 di = (struct ocfs2_dinode *) tl_bh->b_data; in ocfs2_truncate_log_append()
5933 struct ocfs2_dinode *di; in ocfs2_replay_truncate_records()
[all …]
Dbuffer_head_io.c407 struct ocfs2_dinode *di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_write_super_or_backup()
Dxattr.h55 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()

12