Home
last modified time | relevance | path

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

12

/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,
271 struct ocfs2_dinode *alloc = NULL; in ocfs2_load_local_alloc()
305 alloc = (struct ocfs2_dinode *) alloc_bh->b_data; in ocfs2_load_local_alloc()
374 struct ocfs2_dinode *alloc_copy = NULL; in ocfs2_shutdown_local_alloc()
375 struct ocfs2_dinode *alloc = NULL; in ocfs2_shutdown_local_alloc()
424 alloc = (struct ocfs2_dinode *) bh->b_data; in ocfs2_shutdown_local_alloc()
478 struct ocfs2_dinode **alloc_copy) in ocfs2_begin_local_alloc_recovery()
[all …]
Docfs2_fs.h660 struct ocfs2_dinode { struct
1242 offsetof(struct ocfs2_dinode, id2.i_symlink); in ocfs2_fast_symlink_chars()
1246 struct ocfs2_dinode *di) in ocfs2_max_inline_data_with_xattr()
1252 offsetof(struct ocfs2_dinode, id2.i_data.id_data) - in ocfs2_max_inline_data_with_xattr()
1256 offsetof(struct ocfs2_dinode, id2.i_data.id_data); in ocfs2_max_inline_data_with_xattr()
1264 offsetof(struct ocfs2_dinode, id2.i_list.l_recs); in ocfs2_extent_recs_per_inode()
1271 struct ocfs2_dinode *di) in ocfs2_extent_recs_per_inode_with_xattr()
1278 offsetof(struct ocfs2_dinode, id2.i_list.l_recs) - in ocfs2_extent_recs_per_inode_with_xattr()
1282 offsetof(struct ocfs2_dinode, id2.i_list.l_recs); in ocfs2_extent_recs_per_inode_with_xattr()
1302 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()
176 struct ocfs2_dinode *backup_di = NULL; in update_backups()
194 backup_di = (struct ocfs2_dinode *)backup->b_data; in update_backups()
215 struct ocfs2_dinode *super_di = NULL; in ocfs2_update_super_and_backups()
229 super_di = (struct ocfs2_dinode *)super_bh->b_data; in ocfs2_update_super_and_backups()
264 struct ocfs2_dinode *fe = NULL; in ocfs2_group_extend()
296 fe = (struct ocfs2_dinode *)main_bm_bh->b_data; in ocfs2_group_extend()
370 struct ocfs2_dinode *di, in ocfs2_check_new_group()
408 struct ocfs2_dinode *di, in ocfs2_verify_group_and_input()
452 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()
882 struct ocfs2_dinode *fe = NULL; in ocfs2_unlink()
983 fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_unlink()
[all …]
Djournal.c63 struct ocfs2_dinode *la_dinode,
64 struct ocfs2_dinode *tl_dinode,
568 .ot_offset = offsetof(struct ocfs2_dinode, i_check),
850 struct ocfs2_dinode *di = NULL; in ocfs2_journal_init()
885 di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_journal_init()
938 static void ocfs2_bump_recovery_generation(struct ocfs2_dinode *di) in ocfs2_bump_recovery_generation()
943 static u32 ocfs2_get_recovery_generation(struct ocfs2_dinode *di) in ocfs2_get_recovery_generation()
955 struct ocfs2_dinode *fe; in ocfs2_journal_toggle_dirty()
957 fe = (struct ocfs2_dinode *)bh->b_data; in ocfs2_journal_toggle_dirty()
1232 struct ocfs2_dinode *lri_la_dinode;
[all …]
Dsuballoc.c199 struct ocfs2_dinode *di, in ocfs2_validate_gd_parent()
240 struct ocfs2_dinode *di, in ocfs2_check_group_descriptor()
293 int ocfs2_read_group_descriptor(struct inode *inode, struct ocfs2_dinode *di, in ocfs2_read_group_descriptor()
659 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_block_group_alloc()
773 struct ocfs2_dinode *fe; in ocfs2_reserve_suballoc_bits()
796 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_reserve_suballoc_bits()
1412 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_relink_block_group()
1585 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_alloc_dinode_update_counts()
1610 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_rollback_alloc_dinode_counts()
1645 struct ocfs2_dinode *di = (struct ocfs2_dinode *)ac->ac_bh->b_data; in ocfs2_bg_discontig_fix_result()
[all …]
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);
Dlocalalloc.h22 struct ocfs2_dinode **alloc_copy);
25 struct ocfs2_dinode *alloc);
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()
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()
224 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_read_inline_data()
1480 struct ocfs2_dinode *di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; in ocfs2_write_begin_inline()
1531 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_size_fits_inline_data()
1546 struct ocfs2_dinode *di = NULL; in ocfs2_try_to_write_inline_data()
1579 di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; in ocfs2_try_to_write_inline_data()
1656 struct ocfs2_dinode *di; in ocfs2_write_begin_nolock()
1718 di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; in ocfs2_write_begin_nolock()
1927 struct ocfs2_dinode *di, in ocfs2_write_end_inline()
[all …]
Dsuballoc.h128 struct ocfs2_dinode *di);
187 struct ocfs2_dinode *di,
194 int ocfs2_read_group_descriptor(struct inode *inode, struct ocfs2_dinode *di,
Ddir.c396 struct ocfs2_dinode *di; in ocfs2_find_entry_id()
405 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_entry_id()
590 static int ocfs2_read_dx_root(struct inode *dir, struct ocfs2_dinode *di, in ocfs2_read_dx_root()
1009 struct ocfs2_dinode *di; in ocfs2_find_entry_dx()
1019 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_entry_dx()
1352 struct ocfs2_dinode *di; in ocfs2_delete_entry_id()
1361 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_delete_entry_id()
1589 struct ocfs2_dinode *di = (struct ocfs2_dinode *)parent_fe_bh->b_data; in __ocfs2_add_entry()
1740 struct ocfs2_dinode *di; in ocfs2_dir_foreach_blk_id()
1751 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_dir_foreach_blk_id()
[all …]
Drefcounttree.c398 struct ocfs2_dinode *di; in ocfs2_get_refcount_block()
408 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_get_refcount_block()
555 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_create_refcount_tree()
696 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_set_refcount_tree()
758 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_remove_refcount_tree()
928 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_try_remove_refcount_tree()
3386 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_refcount_cow_hunk()
3592 struct ocfs2_dinode *di, in ocfs2_refcount_cow_xattr()
3735 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_change_ctime()
3770 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_attach_refcount_tree()
[all …]
Dxattr.c293 struct ocfs2_dinode *di,
954 struct ocfs2_dinode *di) in ocfs2_has_inline_xattr_value_outside()
971 struct ocfs2_dinode *di, in ocfs2_xattr_ibody_list()
992 struct ocfs2_dinode *di, in ocfs2_xattr_block_list()
1030 struct ocfs2_dinode *di = NULL; in ocfs2_listxattr()
1045 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_listxattr()
1159 struct ocfs2_dinode *di = (struct ocfs2_dinode *)xs->inode_bh->b_data; in ocfs2_xattr_ibody_get()
1286 struct ocfs2_dinode *di = NULL; in ocfs2_xattr_get_nolock()
1302 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_xattr_get_nolock()
2270 struct ocfs2_dinode *di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_init_dinode_xa_loc()
[all …]
Dinode.h131 void ocfs2_populate_inode(struct inode *inode, struct ocfs2_dinode *fe,
135 struct ocfs2_dinode *fe);
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.c255 struct ocfs2_dinode *di = (struct ocfs2_dinode *) bh->b_data; in ocfs2_update_inode_atime()
375 struct ocfs2_dinode *di; in ocfs2_orphan_for_truncate()
420 di = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_orphan_for_truncate()
439 struct ocfs2_dinode *fe = NULL; in ocfs2_truncate_file()
444 fe = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_truncate_file()
559 struct ocfs2_dinode *fe = NULL; in ocfs2_extend_allocation()
579 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_extend_allocation()
759 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_write_zero_page()
1376 struct ocfs2_dinode *di; in __ocfs2_write_remove_suid()
1400 di = (struct ocfs2_dinode *) bh->b_data; in __ocfs2_write_remove_suid()
[all …]
Docfs2.h380 struct ocfs2_dinode *local_alloc_copy;
558 static inline unsigned int ocfs2_read_links_count(struct ocfs2_dinode *di) in ocfs2_read_links_count()
569 static inline void ocfs2_set_links_count(struct ocfs2_dinode *di, u32 nlink) in ocfs2_set_links_count()
580 static inline void ocfs2_add_links_count(struct ocfs2_dinode *di, int n) in ocfs2_add_links_count()
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()
5806 struct ocfs2_dinode *di; in ocfs2_truncate_log_needs_flush()
5809 di = (struct ocfs2_dinode *) tl_bh->b_data; in ocfs2_truncate_log_needs_flush()
5845 struct ocfs2_dinode *di; in ocfs2_truncate_log_append()
5852 di = (struct ocfs2_dinode *) tl_bh->b_data; in ocfs2_truncate_log_append()
5921 struct ocfs2_dinode *di; in ocfs2_replay_truncate_records()
[all …]
Dioctl.c285 struct ocfs2_dinode *dinode_alloc = NULL; in ocfs2_info_scan_inode_alloc()
305 dinode_alloc = (struct ocfs2_dinode *)bh->b_data; in ocfs2_info_scan_inode_alloc()
434 struct ocfs2_dinode *gb_dinode, in ocfs2_info_freefrag_scan_chain()
545 struct ocfs2_dinode *gb_dinode = NULL; in ocfs2_info_freefrag_scan_bitmap()
565 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);
Dsuper.c108 static int ocfs2_verify_volume(struct ocfs2_dinode *di,
729 struct ocfs2_dinode *di; in ocfs2_sb_probe()
790 di = (struct ocfs2_dinode *) (*bh)->b_data; in ocfs2_sb_probe()
1618 struct ocfs2_dinode *bm_lock; in ocfs2_statfs()
1641 bm_lock = (struct ocfs2_dinode *) bh->b_data; in ocfs2_statfs()
2006 struct ocfs2_dinode *di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_initialize_super()
2320 static int ocfs2_verify_volume(struct ocfs2_dinode *di, in ocfs2_verify_volume()
2391 struct ocfs2_dinode *local_alloc = NULL; /* only used if we in ocfs2_check_volume()

12