Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/fs/ocfs2/
Dlocalalloc.c37 static u32 ocfs2_local_alloc_count_bits(struct ocfs2_dinode *alloc);
40 struct ocfs2_dinode *alloc,
44 static void ocfs2_clear_local_alloc(struct ocfs2_dinode *alloc);
48 struct ocfs2_dinode *alloc,
273 struct ocfs2_dinode *alloc = NULL; in ocfs2_load_local_alloc()
307 alloc = (struct ocfs2_dinode *) alloc_bh->b_data; in ocfs2_load_local_alloc()
376 struct ocfs2_dinode *alloc_copy = NULL; in ocfs2_shutdown_local_alloc()
377 struct ocfs2_dinode *alloc = NULL; in ocfs2_shutdown_local_alloc()
426 alloc = (struct ocfs2_dinode *) bh->b_data; in ocfs2_shutdown_local_alloc()
480 struct ocfs2_dinode **alloc_copy) in ocfs2_begin_local_alloc_recovery()
[all …]
Docfs2_fs.h662 struct ocfs2_dinode { struct
1244 offsetof(struct ocfs2_dinode, id2.i_symlink); in ocfs2_fast_symlink_chars()
1248 struct ocfs2_dinode *di) in ocfs2_max_inline_data_with_xattr()
1254 offsetof(struct ocfs2_dinode, id2.i_data.id_data) - in ocfs2_max_inline_data_with_xattr()
1258 offsetof(struct ocfs2_dinode, id2.i_data.id_data); in ocfs2_max_inline_data_with_xattr()
1266 offsetof(struct ocfs2_dinode, id2.i_list.l_recs); in ocfs2_extent_recs_per_inode()
1273 struct ocfs2_dinode *di) in ocfs2_extent_recs_per_inode_with_xattr()
1280 offsetof(struct ocfs2_dinode, id2.i_list.l_recs) - in ocfs2_extent_recs_per_inode_with_xattr()
1284 offsetof(struct ocfs2_dinode, id2.i_list.l_recs); in ocfs2_extent_recs_per_inode_with_xattr()
1304 offsetof(struct ocfs2_dinode, id2.i_chain.cl_recs); in ocfs2_chain_recs_per_inode()
[all …]
Dresize.c88 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) bm_bh->b_data; in ocfs2_update_last_group_and_inode()
178 struct ocfs2_dinode *backup_di = NULL; in update_backups()
196 backup_di = (struct ocfs2_dinode *)backup->b_data; in update_backups()
217 struct ocfs2_dinode *super_di = NULL; in ocfs2_update_super_and_backups()
231 super_di = (struct ocfs2_dinode *)super_bh->b_data; in ocfs2_update_super_and_backups()
266 struct ocfs2_dinode *fe = NULL; in ocfs2_group_extend()
298 fe = (struct ocfs2_dinode *)main_bm_bh->b_data; in ocfs2_group_extend()
372 struct ocfs2_dinode *di, in ocfs2_check_new_group()
410 struct ocfs2_dinode *di, in ocfs2_verify_group_and_input()
454 struct ocfs2_dinode *fe = NULL; in ocfs2_group_add()
[all …]
Dinode.c262 void ocfs2_populate_inode(struct inode *inode, struct ocfs2_dinode *fe, in ocfs2_populate_inode()
408 struct ocfs2_dinode *fe; in ocfs2_read_locked_inode()
528 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_read_locked_inode()
585 struct ocfs2_dinode *fe; in ocfs2_truncate_for_delete()
588 fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_truncate_for_delete()
646 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_remove_inode()
757 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_wipe_inode()
895 struct ocfs2_dinode *di; in ocfs2_query_inode_wipe()
916 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_query_inode_wipe()
999 struct ocfs2_dinode *di = NULL; in ocfs2_delete_inode()
[all …]
Dnamei.c233 struct ocfs2_dinode *dirfe; in ocfs2_mknod()
234 struct ocfs2_dinode *fe = NULL; in ocfs2_mknod()
277 dirfe = (struct ocfs2_dinode *) parent_fe_bh->b_data; in ocfs2_mknod()
385 fe = (struct ocfs2_dinode *) new_fe_bh->b_data; in ocfs2_mknod()
514 struct ocfs2_dinode *fe = NULL; in __ocfs2_mknod_locked()
547 fe = (struct ocfs2_dinode *) (*new_fe_bh)->b_data; in __ocfs2_mknod_locked()
686 struct ocfs2_dinode *fe = NULL; in ocfs2_link()
767 fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_link()
878 struct ocfs2_dinode *fe = NULL; in ocfs2_unlink()
979 fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_unlink()
[all …]
Djournal.c65 struct ocfs2_dinode *la_dinode,
66 struct ocfs2_dinode *tl_dinode,
570 .ot_offset = offsetof(struct ocfs2_dinode, i_check),
820 struct ocfs2_dinode *di = NULL; in ocfs2_journal_init()
859 di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_journal_init()
912 static void ocfs2_bump_recovery_generation(struct ocfs2_dinode *di) in ocfs2_bump_recovery_generation()
917 static u32 ocfs2_get_recovery_generation(struct ocfs2_dinode *di) in ocfs2_get_recovery_generation()
929 struct ocfs2_dinode *fe; in ocfs2_journal_toggle_dirty()
931 fe = (struct ocfs2_dinode *)bh->b_data; in ocfs2_journal_toggle_dirty()
1205 struct ocfs2_dinode *lri_la_dinode;
[all …]
Dsuballoc.c201 struct ocfs2_dinode *di, in ocfs2_validate_gd_parent()
242 struct ocfs2_dinode *di, in ocfs2_check_group_descriptor()
295 int ocfs2_read_group_descriptor(struct inode *inode, struct ocfs2_dinode *di, in ocfs2_read_group_descriptor()
661 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_block_group_alloc()
775 struct ocfs2_dinode *fe; in ocfs2_reserve_suballoc_bits()
798 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_reserve_suballoc_bits()
1414 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_relink_block_group()
1587 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_alloc_dinode_update_counts()
1612 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_rollback_alloc_dinode_counts()
1647 struct ocfs2_dinode *di = (struct ocfs2_dinode *)ac->ac_bh->b_data; in ocfs2_bg_discontig_fix_result()
[all …]
Dlocalalloc.h24 struct ocfs2_dinode **alloc_copy);
27 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.h156 void ocfs2_dinode_new_extent_list(struct inode *inode, struct ocfs2_dinode *di);
157 void ocfs2_set_inode_data_inline(struct inode *inode, struct ocfs2_dinode *di);
168 struct ocfs2_dinode **tl_copy);
170 struct ocfs2_dinode *tl_copy);
Dsuballoc.h130 struct ocfs2_dinode *di);
189 struct ocfs2_dinode *di,
196 int ocfs2_read_group_descriptor(struct inode *inode, struct ocfs2_dinode *di,
Dinode.h133 void ocfs2_populate_inode(struct inode *inode, struct ocfs2_dinode *fe,
137 struct ocfs2_dinode *fe);
Daops.c47 struct ocfs2_dinode *fe = NULL; in ocfs2_symlink_get_block()
70 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_symlink_get_block()
226 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_read_inline_data()
1484 struct ocfs2_dinode *di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; in ocfs2_write_begin_inline()
1535 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_size_fits_inline_data()
1550 struct ocfs2_dinode *di = NULL; in ocfs2_try_to_write_inline_data()
1583 di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; in ocfs2_try_to_write_inline_data()
1660 struct ocfs2_dinode *di; in ocfs2_write_begin_nolock()
1722 di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; in ocfs2_write_begin_nolock()
1931 struct ocfs2_dinode *di, in ocfs2_write_end_inline()
[all …]
Ddir.c398 struct ocfs2_dinode *di; in ocfs2_find_entry_id()
407 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_entry_id()
592 static int ocfs2_read_dx_root(struct inode *dir, struct ocfs2_dinode *di, in ocfs2_read_dx_root()
1011 struct ocfs2_dinode *di; in ocfs2_find_entry_dx()
1021 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_entry_dx()
1354 struct ocfs2_dinode *di; in ocfs2_delete_entry_id()
1363 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_delete_entry_id()
1591 struct ocfs2_dinode *di = (struct ocfs2_dinode *)parent_fe_bh->b_data; in __ocfs2_add_entry()
1742 struct ocfs2_dinode *di; in ocfs2_dir_foreach_blk_id()
1753 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_dir_foreach_blk_id()
[all …]
Drefcounttree.c400 struct ocfs2_dinode *di; in ocfs2_get_refcount_block()
410 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_get_refcount_block()
557 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_create_refcount_tree()
698 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_set_refcount_tree()
760 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_remove_refcount_tree()
930 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_try_remove_refcount_tree()
3416 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_refcount_cow_hunk()
3622 struct ocfs2_dinode *di, in ocfs2_refcount_cow_xattr()
3765 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_change_ctime()
3800 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_attach_refcount_tree()
[all …]
Dextent_map.c277 struct ocfs2_dinode *di) in ocfs2_last_eb_is_empty()
405 struct ocfs2_dinode *di; in ocfs2_get_clusters_nocache()
415 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_get_clusters_nocache()
708 struct ocfs2_dinode *di; in ocfs2_fiemap_inline()
713 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_fiemap_inline()
722 phys += offsetof(struct ocfs2_dinode, id2.i_symlink); in ocfs2_fiemap_inline()
724 phys += offsetof(struct ocfs2_dinode, in ocfs2_fiemap_inline()
Dxattr.c295 struct ocfs2_dinode *di,
956 struct ocfs2_dinode *di) in ocfs2_has_inline_xattr_value_outside()
973 struct ocfs2_dinode *di, in ocfs2_xattr_ibody_list()
994 struct ocfs2_dinode *di, in ocfs2_xattr_block_list()
1032 struct ocfs2_dinode *di = NULL; in ocfs2_listxattr()
1047 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_listxattr()
1161 struct ocfs2_dinode *di = (struct ocfs2_dinode *)xs->inode_bh->b_data; in ocfs2_xattr_ibody_get()
1288 struct ocfs2_dinode *di = NULL; in ocfs2_xattr_get_nolock()
1304 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_xattr_get_nolock()
2272 struct ocfs2_dinode *di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_init_dinode_xa_loc()
[all …]
Dmove_extents.c387 struct ocfs2_dinode *ac_dinode; in ocfs2_find_victim_alloc_group()
404 ac_dinode = (struct ocfs2_dinode *)ac_bh->b_data; in ocfs2_find_victim_alloc_group()
777 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in __ocfs2_move_extents_range()
909 struct ocfs2_dinode *di; in ocfs2_move_extents()
963 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_move_extents()
Docfs2.h382 struct ocfs2_dinode *local_alloc_copy;
560 static inline unsigned int ocfs2_read_links_count(struct ocfs2_dinode *di) in ocfs2_read_links_count()
571 static inline void ocfs2_set_links_count(struct ocfs2_dinode *di, u32 nlink) in ocfs2_set_links_count()
582 static inline void ocfs2_add_links_count(struct ocfs2_dinode *di, int n) in ocfs2_add_links_count()
Dfile.c257 struct ocfs2_dinode *di = (struct ocfs2_dinode *) bh->b_data; in ocfs2_update_inode_atime()
377 struct ocfs2_dinode *di; in ocfs2_orphan_for_truncate()
422 di = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_orphan_for_truncate()
441 struct ocfs2_dinode *fe = NULL; in ocfs2_truncate_file()
446 fe = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_truncate_file()
564 struct ocfs2_dinode *fe = NULL; in ocfs2_extend_allocation()
584 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_extend_allocation()
764 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 …]
Dxattr.h47 struct ocfs2_dinode *di);
Dbuffer_head_io.c434 struct ocfs2_dinode *di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_write_super_or_backup()
Dioctl.c281 struct ocfs2_dinode *dinode_alloc = NULL; in ocfs2_info_scan_inode_alloc()
301 dinode_alloc = (struct ocfs2_dinode *)bh->b_data; in ocfs2_info_scan_inode_alloc()
430 struct ocfs2_dinode *gb_dinode, in ocfs2_info_freefrag_scan_chain()
541 struct ocfs2_dinode *gb_dinode = NULL; in ocfs2_info_freefrag_scan_bitmap()
561 gb_dinode = (struct ocfs2_dinode *)bh->b_data; in ocfs2_info_freefrag_scan_bitmap()
Dalloc.c175 struct ocfs2_dinode *di = et->et_object; in ocfs2_dinode_set_last_eb_blk()
183 struct ocfs2_dinode *di = et->et_object; in ocfs2_dinode_get_last_eb_blk()
193 struct ocfs2_dinode *di = et->et_object; in ocfs2_dinode_update_clusters()
237 struct ocfs2_dinode *di = et->et_object; in ocfs2_dinode_sanity_check()
247 struct ocfs2_dinode *di = et->et_object; in ocfs2_dinode_fill_root_el()
5808 struct ocfs2_dinode *di; in ocfs2_truncate_log_needs_flush()
5811 di = (struct ocfs2_dinode *) tl_bh->b_data; in ocfs2_truncate_log_needs_flush()
5847 struct ocfs2_dinode *di; in ocfs2_truncate_log_append()
5854 di = (struct ocfs2_dinode *) tl_bh->b_data; in ocfs2_truncate_log_append()
5923 struct ocfs2_dinode *di; in ocfs2_replay_truncate_records()
[all …]
Dacl.c164 struct ocfs2_dinode *di; in ocfs2_acl_set_mode()
187 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_acl_set_mode()

12