Home
last modified time | relevance | path

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

12

/Linux-v4.19/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.h701 struct ocfs2_dinode { struct
1283 offsetof(struct ocfs2_dinode, id2.i_symlink); in ocfs2_fast_symlink_chars()
1287 struct ocfs2_dinode *di) in ocfs2_max_inline_data_with_xattr()
1293 offsetof(struct ocfs2_dinode, id2.i_data.id_data) - in ocfs2_max_inline_data_with_xattr()
1297 offsetof(struct ocfs2_dinode, id2.i_data.id_data); in ocfs2_max_inline_data_with_xattr()
1305 offsetof(struct ocfs2_dinode, id2.i_list.l_recs); in ocfs2_extent_recs_per_inode()
1312 struct ocfs2_dinode *di) in ocfs2_extent_recs_per_inode_with_xattr()
1319 offsetof(struct ocfs2_dinode, id2.i_list.l_recs) - in ocfs2_extent_recs_per_inode_with_xattr()
1323 offsetof(struct ocfs2_dinode, id2.i_list.l_recs); in ocfs2_extent_recs_per_inode_with_xattr()
1343 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.c276 void ocfs2_populate_inode(struct inode *inode, struct ocfs2_dinode *fe, in ocfs2_populate_inode()
422 struct ocfs2_dinode *fe; in ocfs2_read_locked_inode()
542 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_read_locked_inode()
599 struct ocfs2_dinode *fe; in ocfs2_truncate_for_delete()
602 fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_truncate_for_delete()
660 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_remove_inode()
771 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_wipe_inode()
909 struct ocfs2_dinode *di; in ocfs2_query_inode_wipe()
930 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_query_inode_wipe()
1013 struct ocfs2_dinode *di = NULL; in ocfs2_delete_inode()
[all …]
Dnamei.c247 struct ocfs2_dinode *dirfe; in ocfs2_mknod()
290 dirfe = (struct ocfs2_dinode *) parent_fe_bh->b_data; in ocfs2_mknod()
516 struct ocfs2_dinode *fe = NULL; in __ocfs2_mknod_locked()
549 fe = (struct ocfs2_dinode *) (*new_fe_bh)->b_data; in __ocfs2_mknod_locked()
698 struct ocfs2_dinode *fe = NULL; in ocfs2_link()
779 fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_link()
890 struct ocfs2_dinode *fe = NULL; in ocfs2_unlink()
991 fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_unlink()
1217 struct ocfs2_dinode *newfe = NULL; in ocfs2_rename()
1227 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),
833 struct ocfs2_dinode *di = NULL; in ocfs2_journal_init()
872 di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_journal_init()
921 static void ocfs2_bump_recovery_generation(struct ocfs2_dinode *di) in ocfs2_bump_recovery_generation()
926 static u32 ocfs2_get_recovery_generation(struct ocfs2_dinode *di) in ocfs2_get_recovery_generation()
938 struct ocfs2_dinode *fe; in ocfs2_journal_toggle_dirty()
940 fe = (struct ocfs2_dinode *)bh->b_data; in ocfs2_journal_toggle_dirty()
1208 struct ocfs2_dinode *lri_la_dinode;
[all …]
Dsuballoc.c215 struct ocfs2_dinode *di, in ocfs2_validate_gd_parent()
256 struct ocfs2_dinode *di, in ocfs2_check_group_descriptor()
309 int ocfs2_read_group_descriptor(struct inode *inode, struct ocfs2_dinode *di, in ocfs2_read_group_descriptor()
675 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_block_group_alloc()
789 struct ocfs2_dinode *fe; in ocfs2_reserve_suballoc_bits()
812 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_reserve_suballoc_bits()
1425 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_relink_block_group()
1598 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_alloc_dinode_update_counts()
1623 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_rollback_alloc_dinode_counts()
1658 struct ocfs2_dinode *di = (struct ocfs2_dinode *)ac->ac_bh->b_data; in ocfs2_bg_discontig_fix_result()
[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,
Dinode.h147 void ocfs2_populate_inode(struct inode *inode, struct ocfs2_dinode *fe,
151 struct ocfs2_dinode *fe);
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()
240 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_read_inline_data()
1506 struct ocfs2_dinode *di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; in ocfs2_write_begin_inline()
1557 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_size_fits_inline_data()
1572 struct ocfs2_dinode *di = NULL; in ocfs2_try_to_write_inline_data()
1605 di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; in ocfs2_try_to_write_inline_data()
1682 struct ocfs2_dinode *di; in ocfs2_write_begin_nolock()
1744 di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; in ocfs2_write_begin_nolock()
1953 struct ocfs2_dinode *di, in ocfs2_write_end_inline()
[all …]
Ddir.c416 struct ocfs2_dinode *di; in ocfs2_find_entry_id()
425 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_entry_id()
610 static int ocfs2_read_dx_root(struct inode *dir, struct ocfs2_dinode *di, in ocfs2_read_dx_root()
1029 struct ocfs2_dinode *di; in ocfs2_find_entry_dx()
1039 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_entry_dx()
1372 struct ocfs2_dinode *di; in ocfs2_delete_entry_id()
1381 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_delete_entry_id()
1609 struct ocfs2_dinode *di = (struct ocfs2_dinode *)parent_fe_bh->b_data; in __ocfs2_add_entry()
1760 struct ocfs2_dinode *di; in ocfs2_dir_foreach_blk_id()
1771 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_dir_foreach_blk_id()
[all …]
Drefcounttree.c406 struct ocfs2_dinode *di; in ocfs2_get_refcount_block()
416 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()
3422 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_refcount_cow_hunk()
3628 struct ocfs2_dinode *di, in ocfs2_refcount_cow_xattr()
3771 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_change_ctime()
3806 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_attach_refcount_tree()
[all …]
Dextent_map.c290 struct ocfs2_dinode *di) in ocfs2_last_eb_is_empty()
418 struct ocfs2_dinode *di; in ocfs2_get_clusters_nocache()
428 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_get_clusters_nocache()
722 struct ocfs2_dinode *di; in ocfs2_fiemap_inline()
727 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_fiemap_inline()
736 phys += offsetof(struct ocfs2_dinode, id2.i_symlink); in ocfs2_fiemap_inline()
738 phys += offsetof(struct ocfs2_dinode, in ocfs2_fiemap_inline()
Dxattr.c303 struct ocfs2_dinode *di,
964 struct ocfs2_dinode *di) in ocfs2_has_inline_xattr_value_outside()
981 struct ocfs2_dinode *di, in ocfs2_xattr_ibody_list()
1002 struct ocfs2_dinode *di, in ocfs2_xattr_block_list()
1040 struct ocfs2_dinode *di = NULL; in ocfs2_listxattr()
1055 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_listxattr()
1169 struct ocfs2_dinode *di = (struct ocfs2_dinode *)xs->inode_bh->b_data; in ocfs2_xattr_ibody_get()
1296 struct ocfs2_dinode *di = NULL; in ocfs2_xattr_get_nolock()
1312 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_xattr_get_nolock()
2280 struct ocfs2_dinode *di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_init_dinode_xa_loc()
[all …]
Dmove_extents.c374 struct ocfs2_dinode *ac_dinode; in ocfs2_find_victim_alloc_group()
391 ac_dinode = (struct ocfs2_dinode *)ac_bh->b_data; in ocfs2_find_victim_alloc_group()
763 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in __ocfs2_move_extents_range()
895 struct ocfs2_dinode *di; in ocfs2_move_extents()
949 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_move_extents()
Dfile.c271 struct ocfs2_dinode *di = (struct ocfs2_dinode *) bh->b_data; in ocfs2_update_inode_atime()
391 struct ocfs2_dinode *di; in ocfs2_orphan_for_truncate()
436 di = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_orphan_for_truncate()
455 struct ocfs2_dinode *fe = NULL; in ocfs2_truncate_file()
460 fe = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_truncate_file()
574 struct ocfs2_dinode *fe = NULL; in ocfs2_extend_allocation()
594 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_extend_allocation()
772 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_write_zero_page()
1379 struct ocfs2_dinode *di; in __ocfs2_write_remove_suid()
1403 di = (struct ocfs2_dinode *) bh->b_data; in __ocfs2_write_remove_suid()
[all …]
Docfs2.h394 struct ocfs2_dinode *local_alloc_copy;
571 static inline unsigned int ocfs2_read_links_count(struct ocfs2_dinode *di) in ocfs2_read_links_count()
582 static inline void ocfs2_set_links_count(struct ocfs2_dinode *di, u32 nlink) in ocfs2_set_links_count()
593 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.c409 struct ocfs2_dinode *di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_write_super_or_backup()
Dioctl.c288 struct ocfs2_dinode *dinode_alloc = NULL; in ocfs2_info_scan_inode_alloc()
308 dinode_alloc = (struct ocfs2_dinode *)bh->b_data; in ocfs2_info_scan_inode_alloc()
437 struct ocfs2_dinode *gb_dinode, in ocfs2_info_freefrag_scan_chain()
548 struct ocfs2_dinode *gb_dinode = NULL; in ocfs2_info_freefrag_scan_bitmap()
568 gb_dinode = (struct ocfs2_dinode *)bh->b_data; in ocfs2_info_freefrag_scan_bitmap()
Dalloc.c189 struct ocfs2_dinode *di = et->et_object; in ocfs2_dinode_set_last_eb_blk()
197 struct ocfs2_dinode *di = et->et_object; in ocfs2_dinode_get_last_eb_blk()
207 struct ocfs2_dinode *di = et->et_object; in ocfs2_dinode_update_clusters()
251 struct ocfs2_dinode *di = et->et_object; in ocfs2_dinode_sanity_check()
261 struct ocfs2_dinode *di = et->et_object; in ocfs2_dinode_fill_root_el()
5827 struct ocfs2_dinode *di; in ocfs2_truncate_log_needs_flush()
5830 di = (struct ocfs2_dinode *) tl_bh->b_data; in ocfs2_truncate_log_needs_flush()
5866 struct ocfs2_dinode *di; in ocfs2_truncate_log_append()
5873 di = (struct ocfs2_dinode *) tl_bh->b_data; in ocfs2_truncate_log_append()
5942 struct ocfs2_dinode *di; in ocfs2_replay_truncate_records()
[all …]
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