Home
last modified time | relevance | path

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

12

/openbmc/linux/fs/ocfs2/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A Dnamei.c236 struct ocfs2_dinode *dirfe; in ocfs2_mknod()
237 struct ocfs2_dinode *fe = NULL; in ocfs2_mknod()
281 dirfe = (struct ocfs2_dinode *) parent_fe_bh->b_data; in ocfs2_mknod()
389 fe = (struct ocfs2_dinode *) new_fe_bh->b_data; in ocfs2_mknod()
518 struct ocfs2_dinode *fe = NULL; in __ocfs2_mknod_locked()
551 fe = (struct ocfs2_dinode *) (*new_fe_bh)->b_data; in __ocfs2_mknod_locked()
692 struct ocfs2_dinode *fe = NULL; in ocfs2_link()
773 fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_link()
885 struct ocfs2_dinode *fe = NULL; in ocfs2_unlink()
986 fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_unlink()
[all …]
H A 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 …]
H A 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 …]
H A Dlocalalloc.h22 struct ocfs2_dinode **alloc_copy);
25 struct ocfs2_dinode *alloc);
H A 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()
H A 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);
H A Dsuballoc.h128 struct ocfs2_dinode *di);
187 struct ocfs2_dinode *di,
194 int ocfs2_read_group_descriptor(struct inode *inode, struct ocfs2_dinode *di,
H A 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()
3388 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_refcount_cow_hunk()
3594 struct ocfs2_dinode *di, in ocfs2_refcount_cow_xattr()
3737 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_change_ctime()
3772 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_attach_refcount_tree()
[all …]
H A 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()
1479 struct ocfs2_dinode *di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; in ocfs2_write_begin_inline()
1530 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_size_fits_inline_data()
1545 struct ocfs2_dinode *di = NULL; in ocfs2_try_to_write_inline_data()
1578 di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; in ocfs2_try_to_write_inline_data()
1655 struct ocfs2_dinode *di; in ocfs2_write_begin_nolock()
1717 di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; in ocfs2_write_begin_nolock()
1926 struct ocfs2_dinode *di, in ocfs2_write_end_inline()
[all …]
H A Dinode.h131 void ocfs2_populate_inode(struct inode *inode, struct ocfs2_dinode *fe,
135 struct ocfs2_dinode *fe);
H A 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()
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()
1761 struct ocfs2_dinode *di; in ocfs2_dir_foreach_blk_id()
1772 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_dir_foreach_blk_id()
[all …]
H A 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 …]
H A 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()
H A 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()
H A 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()
1378 struct ocfs2_dinode *di; in __ocfs2_write_remove_suid()
1402 di = (struct ocfs2_dinode *) bh->b_data; in __ocfs2_write_remove_suid()
[all …]
H A 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()
H A 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()
H A Dbuffer_head_io.c432 struct ocfs2_dinode *di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_write_super_or_backup()
H A Dxattr.h45 struct ocfs2_dinode *di);
H A 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 …]
H A 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