ocfs2_super
struct ocfs2_super *osb;
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb =
struct ocfs2_super *osb = OCFS2_SB(oi->vfs_inode.i_sb);
static int ocfs2_remove_rightmost_empty_extent(struct ocfs2_super *osb,
struct ocfs2_super *osb =
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
int ocfs2_truncate_log_needs_flush(struct ocfs2_super *osb)
int ocfs2_truncate_log_append(struct ocfs2_super *osb,
static int ocfs2_replay_truncate_records(struct ocfs2_super *osb,
int __ocfs2_flush_truncate_log(struct ocfs2_super *osb)
int ocfs2_flush_truncate_log(struct ocfs2_super *osb)
struct ocfs2_super *osb =
container_of(work, struct ocfs2_super,
void ocfs2_schedule_truncate_log_flush(struct ocfs2_super *osb,
int ocfs2_try_to_free_truncate_log(struct ocfs2_super *osb,
static int ocfs2_get_truncate_log_info(struct ocfs2_super *osb,
int ocfs2_begin_truncate_log_recovery(struct ocfs2_super *osb,
int ocfs2_complete_truncate_log_recovery(struct ocfs2_super *osb,
void ocfs2_truncate_log_shutdown(struct ocfs2_super *osb)
int ocfs2_truncate_log_init(struct ocfs2_super *osb)
static int ocfs2_free_cached_blocks(struct ocfs2_super *osb,
static int ocfs2_free_cached_clusters(struct ocfs2_super *osb,
int ocfs2_run_deallocs(struct ocfs2_super *osb,
struct ocfs2_super *osb =
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
int ocfs2_commit_truncate(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(sb);
struct ocfs2_super *osb = OCFS2_SB(sb);
struct ocfs2_super *osb = OCFS2_SB(sb);
int ocfs2_truncate_log_init(struct ocfs2_super *osb);
void ocfs2_truncate_log_shutdown(struct ocfs2_super *osb);
void ocfs2_schedule_truncate_log_flush(struct ocfs2_super *osb,
int ocfs2_flush_truncate_log(struct ocfs2_super *osb);
int ocfs2_begin_truncate_log_recovery(struct ocfs2_super *osb,
int ocfs2_complete_truncate_log_recovery(struct ocfs2_super *osb,
int ocfs2_truncate_log_needs_flush(struct ocfs2_super *osb);
int ocfs2_truncate_log_append(struct ocfs2_super *osb,
int __ocfs2_flush_truncate_log(struct ocfs2_super *osb);
int ocfs2_try_to_free_truncate_log(struct ocfs2_super *osb,
int ocfs2_run_deallocs(struct ocfs2_super *osb,
int ocfs2_commit_truncate(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(mapping->host->i_sb);
static void ocfs2_set_target_boundaries(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
static void ocfs2_figure_cluster_boundaries(struct ocfs2_super *osb,
struct ocfs2_super *osb, u32 cpos,
struct ocfs2_super *osb, loff_t pos,
struct ocfs2_super *osb = OCFS2_SB(sb);
struct ocfs2_super *osb = OCFS2_SB(sb);
int ocfs2_write_block(struct ocfs2_super *osb, struct buffer_head *bh,
int ocfs2_write_super_or_backup(struct ocfs2_super *osb,
int ocfs2_read_blocks_sync(struct ocfs2_super *osb, u64 block,
int ocfs2_write_block(struct ocfs2_super *osb,
int ocfs2_read_blocks_sync(struct ocfs2_super *osb, u64 block,
int ocfs2_write_super_or_backup(struct ocfs2_super *osb,
static void ocfs2_drop_dentry_lock(struct ocfs2_super *osb,
void ocfs2_dentry_lock_put(struct ocfs2_super *osb,
struct ocfs2_super *osb;
struct ocfs2_super *osb = OCFS2_SB(old_dir->i_sb);
void ocfs2_dentry_lock_put(struct ocfs2_super *osb,
static int ocfs2_fill_new_dir_id(struct ocfs2_super *osb,
static int ocfs2_fill_new_dir_el(struct ocfs2_super *osb,
static int ocfs2_dx_dir_attach_index(struct ocfs2_super *osb,
static int ocfs2_dx_dir_format_cluster(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(dir->i_sb);
struct ocfs2_super *osb = OCFS2_SB(dir->i_sb);
static int ocfs2_fill_new_dir_dx(struct ocfs2_super *osb,
int ocfs2_fill_new_dir(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(dir->i_sb);
static int ocfs2_extend_dir(struct ocfs2_super *osb,
static int ocfs2_dx_dir_rebalance_credits(struct ocfs2_super *osb,
static int ocfs2_dx_dir_rebalance(struct ocfs2_super *osb, struct inode *dir,
static int ocfs2_find_dir_space_dx(struct ocfs2_super *osb, struct inode *dir,
struct ocfs2_super *osb = OCFS2_SB(dir->i_sb);
struct ocfs2_super *osb = OCFS2_SB(dir->i_sb);
int ocfs2_prepare_dir_for_insert(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(dir->i_sb);
struct ocfs2_super *osb = OCFS2_SB(dir->i_sb);
struct ocfs2_super *osb = OCFS2_SB(dir->i_sb);
static inline unsigned int __ocfs2_dx_dir_hash_idx(struct ocfs2_super *osb,
static inline unsigned int ocfs2_dx_dir_hash_idx(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(dir->i_sb);
int ocfs2_prepare_dir_for_insert(struct ocfs2_super *osb,
int ocfs2_fill_new_dir(struct ocfs2_super *osb,
struct ocfs2_super *osb)
struct ocfs2_super *osb)
struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres);
struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres);
static int ocfs2_lock_create(struct ocfs2_super *osb,
static int __ocfs2_cluster_lock(struct ocfs2_super *osb,
struct ocfs2_super * (*get_osb)(struct ocfs2_lock_res *);
void (*post_unlock)(struct ocfs2_super *, struct ocfs2_lock_res *);
static inline int ocfs2_cluster_lock(struct ocfs2_super *osb,
static void __ocfs2_cluster_unlock(struct ocfs2_super *osb,
static int ocfs2_create_new_lock(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres);
struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb);
struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb);
static void ocfs2_downconvert_on_unlock(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
int ocfs2_orphan_scan_lock(struct ocfs2_super *osb, u32 *seqno)
void ocfs2_orphan_scan_unlock(struct ocfs2_super *osb, u32 seqno)
int ocfs2_super_lock(struct ocfs2_super *osb,
void ocfs2_super_unlock(struct ocfs2_super *osb,
int ocfs2_rename_lock(struct ocfs2_super *osb)
void ocfs2_rename_unlock(struct ocfs2_super *osb)
int ocfs2_nfs_sync_lock(struct ocfs2_super *osb, int ex)
void ocfs2_nfs_sync_unlock(struct ocfs2_super *osb, int ex)
int ocfs2_trim_fs_lock(struct ocfs2_super *osb,
void ocfs2_trim_fs_unlock(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb);
struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb);
static inline struct ocfs2_super *ocfs2_get_lockres_osb(struct ocfs2_lock_res *lockres)
struct ocfs2_super *osb;
static void ocfs2_dlm_init_debug(struct ocfs2_super *osb)
return (struct ocfs2_super *)lockres->l_priv;
static void ocfs2_dlm_shutdown_debug(struct ocfs2_super *osb)
int ocfs2_dlm_init(struct ocfs2_super *osb)
static int ocfs2_lock_create(struct ocfs2_super *osb,
void ocfs2_dlm_shutdown(struct ocfs2_super *osb,
static void __ocfs2_cluster_unlock(struct ocfs2_super *osb,
static int ocfs2_drop_lock(struct ocfs2_super *osb,
static inline void ocfs2_cluster_unlock(struct ocfs2_super *osb,
static void ocfs2_process_blocked_lock(struct ocfs2_super *osb,
void ocfs2_mark_lockres_freeing(struct ocfs2_super *osb,
static void ocfs2_schedule_blocked_lock(struct ocfs2_super *osb,
void ocfs2_simple_drop_lockres(struct ocfs2_super *osb,
static void ocfs2_drop_osb_locks(struct ocfs2_super *osb)
static int ocfs2_downconvert_lock(struct ocfs2_super *osb,
static void ocfs2_downconvert_on_unlock(struct ocfs2_super *osb,
static int ocfs2_prepare_cancel_convert(struct ocfs2_super *osb,
static int ocfs2_cancel_convert(struct ocfs2_super *osb,
static void ocfs2_drop_osb_locks(struct ocfs2_super *osb);
static int ocfs2_unblock_lock(struct ocfs2_super *osb,
static int ocfs2_downconvert_lock(struct ocfs2_super *osb,
static int ocfs2_prepare_cancel_convert(struct ocfs2_super *osb,
static int ocfs2_cancel_convert(struct ocfs2_super *osb,
static void ocfs2_dentry_post_unlock(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(oinfo->dqi_gi.dqi_sb);
struct ocfs2_super *osb = OCFS2_SB(oinfo->dqi_gi.dqi_sb);
struct ocfs2_super *osb = lockres->l_priv;
struct ocfs2_super *osb = lockres->l_priv;
static void ocfs2_process_blocked_lock(struct ocfs2_super *osb,
static void ocfs2_schedule_blocked_lock(struct ocfs2_super *osb,
static void ocfs2_downconvert_thread_do_work(struct ocfs2_super *osb)
static int ocfs2_downconvert_thread_lists_empty(struct ocfs2_super *osb)
static int ocfs2_downconvert_thread_should_wake(struct ocfs2_super *osb)
struct ocfs2_super *osb = arg;
void ocfs2_wake_downconvert_thread(struct ocfs2_super *osb)
static void ocfs2_lock_res_init_common(struct ocfs2_super *osb,
static struct ocfs2_super *ocfs2_get_inode_osb(struct ocfs2_lock_res *lockres)
static struct ocfs2_super *ocfs2_get_qinfo_osb(struct ocfs2_lock_res *lockres)
static struct ocfs2_super *ocfs2_get_dentry_osb(struct ocfs2_lock_res *lockres);
static struct ocfs2_super *ocfs2_get_file_osb(struct ocfs2_lock_res *lockres)
static struct ocfs2_super *ocfs2_get_inode_osb(struct ocfs2_lock_res *lockres);
static struct ocfs2_super *ocfs2_get_file_osb(struct ocfs2_lock_res *lockres);
static struct ocfs2_super *ocfs2_get_dentry_osb(struct ocfs2_lock_res *lockres)
static struct ocfs2_super *ocfs2_get_qinfo_osb(struct ocfs2_lock_res *lockres);
struct ocfs2_super *osb)
struct ocfs2_super *osb)
struct ocfs2_super *osb)
static void ocfs2_nfs_sync_lock_init(struct ocfs2_super *osb)
void ocfs2_trim_fs_lock_res_init(struct ocfs2_super *osb)
void ocfs2_trim_fs_lock_res_uninit(struct ocfs2_super *osb)
struct ocfs2_super *osb)
struct ocfs2_super *osb, u64 ref_blkno,
static void ocfs2_dentry_post_unlock(struct ocfs2_super *osb,
int ocfs2_dlm_init(struct ocfs2_super *osb);
void ocfs2_dlm_shutdown(struct ocfs2_super *osb, int hangup_pending);
struct ocfs2_super *osb, u64 ref_blkno,
int ocfs2_super_lock(struct ocfs2_super *osb,
void ocfs2_super_unlock(struct ocfs2_super *osb,
int ocfs2_orphan_scan_lock(struct ocfs2_super *osb, u32 *seqno);
void ocfs2_orphan_scan_unlock(struct ocfs2_super *osb, u32 seqno);
int ocfs2_rename_lock(struct ocfs2_super *osb);
void ocfs2_rename_unlock(struct ocfs2_super *osb);
int ocfs2_nfs_sync_lock(struct ocfs2_super *osb, int ex);
void ocfs2_nfs_sync_unlock(struct ocfs2_super *osb, int ex);
void ocfs2_trim_fs_lock_res_init(struct ocfs2_super *osb);
void ocfs2_trim_fs_lock_res_uninit(struct ocfs2_super *osb);
int ocfs2_trim_fs_lock(struct ocfs2_super *osb,
void ocfs2_trim_fs_unlock(struct ocfs2_super *osb,
void ocfs2_mark_lockres_freeing(struct ocfs2_super *osb,
void ocfs2_simple_drop_lockres(struct ocfs2_super *osb,
void ocfs2_wake_downconvert_thread(struct ocfs2_super *osb);
struct ocfs2_super *osb = OCFS2_SB(sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(sb);
struct ocfs2_super *osb = sb->s_fs_info;
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode_in->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
static int ocfs2_orphan_for_truncate(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
int ocfs2_add_inode_data(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
int ocfs2_add_inode_data(struct ocfs2_super *osb,
int ocfs2_filecheck_create_sysfs(struct ocfs2_super *osb)
void ocfs2_filecheck_remove_sysfs(struct ocfs2_super *osb)
ocfs2_filecheck_handle(struct ocfs2_super *osb,
struct ocfs2_super *osb = container_of(ent, struct ocfs2_super,
int ocfs2_filecheck_create_sysfs(struct ocfs2_super *osb);
void ocfs2_filecheck_remove_sysfs(struct ocfs2_super *osb);
void ocfs2_init_node_maps(struct ocfs2_super *osb)
struct ocfs2_super *osb = data;
void ocfs2_node_map_set_bit(struct ocfs2_super *osb,
void ocfs2_node_map_clear_bit(struct ocfs2_super *osb,
int ocfs2_node_map_test_bit(struct ocfs2_super *osb,
void ocfs2_init_node_maps(struct ocfs2_super *osb);
void ocfs2_node_map_set_bit(struct ocfs2_super *osb,
void ocfs2_node_map_clear_bit(struct ocfs2_super *osb,
int ocfs2_node_map_test_bit(struct ocfs2_super *osb,
struct inode *ocfs2_iget(struct ocfs2_super *osb, u64 blkno, unsigned flags,
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb;
struct ocfs2_super *osb;
static int ocfs2_truncate_for_delete(struct ocfs2_super *osb,
static int ocfs2_truncate_for_delete(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
static int ocfs2_check_orphan_recovery_state(struct ocfs2_super *osb,
static void ocfs2_signal_wipe_completion(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct inode *ocfs2_iget(struct ocfs2_super *osb, u64 feoff, unsigned flags,
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
static int ocfs2_info_scan_inode_alloc(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
static int ocfs2_info_freefrag_scan_chain(struct ocfs2_super *osb,
static int ocfs2_info_freefrag_scan_bitmap(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
static int ocfs2_journal_toggle_dirty(struct ocfs2_super *osb,
void ocfs2_journal_shutdown(struct ocfs2_super *osb)
int ocfs2_compute_replay_slots(struct ocfs2_super *osb)
struct ocfs2_super *osb;
static int ocfs2_recovery_completed(struct ocfs2_super *osb)
void ocfs2_wait_for_recovery(struct ocfs2_super *osb)
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = journal->j_osb;
static void ocfs2_queue_replay_slots(struct ocfs2_super *osb,
void ocfs2_complete_mount_recovery(struct ocfs2_super *osb)
void ocfs2_complete_quota_recovery(struct ocfs2_super *osb)
struct ocfs2_super *osb = arg;
void ocfs2_free_replay_slots(struct ocfs2_super *osb)
void ocfs2_recovery_thread(struct ocfs2_super *osb, int node_num)
static int ocfs2_read_journal_inode(struct ocfs2_super *osb,
static int ocfs2_replay_journal(struct ocfs2_super *osb,
int ocfs2_recovery_init(struct ocfs2_super *osb)
static int ocfs2_recover_node(struct ocfs2_super *osb,
static int ocfs2_trylock_journal(struct ocfs2_super *osb,
static int ocfs2_recovery_thread_running(struct ocfs2_super *osb)
int ocfs2_mark_dead_nodes(struct ocfs2_super *osb)
static void ocfs2_recovery_disable(struct ocfs2_super *osb,
static void ocfs2_queue_orphan_scan(struct ocfs2_super *osb)
struct ocfs2_super *osb;
void ocfs2_orphan_scan_stop(struct ocfs2_super *osb)
void ocfs2_orphan_scan_init(struct ocfs2_super *osb)
void ocfs2_orphan_scan_start(struct ocfs2_super *osb)
struct ocfs2_super *osb;
static int ocfs2_queue_orphans(struct ocfs2_super *osb,
static int ocfs2_orphan_recovery_can_continue(struct ocfs2_super *osb,
static void ocfs2_mark_recovering_orphan_dir(struct ocfs2_super *osb,
void ocfs2_recovery_disable_quota(struct ocfs2_super *osb)
static void ocfs2_clear_recovering_orphan_dir(struct ocfs2_super *osb,
static int ocfs2_recover_orphans(struct ocfs2_super *osb,
void ocfs2_recovery_exit(struct ocfs2_super *osb)
static int __ocfs2_wait_on_mount(struct ocfs2_super *osb, int quota)
struct ocfs2_super *osb = arg;
int ocfs2_check_journals_nolocks(struct ocfs2_super *osb)
static int __ocfs2_recovery_map_test(struct ocfs2_super *osb,
static int ocfs2_recovery_map_set(struct ocfs2_super *osb,
static void ocfs2_recovery_map_clear(struct ocfs2_super *osb,
static int ocfs2_commit_cache(struct ocfs2_super *osb)
handle_t *ocfs2_start_trans(struct ocfs2_super *osb, int max_buffs)
int ocfs2_commit_trans(struct ocfs2_super *osb,
static int ocfs2_recover_node(struct ocfs2_super *osb,
static int ocfs2_commit_cache(struct ocfs2_super *osb);
static int __ocfs2_wait_on_mount(struct ocfs2_super *osb, int quota);
static int ocfs2_journal_toggle_dirty(struct ocfs2_super *osb,
static int ocfs2_trylock_journal(struct ocfs2_super *osb,
static int ocfs2_recover_orphans(struct ocfs2_super *osb,
struct ocfs2_super *osb =
static inline int ocfs2_wait_on_mount(struct ocfs2_super *osb)
struct ocfs2_super *osb = OCFS2_SB(ocfs2_metadata_cache_get_super(ci));
static inline int ocfs2_wait_on_quotas(struct ocfs2_super *osb)
struct ocfs2_super *osb = OCFS2_SB(ocfs2_metadata_cache_get_super(ci));
struct ocfs2_super *osb = OCFS2_SB(ocfs2_metadata_cache_get_super(ci));
struct ocfs2_super *osb = OCFS2_SB(ocfs2_metadata_cache_get_super(ci));
struct ocfs2_super *osb = OCFS2_SB(ocfs2_metadata_cache_get_super(ci));
struct ocfs2_super *osb = OCFS2_SB(ocfs2_metadata_cache_get_super(ci));
struct ocfs2_super *osb = OCFS2_SB(ocfs2_metadata_cache_get_super(ci));
struct ocfs2_super *osb = OCFS2_SB(ocfs2_metadata_cache_get_super(ci));
struct ocfs2_super *osb = OCFS2_SB(ocfs2_metadata_cache_get_super(ci));
void ocfs2_set_journal_params(struct ocfs2_super *osb)
int ocfs2_journal_alloc(struct ocfs2_super *osb)
int ocfs2_journal_init(struct ocfs2_super *osb, int *dirty)
static void ocfs2_replay_map_set_state(struct ocfs2_super *osb, int state)
static inline void ocfs2_ci_set_new(struct ocfs2_super *osb,
void ocfs2_orphan_scan_init(struct ocfs2_super *osb);
void ocfs2_orphan_scan_start(struct ocfs2_super *osb);
void ocfs2_orphan_scan_stop(struct ocfs2_super *osb);
void ocfs2_wait_for_recovery(struct ocfs2_super *osb);
int ocfs2_recovery_init(struct ocfs2_super *osb);
void ocfs2_recovery_exit(struct ocfs2_super *osb);
void ocfs2_recovery_disable_quota(struct ocfs2_super *osb);
int ocfs2_compute_replay_slots(struct ocfs2_super *osb);
void ocfs2_free_replay_slots(struct ocfs2_super *osb);
void ocfs2_set_journal_params(struct ocfs2_super *osb);
int ocfs2_journal_alloc(struct ocfs2_super *osb);
int ocfs2_journal_init(struct ocfs2_super *osb, int *dirty);
void ocfs2_journal_shutdown(struct ocfs2_super *osb);
int ocfs2_check_journals_nolocks(struct ocfs2_super *osb);
void ocfs2_recovery_thread(struct ocfs2_super *osb,
int ocfs2_mark_dead_nodes(struct ocfs2_super *osb);
void ocfs2_complete_mount_recovery(struct ocfs2_super *osb);
void ocfs2_complete_quota_recovery(struct ocfs2_super *osb);
static inline void ocfs2_start_checkpoint(struct ocfs2_super *osb)
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super;
handle_t *ocfs2_start_trans(struct ocfs2_super *osb,
int ocfs2_commit_trans(struct ocfs2_super *osb,
struct ocfs2_super *j_osb; /* pointer to the super
unsigned int ocfs2_la_default_mb(struct ocfs2_super *osb)
static int ocfs2_recalc_la_window(struct ocfs2_super *osb,
static int ocfs2_local_alloc_reserve_for_window(struct ocfs2_super *osb,
static int ocfs2_local_alloc_new_window(struct ocfs2_super *osb,
static int ocfs2_local_alloc_slide_window(struct ocfs2_super *osb,
void ocfs2_la_set_sizes(struct ocfs2_super *osb, int requested_mb)
static inline int ocfs2_la_state_enabled(struct ocfs2_super *osb)
void ocfs2_local_alloc_seen_free_bits(struct ocfs2_super *osb,
struct ocfs2_super *osb =
container_of(work, struct ocfs2_super,
int ocfs2_alloc_should_use_local(struct ocfs2_super *osb, u64 bits)
int ocfs2_load_local_alloc(struct ocfs2_super *osb)
void ocfs2_shutdown_local_alloc(struct ocfs2_super *osb)
static int ocfs2_local_alloc_find_clear_bits(struct ocfs2_super *osb,
static int ocfs2_sync_local_to_main(struct ocfs2_super *osb,
int ocfs2_begin_local_alloc_recovery(struct ocfs2_super *osb,
static int ocfs2_local_alloc_reserve_for_window(struct ocfs2_super *osb,
int ocfs2_complete_local_alloc_recovery(struct ocfs2_super *osb,
static int ocfs2_local_alloc_new_window(struct ocfs2_super *osb,
static int ocfs2_local_alloc_slide_window(struct ocfs2_super *osb,
int ocfs2_reserve_local_alloc_bits(struct ocfs2_super *osb,
int ocfs2_claim_local_alloc_bits(struct ocfs2_super *osb,
int ocfs2_free_local_alloc_bits(struct ocfs2_super *osb,
static int ocfs2_local_alloc_find_clear_bits(struct ocfs2_super *osb,
static int ocfs2_sync_local_to_main(struct ocfs2_super *osb,
int ocfs2_load_local_alloc(struct ocfs2_super *osb);
void ocfs2_shutdown_local_alloc(struct ocfs2_super *osb);
void ocfs2_la_set_sizes(struct ocfs2_super *osb, int requested_mb);
unsigned int ocfs2_la_default_mb(struct ocfs2_super *osb);
int ocfs2_begin_local_alloc_recovery(struct ocfs2_super *osb,
int ocfs2_complete_local_alloc_recovery(struct ocfs2_super *osb,
int ocfs2_alloc_should_use_local(struct ocfs2_super *osb,
int ocfs2_reserve_local_alloc_bits(struct ocfs2_super *osb,
int ocfs2_claim_local_alloc_bits(struct ocfs2_super *osb,
int ocfs2_free_local_alloc_bits(struct ocfs2_super *osb,
void ocfs2_local_alloc_seen_free_bits(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
static int ocfs2_check_if_ancestor(struct ocfs2_super *osb,
static int ocfs2_double_lock(struct ocfs2_super *osb,
struct ocfs2_super *osb = NULL;
static int ocfs2_create_symlink_data(struct ocfs2_super *osb,
struct ocfs2_super *osb = NULL;
static int ocfs2_lookup_lock_orphan_dir(struct ocfs2_super *osb,
static void ocfs2_cleanup_add_entry_failure(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(orphan_dir_inode->i_sb);
static int ocfs2_prepare_orphan_dir(struct ocfs2_super *osb,
static int ocfs2_orphan_add(struct ocfs2_super *osb,
int ocfs2_orphan_del(struct ocfs2_super *osb,
struct ocfs2_super *osb;
struct ocfs2_super *osb = OCFS2_SB(dir->i_sb);
struct ocfs2_super *osb = OCFS2_SB(dir->i_sb);
int ocfs2_add_inode_to_orphan(struct ocfs2_super *osb,
int ocfs2_del_inode_from_orphan(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(dir->i_sb);
struct ocfs2_super *osb = OCFS2_SB(dir->i_sb);
static int ocfs2_mknod_locked(struct ocfs2_super *osb,
static int ocfs2_mknod_locked(struct ocfs2_super *osb,
static int ocfs2_prepare_orphan_dir(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(dir->i_sb);
static int ocfs2_orphan_add(struct ocfs2_super *osb,
static int ocfs2_create_symlink_data(struct ocfs2_super *osb,
static int ocfs2_double_lock(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(dir->i_sb);
int ocfs2_orphan_del(struct ocfs2_super *osb,
int ocfs2_add_inode_to_orphan(struct ocfs2_super *osb,
int ocfs2_del_inode_from_orphan(struct ocfs2_super *osb,
struct ocfs2_super *os_osb;
#define OCFS2_SB(sb) ((struct ocfs2_super *)(sb)->s_fs_info)
static inline int ocfs2_sparse_alloc(struct ocfs2_super *osb)
static inline int ocfs2_writes_unwritten_extents(struct ocfs2_super *osb)
static inline int ocfs2_supports_append_dio(struct ocfs2_super *osb)
static inline int ocfs2_supports_inline_data(struct ocfs2_super *osb)
static inline int ocfs2_supports_xattr(struct ocfs2_super *osb)
static inline int ocfs2_meta_ecc(struct ocfs2_super *osb)
static inline int ocfs2_supports_indexed_dirs(struct ocfs2_super *osb)
static inline int ocfs2_supports_discontig_bg(struct ocfs2_super *osb)
static inline unsigned int ocfs2_link_max(struct ocfs2_super *osb)
static inline int ocfs2_refcount_tree(struct ocfs2_super *osb)
static inline void ocfs2_set_osb_flag(struct ocfs2_super *osb,
static inline void ocfs2_set_ro_flag(struct ocfs2_super *osb,
static inline int ocfs2_is_hard_readonly(struct ocfs2_super *osb)
static inline int ocfs2_is_soft_readonly(struct ocfs2_super *osb)
static inline int ocfs2_is_readonly(struct ocfs2_super *osb)
static inline int ocfs2_emergency_state(struct ocfs2_super *osb)
static inline int ocfs2_clusterinfo_valid(struct ocfs2_super *osb)
static inline int ocfs2_userspace_stack(struct ocfs2_super *osb)
static inline int ocfs2_o2cb_stack(struct ocfs2_super *osb)
static inline int ocfs2_cluster_o2cb_global_heartbeat(struct ocfs2_super *osb)
static inline int ocfs2_mount_local(struct ocfs2_super *osb)
static inline int ocfs2_uses_extended_slot_map(struct ocfs2_super *osb)
struct ocfs2_super *osb, int slot_num);
int ocfs2_finish_quota_recovery(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(sb);
struct ocfs2_super *osb = OCFS2_SB(dquot->dq_sb);
struct ocfs2_super *osb = container_of(work, struct ocfs2_super,
struct ocfs2_super *osb = OCFS2_SB(dquot->dq_sb);
struct ocfs2_super *osb = OCFS2_SB(sb);
struct ocfs2_super *osb = OCFS2_SB(sb);
struct ocfs2_super *osb,
int ocfs2_finish_quota_recovery(struct ocfs2_super *osb,
ocfs2_find_refcount_tree(struct ocfs2_super *osb, u64 blkno)
static void ocfs2_insert_refcount_tree(struct ocfs2_super *osb,
ocfs2_erase_refcount_tree_from_list_no_lock(struct ocfs2_super *osb,
static void ocfs2_erase_refcount_tree_from_list(struct ocfs2_super *osb,
static inline void ocfs2_init_refcount_tree_lock(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(sb);
ocfs2_allocate_refcount_tree(struct ocfs2_super *osb, u64 rf_blkno)
struct ocfs2_super *osb = OCFS2_SB(sb);
static int ocfs2_get_refcount_tree(struct ocfs2_super *osb, u64 rf_blkno,
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(s_inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(s_inode->i_sb);
static int __ocfs2_lock_refcount_tree(struct ocfs2_super *osb,
int ocfs2_lock_refcount_tree(struct ocfs2_super *osb,
struct ocfs2_super *osb;
struct ocfs2_super *osb;
void ocfs2_unlock_refcount_tree(struct ocfs2_super *osb,
void ocfs2_purge_refcount_trees(struct ocfs2_super *osb)
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
void ocfs2_purge_refcount_trees(struct ocfs2_super *osb);
int ocfs2_lock_refcount_tree(struct ocfs2_super *osb, u64 ref_blkno, int rw,
void ocfs2_unlock_refcount_tree(struct ocfs2_super *osb,
void ocfs2_resmap_init(struct ocfs2_super *osb,
int ocfs2_dir_resv_allowed(struct ocfs2_super *osb)
struct ocfs2_super *osb = resmap->m_osb;
struct ocfs2_super *osb = resmap->m_osb;
struct ocfs2_super *m_osb;
int ocfs2_dir_resv_allowed(struct ocfs2_super *osb);
void ocfs2_resmap_init(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(bm_inode->i_sb);
int ocfs2_refresh_slot_info(struct ocfs2_super *osb)
static int ocfs2_update_disk_slot(struct ocfs2_super *osb,
static int ocfs2_slot_map_physical_size(struct ocfs2_super *osb,
int ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num)
int ocfs2_slot_to_node_num_locked(struct ocfs2_super *osb, int slot_num,
int ocfs2_clear_slot(struct ocfs2_super *osb, int slot_num)
static int ocfs2_map_slot_buffers(struct ocfs2_super *osb,
int ocfs2_init_slot_info(struct ocfs2_super *osb)
void ocfs2_free_slot_info(struct ocfs2_super *osb)
int ocfs2_find_slot(struct ocfs2_super *osb)
void ocfs2_put_slot(struct ocfs2_super *osb)
int ocfs2_init_slot_info(struct ocfs2_super *osb);
void ocfs2_free_slot_info(struct ocfs2_super *osb);
int ocfs2_find_slot(struct ocfs2_super *osb);
void ocfs2_put_slot(struct ocfs2_super *osb);
int ocfs2_refresh_slot_info(struct ocfs2_super *osb);
int ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num);
int ocfs2_slot_to_node_num_locked(struct ocfs2_super *osb, int slot_num,
int ocfs2_clear_slot(struct ocfs2_super *osb, int slot_num);
static int ocfs2_steal_inode(struct ocfs2_super *osb,
static int ocfs2_steal_meta(struct ocfs2_super *osb,
int ocfs2_reserve_new_metadata_blocks(struct ocfs2_super *osb,
int ocfs2_reserve_new_metadata(struct ocfs2_super *osb,
int ocfs2_reserve_new_inode(struct ocfs2_super *osb,
static int ocfs2_reserve_clusters_with_limit(struct ocfs2_super *osb,
int ocfs2_reserve_cluster_bitmap_bits(struct ocfs2_super *osb,
static int ocfs2_reserve_clusters_with_limit(struct ocfs2_super *osb,
int ocfs2_reserve_clusters(struct ocfs2_super *osb,
static int ocfs2_block_group_find_clear_bits(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(ac->ac_inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
static int ocfs2_get_suballoc_slot_bit(struct ocfs2_super *osb, u64 blkno,
static int ocfs2_test_suballoc_bit(struct ocfs2_super *osb,
int ocfs2_test_inode_bit(struct ocfs2_super *osb, u64 blkno, int *res)
static void ocfs2_bg_discontig_add_extent(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb);
ocfs2_block_group_alloc_contig(struct ocfs2_super *osb, handle_t *handle,
static int ocfs2_block_group_claim_bits(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb);
static int ocfs2_block_group_alloc(struct ocfs2_super *osb,
static int ocfs2_block_group_alloc(struct ocfs2_super *osb,
static int ocfs2_reserve_suballoc_bits(struct ocfs2_super *osb,
static void ocfs2_init_inode_steal_slot(struct ocfs2_super *osb)
static void ocfs2_init_meta_steal_slot(struct ocfs2_super *osb)
void ocfs2_init_steal_slots(struct ocfs2_super *osb)
static void __ocfs2_set_steal_slot(struct ocfs2_super *osb, int slot, int type)
static int __ocfs2_get_steal_slot(struct ocfs2_super *osb, int type)
static int ocfs2_get_inode_steal_slot(struct ocfs2_super *osb)
static int ocfs2_get_meta_steal_slot(struct ocfs2_super *osb)
static int ocfs2_steal_resource(struct ocfs2_super *osb,
static inline u32 ocfs2_cluster_from_desc(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
int ocfs2_reserve_cluster_bitmap_bits(struct ocfs2_super *osb,
int ocfs2_test_inode_bit(struct ocfs2_super *osb, u64 blkno, int *res);
void ocfs2_init_steal_slots(struct ocfs2_super *osb);
int ocfs2_reserve_new_metadata(struct ocfs2_super *osb,
int ocfs2_reserve_new_metadata_blocks(struct ocfs2_super *osb,
int ocfs2_reserve_new_inode(struct ocfs2_super *osb,
int ocfs2_reserve_clusters(struct ocfs2_super *osb,
static int ocfs2_init_global_system_inodes(struct ocfs2_super *osb);
static int ocfs2_init_local_system_inodes(struct ocfs2_super *osb);
static void ocfs2_release_system_inodes(struct ocfs2_super *osb);
static int ocfs2_check_volume(struct ocfs2_super *osb);
static int ocfs2_susp_quotas(struct ocfs2_super *osb, int unsuspend);
static int ocfs2_enable_quotas(struct ocfs2_super *osb);
static void ocfs2_disable_quotas(struct ocfs2_super *osb);
struct ocfs2_super *osb = OCFS2_SB(root->d_sb);
struct ocfs2_super *osb;
struct ocfs2_super *osb = OCFS2_SB(sb);
struct ocfs2_super *osb = NULL;
static int ocfs2_setup_osb_uuid(struct ocfs2_super *osb, const unsigned char *uuid,
static int ocfs2_journal_addressable(struct ocfs2_super *osb)
struct ocfs2_super *osb;
osb = kzalloc_obj(struct ocfs2_super);
static int ocfs2_osb_dump(struct ocfs2_super *osb, char *buf, int len)
static int ocfs2_check_volume(struct ocfs2_super *osb)
static void ocfs2_delete_osb(struct ocfs2_super *osb)
memset(osb, 0, sizeof(struct ocfs2_super));
struct ocfs2_super *osb = OCFS2_SB(sb);
struct ocfs2_super *osb = inode->i_private;
struct ocfs2_super *osb = OCFS2_SB(sb);
static int ocfs2_need_system_inode(struct ocfs2_super *osb, int ino)
static int ocfs2_init_global_system_inodes(struct ocfs2_super *osb)
static int ocfs2_init_local_system_inodes(struct ocfs2_super *osb)
static void ocfs2_release_system_inodes(struct ocfs2_super *osb)
struct ocfs2_super *osb = OCFS2_SB(sb);
static int ocfs2_verify_heartbeat(struct ocfs2_super *osb)
static int ocfs2_verify_userspace_stack(struct ocfs2_super *osb,
static int ocfs2_susp_quotas(struct ocfs2_super *osb, int unsuspend)
static int ocfs2_enable_quotas(struct ocfs2_super *osb)
static void ocfs2_disable_quotas(struct ocfs2_super *osb)
static void ocfs2_delete_osb(struct ocfs2_super *osb);
struct ocfs2_super *osb = NULL;
static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb,
static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb,
static struct inode **get_local_system_inode(struct ocfs2_super *osb,
struct inode *ocfs2_get_system_file_inode(struct ocfs2_super *osb,
struct inode * ocfs2_get_system_file_inode(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
static inline u16 ocfs2_xattr_buckets_per_cluster(struct ocfs2_super *osb)
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(dir->i_sb);
struct ocfs2_super *osb = OCFS2_SB(dir->i_sb);
static int ocfs2_reflink_lock_xattr_allocators(struct ocfs2_super *osb,
struct ocfs2_super *osb = OCFS2_SB(args->old_inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(args->new_inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(args->reflink->old_inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);