/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | super.c | 97 static void ocfs2_delete_osb(struct ocfs2_super *osb); 103 static int ocfs2_init_global_system_inodes(struct ocfs2_super *osb); 104 static int ocfs2_init_local_system_inodes(struct ocfs2_super *osb); 105 static void ocfs2_release_system_inodes(struct ocfs2_super *osb); 106 static int ocfs2_check_volume(struct ocfs2_super *osb); 121 static int ocfs2_susp_quotas(struct ocfs2_super *osb, int unsuspend); 122 static int ocfs2_enable_quotas(struct ocfs2_super *osb); 123 static void ocfs2_disable_quotas(struct ocfs2_super *osb); 212 static int ocfs2_osb_dump(struct ocfs2_super *osb, char *buf, int len) in ocfs2_osb_dump() argument 214 struct ocfs2_cluster_connection *cconn = osb in ocfs2_osb_dump() 341 struct ocfs2_super *osb = inode->i_private; ocfs2_osb_debug_open() local 396 struct ocfs2_super *osb = OCFS2_SB(sb); ocfs2_sync_fs() local 418 ocfs2_need_system_inode(struct ocfs2_super *osb, int ino) ocfs2_need_system_inode() argument 431 ocfs2_init_global_system_inodes(struct ocfs2_super *osb) ocfs2_init_global_system_inodes() argument 476 ocfs2_init_local_system_inodes(struct ocfs2_super *osb) ocfs2_init_local_system_inodes() argument 505 ocfs2_release_system_inodes(struct ocfs2_super *osb) ocfs2_release_system_inodes() argument 608 struct ocfs2_super *osb = OCFS2_SB(sb); ocfs2_remount() local 807 ocfs2_verify_heartbeat(struct ocfs2_super *osb) ocfs2_verify_heartbeat() argument 848 ocfs2_verify_userspace_stack(struct ocfs2_super *osb, struct mount_options *mopt) ocfs2_verify_userspace_stack() argument 872 ocfs2_susp_quotas(struct ocfs2_super *osb, int unsuspend) ocfs2_susp_quotas() argument 903 ocfs2_enable_quotas(struct ocfs2_super *osb) ocfs2_enable_quotas() argument 943 ocfs2_disable_quotas(struct ocfs2_super *osb) ocfs2_disable_quotas() argument 975 struct ocfs2_super *osb = NULL; ocfs2_fill_super() local 1472 struct ocfs2_super *osb = OCFS2_SB(root->d_sb); ocfs2_show_options() local 1613 struct ocfs2_super *osb; ocfs2_statfs() local 1782 struct ocfs2_super *osb = OCFS2_SB(sb); ocfs2_mount_volume() local 1853 struct ocfs2_super *osb = NULL; ocfs2_dismount_volume() local 1943 ocfs2_setup_osb_uuid(struct ocfs2_super *osb, const unsigned char *uuid, unsigned uuid_bytes) ocfs2_setup_osb_uuid() argument 1970 ocfs2_journal_addressable(struct ocfs2_super *osb) ocfs2_journal_addressable() argument 2006 struct ocfs2_super *osb; ocfs2_initialize_super() local 2383 ocfs2_check_volume(struct ocfs2_super *osb) ocfs2_check_volume() argument 2490 ocfs2_delete_osb(struct ocfs2_super *osb) ocfs2_delete_osb() argument 2523 struct ocfs2_super *osb = OCFS2_SB(sb); ocfs2_handle_error() local [all...] |
H A D | localalloc.c | 37 static int ocfs2_local_alloc_find_clear_bits(struct ocfs2_super *osb, 44 static int ocfs2_sync_local_to_main(struct ocfs2_super *osb, 50 static int ocfs2_local_alloc_reserve_for_window(struct ocfs2_super *osb, 55 static int ocfs2_local_alloc_new_window(struct ocfs2_super *osb, 59 static int ocfs2_local_alloc_slide_window(struct ocfs2_super *osb, 101 unsigned int ocfs2_la_default_mb(struct ocfs2_super *osb) in ocfs2_la_default_mb() argument 107 struct super_block *sb = osb->sb; in ocfs2_la_default_mb() 109 gd_mb = ocfs2_clusters_to_megabytes(osb->sb, in ocfs2_la_default_mb() 110 8 * ocfs2_group_bitmap_size(sb, 0, osb->s_feature_incompat)); in ocfs2_la_default_mb() 117 if ((sb->s_blocksize == 512 && osb in ocfs2_la_default_mb() 179 ocfs2_la_set_sizes(struct ocfs2_super *osb, int requested_mb) ocfs2_la_set_sizes() argument 206 ocfs2_la_state_enabled(struct ocfs2_super *osb) ocfs2_la_state_enabled() argument 212 ocfs2_local_alloc_seen_free_bits(struct ocfs2_super *osb, unsigned int num_clusters) ocfs2_local_alloc_seen_free_bits() argument 227 struct ocfs2_super *osb = ocfs2_la_enable_worker() local 242 ocfs2_alloc_should_use_local(struct ocfs2_super *osb, u64 bits) ocfs2_alloc_should_use_local() argument 268 ocfs2_load_local_alloc(struct ocfs2_super *osb) ocfs2_load_local_alloc() argument 366 ocfs2_shutdown_local_alloc(struct ocfs2_super *osb) ocfs2_shutdown_local_alloc() argument 476 ocfs2_begin_local_alloc_recovery(struct ocfs2_super *osb, int slot_num, struct ocfs2_dinode **alloc_copy) ocfs2_begin_local_alloc_recovery() argument 546 ocfs2_complete_local_alloc_recovery(struct ocfs2_super *osb, struct ocfs2_dinode *alloc) ocfs2_complete_local_alloc_recovery() argument 614 ocfs2_reserve_local_alloc_bits(struct ocfs2_super *osb, u32 bits_wanted, struct ocfs2_alloc_context *ac) ocfs2_reserve_local_alloc_bits() argument 713 ocfs2_claim_local_alloc_bits(struct ocfs2_super *osb, handle_t *handle, struct ocfs2_alloc_context *ac, u32 bits_wanted, u32 *bit_off, u32 *num_bits) ocfs2_claim_local_alloc_bits() argument 769 ocfs2_free_local_alloc_bits(struct ocfs2_super *osb, handle_t *handle, struct ocfs2_alloc_context *ac, u32 bit_off, u32 num_bits) ocfs2_free_local_alloc_bits() argument 822 ocfs2_local_alloc_find_clear_bits(struct ocfs2_super *osb, struct ocfs2_dinode *alloc, u32 *numbits, struct ocfs2_alloc_reservation *resv) ocfs2_local_alloc_find_clear_bits() argument 947 ocfs2_sync_local_to_main(struct ocfs2_super *osb, handle_t *handle, struct ocfs2_dinode *alloc, struct inode *main_bm_inode, struct buffer_head *main_bm_bh) ocfs2_sync_local_to_main() argument 1039 ocfs2_recalc_la_window(struct ocfs2_super *osb, enum ocfs2_la_event event) ocfs2_recalc_la_window() argument 1096 ocfs2_local_alloc_reserve_for_window(struct ocfs2_super *osb, struct ocfs2_alloc_context **ac, struct inode **bitmap_inode, struct buffer_head **bitmap_bh) ocfs2_local_alloc_reserve_for_window() argument 1146 ocfs2_local_alloc_new_window(struct ocfs2_super *osb, handle_t *handle, struct ocfs2_alloc_context *ac) ocfs2_local_alloc_new_window() argument 1234 ocfs2_local_alloc_slide_window(struct ocfs2_super *osb, struct inode *local_alloc_inode) ocfs2_local_alloc_slide_window() argument [all...] |
H A D | journal.c | 49 static int ocfs2_recover_node(struct ocfs2_super *osb, 52 static int ocfs2_commit_cache(struct ocfs2_super *osb); 53 static int __ocfs2_wait_on_mount(struct ocfs2_super *osb, int quota); 54 static int ocfs2_journal_toggle_dirty(struct ocfs2_super *osb, 56 static int ocfs2_trylock_journal(struct ocfs2_super *osb, 58 static int ocfs2_recover_orphans(struct ocfs2_super *osb, 69 static inline int ocfs2_wait_on_mount(struct ocfs2_super *osb) in ocfs2_wait_on_mount() argument 71 return __ocfs2_wait_on_mount(osb, 0); in ocfs2_wait_on_mount() 74 static inline int ocfs2_wait_on_quotas(struct ocfs2_super *osb) in ocfs2_wait_on_quotas() argument 76 return __ocfs2_wait_on_mount(osb, in ocfs2_wait_on_quotas() 96 ocfs2_replay_map_set_state(struct ocfs2_super *osb, int state) ocfs2_replay_map_set_state() argument 108 ocfs2_compute_replay_slots(struct ocfs2_super *osb) ocfs2_compute_replay_slots() argument 141 ocfs2_queue_replay_slots(struct ocfs2_super *osb, enum ocfs2_orphan_reco_type orphan_reco_type) ocfs2_queue_replay_slots() argument 161 ocfs2_free_replay_slots(struct ocfs2_super *osb) ocfs2_free_replay_slots() argument 172 ocfs2_recovery_init(struct ocfs2_super *osb) ocfs2_recovery_init() argument 196 ocfs2_recovery_thread_running(struct ocfs2_super *osb) ocfs2_recovery_thread_running() argument 202 ocfs2_recovery_exit(struct ocfs2_super *osb) ocfs2_recovery_exit() argument 229 __ocfs2_recovery_map_test(struct ocfs2_super *osb, unsigned int node_num) __ocfs2_recovery_map_test() argument 246 ocfs2_recovery_map_set(struct ocfs2_super *osb, unsigned int node_num) ocfs2_recovery_map_set() argument 267 ocfs2_recovery_map_clear(struct ocfs2_super *osb, unsigned int node_num) ocfs2_recovery_map_clear() argument 290 ocfs2_commit_cache(struct ocfs2_super *osb) ocfs2_commit_cache() argument 331 ocfs2_start_trans(struct ocfs2_super *osb, int max_buffs) ocfs2_start_trans() argument 371 ocfs2_commit_trans(struct ocfs2_super *osb, handle_t *handle) ocfs2_commit_trans() argument 638 struct ocfs2_super *osb = __ocfs2_journal_access() local 794 ocfs2_set_journal_params(struct ocfs2_super *osb) ocfs2_set_journal_params() argument 815 ocfs2_journal_alloc(struct ocfs2_super *osb) ocfs2_journal_alloc() argument 855 ocfs2_journal_init(struct ocfs2_super *osb, int *dirty) ocfs2_journal_init() argument 959 ocfs2_journal_toggle_dirty(struct ocfs2_super *osb, int dirty, int replayed) ocfs2_journal_toggle_dirty() argument 997 ocfs2_journal_shutdown(struct ocfs2_super *osb) ocfs2_journal_shutdown() argument 1097 struct ocfs2_super *osb; ocfs2_journal_load() local 1166 ocfs2_recovery_completed(struct ocfs2_super *osb) ocfs2_recovery_completed() argument 1178 ocfs2_wait_for_recovery(struct ocfs2_super *osb) ocfs2_wait_for_recovery() argument 1199 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_force_read_journal() local 1264 struct ocfs2_super *osb = journal->j_osb; ocfs2_complete_recovery() local 1372 ocfs2_complete_mount_recovery(struct ocfs2_super *osb) ocfs2_complete_mount_recovery() argument 1394 ocfs2_complete_quota_recovery(struct ocfs2_super *osb) ocfs2_complete_quota_recovery() argument 1410 struct ocfs2_super *osb = arg; __ocfs2_recovery_thread() local 1543 ocfs2_recovery_thread(struct ocfs2_super *osb, int node_num) ocfs2_recovery_thread() argument 1570 ocfs2_read_journal_inode(struct ocfs2_super *osb, int slot_num, struct buffer_head **bh, struct inode **ret_inode) ocfs2_read_journal_inode() argument 1608 ocfs2_replay_journal(struct ocfs2_super *osb, int node_num, int slot_num) ocfs2_replay_journal() argument 1755 ocfs2_recover_node(struct ocfs2_super *osb, int node_num, int slot_num) ocfs2_recover_node() argument 1812 ocfs2_trylock_journal(struct ocfs2_super *osb, int slot_num) ocfs2_trylock_journal() argument 1851 ocfs2_mark_dead_nodes(struct ocfs2_super *osb) ocfs2_mark_dead_nodes() argument 1958 ocfs2_queue_orphan_scan(struct ocfs2_super *osb) ocfs2_queue_orphan_scan() argument 2010 struct ocfs2_super *osb; ocfs2_orphan_scan_work() local 2024 ocfs2_orphan_scan_stop(struct ocfs2_super *osb) ocfs2_orphan_scan_stop() argument 2037 ocfs2_orphan_scan_init(struct ocfs2_super *osb) ocfs2_orphan_scan_init() argument 2049 ocfs2_orphan_scan_start(struct ocfs2_super *osb) ocfs2_orphan_scan_start() argument 2067 struct ocfs2_super *osb; global() member 2116 ocfs2_queue_orphans(struct ocfs2_super *osb, int slot, struct inode **head, enum ocfs2_orphan_reco_type orphan_reco_type) ocfs2_queue_orphans() argument 2162 ocfs2_orphan_recovery_can_continue(struct ocfs2_super *osb, int slot) ocfs2_orphan_recovery_can_continue() argument 2173 ocfs2_mark_recovering_orphan_dir(struct ocfs2_super *osb, int slot) ocfs2_mark_recovering_orphan_dir() argument 2192 ocfs2_clear_recovering_orphan_dir(struct ocfs2_super *osb, int slot) ocfs2_clear_recovering_orphan_dir() argument 2216 ocfs2_recover_orphans(struct ocfs2_super *osb, int slot, enum ocfs2_orphan_reco_type orphan_reco_type) ocfs2_recover_orphans() argument 2305 __ocfs2_wait_on_mount(struct ocfs2_super *osb, int quota) __ocfs2_wait_on_mount() argument 2330 struct ocfs2_super *osb = arg; ocfs2_commit_thread() local 2376 ocfs2_check_journals_nolocks(struct ocfs2_super *osb) ocfs2_check_journals_nolocks() argument [all...] |
H A D | slot_map.c | 116 int ocfs2_refresh_slot_info(struct ocfs2_super *osb) in ocfs2_refresh_slot_info() argument 119 struct ocfs2_slot_info *si = osb->slot_info; in ocfs2_refresh_slot_info() 137 spin_lock(&osb->osb_lock); in ocfs2_refresh_slot_info() 139 spin_unlock(&osb->osb_lock); in ocfs2_refresh_slot_info() 183 static int ocfs2_update_disk_slot(struct ocfs2_super *osb, in ocfs2_update_disk_slot() argument 190 spin_lock(&osb->osb_lock); in ocfs2_update_disk_slot() 195 spin_unlock(&osb->osb_lock); in ocfs2_update_disk_slot() 197 status = ocfs2_write_block(osb, bh, INODE_CACHE(si->si_inode)); in ocfs2_update_disk_slot() 208 static int ocfs2_slot_map_physical_size(struct ocfs2_super *osb, in ocfs2_slot_map_physical_size() argument 214 if (ocfs2_uses_extended_slot_map(osb)) { in ocfs2_slot_map_physical_size() 271 ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num) ocfs2_node_num_to_slot() argument 283 ocfs2_slot_to_node_num_locked(struct ocfs2_super *osb, int slot_num, unsigned int *node_num) ocfs2_slot_to_node_num_locked() argument 321 ocfs2_clear_slot(struct ocfs2_super *osb, int slot_num) ocfs2_clear_slot() argument 335 ocfs2_map_slot_buffers(struct ocfs2_super *osb, struct ocfs2_slot_info *si) ocfs2_map_slot_buffers() argument 399 ocfs2_init_slot_info(struct ocfs2_super *osb) ocfs2_init_slot_info() argument 438 ocfs2_free_slot_info(struct ocfs2_super *osb) ocfs2_free_slot_info() argument 446 ocfs2_find_slot(struct ocfs2_super *osb) ocfs2_find_slot() argument 499 ocfs2_put_slot(struct ocfs2_super *osb) ocfs2_put_slot() argument [all...] |
H A D | dlmglue.c | 98 static void ocfs2_dentry_post_unlock(struct ocfs2_super *osb, 333 static int ocfs2_lock_create(struct ocfs2_super *osb, 339 static void __ocfs2_cluster_unlock(struct ocfs2_super *osb, 342 static inline void ocfs2_cluster_unlock(struct ocfs2_super *osb, in ocfs2_cluster_unlock() argument 346 __ocfs2_cluster_unlock(osb, lockres, level, _RET_IP_); in ocfs2_cluster_unlock() 353 static void ocfs2_schedule_blocked_lock(struct ocfs2_super *osb, 367 static void ocfs2_downconvert_on_unlock(struct ocfs2_super *osb, 371 static void ocfs2_drop_osb_locks(struct ocfs2_super *osb); 375 static int ocfs2_downconvert_lock(struct ocfs2_super *osb, 380 static int ocfs2_prepare_cancel_convert(struct ocfs2_super *osb, 510 ocfs2_lock_res_init_common(struct ocfs2_super *osb, struct ocfs2_lock_res *res, enum ocfs2_lock_type type, struct ocfs2_lock_res_ops *ops, void *priv) ocfs2_lock_res_init_common() argument 657 ocfs2_super_lock_res_init(struct ocfs2_lock_res *res, struct ocfs2_super *osb) ocfs2_super_lock_res_init() argument 669 ocfs2_rename_lock_res_init(struct ocfs2_lock_res *res, struct ocfs2_super *osb) ocfs2_rename_lock_res_init() argument 680 ocfs2_nfs_sync_lock_res_init(struct ocfs2_lock_res *res, struct ocfs2_super *osb) ocfs2_nfs_sync_lock_res_init() argument 691 ocfs2_nfs_sync_lock_init(struct ocfs2_super *osb) ocfs2_nfs_sync_lock_init() argument 697 ocfs2_trim_fs_lock_res_init(struct ocfs2_super *osb) ocfs2_trim_fs_lock_res_init() argument 710 ocfs2_trim_fs_lock_res_uninit(struct ocfs2_super *osb) ocfs2_trim_fs_lock_res_uninit() argument 720 ocfs2_orphan_scan_lock_res_init(struct ocfs2_lock_res *res, struct ocfs2_super *osb) ocfs2_orphan_scan_lock_res_init() argument 755 ocfs2_refcount_lock_res_init(struct ocfs2_lock_res *lockres, struct ocfs2_super *osb, u64 ref_blkno, unsigned int generation) ocfs2_refcount_lock_res_init() argument 1066 __lockres_clear_pending(struct ocfs2_lock_res *lockres, unsigned int generation, struct ocfs2_super *osb) __lockres_clear_pending() argument 1092 lockres_clear_pending(struct ocfs2_lock_res *lockres, unsigned int generation, struct ocfs2_super *osb) lockres_clear_pending() argument 1116 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres); ocfs2_blocking_ast() local 1147 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres); ocfs2_locking_ast() local 1308 ocfs2_lock_create(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int level, u32 dlm_flags) ocfs2_lock_create() argument 1468 __ocfs2_cluster_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int level, u32 lkm_flags, int arg_flags, int l_subclass, unsigned long caller_ip) __ocfs2_cluster_lock() argument 1671 ocfs2_cluster_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int level, u32 lkm_flags, int arg_flags) ocfs2_cluster_lock() argument 1682 __ocfs2_cluster_unlock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int level, unsigned long caller_ip) __ocfs2_cluster_unlock() argument 1699 ocfs2_create_new_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int ex, int local) ocfs2_create_new_lock() argument 1725 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_create_new_inode_locks() local 1767 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_rw_lock() local 1791 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_try_rw_lock() local 1812 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_rw_unlock() local 1829 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_open_lock() local 1851 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_try_open_lock() local 1888 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_open_unlock() local 1909 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres); ocfs2_flock_handle_signal() local 1980 struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb); ocfs2_file_lock() local 2076 struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb); ocfs2_file_unlock() local 2113 ocfs2_downconvert_on_unlock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) ocfs2_downconvert_on_unlock() argument 2322 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_inode_lock_update() local 2435 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_inode_lock_full_nested() local 2622 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_inode_unlock() local 2750 ocfs2_orphan_scan_lock(struct ocfs2_super *osb, u32 *seqno) ocfs2_orphan_scan_lock() argument 2777 ocfs2_orphan_scan_unlock(struct ocfs2_super *osb, u32 seqno) ocfs2_orphan_scan_unlock() argument 2791 ocfs2_super_lock(struct ocfs2_super *osb, int ex) ocfs2_super_lock() argument 2830 ocfs2_super_unlock(struct ocfs2_super *osb, int ex) ocfs2_super_unlock() argument 2840 ocfs2_rename_lock(struct ocfs2_super *osb) ocfs2_rename_lock() argument 2858 ocfs2_rename_unlock(struct ocfs2_super *osb) ocfs2_rename_unlock() argument 2866 ocfs2_nfs_sync_lock(struct ocfs2_super *osb, int ex) ocfs2_nfs_sync_lock() argument 2896 ocfs2_nfs_sync_unlock(struct ocfs2_super *osb, int ex) ocfs2_nfs_sync_unlock() argument 2909 ocfs2_trim_fs_lock(struct ocfs2_super *osb, struct ocfs2_trim_fs_info *info, int trylock) ocfs2_trim_fs_lock() argument 2950 ocfs2_trim_fs_unlock(struct ocfs2_super *osb, struct ocfs2_trim_fs_info *info) ocfs2_trim_fs_unlock() argument 2978 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); ocfs2_dentry_lock() local 3002 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); ocfs2_dentry_unlock() local 3281 struct ocfs2_super *osb; ocfs2_dlm_debug_open() local 3307 ocfs2_dlm_init_debug(struct ocfs2_super *osb) ocfs2_dlm_init_debug() argument 3319 ocfs2_dlm_shutdown_debug(struct ocfs2_super *osb) ocfs2_dlm_shutdown_debug() argument 3327 ocfs2_dlm_init(struct ocfs2_super *osb) ocfs2_dlm_init() argument 3388 ocfs2_dlm_shutdown(struct ocfs2_super *osb, int hangup_pending) ocfs2_dlm_shutdown() argument 3417 ocfs2_drop_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) ocfs2_drop_lock() argument 3508 ocfs2_mark_lockres_freeing(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) ocfs2_mark_lockres_freeing() argument 3568 ocfs2_simple_drop_lockres(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) ocfs2_simple_drop_lockres() argument 3579 ocfs2_drop_osb_locks(struct ocfs2_super *osb) ocfs2_drop_osb_locks() argument 3647 ocfs2_downconvert_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int new_level, int lvb, unsigned int generation) ocfs2_downconvert_lock() argument 3691 ocfs2_prepare_cancel_convert(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) ocfs2_prepare_cancel_convert() argument 3720 ocfs2_cancel_convert(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) ocfs2_cancel_convert() argument 3737 ocfs2_unblock_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, struct ocfs2_unblock_ctl *ctl) ocfs2_unblock_lock() argument 4033 ocfs2_dentry_post_unlock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) ocfs2_dentry_post_unlock() argument 4192 struct ocfs2_super *osb = OCFS2_SB(oinfo->dqi_gi.dqi_sb); ocfs2_qinfo_unlock() local 4247 struct ocfs2_super *osb = OCFS2_SB(oinfo->dqi_gi.dqi_sb); ocfs2_qinfo_lock() local 4281 struct ocfs2_super *osb = lockres->l_priv; ocfs2_refcount_lock() local 4301 struct ocfs2_super *osb = lockres->l_priv; ocfs2_refcount_unlock() local 4307 ocfs2_process_blocked_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) ocfs2_process_blocked_lock() argument 4353 ocfs2_schedule_blocked_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) ocfs2_schedule_blocked_lock() argument 4380 ocfs2_downconvert_thread_do_work(struct ocfs2_super *osb) ocfs2_downconvert_thread_do_work() argument 4415 ocfs2_downconvert_thread_lists_empty(struct ocfs2_super *osb) ocfs2_downconvert_thread_lists_empty() argument 4428 ocfs2_downconvert_thread_should_wake(struct ocfs2_super *osb) ocfs2_downconvert_thread_should_wake() argument 4443 struct ocfs2_super *osb = arg; ocfs2_downconvert_thread() local 4463 ocfs2_wake_downconvert_thread(struct ocfs2_super *osb) ocfs2_wake_downconvert_thread() argument [all...] |
H A D | sysfile.c | 26 static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb, 40 static struct inode **get_local_system_inode(struct ocfs2_super *osb, in get_local_system_inode() argument 51 spin_lock(&osb->osb_lock); in get_local_system_inode() 52 local_system_inodes = osb->local_system_inodes; in get_local_system_inode() 53 spin_unlock(&osb->osb_lock); in get_local_system_inode() 59 osb->max_slots), in get_local_system_inode() 71 spin_lock(&osb->osb_lock); in get_local_system_inode() 72 if (osb->local_system_inodes) { in get_local_system_inode() 75 local_system_inodes = osb->local_system_inodes; in get_local_system_inode() 77 osb in get_local_system_inode() 88 ocfs2_get_system_file_inode(struct ocfs2_super *osb, int type, u32 slot) ocfs2_get_system_file_inode() argument 123 _ocfs2_get_system_file_inode(struct ocfs2_super *osb, int type, u32 slot) _ocfs2_get_system_file_inode() argument [all...] |
H A D | heartbeat.c | 36 void ocfs2_init_node_maps(struct ocfs2_super *osb) in ocfs2_init_node_maps() argument 38 spin_lock_init(&osb->node_map_lock); in ocfs2_init_node_maps() 39 ocfs2_node_map_init(&osb->osb_recovering_orphan_dirs); in ocfs2_init_node_maps() 44 struct ocfs2_super *osb = data; in ocfs2_do_node_down() local 46 BUG_ON(osb->node_num == node_num); in ocfs2_do_node_down() 50 if (!osb->cconn) { in ocfs2_do_node_down() 60 ocfs2_recovery_thread(osb, node_num); in ocfs2_do_node_down() 63 void ocfs2_node_map_set_bit(struct ocfs2_super *osb, in ocfs2_node_map_set_bit() argument 70 spin_lock(&osb->node_map_lock); in ocfs2_node_map_set_bit() 72 spin_unlock(&osb in ocfs2_node_map_set_bit() 75 ocfs2_node_map_clear_bit(struct ocfs2_super *osb, struct ocfs2_node_map *map, int bit) ocfs2_node_map_clear_bit() argument 87 ocfs2_node_map_test_bit(struct ocfs2_super *osb, struct ocfs2_node_map *map, int bit) ocfs2_node_map_test_bit() argument [all...] |
H A D | ocfs2.h | 322 * Could protect more on osb as it's very short lived. 357 * Must hold local alloc i_rwsem and osb->osb_lock to change 488 static inline int ocfs2_sparse_alloc(struct ocfs2_super *osb) in ocfs2_sparse_alloc() argument 490 if (osb->s_feature_incompat & OCFS2_FEATURE_INCOMPAT_SPARSE_ALLOC) in ocfs2_sparse_alloc() 495 static inline int ocfs2_writes_unwritten_extents(struct ocfs2_super *osb) in ocfs2_writes_unwritten_extents() argument 500 if (!ocfs2_sparse_alloc(osb)) in ocfs2_writes_unwritten_extents() 503 if (osb->s_feature_ro_compat & OCFS2_FEATURE_RO_COMPAT_UNWRITTEN) in ocfs2_writes_unwritten_extents() 508 static inline int ocfs2_supports_append_dio(struct ocfs2_super *osb) in ocfs2_supports_append_dio() argument 510 if (osb->s_feature_incompat & OCFS2_FEATURE_INCOMPAT_APPEND_DIO) in ocfs2_supports_append_dio() 516 static inline int ocfs2_supports_inline_data(struct ocfs2_super *osb) in ocfs2_supports_inline_data() argument 523 ocfs2_supports_xattr(struct ocfs2_super *osb) ocfs2_supports_xattr() argument 530 ocfs2_meta_ecc(struct ocfs2_super *osb) ocfs2_meta_ecc() argument 537 ocfs2_supports_indexed_dirs(struct ocfs2_super *osb) ocfs2_supports_indexed_dirs() argument 544 ocfs2_supports_discontig_bg(struct ocfs2_super *osb) ocfs2_supports_discontig_bg() argument 551 ocfs2_link_max(struct ocfs2_super *osb) ocfs2_link_max() argument 588 ocfs2_refcount_tree(struct ocfs2_super *osb) ocfs2_refcount_tree() argument 599 ocfs2_set_osb_flag(struct ocfs2_super *osb, unsigned long flag) ocfs2_set_osb_flag() argument 607 ocfs2_set_ro_flag(struct ocfs2_super *osb, int hard) ocfs2_set_ro_flag() argument 619 ocfs2_is_hard_readonly(struct ocfs2_super *osb) ocfs2_is_hard_readonly() argument 630 ocfs2_is_soft_readonly(struct ocfs2_super *osb) ocfs2_is_soft_readonly() argument 641 ocfs2_clusterinfo_valid(struct ocfs2_super *osb) ocfs2_clusterinfo_valid() argument 648 ocfs2_userspace_stack(struct ocfs2_super *osb) ocfs2_userspace_stack() argument 657 ocfs2_o2cb_stack(struct ocfs2_super *osb) ocfs2_o2cb_stack() argument 666 ocfs2_cluster_o2cb_global_heartbeat(struct ocfs2_super *osb) ocfs2_cluster_o2cb_global_heartbeat() argument 672 ocfs2_mount_local(struct ocfs2_super *osb) ocfs2_mount_local() argument 677 ocfs2_uses_extended_slot_map(struct ocfs2_super *osb) ocfs2_uses_extended_slot_map() argument [all...] |
H A D | localalloc.h | 13 int ocfs2_load_local_alloc(struct ocfs2_super *osb); 15 void ocfs2_shutdown_local_alloc(struct ocfs2_super *osb); 17 void ocfs2_la_set_sizes(struct ocfs2_super *osb, int requested_mb); 18 unsigned int ocfs2_la_default_mb(struct ocfs2_super *osb); 20 int ocfs2_begin_local_alloc_recovery(struct ocfs2_super *osb, 24 int ocfs2_complete_local_alloc_recovery(struct ocfs2_super *osb, 27 int ocfs2_alloc_should_use_local(struct ocfs2_super *osb, 31 int ocfs2_reserve_local_alloc_bits(struct ocfs2_super *osb, 35 int ocfs2_claim_local_alloc_bits(struct ocfs2_super *osb, 42 int ocfs2_free_local_alloc_bits(struct ocfs2_super *osb, [all...] |
H A D | journal.h | 133 static inline void ocfs2_ci_set_new(struct ocfs2_super *osb, in ocfs2_ci_set_new() argument 137 ci->ci_created_trans = osb->journal->j_trans_id; in ocfs2_ci_set_new() 142 void ocfs2_orphan_scan_init(struct ocfs2_super *osb); 143 void ocfs2_orphan_scan_start(struct ocfs2_super *osb); 144 void ocfs2_orphan_scan_stop(struct ocfs2_super *osb); 147 void ocfs2_wait_for_recovery(struct ocfs2_super *osb); 149 int ocfs2_recovery_init(struct ocfs2_super *osb); 150 void ocfs2_recovery_exit(struct ocfs2_super *osb); 152 int ocfs2_compute_replay_slots(struct ocfs2_super *osb); 153 void ocfs2_free_replay_slots(struct ocfs2_super *osb); 186 ocfs2_start_checkpoint(struct ocfs2_super *osb) ocfs2_start_checkpoint() argument 193 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_checkpoint_inode() local [all...] |
H A D | slot_map.h | 14 int ocfs2_init_slot_info(struct ocfs2_super *osb); 15 void ocfs2_free_slot_info(struct ocfs2_super *osb); 17 int ocfs2_find_slot(struct ocfs2_super *osb); 18 void ocfs2_put_slot(struct ocfs2_super *osb); 20 int ocfs2_refresh_slot_info(struct ocfs2_super *osb); 22 int ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num); 23 int ocfs2_slot_to_node_num_locked(struct ocfs2_super *osb, int slot_num, 26 int ocfs2_clear_slot(struct ocfs2_super *osb, int slot_num);
|
H A D | dlmglue.h | 73 u32 tf_nodenum; /* osb node number */ 105 int ocfs2_dlm_init(struct ocfs2_super *osb); 106 void ocfs2_dlm_shutdown(struct ocfs2_super *osb, int hangup_pending); 121 struct ocfs2_super *osb, u64 ref_blkno, 157 int ocfs2_super_lock(struct ocfs2_super *osb, 159 void ocfs2_super_unlock(struct ocfs2_super *osb, 161 int ocfs2_orphan_scan_lock(struct ocfs2_super *osb, u32 *seqno); 162 void ocfs2_orphan_scan_unlock(struct ocfs2_super *osb, u32 seqno); 164 int ocfs2_rename_lock(struct ocfs2_super *osb); 165 void ocfs2_rename_unlock(struct ocfs2_super *osb); [all...] |
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | super.c | 100 static void ocfs2_delete_osb(struct ocfs2_super *osb); 106 static int ocfs2_init_global_system_inodes(struct ocfs2_super *osb); 107 static int ocfs2_init_local_system_inodes(struct ocfs2_super *osb); 108 static void ocfs2_release_system_inodes(struct ocfs2_super *osb); 109 static int ocfs2_check_volume(struct ocfs2_super *osb); 124 static int ocfs2_susp_quotas(struct ocfs2_super *osb, int unsuspend); 125 static int ocfs2_enable_quotas(struct ocfs2_super *osb); 126 static void ocfs2_disable_quotas(struct ocfs2_super *osb); 215 static int ocfs2_osb_dump(struct ocfs2_super *osb, char *buf, int len) in ocfs2_osb_dump() argument 217 struct ocfs2_cluster_connection *cconn = osb in ocfs2_osb_dump() 344 struct ocfs2_super *osb = inode->i_private; ocfs2_osb_debug_open() local 399 struct ocfs2_super *osb = OCFS2_SB(sb); ocfs2_sync_fs() local 421 ocfs2_need_system_inode(struct ocfs2_super *osb, int ino) ocfs2_need_system_inode() argument 434 ocfs2_init_global_system_inodes(struct ocfs2_super *osb) ocfs2_init_global_system_inodes() argument 479 ocfs2_init_local_system_inodes(struct ocfs2_super *osb) ocfs2_init_local_system_inodes() argument 508 ocfs2_release_system_inodes(struct ocfs2_super *osb) ocfs2_release_system_inodes() argument 611 struct ocfs2_super *osb = OCFS2_SB(sb); ocfs2_remount() local 810 ocfs2_verify_heartbeat(struct ocfs2_super *osb) ocfs2_verify_heartbeat() argument 851 ocfs2_verify_userspace_stack(struct ocfs2_super *osb, struct mount_options *mopt) ocfs2_verify_userspace_stack() argument 875 ocfs2_susp_quotas(struct ocfs2_super *osb, int unsuspend) ocfs2_susp_quotas() argument 906 ocfs2_enable_quotas(struct ocfs2_super *osb) ocfs2_enable_quotas() argument 946 ocfs2_disable_quotas(struct ocfs2_super *osb) ocfs2_disable_quotas() argument 980 struct ocfs2_super *osb = NULL; ocfs2_fill_super() local 1477 struct ocfs2_super *osb = OCFS2_SB(root->d_sb); ocfs2_show_options() local 1619 struct ocfs2_super *osb; ocfs2_statfs() local 1790 struct ocfs2_super *osb = OCFS2_SB(sb); ocfs2_mount_volume() local 1861 struct ocfs2_super *osb = NULL; ocfs2_dismount_volume() local 1951 ocfs2_setup_osb_uuid(struct ocfs2_super *osb, const unsigned char *uuid, unsigned uuid_bytes) ocfs2_setup_osb_uuid() argument 1978 ocfs2_journal_addressable(struct ocfs2_super *osb) ocfs2_journal_addressable() argument 2015 struct ocfs2_super *osb; ocfs2_initialize_super() local 2392 ocfs2_check_volume(struct ocfs2_super *osb) ocfs2_check_volume() argument 2499 ocfs2_delete_osb(struct ocfs2_super *osb) ocfs2_delete_osb() argument 2532 struct ocfs2_super *osb = OCFS2_SB(sb); ocfs2_handle_error() local [all...] |
H A D | localalloc.c | 39 static int ocfs2_local_alloc_find_clear_bits(struct ocfs2_super *osb, 46 static int ocfs2_sync_local_to_main(struct ocfs2_super *osb, 52 static int ocfs2_local_alloc_reserve_for_window(struct ocfs2_super *osb, 57 static int ocfs2_local_alloc_new_window(struct ocfs2_super *osb, 61 static int ocfs2_local_alloc_slide_window(struct ocfs2_super *osb, 103 unsigned int ocfs2_la_default_mb(struct ocfs2_super *osb) in ocfs2_la_default_mb() argument 109 struct super_block *sb = osb->sb; in ocfs2_la_default_mb() 111 gd_mb = ocfs2_clusters_to_megabytes(osb->sb, in ocfs2_la_default_mb() 112 8 * ocfs2_group_bitmap_size(sb, 0, osb->s_feature_incompat)); in ocfs2_la_default_mb() 119 if ((sb->s_blocksize == 512 && osb in ocfs2_la_default_mb() 181 ocfs2_la_set_sizes(struct ocfs2_super *osb, int requested_mb) ocfs2_la_set_sizes() argument 208 ocfs2_la_state_enabled(struct ocfs2_super *osb) ocfs2_la_state_enabled() argument 214 ocfs2_local_alloc_seen_free_bits(struct ocfs2_super *osb, unsigned int num_clusters) ocfs2_local_alloc_seen_free_bits() argument 229 struct ocfs2_super *osb = ocfs2_la_enable_worker() local 244 ocfs2_alloc_should_use_local(struct ocfs2_super *osb, u64 bits) ocfs2_alloc_should_use_local() argument 270 ocfs2_load_local_alloc(struct ocfs2_super *osb) ocfs2_load_local_alloc() argument 368 ocfs2_shutdown_local_alloc(struct ocfs2_super *osb) ocfs2_shutdown_local_alloc() argument 478 ocfs2_begin_local_alloc_recovery(struct ocfs2_super *osb, int slot_num, struct ocfs2_dinode **alloc_copy) ocfs2_begin_local_alloc_recovery() argument 548 ocfs2_complete_local_alloc_recovery(struct ocfs2_super *osb, struct ocfs2_dinode *alloc) ocfs2_complete_local_alloc_recovery() argument 616 ocfs2_reserve_local_alloc_bits(struct ocfs2_super *osb, u32 bits_wanted, struct ocfs2_alloc_context *ac) ocfs2_reserve_local_alloc_bits() argument 715 ocfs2_claim_local_alloc_bits(struct ocfs2_super *osb, handle_t *handle, struct ocfs2_alloc_context *ac, u32 bits_wanted, u32 *bit_off, u32 *num_bits) ocfs2_claim_local_alloc_bits() argument 771 ocfs2_free_local_alloc_bits(struct ocfs2_super *osb, handle_t *handle, struct ocfs2_alloc_context *ac, u32 bit_off, u32 num_bits) ocfs2_free_local_alloc_bits() argument 824 ocfs2_local_alloc_find_clear_bits(struct ocfs2_super *osb, struct ocfs2_dinode *alloc, u32 *numbits, struct ocfs2_alloc_reservation *resv) ocfs2_local_alloc_find_clear_bits() argument 949 ocfs2_sync_local_to_main(struct ocfs2_super *osb, handle_t *handle, struct ocfs2_dinode *alloc, struct inode *main_bm_inode, struct buffer_head *main_bm_bh) ocfs2_sync_local_to_main() argument 1041 ocfs2_recalc_la_window(struct ocfs2_super *osb, enum ocfs2_la_event event) ocfs2_recalc_la_window() argument 1098 ocfs2_local_alloc_reserve_for_window(struct ocfs2_super *osb, struct ocfs2_alloc_context **ac, struct inode **bitmap_inode, struct buffer_head **bitmap_bh) ocfs2_local_alloc_reserve_for_window() argument 1148 ocfs2_local_alloc_new_window(struct ocfs2_super *osb, handle_t *handle, struct ocfs2_alloc_context *ac) ocfs2_local_alloc_new_window() argument 1236 ocfs2_local_alloc_slide_window(struct ocfs2_super *osb, struct inode *local_alloc_inode) ocfs2_local_alloc_slide_window() argument [all...] |
H A D | journal.c | 50 static int ocfs2_recover_node(struct ocfs2_super *osb, 53 static int ocfs2_commit_cache(struct ocfs2_super *osb); 54 static int __ocfs2_wait_on_mount(struct ocfs2_super *osb, int quota); 55 static int ocfs2_journal_toggle_dirty(struct ocfs2_super *osb, 57 static int ocfs2_trylock_journal(struct ocfs2_super *osb, 59 static int ocfs2_recover_orphans(struct ocfs2_super *osb, 70 static inline int ocfs2_wait_on_mount(struct ocfs2_super *osb) in ocfs2_wait_on_mount() argument 72 return __ocfs2_wait_on_mount(osb, 0); in ocfs2_wait_on_mount() 75 static inline int ocfs2_wait_on_quotas(struct ocfs2_super *osb) in ocfs2_wait_on_quotas() argument 77 return __ocfs2_wait_on_mount(osb, in ocfs2_wait_on_quotas() 97 ocfs2_replay_map_set_state(struct ocfs2_super *osb, int state) ocfs2_replay_map_set_state() argument 109 ocfs2_compute_replay_slots(struct ocfs2_super *osb) ocfs2_compute_replay_slots() argument 142 ocfs2_queue_replay_slots(struct ocfs2_super *osb, enum ocfs2_orphan_reco_type orphan_reco_type) ocfs2_queue_replay_slots() argument 162 ocfs2_free_replay_slots(struct ocfs2_super *osb) ocfs2_free_replay_slots() argument 173 ocfs2_recovery_init(struct ocfs2_super *osb) ocfs2_recovery_init() argument 200 ocfs2_recovery_thread_running(struct ocfs2_super *osb) ocfs2_recovery_thread_running() argument 206 ocfs2_recovery_exit(struct ocfs2_super *osb) ocfs2_recovery_exit() argument 233 __ocfs2_recovery_map_test(struct ocfs2_super *osb, unsigned int node_num) __ocfs2_recovery_map_test() argument 250 ocfs2_recovery_map_set(struct ocfs2_super *osb, unsigned int node_num) ocfs2_recovery_map_set() argument 271 ocfs2_recovery_map_clear(struct ocfs2_super *osb, unsigned int node_num) ocfs2_recovery_map_clear() argument 294 ocfs2_commit_cache(struct ocfs2_super *osb) ocfs2_commit_cache() argument 335 ocfs2_start_trans(struct ocfs2_super *osb, int max_buffs) ocfs2_start_trans() argument 375 ocfs2_commit_trans(struct ocfs2_super *osb, handle_t *handle) ocfs2_commit_trans() argument 642 struct ocfs2_super *osb = __ocfs2_journal_access() local 798 ocfs2_set_journal_params(struct ocfs2_super *osb) ocfs2_set_journal_params() argument 822 struct ocfs2_super *osb; ocfs2_journal_init() local 922 ocfs2_journal_toggle_dirty(struct ocfs2_super *osb, int dirty, int replayed) ocfs2_journal_toggle_dirty() argument 960 ocfs2_journal_shutdown(struct ocfs2_super *osb) ocfs2_journal_shutdown() argument 1059 struct ocfs2_super *osb; ocfs2_journal_load() local 1128 ocfs2_recovery_completed(struct ocfs2_super *osb) ocfs2_recovery_completed() argument 1140 ocfs2_wait_for_recovery(struct ocfs2_super *osb) ocfs2_wait_for_recovery() argument 1161 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_force_read_journal() local 1226 struct ocfs2_super *osb = journal->j_osb; ocfs2_complete_recovery() local 1334 ocfs2_complete_mount_recovery(struct ocfs2_super *osb) ocfs2_complete_mount_recovery() argument 1356 ocfs2_complete_quota_recovery(struct ocfs2_super *osb) ocfs2_complete_quota_recovery() argument 1372 struct ocfs2_super *osb = arg; __ocfs2_recovery_thread() local 1508 ocfs2_recovery_thread(struct ocfs2_super *osb, int node_num) ocfs2_recovery_thread() argument 1535 ocfs2_read_journal_inode(struct ocfs2_super *osb, int slot_num, struct buffer_head **bh, struct inode **ret_inode) ocfs2_read_journal_inode() argument 1573 ocfs2_replay_journal(struct ocfs2_super *osb, int node_num, int slot_num) ocfs2_replay_journal() argument 1722 ocfs2_recover_node(struct ocfs2_super *osb, int node_num, int slot_num) ocfs2_recover_node() argument 1779 ocfs2_trylock_journal(struct ocfs2_super *osb, int slot_num) ocfs2_trylock_journal() argument 1818 ocfs2_mark_dead_nodes(struct ocfs2_super *osb) ocfs2_mark_dead_nodes() argument 1925 ocfs2_queue_orphan_scan(struct ocfs2_super *osb) ocfs2_queue_orphan_scan() argument 1977 struct ocfs2_super *osb; ocfs2_orphan_scan_work() local 1991 ocfs2_orphan_scan_stop(struct ocfs2_super *osb) ocfs2_orphan_scan_stop() argument 2004 ocfs2_orphan_scan_init(struct ocfs2_super *osb) ocfs2_orphan_scan_init() argument 2016 ocfs2_orphan_scan_start(struct ocfs2_super *osb) ocfs2_orphan_scan_start() argument 2034 struct ocfs2_super *osb; global() member 2083 ocfs2_queue_orphans(struct ocfs2_super *osb, int slot, struct inode **head, enum ocfs2_orphan_reco_type orphan_reco_type) ocfs2_queue_orphans() argument 2129 ocfs2_orphan_recovery_can_continue(struct ocfs2_super *osb, int slot) ocfs2_orphan_recovery_can_continue() argument 2140 ocfs2_mark_recovering_orphan_dir(struct ocfs2_super *osb, int slot) ocfs2_mark_recovering_orphan_dir() argument 2159 ocfs2_clear_recovering_orphan_dir(struct ocfs2_super *osb, int slot) ocfs2_clear_recovering_orphan_dir() argument 2183 ocfs2_recover_orphans(struct ocfs2_super *osb, int slot, enum ocfs2_orphan_reco_type orphan_reco_type) ocfs2_recover_orphans() argument 2272 __ocfs2_wait_on_mount(struct ocfs2_super *osb, int quota) __ocfs2_wait_on_mount() argument 2297 struct ocfs2_super *osb = arg; ocfs2_commit_thread() local 2343 ocfs2_check_journals_nolocks(struct ocfs2_super *osb) ocfs2_check_journals_nolocks() argument [all...] |
H A D | slot_map.c | 118 int ocfs2_refresh_slot_info(struct ocfs2_super *osb) in ocfs2_refresh_slot_info() argument 121 struct ocfs2_slot_info *si = osb->slot_info; in ocfs2_refresh_slot_info() 139 spin_lock(&osb->osb_lock); in ocfs2_refresh_slot_info() 141 spin_unlock(&osb->osb_lock); in ocfs2_refresh_slot_info() 185 static int ocfs2_update_disk_slot(struct ocfs2_super *osb, in ocfs2_update_disk_slot() argument 192 spin_lock(&osb->osb_lock); in ocfs2_update_disk_slot() 197 spin_unlock(&osb->osb_lock); in ocfs2_update_disk_slot() 199 status = ocfs2_write_block(osb, bh, INODE_CACHE(si->si_inode)); in ocfs2_update_disk_slot() 210 static int ocfs2_slot_map_physical_size(struct ocfs2_super *osb, in ocfs2_slot_map_physical_size() argument 216 if (ocfs2_uses_extended_slot_map(osb)) { in ocfs2_slot_map_physical_size() 273 ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num) ocfs2_node_num_to_slot() argument 285 ocfs2_slot_to_node_num_locked(struct ocfs2_super *osb, int slot_num, unsigned int *node_num) ocfs2_slot_to_node_num_locked() argument 323 ocfs2_clear_slot(struct ocfs2_super *osb, int slot_num) ocfs2_clear_slot() argument 337 ocfs2_map_slot_buffers(struct ocfs2_super *osb, struct ocfs2_slot_info *si) ocfs2_map_slot_buffers() argument 401 ocfs2_init_slot_info(struct ocfs2_super *osb) ocfs2_init_slot_info() argument 440 ocfs2_free_slot_info(struct ocfs2_super *osb) ocfs2_free_slot_info() argument 448 ocfs2_find_slot(struct ocfs2_super *osb) ocfs2_find_slot() argument 501 ocfs2_put_slot(struct ocfs2_super *osb) ocfs2_put_slot() argument [all...] |
H A D | dlmglue.c | 99 static void ocfs2_dentry_post_unlock(struct ocfs2_super *osb, 334 static int ocfs2_lock_create(struct ocfs2_super *osb, 340 static void __ocfs2_cluster_unlock(struct ocfs2_super *osb, 343 static inline void ocfs2_cluster_unlock(struct ocfs2_super *osb, in ocfs2_cluster_unlock() argument 347 __ocfs2_cluster_unlock(osb, lockres, level, _RET_IP_); in ocfs2_cluster_unlock() 354 static void ocfs2_schedule_blocked_lock(struct ocfs2_super *osb, 368 static void ocfs2_downconvert_on_unlock(struct ocfs2_super *osb, 372 static void ocfs2_drop_osb_locks(struct ocfs2_super *osb); 376 static int ocfs2_downconvert_lock(struct ocfs2_super *osb, 381 static int ocfs2_prepare_cancel_convert(struct ocfs2_super *osb, 511 ocfs2_lock_res_init_common(struct ocfs2_super *osb, struct ocfs2_lock_res *res, enum ocfs2_lock_type type, struct ocfs2_lock_res_ops *ops, void *priv) ocfs2_lock_res_init_common() argument 658 ocfs2_super_lock_res_init(struct ocfs2_lock_res *res, struct ocfs2_super *osb) ocfs2_super_lock_res_init() argument 670 ocfs2_rename_lock_res_init(struct ocfs2_lock_res *res, struct ocfs2_super *osb) ocfs2_rename_lock_res_init() argument 681 ocfs2_nfs_sync_lock_res_init(struct ocfs2_lock_res *res, struct ocfs2_super *osb) ocfs2_nfs_sync_lock_res_init() argument 692 ocfs2_nfs_sync_lock_init(struct ocfs2_super *osb) ocfs2_nfs_sync_lock_init() argument 698 ocfs2_trim_fs_lock_res_init(struct ocfs2_super *osb) ocfs2_trim_fs_lock_res_init() argument 711 ocfs2_trim_fs_lock_res_uninit(struct ocfs2_super *osb) ocfs2_trim_fs_lock_res_uninit() argument 721 ocfs2_orphan_scan_lock_res_init(struct ocfs2_lock_res *res, struct ocfs2_super *osb) ocfs2_orphan_scan_lock_res_init() argument 756 ocfs2_refcount_lock_res_init(struct ocfs2_lock_res *lockres, struct ocfs2_super *osb, u64 ref_blkno, unsigned int generation) ocfs2_refcount_lock_res_init() argument 1067 __lockres_clear_pending(struct ocfs2_lock_res *lockres, unsigned int generation, struct ocfs2_super *osb) __lockres_clear_pending() argument 1093 lockres_clear_pending(struct ocfs2_lock_res *lockres, unsigned int generation, struct ocfs2_super *osb) lockres_clear_pending() argument 1117 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres); ocfs2_blocking_ast() local 1148 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres); ocfs2_locking_ast() local 1309 ocfs2_lock_create(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int level, u32 dlm_flags) ocfs2_lock_create() argument 1469 __ocfs2_cluster_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int level, u32 lkm_flags, int arg_flags, int l_subclass, unsigned long caller_ip) __ocfs2_cluster_lock() argument 1672 ocfs2_cluster_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int level, u32 lkm_flags, int arg_flags) ocfs2_cluster_lock() argument 1683 __ocfs2_cluster_unlock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int level, unsigned long caller_ip) __ocfs2_cluster_unlock() argument 1700 ocfs2_create_new_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int ex, int local) ocfs2_create_new_lock() argument 1726 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_create_new_inode_locks() local 1768 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_rw_lock() local 1792 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_try_rw_lock() local 1813 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_rw_unlock() local 1830 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_open_lock() local 1852 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_try_open_lock() local 1889 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_open_unlock() local 1910 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres); ocfs2_flock_handle_signal() local 1981 struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb); ocfs2_file_lock() local 2077 struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb); ocfs2_file_unlock() local 2114 ocfs2_downconvert_on_unlock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) ocfs2_downconvert_on_unlock() argument 2317 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_inode_lock_update() local 2425 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_inode_lock_full_nested() local 2612 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_inode_unlock() local 2740 ocfs2_orphan_scan_lock(struct ocfs2_super *osb, u32 *seqno) ocfs2_orphan_scan_lock() argument 2767 ocfs2_orphan_scan_unlock(struct ocfs2_super *osb, u32 seqno) ocfs2_orphan_scan_unlock() argument 2781 ocfs2_super_lock(struct ocfs2_super *osb, int ex) ocfs2_super_lock() argument 2820 ocfs2_super_unlock(struct ocfs2_super *osb, int ex) ocfs2_super_unlock() argument 2830 ocfs2_rename_lock(struct ocfs2_super *osb) ocfs2_rename_lock() argument 2848 ocfs2_rename_unlock(struct ocfs2_super *osb) ocfs2_rename_unlock() argument 2856 ocfs2_nfs_sync_lock(struct ocfs2_super *osb, int ex) ocfs2_nfs_sync_lock() argument 2886 ocfs2_nfs_sync_unlock(struct ocfs2_super *osb, int ex) ocfs2_nfs_sync_unlock() argument 2899 ocfs2_trim_fs_lock(struct ocfs2_super *osb, struct ocfs2_trim_fs_info *info, int trylock) ocfs2_trim_fs_lock() argument 2940 ocfs2_trim_fs_unlock(struct ocfs2_super *osb, struct ocfs2_trim_fs_info *info) ocfs2_trim_fs_unlock() argument 2968 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); ocfs2_dentry_lock() local 2992 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); ocfs2_dentry_unlock() local 3271 struct ocfs2_super *osb; ocfs2_dlm_debug_open() local 3297 ocfs2_dlm_init_debug(struct ocfs2_super *osb) ocfs2_dlm_init_debug() argument 3309 ocfs2_dlm_shutdown_debug(struct ocfs2_super *osb) ocfs2_dlm_shutdown_debug() argument 3317 ocfs2_dlm_init(struct ocfs2_super *osb) ocfs2_dlm_init() argument 3378 ocfs2_dlm_shutdown(struct ocfs2_super *osb, int hangup_pending) ocfs2_dlm_shutdown() argument 3407 ocfs2_drop_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) ocfs2_drop_lock() argument 3498 ocfs2_mark_lockres_freeing(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) ocfs2_mark_lockres_freeing() argument 3558 ocfs2_simple_drop_lockres(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) ocfs2_simple_drop_lockres() argument 3569 ocfs2_drop_osb_locks(struct ocfs2_super *osb) ocfs2_drop_osb_locks() argument 3637 ocfs2_downconvert_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int new_level, int lvb, unsigned int generation) ocfs2_downconvert_lock() argument 3681 ocfs2_prepare_cancel_convert(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) ocfs2_prepare_cancel_convert() argument 3710 ocfs2_cancel_convert(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) ocfs2_cancel_convert() argument 3727 ocfs2_unblock_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, struct ocfs2_unblock_ctl *ctl) ocfs2_unblock_lock() argument 4012 ocfs2_dentry_post_unlock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) ocfs2_dentry_post_unlock() argument 4171 struct ocfs2_super *osb = OCFS2_SB(oinfo->dqi_gi.dqi_sb); ocfs2_qinfo_unlock() local 4226 struct ocfs2_super *osb = OCFS2_SB(oinfo->dqi_gi.dqi_sb); ocfs2_qinfo_lock() local 4260 struct ocfs2_super *osb = lockres->l_priv; ocfs2_refcount_lock() local 4280 struct ocfs2_super *osb = lockres->l_priv; ocfs2_refcount_unlock() local 4286 ocfs2_process_blocked_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) ocfs2_process_blocked_lock() argument 4332 ocfs2_schedule_blocked_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) ocfs2_schedule_blocked_lock() argument 4359 ocfs2_downconvert_thread_do_work(struct ocfs2_super *osb) ocfs2_downconvert_thread_do_work() argument 4394 ocfs2_downconvert_thread_lists_empty(struct ocfs2_super *osb) ocfs2_downconvert_thread_lists_empty() argument 4407 ocfs2_downconvert_thread_should_wake(struct ocfs2_super *osb) ocfs2_downconvert_thread_should_wake() argument 4422 struct ocfs2_super *osb = arg; ocfs2_downconvert_thread() local 4442 ocfs2_wake_downconvert_thread(struct ocfs2_super *osb) ocfs2_wake_downconvert_thread() argument [all...] |
H A D | sysfile.c | 28 static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb, 42 static struct inode **get_local_system_inode(struct ocfs2_super *osb, in get_local_system_inode() argument 53 spin_lock(&osb->osb_lock); in get_local_system_inode() 54 local_system_inodes = osb->local_system_inodes; in get_local_system_inode() 55 spin_unlock(&osb->osb_lock); in get_local_system_inode() 61 osb->max_slots), in get_local_system_inode() 73 spin_lock(&osb->osb_lock); in get_local_system_inode() 74 if (osb->local_system_inodes) { in get_local_system_inode() 77 local_system_inodes = osb->local_system_inodes; in get_local_system_inode() 79 osb in get_local_system_inode() 90 ocfs2_get_system_file_inode(struct ocfs2_super *osb, int type, u32 slot) ocfs2_get_system_file_inode() argument 125 _ocfs2_get_system_file_inode(struct ocfs2_super *osb, int type, u32 slot) _ocfs2_get_system_file_inode() argument [all...] |
H A D | heartbeat.c | 43 void ocfs2_init_node_maps(struct ocfs2_super *osb) in ocfs2_init_node_maps() argument 45 spin_lock_init(&osb->node_map_lock); in ocfs2_init_node_maps() 46 ocfs2_node_map_init(&osb->osb_recovering_orphan_dirs); in ocfs2_init_node_maps() 51 struct ocfs2_super *osb = data; in ocfs2_do_node_down() local 53 BUG_ON(osb->node_num == node_num); in ocfs2_do_node_down() 57 if (!osb->cconn) { in ocfs2_do_node_down() 67 ocfs2_recovery_thread(osb, node_num); in ocfs2_do_node_down() 76 void ocfs2_node_map_set_bit(struct ocfs2_super *osb, in ocfs2_node_map_set_bit() argument 83 spin_lock(&osb->node_map_lock); in ocfs2_node_map_set_bit() 85 spin_unlock(&osb in ocfs2_node_map_set_bit() 94 ocfs2_node_map_clear_bit(struct ocfs2_super *osb, struct ocfs2_node_map *map, int bit) ocfs2_node_map_clear_bit() argument 106 ocfs2_node_map_test_bit(struct ocfs2_super *osb, struct ocfs2_node_map *map, int bit) ocfs2_node_map_test_bit() argument [all...] |
H A D | ocfs2.h | 324 * Could protect more on osb as it's very short lived. 359 * Must hold local alloc i_mutex and osb->osb_lock to change 490 static inline int ocfs2_sparse_alloc(struct ocfs2_super *osb) in ocfs2_sparse_alloc() argument 492 if (osb->s_feature_incompat & OCFS2_FEATURE_INCOMPAT_SPARSE_ALLOC) in ocfs2_sparse_alloc() 497 static inline int ocfs2_writes_unwritten_extents(struct ocfs2_super *osb) in ocfs2_writes_unwritten_extents() argument 502 if (!ocfs2_sparse_alloc(osb)) in ocfs2_writes_unwritten_extents() 505 if (osb->s_feature_ro_compat & OCFS2_FEATURE_RO_COMPAT_UNWRITTEN) in ocfs2_writes_unwritten_extents() 510 static inline int ocfs2_supports_append_dio(struct ocfs2_super *osb) in ocfs2_supports_append_dio() argument 512 if (osb->s_feature_incompat & OCFS2_FEATURE_INCOMPAT_APPEND_DIO) in ocfs2_supports_append_dio() 518 static inline int ocfs2_supports_inline_data(struct ocfs2_super *osb) in ocfs2_supports_inline_data() argument 525 ocfs2_supports_xattr(struct ocfs2_super *osb) ocfs2_supports_xattr() argument 532 ocfs2_meta_ecc(struct ocfs2_super *osb) ocfs2_meta_ecc() argument 539 ocfs2_supports_indexed_dirs(struct ocfs2_super *osb) ocfs2_supports_indexed_dirs() argument 546 ocfs2_supports_discontig_bg(struct ocfs2_super *osb) ocfs2_supports_discontig_bg() argument 553 ocfs2_link_max(struct ocfs2_super *osb) ocfs2_link_max() argument 591 ocfs2_refcount_tree(struct ocfs2_super *osb) ocfs2_refcount_tree() argument 602 ocfs2_set_osb_flag(struct ocfs2_super *osb, unsigned long flag) ocfs2_set_osb_flag() argument 610 ocfs2_set_ro_flag(struct ocfs2_super *osb, int hard) ocfs2_set_ro_flag() argument 622 ocfs2_is_hard_readonly(struct ocfs2_super *osb) ocfs2_is_hard_readonly() argument 633 ocfs2_is_soft_readonly(struct ocfs2_super *osb) ocfs2_is_soft_readonly() argument 644 ocfs2_clusterinfo_valid(struct ocfs2_super *osb) ocfs2_clusterinfo_valid() argument 651 ocfs2_userspace_stack(struct ocfs2_super *osb) ocfs2_userspace_stack() argument 660 ocfs2_o2cb_stack(struct ocfs2_super *osb) ocfs2_o2cb_stack() argument 669 ocfs2_cluster_o2cb_global_heartbeat(struct ocfs2_super *osb) ocfs2_cluster_o2cb_global_heartbeat() argument 675 ocfs2_mount_local(struct ocfs2_super *osb) ocfs2_mount_local() argument 680 ocfs2_uses_extended_slot_map(struct ocfs2_super *osb) ocfs2_uses_extended_slot_map() argument [all...] |
H A D | localalloc.h | 15 int ocfs2_load_local_alloc(struct ocfs2_super *osb); 17 void ocfs2_shutdown_local_alloc(struct ocfs2_super *osb); 19 void ocfs2_la_set_sizes(struct ocfs2_super *osb, int requested_mb); 20 unsigned int ocfs2_la_default_mb(struct ocfs2_super *osb); 22 int ocfs2_begin_local_alloc_recovery(struct ocfs2_super *osb, 26 int ocfs2_complete_local_alloc_recovery(struct ocfs2_super *osb, 29 int ocfs2_alloc_should_use_local(struct ocfs2_super *osb, 33 int ocfs2_reserve_local_alloc_bits(struct ocfs2_super *osb, 37 int ocfs2_claim_local_alloc_bits(struct ocfs2_super *osb, 44 int ocfs2_free_local_alloc_bits(struct ocfs2_super *osb, [all...] |
H A D | journal.h | 135 static inline void ocfs2_ci_set_new(struct ocfs2_super *osb, in ocfs2_ci_set_new() argument 139 ci->ci_created_trans = osb->journal->j_trans_id; in ocfs2_ci_set_new() 144 void ocfs2_orphan_scan_init(struct ocfs2_super *osb); 145 void ocfs2_orphan_scan_start(struct ocfs2_super *osb); 146 void ocfs2_orphan_scan_stop(struct ocfs2_super *osb); 149 void ocfs2_wait_for_recovery(struct ocfs2_super *osb); 151 int ocfs2_recovery_init(struct ocfs2_super *osb); 152 void ocfs2_recovery_exit(struct ocfs2_super *osb); 154 int ocfs2_compute_replay_slots(struct ocfs2_super *osb); 155 void ocfs2_free_replay_slots(struct ocfs2_super *osb); 187 ocfs2_start_checkpoint(struct ocfs2_super *osb) ocfs2_start_checkpoint() argument 194 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_checkpoint_inode() local [all...] |
H A D | slot_map.h | 16 int ocfs2_init_slot_info(struct ocfs2_super *osb); 17 void ocfs2_free_slot_info(struct ocfs2_super *osb); 19 int ocfs2_find_slot(struct ocfs2_super *osb); 20 void ocfs2_put_slot(struct ocfs2_super *osb); 22 int ocfs2_refresh_slot_info(struct ocfs2_super *osb); 24 int ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num); 25 int ocfs2_slot_to_node_num_locked(struct ocfs2_super *osb, int slot_num, 28 int ocfs2_clear_slot(struct ocfs2_super *osb, int slot_num);
|
H A D | dlmglue.h | 75 u32 tf_nodenum; /* osb node number */ 107 int ocfs2_dlm_init(struct ocfs2_super *osb); 108 void ocfs2_dlm_shutdown(struct ocfs2_super *osb, int hangup_pending); 123 struct ocfs2_super *osb, u64 ref_blkno, 159 int ocfs2_super_lock(struct ocfs2_super *osb, 161 void ocfs2_super_unlock(struct ocfs2_super *osb, 163 int ocfs2_orphan_scan_lock(struct ocfs2_super *osb, u32 *seqno); 164 void ocfs2_orphan_scan_unlock(struct ocfs2_super *osb, u32 seqno); 166 int ocfs2_rename_lock(struct ocfs2_super *osb); 167 void ocfs2_rename_unlock(struct ocfs2_super *osb); [all...] |
H A D | suballoc.c | 76 static int ocfs2_block_group_alloc(struct ocfs2_super *osb, 115 static int ocfs2_reserve_clusters_with_limit(struct ocfs2_super *osb, 320 static void ocfs2_bg_discontig_add_extent(struct ocfs2_super *osb, in ocfs2_bg_discontig_add_extent() argument 328 BUG_ON(!ocfs2_supports_discontig_bg(osb)); in ocfs2_bg_discontig_add_extent() 330 el->l_count = cpu_to_le16(ocfs2_extent_recs_per_gd(osb->sb)); in ocfs2_bg_discontig_add_extent() 351 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); in ocfs2_block_group_fill() local 374 bg->bg_generation = cpu_to_le32(osb->fs_generation); in ocfs2_block_group_fill() 376 osb->s_feature_incompat)); in ocfs2_block_group_fill() 384 ocfs2_bg_discontig_add_extent(osb, bg, cl, group_blkno, in ocfs2_block_group_fill() 419 ocfs2_block_group_alloc_contig(struct ocfs2_super *osb, handle_ argument 463 ocfs2_block_group_claim_bits(struct ocfs2_super *osb, handle_t *handle, struct ocfs2_alloc_context *ac, unsigned int min_bits, u32 *bit_off, u32 *num_bits) ocfs2_block_group_claim_bits() argument 491 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); ocfs2_block_group_grow_discontig() local 587 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); ocfs2_block_group_alloc_discontig() local 653 ocfs2_block_group_alloc(struct ocfs2_super *osb, struct inode *alloc_inode, struct buffer_head *bh, u64 max_block, u64 *last_alloc_group, int flags) ocfs2_block_group_alloc() argument 764 ocfs2_reserve_suballoc_bits(struct ocfs2_super *osb, struct ocfs2_alloc_context *ac, int type, u32 slot, u64 *last_alloc_group, int flags) ocfs2_reserve_suballoc_bits() argument 856 ocfs2_init_inode_steal_slot(struct ocfs2_super *osb) ocfs2_init_inode_steal_slot() argument 864 ocfs2_init_meta_steal_slot(struct ocfs2_super *osb) ocfs2_init_meta_steal_slot() argument 872 ocfs2_init_steal_slots(struct ocfs2_super *osb) ocfs2_init_steal_slots() argument 878 __ocfs2_set_steal_slot(struct ocfs2_super *osb, int slot, int type) __ocfs2_set_steal_slot() argument 888 __ocfs2_get_steal_slot(struct ocfs2_super *osb, int type) __ocfs2_get_steal_slot() argument 902 ocfs2_get_inode_steal_slot(struct ocfs2_super *osb) ocfs2_get_inode_steal_slot() argument 907 ocfs2_get_meta_steal_slot(struct ocfs2_super *osb) ocfs2_get_meta_steal_slot() argument 912 ocfs2_steal_resource(struct ocfs2_super *osb, struct ocfs2_alloc_context *ac, int type) ocfs2_steal_resource() argument 945 ocfs2_steal_inode(struct ocfs2_super *osb, struct ocfs2_alloc_context *ac) ocfs2_steal_inode() argument 951 ocfs2_steal_meta(struct ocfs2_super *osb, struct ocfs2_alloc_context *ac) ocfs2_steal_meta() argument 957 ocfs2_reserve_new_metadata_blocks(struct ocfs2_super *osb, int blocks, struct ocfs2_alloc_context **ac) ocfs2_reserve_new_metadata_blocks() argument 1019 ocfs2_reserve_new_metadata(struct ocfs2_super *osb, struct ocfs2_extent_list *root_el, struct ocfs2_alloc_context **ac) ocfs2_reserve_new_metadata() argument 1028 ocfs2_reserve_new_inode(struct ocfs2_super *osb, struct ocfs2_alloc_context **ac) ocfs2_reserve_new_inode() argument 1122 ocfs2_reserve_cluster_bitmap_bits(struct ocfs2_super *osb, struct ocfs2_alloc_context *ac) ocfs2_reserve_cluster_bitmap_bits() argument 1143 ocfs2_reserve_clusters_with_limit(struct ocfs2_super *osb, u32 bits_wanted, u64 max_block, int flags, struct ocfs2_alloc_context **ac) ocfs2_reserve_clusters_with_limit() argument 1221 ocfs2_reserve_clusters(struct ocfs2_super *osb, u32 bits_wanted, struct ocfs2_alloc_context **ac) ocfs2_reserve_clusters() argument 1277 ocfs2_block_group_find_clear_bits(struct ocfs2_super *osb, struct buffer_head *bg_bh, unsigned int bits_wanted, unsigned int total_bits, struct ocfs2_suballoc_result *res) ocfs2_block_group_find_clear_bits() argument 1486 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_cluster_group_search() local 2243 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_desc_bitmap_to_cluster_off() local 2258 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_which_cluster_group() local 2277 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_block_to_cluster_group() local 2308 struct ocfs2_super *osb = OCFS2_SB(ac->ac_inode->i_sb); __ocfs2_claim_clusters() local 2630 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_lock_allocators() local 2697 ocfs2_get_suballoc_slot_bit(struct ocfs2_super *osb, u64 blkno, u16 *suballoc_slot, u64 *group_blkno, u16 *suballoc_bit) ocfs2_get_suballoc_slot_bit() argument 2754 ocfs2_test_suballoc_bit(struct ocfs2_super *osb, struct inode *suballoc, struct buffer_head *alloc_bh, u64 group_blkno, u64 blkno, u16 bit, int *res) ocfs2_test_suballoc_bit() argument 2812 ocfs2_test_inode_bit(struct ocfs2_super *osb, u64 blkno, int *res) ocfs2_test_inode_bit() argument [all...] |