Home
last modified time | relevance | path

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

12

/linux-6.12.1/fs/ocfs2/
Dlocalalloc.c35 static u32 ocfs2_local_alloc_count_bits(struct ocfs2_dinode *alloc);
38 struct ocfs2_dinode *alloc,
42 static void ocfs2_clear_local_alloc(struct ocfs2_dinode *alloc);
46 struct ocfs2_dinode *alloc,
272 struct ocfs2_dinode *alloc = NULL; in ocfs2_load_local_alloc()
306 alloc = (struct ocfs2_dinode *) alloc_bh->b_data; in ocfs2_load_local_alloc()
375 struct ocfs2_dinode *alloc_copy = NULL; in ocfs2_shutdown_local_alloc()
376 struct ocfs2_dinode *alloc = NULL; in ocfs2_shutdown_local_alloc()
425 alloc = (struct ocfs2_dinode *) bh->b_data; in ocfs2_shutdown_local_alloc()
479 struct ocfs2_dinode **alloc_copy) in ocfs2_begin_local_alloc_recovery()
[all …]
Docfs2_fs.h660 struct ocfs2_dinode { struct
1243 offsetof(struct ocfs2_dinode, id2.i_symlink); in ocfs2_fast_symlink_chars()
1247 struct ocfs2_dinode *di) in ocfs2_max_inline_data_with_xattr()
1253 offsetof(struct ocfs2_dinode, id2.i_data.id_data) - in ocfs2_max_inline_data_with_xattr()
1257 offsetof(struct ocfs2_dinode, id2.i_data.id_data); in ocfs2_max_inline_data_with_xattr()
1265 offsetof(struct ocfs2_dinode, id2.i_list.l_recs); in ocfs2_extent_recs_per_inode()
1272 struct ocfs2_dinode *di) in ocfs2_extent_recs_per_inode_with_xattr()
1279 offsetof(struct ocfs2_dinode, id2.i_list.l_recs) - in ocfs2_extent_recs_per_inode_with_xattr()
1283 offsetof(struct ocfs2_dinode, id2.i_list.l_recs); in ocfs2_extent_recs_per_inode_with_xattr()
1303 offsetof(struct ocfs2_dinode, id2.i_chain.cl_recs); in ocfs2_chain_recs_per_inode()
[all …]
Dresize.c86 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) bm_bh->b_data; in ocfs2_update_last_group_and_inode()
184 struct ocfs2_dinode *backup_di = NULL; in update_backups()
202 backup_di = (struct ocfs2_dinode *)backup->b_data; in update_backups()
223 struct ocfs2_dinode *super_di = NULL; in ocfs2_update_super_and_backups()
237 super_di = (struct ocfs2_dinode *)super_bh->b_data; in ocfs2_update_super_and_backups()
272 struct ocfs2_dinode *fe = NULL; in ocfs2_group_extend()
304 fe = (struct ocfs2_dinode *)main_bm_bh->b_data; in ocfs2_group_extend()
378 struct ocfs2_dinode *di, in ocfs2_check_new_group()
416 struct ocfs2_dinode *di, in ocfs2_verify_group_and_input()
460 struct ocfs2_dinode *fe = NULL; in ocfs2_group_add()
[all …]
Dinode.c260 void ocfs2_populate_inode(struct inode *inode, struct ocfs2_dinode *fe, in ocfs2_populate_inode()
406 struct ocfs2_dinode *fe; in ocfs2_read_locked_inode()
526 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_read_locked_inode()
583 struct ocfs2_dinode *fe; in ocfs2_truncate_for_delete()
586 fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_truncate_for_delete()
644 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_remove_inode()
755 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_wipe_inode()
893 struct ocfs2_dinode *di; in ocfs2_query_inode_wipe()
914 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_query_inode_wipe()
997 struct ocfs2_dinode *di = NULL; in ocfs2_delete_inode()
[all …]
Dnamei.c234 struct ocfs2_dinode *dirfe; in ocfs2_mknod()
235 struct ocfs2_dinode *fe = NULL; in ocfs2_mknod()
279 dirfe = (struct ocfs2_dinode *) parent_fe_bh->b_data; in ocfs2_mknod()
387 fe = (struct ocfs2_dinode *) new_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()
690 struct ocfs2_dinode *fe = NULL; in ocfs2_link()
771 fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_link()
883 struct ocfs2_dinode *fe = NULL; in ocfs2_unlink()
984 fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_unlink()
[all …]
Djournal.c64 struct ocfs2_dinode *la_dinode,
65 struct ocfs2_dinode *tl_dinode,
583 ot->ot_offset = offsetof(struct ocfs2_dinode, i_check); in ocfs2_setup_csum_triggers()
900 struct ocfs2_dinode *di = NULL; in ocfs2_journal_init()
935 di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_journal_init()
988 static void ocfs2_bump_recovery_generation(struct ocfs2_dinode *di) in ocfs2_bump_recovery_generation()
993 static u32 ocfs2_get_recovery_generation(struct ocfs2_dinode *di) in ocfs2_get_recovery_generation()
1005 struct ocfs2_dinode *fe; in ocfs2_journal_toggle_dirty()
1007 fe = (struct ocfs2_dinode *)bh->b_data; in ocfs2_journal_toggle_dirty()
1283 struct ocfs2_dinode *lri_la_dinode;
[all …]
Dlocalalloc.h22 struct ocfs2_dinode **alloc_copy);
25 struct ocfs2_dinode *alloc);
Dsuballoc.c203 struct ocfs2_dinode *di, in ocfs2_validate_gd_parent()
244 struct ocfs2_dinode *di, in ocfs2_check_group_descriptor()
297 int ocfs2_read_group_descriptor(struct inode *inode, struct ocfs2_dinode *di, in ocfs2_read_group_descriptor()
663 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_block_group_alloc()
777 struct ocfs2_dinode *fe; in ocfs2_reserve_suballoc_bits()
800 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_reserve_suballoc_bits()
1466 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_relink_block_group()
1637 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_alloc_dinode_update_counts()
1662 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_rollback_alloc_dinode_counts()
1697 struct ocfs2_dinode *di = (struct ocfs2_dinode *)ac->ac_bh->b_data; in ocfs2_bg_discontig_fix_result()
[all …]
Dsymlink.c61 struct ocfs2_dinode *fe; in ocfs2_fast_symlink_read_folio()
71 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_fast_symlink_read_folio()
Dalloc.h154 void ocfs2_dinode_new_extent_list(struct inode *inode, struct ocfs2_dinode *di);
155 void ocfs2_set_inode_data_inline(struct inode *inode, struct ocfs2_dinode *di);
166 struct ocfs2_dinode **tl_copy);
168 struct ocfs2_dinode *tl_copy);
Dsuballoc.h132 struct ocfs2_dinode *di);
191 struct ocfs2_dinode *di,
198 int ocfs2_read_group_descriptor(struct inode *inode, struct ocfs2_dinode *di,
Drefcounttree.c399 struct ocfs2_dinode *di; in ocfs2_get_refcount_block()
409 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_get_refcount_block()
556 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_create_refcount_tree()
697 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_set_refcount_tree()
759 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_remove_refcount_tree()
929 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_try_remove_refcount_tree()
3381 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_refcount_cow_hunk()
3587 struct ocfs2_dinode *di, in ocfs2_refcount_cow_xattr()
3730 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_change_ctime()
3765 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_attach_refcount_tree()
[all …]
Dinode.h131 void ocfs2_populate_inode(struct inode *inode, struct ocfs2_dinode *fe,
135 struct ocfs2_dinode *fe);
Daops.c45 struct ocfs2_dinode *fe = NULL; in ocfs2_symlink_get_block()
68 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_symlink_get_block()
223 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_read_inline_data()
1477 struct ocfs2_dinode *di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; in ocfs2_write_begin_inline()
1528 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_size_fits_inline_data()
1543 struct ocfs2_dinode *di = NULL; in ocfs2_try_to_write_inline_data()
1576 di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; in ocfs2_try_to_write_inline_data()
1653 struct ocfs2_dinode *di; in ocfs2_write_begin_nolock()
1715 di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; in ocfs2_write_begin_nolock()
1924 struct ocfs2_dinode *di, in ocfs2_write_end_inline()
[all …]
Ddir.c402 struct ocfs2_dinode *di; in ocfs2_find_entry_id()
411 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_entry_id()
596 static int ocfs2_read_dx_root(struct inode *dir, struct ocfs2_dinode *di, in ocfs2_read_dx_root()
1015 struct ocfs2_dinode *di; in ocfs2_find_entry_dx()
1025 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_entry_dx()
1358 struct ocfs2_dinode *di; in ocfs2_delete_entry_id()
1367 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_delete_entry_id()
1595 struct ocfs2_dinode *di = (struct ocfs2_dinode *)parent_fe_bh->b_data; in __ocfs2_add_entry()
1745 struct ocfs2_dinode *di; in ocfs2_dir_foreach_blk_id()
1756 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_dir_foreach_blk_id()
[all …]
Dxattr.c289 struct ocfs2_dinode *di,
950 struct ocfs2_dinode *di) in ocfs2_has_inline_xattr_value_outside()
967 struct ocfs2_dinode *di, in ocfs2_xattr_ibody_list()
988 struct ocfs2_dinode *di, in ocfs2_xattr_block_list()
1026 struct ocfs2_dinode *di = NULL; in ocfs2_listxattr()
1041 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_listxattr()
1164 struct ocfs2_dinode *di = (struct ocfs2_dinode *)xs->inode_bh->b_data; in ocfs2_xattr_ibody_get()
1291 struct ocfs2_dinode *di = NULL; in ocfs2_xattr_get_nolock()
1307 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_xattr_get_nolock()
2274 struct ocfs2_dinode *di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_init_dinode_xa_loc()
[all …]
Dextent_map.c275 struct ocfs2_dinode *di) in ocfs2_last_eb_is_empty()
403 struct ocfs2_dinode *di; in ocfs2_get_clusters_nocache()
413 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_get_clusters_nocache()
706 struct ocfs2_dinode *di; in ocfs2_fiemap_inline()
711 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_fiemap_inline()
720 phys += offsetof(struct ocfs2_dinode, id2.i_symlink); in ocfs2_fiemap_inline()
722 phys += offsetof(struct ocfs2_dinode, in ocfs2_fiemap_inline()
Dmove_extents.c375 struct ocfs2_dinode *ac_dinode; in ocfs2_find_victim_alloc_group()
392 ac_dinode = (struct ocfs2_dinode *)ac_bh->b_data; in ocfs2_find_victim_alloc_group()
766 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in __ocfs2_move_extents_range()
898 struct ocfs2_dinode *di; in ocfs2_move_extents()
952 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_move_extents()
Dfile.c259 struct ocfs2_dinode *di = (struct ocfs2_dinode *) bh->b_data; in ocfs2_update_inode_atime()
379 struct ocfs2_dinode *di; in ocfs2_orphan_for_truncate()
424 di = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_orphan_for_truncate()
443 struct ocfs2_dinode *fe = NULL; in ocfs2_truncate_file()
448 fe = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_truncate_file()
563 struct ocfs2_dinode *fe = NULL; in ocfs2_extend_allocation()
583 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_extend_allocation()
763 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.h407 struct ocfs2_dinode *local_alloc_copy;
585 static inline unsigned int ocfs2_read_links_count(struct ocfs2_dinode *di) in ocfs2_read_links_count()
595 static inline void ocfs2_set_links_count(struct ocfs2_dinode *di, u32 nlink) in ocfs2_set_links_count()
606 static inline void ocfs2_add_links_count(struct ocfs2_dinode *di, int n) in ocfs2_add_links_count()
Dioctl.c286 struct ocfs2_dinode *dinode_alloc = NULL; in ocfs2_info_scan_inode_alloc()
306 dinode_alloc = (struct ocfs2_dinode *)bh->b_data; in ocfs2_info_scan_inode_alloc()
435 struct ocfs2_dinode *gb_dinode, in ocfs2_info_freefrag_scan_chain()
546 struct ocfs2_dinode *gb_dinode = NULL; in ocfs2_info_freefrag_scan_bitmap()
566 gb_dinode = (struct ocfs2_dinode *)bh->b_data; in ocfs2_info_freefrag_scan_bitmap()
Dbuffer_head_io.c432 struct ocfs2_dinode *di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_write_super_or_backup()
Dxattr.h45 struct ocfs2_dinode *di);
Dalloc.c173 struct ocfs2_dinode *di = et->et_object; in ocfs2_dinode_set_last_eb_blk()
181 struct ocfs2_dinode *di = et->et_object; in ocfs2_dinode_get_last_eb_blk()
191 struct ocfs2_dinode *di = et->et_object; in ocfs2_dinode_update_clusters()
235 struct ocfs2_dinode *di = et->et_object; in ocfs2_dinode_sanity_check()
245 struct ocfs2_dinode *di = et->et_object; in ocfs2_dinode_fill_root_el()
5813 struct ocfs2_dinode *di; in ocfs2_truncate_log_needs_flush()
5816 di = (struct ocfs2_dinode *) tl_bh->b_data; in ocfs2_truncate_log_needs_flush()
5852 struct ocfs2_dinode *di; in ocfs2_truncate_log_append()
5859 di = (struct ocfs2_dinode *) tl_bh->b_data; in ocfs2_truncate_log_append()
5928 struct ocfs2_dinode *di; in ocfs2_replay_truncate_records()
[all …]
Dacl.c162 struct ocfs2_dinode *di; in ocfs2_acl_set_mode()
185 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_acl_set_mode()

12