/linux-6.3-rc2/fs/ocfs2/ |
A D | journal.c | 172 int ocfs2_recovery_init(struct ocfs2_super *osb) in ocfs2_recovery_init() 205 void ocfs2_recovery_exit(struct ocfs2_super *osb) in ocfs2_recovery_exit() 374 int ocfs2_commit_trans(struct ocfs2_super *osb, in ocfs2_commit_trans() 641 struct ocfs2_super *osb = in __ocfs2_journal_access() local 818 int ocfs2_journal_alloc(struct ocfs2_super *osb) in ocfs2_journal_alloc() 1100 struct ocfs2_super *osb; in ocfs2_journal_load() local 1267 struct ocfs2_super *osb = journal->j_osb; in ocfs2_complete_recovery() local 1413 struct ocfs2_super *osb = arg; in __ocfs2_recovery_thread() local 2013 struct ocfs2_super *osb; in ocfs2_orphan_scan_work() local 2070 struct ocfs2_super *osb; member [all …]
|
A D | localalloc.c | 101 unsigned int ocfs2_la_default_mb(struct ocfs2_super *osb) in ocfs2_la_default_mb() 212 void ocfs2_local_alloc_seen_free_bits(struct ocfs2_super *osb, in ocfs2_local_alloc_seen_free_bits() 227 struct ocfs2_super *osb = in ocfs2_la_enable_worker() local 268 int ocfs2_load_local_alloc(struct ocfs2_super *osb) in ocfs2_load_local_alloc() 366 void ocfs2_shutdown_local_alloc(struct ocfs2_super *osb) in ocfs2_shutdown_local_alloc() 476 int ocfs2_begin_local_alloc_recovery(struct ocfs2_super *osb, in ocfs2_begin_local_alloc_recovery() 614 int ocfs2_reserve_local_alloc_bits(struct ocfs2_super *osb, in ocfs2_reserve_local_alloc_bits() 713 int ocfs2_claim_local_alloc_bits(struct ocfs2_super *osb, in ocfs2_claim_local_alloc_bits() 769 int ocfs2_free_local_alloc_bits(struct ocfs2_super *osb, in ocfs2_free_local_alloc_bits() 947 static int ocfs2_sync_local_to_main(struct ocfs2_super *osb, in ocfs2_sync_local_to_main() [all …]
|
A D | dlmglue.c | 658 struct ocfs2_super *osb) in ocfs2_super_lock_res_init() 670 struct ocfs2_super *osb) in ocfs2_rename_lock_res_init() 681 struct ocfs2_super *osb) in ocfs2_nfs_sync_lock_res_init() 721 struct ocfs2_super *osb) in ocfs2_orphan_scan_lock_res_init() 756 struct ocfs2_super *osb, u64 ref_blkno, in ocfs2_refcount_lock_res_init() 1068 struct ocfs2_super *osb) in __lockres_clear_pending() 1094 struct ocfs2_super *osb) in lockres_clear_pending() 3278 struct ocfs2_super *osb; in ocfs2_dlm_debug_open() local 3324 int ocfs2_dlm_init(struct ocfs2_super *osb) in ocfs2_dlm_init() 4278 struct ocfs2_super *osb = lockres->l_priv; in ocfs2_refcount_lock() local [all …]
|
A D | super.c | 341 struct ocfs2_super *osb = inode->i_private; in ocfs2_osb_debug_open() local 396 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_sync_fs() local 608 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_remount() local 973 struct ocfs2_super *osb = NULL; in ocfs2_fill_super() local 1470 struct ocfs2_super *osb = OCFS2_SB(root->d_sb); in ocfs2_show_options() local 1612 struct ocfs2_super *osb; in ocfs2_statfs() local 1781 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_mount_volume() local 1852 struct ocfs2_super *osb = NULL; in ocfs2_dismount_volume() local 2005 struct ocfs2_super *osb; in ocfs2_initialize_super() local 2489 static void ocfs2_delete_osb(struct ocfs2_super *osb) in ocfs2_delete_osb() [all …]
|
A D | heartbeat.c | 36 void ocfs2_init_node_maps(struct ocfs2_super *osb) in ocfs2_init_node_maps() 44 struct ocfs2_super *osb = data; in ocfs2_do_node_down() local 63 void ocfs2_node_map_set_bit(struct ocfs2_super *osb, in ocfs2_node_map_set_bit() 75 void ocfs2_node_map_clear_bit(struct ocfs2_super *osb, in ocfs2_node_map_clear_bit() 87 int ocfs2_node_map_test_bit(struct ocfs2_super *osb, in ocfs2_node_map_test_bit()
|
A D | slot_map.c | 116 int ocfs2_refresh_slot_info(struct ocfs2_super *osb) in ocfs2_refresh_slot_info() 183 static int ocfs2_update_disk_slot(struct ocfs2_super *osb, in ocfs2_update_disk_slot() 208 static int ocfs2_slot_map_physical_size(struct ocfs2_super *osb, in ocfs2_slot_map_physical_size() 271 int ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num) in ocfs2_node_num_to_slot() 283 int ocfs2_slot_to_node_num_locked(struct ocfs2_super *osb, int slot_num, in ocfs2_slot_to_node_num_locked() 321 int ocfs2_clear_slot(struct ocfs2_super *osb, int slot_num) in ocfs2_clear_slot() 335 static int ocfs2_map_slot_buffers(struct ocfs2_super *osb, in ocfs2_map_slot_buffers() 399 int ocfs2_init_slot_info(struct ocfs2_super *osb) in ocfs2_init_slot_info() 438 void ocfs2_free_slot_info(struct ocfs2_super *osb) in ocfs2_free_slot_info() 446 int ocfs2_find_slot(struct ocfs2_super *osb) in ocfs2_find_slot() [all …]
|
A D | suballoc.c | 349 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); in ocfs2_block_group_fill() local 870 void ocfs2_init_steal_slots(struct ocfs2_super *osb) in ocfs2_init_steal_slots() 943 static int ocfs2_steal_inode(struct ocfs2_super *osb, in ocfs2_steal_inode() 949 static int ocfs2_steal_meta(struct ocfs2_super *osb, in ocfs2_steal_meta() 1026 int ocfs2_reserve_new_inode(struct ocfs2_super *osb, in ocfs2_reserve_new_inode() 1219 int ocfs2_reserve_clusters(struct ocfs2_super *osb, in ocfs2_reserve_clusters() 1484 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_cluster_group_search() local 2241 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_desc_bitmap_to_cluster_off() local 2256 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_which_cluster_group() local 2275 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_block_to_cluster_group() local [all …]
|
A D | namei.c | 233 struct ocfs2_super *osb; in ocfs2_mknod() local 514 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in __ocfs2_mknod_locked() local 690 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_link() local 879 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_unlink() local 1107 static int ocfs2_double_lock(struct ocfs2_super *osb, in ocfs2_double_lock() 1213 struct ocfs2_super *osb = NULL; in ocfs2_rename() local 1794 struct ocfs2_super *osb = NULL; in ocfs2_symlink() local 2324 int ocfs2_orphan_del(struct ocfs2_super *osb, in ocfs2_orphan_del() 2432 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_prep_new_orphaned_file() local 2498 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_create_inode_in_orphan() local [all …]
|
A D | ioctl.c | 91 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_fileattr_set() local 165 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_clustersize() local 184 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_maxslots() local 203 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_label() local 222 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_uuid() local 241 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_fs_features() local 262 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_journal_size() local 277 static int ocfs2_info_scan_inode_alloc(struct ocfs2_super *osb, in ocfs2_info_scan_inode_alloc() 333 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_freeinode() local 432 static int ocfs2_info_freefrag_scan_chain(struct ocfs2_super *osb, in ocfs2_info_freefrag_scan_chain() [all …]
|
A D | file.c | 71 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_free_file_private() local 169 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_sync_file() local 210 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_should_update_atime() local 253 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_update_inode_atime() local 314 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_simple_size_update() local 440 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_truncate_file() local 532 int ocfs2_add_inode_data(struct ocfs2_super *osb, in ocfs2_add_inode_data() 564 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_extend_allocation() local 712 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_zero_start_ordered_transaction() local 1121 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_setattr() local [all …]
|
A D | inode.c | 121 struct inode *ocfs2_iget(struct ocfs2_super *osb, u64 blkno, unsigned flags, in ocfs2_iget() 264 struct ocfs2_super *osb; in ocfs2_populate_inode() local 405 struct ocfs2_super *osb; in ocfs2_read_locked_inode() local 578 static int ocfs2_truncate_for_delete(struct ocfs2_super *osb, in ocfs2_truncate_for_delete() 643 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_remove_inode() local 719 static int ocfs2_check_orphan_recovery_state(struct ocfs2_super *osb, in ocfs2_check_orphan_recovery_state() 738 static void ocfs2_signal_wipe_completion(struct ocfs2_super *osb, in ocfs2_signal_wipe_completion() 754 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_wipe_inode() local 843 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_inode_is_valid_to_delete() local 1114 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_clear_inode() local
|
A D | dcache.c | 39 struct ocfs2_super *osb; in ocfs2_dentry_revalidate() local 365 static void ocfs2_drop_dentry_lock(struct ocfs2_super *osb, in ocfs2_drop_dentry_lock() 374 void ocfs2_dentry_lock_put(struct ocfs2_super *osb, in ocfs2_dentry_lock_put() 444 struct ocfs2_super *osb = OCFS2_SB(old_dir->i_sb); in ocfs2_dentry_move() local
|
A D | sysfile.c | 40 static struct inode **get_local_system_inode(struct ocfs2_super *osb, in get_local_system_inode() 88 struct inode *ocfs2_get_system_file_inode(struct ocfs2_super *osb, in ocfs2_get_system_file_inode() 123 static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb, in _ocfs2_get_system_file_inode()
|
A D | move_extents.c | 56 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in __ocfs2_move_extent() local 153 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_lock_meta_allocator_move_extents() local 201 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_defrag_extent() local 371 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_find_victim_alloc_group() local 472 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_validate_and_adjust_move_goal() local 569 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_move_extent() local 768 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in __ocfs2_move_extents_range() local 900 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_move_extents() local
|
A D | ocfs2.h | 488 static inline int ocfs2_sparse_alloc(struct ocfs2_super *osb) in ocfs2_sparse_alloc() 523 static inline int ocfs2_supports_xattr(struct ocfs2_super *osb) in ocfs2_supports_xattr() 530 static inline int ocfs2_meta_ecc(struct ocfs2_super *osb) in ocfs2_meta_ecc() 588 static inline int ocfs2_refcount_tree(struct ocfs2_super *osb) in ocfs2_refcount_tree() 599 static inline void ocfs2_set_osb_flag(struct ocfs2_super *osb, in ocfs2_set_osb_flag() 607 static inline void ocfs2_set_ro_flag(struct ocfs2_super *osb, in ocfs2_set_ro_flag() 619 static inline int ocfs2_is_hard_readonly(struct ocfs2_super *osb) in ocfs2_is_hard_readonly() 630 static inline int ocfs2_is_soft_readonly(struct ocfs2_super *osb) in ocfs2_is_soft_readonly() 648 static inline int ocfs2_userspace_stack(struct ocfs2_super *osb) in ocfs2_userspace_stack() 657 static inline int ocfs2_o2cb_stack(struct ocfs2_super *osb) in ocfs2_o2cb_stack() [all …]
|
A D | resize.c | 85 struct ocfs2_super *osb = OCFS2_SB(bm_inode->i_sb); in ocfs2_update_last_group_and_inode() local 177 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in update_backups() local 216 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_update_super_and_backups() local 266 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_group_extend() local 453 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_group_add() local
|
A D | buffer_head_io.c | 38 int ocfs2_write_block(struct ocfs2_super *osb, struct buffer_head *bh, in ocfs2_write_block() 89 int ocfs2_read_blocks_sync(struct ocfs2_super *osb, u64 block, in ocfs2_read_blocks_sync() 428 int ocfs2_write_super_or_backup(struct ocfs2_super *osb, in ocfs2_write_super_or_backup()
|
A D | refcounttree.c | 557 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_create_refcount_tree() local 698 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_set_refcount_tree() local 760 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_remove_refcount_tree() local 3011 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_duplicate_clusters_by_jbd() local 3182 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_make_clusters_writable() local 3332 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_replace_cow() local 3385 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_refcount_cow_hunk() local 3664 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_add_refcount_flag() local 3771 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_attach_refcount_tree() local 4486 struct ocfs2_super *osb; in ocfs2_reflink_remap_extent() local [all …]
|
A D | quota_global.c | 602 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_sync_dquot_helper() local 663 struct ocfs2_super *osb = OCFS2_SB(dquot->dq_sb); in ocfs2_write_dquot() local 699 struct ocfs2_super *osb = container_of(work, struct ocfs2_super, in ocfs2_drop_dquot_refs() local 723 struct ocfs2_super *osb = OCFS2_SB(dquot->dq_sb); in ocfs2_release_dquot() local 797 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_acquire_dquot() local 922 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_mark_dquot_dirty() local
|
A D | aops.c | 48 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_symlink_get_block() local 141 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_get_block() local 542 struct ocfs2_super *osb, u32 cpos, in ocfs2_clear_page_regions() 838 struct ocfs2_super *osb, loff_t pos, in ocfs2_alloc_write_ctxt() 1228 struct ocfs2_super *osb = OCFS2_SB(mapping->host->i_sb); in ocfs2_write_cluster_by_desc() local 1477 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_write_begin_inline() local 1655 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_write_begin_nolock() local 1956 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_write_end_nolock() local 2130 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_dio_wr_get_block() local 2285 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_dio_end_io_write() local [all …]
|
A D | dir.c | 71 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_supports_dir_trailer() local 89 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_new_dir_wants_trailer() local 254 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_dx_dir_name_hash() local 2436 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in __ocfs2_dx_dir_new_cluster() local 2562 int ocfs2_fill_new_dir(struct ocfs2_super *osb, in ocfs2_fill_new_dir() 2775 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_expand_inline_dir() local 3146 static int ocfs2_extend_dir(struct ocfs2_super *osb, in ocfs2_extend_dir() 4008 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_expand_inline_dx_root() local 4138 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_prepare_dx_dir_for_insert() local 4315 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_dx_dir_remove_index() local [all …]
|
A D | filecheck.c | 166 int ocfs2_filecheck_create_sysfs(struct ocfs2_super *osb) in ocfs2_filecheck_create_sysfs() 196 void ocfs2_filecheck_remove_sysfs(struct ocfs2_super *osb) in ocfs2_filecheck_remove_sysfs() 406 ocfs2_filecheck_handle(struct ocfs2_super *osb, in ocfs2_filecheck_handle() 431 struct ocfs2_super *osb = container_of(ent, struct ocfs2_super, in ocfs2_filecheck_handle_entry() local
|
A D | locks.c | 101 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_flock() local 119 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_lock() local
|
A D | acl.c | 295 struct ocfs2_super *osb; in ocfs2_iop_get_acl() local 323 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_acl_chmod() local 359 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_init_acl() local
|
A D | alloc.c | 995 struct ocfs2_super *osb = in ocfs2_create_new_meta_bhs() local 4785 struct ocfs2_super *osb = in ocfs2_add_clusters_in_btree() local 5656 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_reserve_blocks_for_rec_trunc() local 5698 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_remove_btree_range() local 6078 struct ocfs2_super *osb = in ocfs2_truncate_log_worker() local 6532 int ocfs2_run_deallocs(struct ocfs2_super *osb, in ocfs2_run_deallocs() 6661 struct ocfs2_super *osb = in ocfs2_reuse_blk_from_dealloc() local 7061 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_convert_inline_data_to_extents() local 7459 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_trim_extent() local 7528 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_trim_mainbm() local [all …]
|