/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/ocfs2/ |
H A D | slot_map.h | 30 int ocfs2_init_slot_info(struct ocfs2_super *osb); 31 void ocfs2_free_slot_info(struct ocfs2_super *osb); 33 int ocfs2_find_slot(struct ocfs2_super *osb); 34 void ocfs2_put_slot(struct ocfs2_super *osb); 36 int ocfs2_refresh_slot_info(struct ocfs2_super *osb); 38 int ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num); 39 int ocfs2_slot_to_node_num_locked(struct ocfs2_super *osb, int slot_num, 42 int ocfs2_clear_slot(struct ocfs2_super *osb, int slot_num);
|
H A D | heartbeat.h | 29 void ocfs2_init_node_maps(struct ocfs2_super *osb); 35 void ocfs2_node_map_set_bit(struct ocfs2_super *osb, 38 void ocfs2_node_map_clear_bit(struct ocfs2_super *osb, 41 int ocfs2_node_map_test_bit(struct ocfs2_super *osb,
|
H A D | localalloc.h | 29 int ocfs2_load_local_alloc(struct ocfs2_super *osb); 31 void ocfs2_shutdown_local_alloc(struct ocfs2_super *osb); 33 void ocfs2_la_set_sizes(struct ocfs2_super *osb, int requested_mb); 34 unsigned int ocfs2_la_default_mb(struct ocfs2_super *osb); 36 int ocfs2_begin_local_alloc_recovery(struct ocfs2_super *osb, 40 int ocfs2_complete_local_alloc_recovery(struct ocfs2_super *osb, 43 int ocfs2_alloc_should_use_local(struct ocfs2_super *osb, 47 int ocfs2_reserve_local_alloc_bits(struct ocfs2_super *osb, 51 int ocfs2_claim_local_alloc_bits(struct ocfs2_super *osb, 58 void ocfs2_local_alloc_seen_free_bits(struct ocfs2_super *osb, [all...] |
H A D | heartbeat.c | 57 void ocfs2_init_node_maps(struct ocfs2_super *osb) argument 59 spin_lock_init(&osb->node_map_lock); 60 ocfs2_node_map_init(&osb->osb_recovering_orphan_dirs); 65 struct ocfs2_super *osb = data; local 67 BUG_ON(osb->node_num == node_num); 71 if (!osb->cconn) { 81 ocfs2_recovery_thread(osb, node_num); 90 void ocfs2_node_map_set_bit(struct ocfs2_super *osb, argument 97 spin_lock(&osb->node_map_lock); 99 spin_unlock(&osb 108 ocfs2_node_map_clear_bit(struct ocfs2_super *osb, struct ocfs2_node_map *map, int bit) argument 120 ocfs2_node_map_test_bit(struct ocfs2_super *osb, struct ocfs2_node_map *map, int bit) argument [all...] |
H A D | sysfile.h | 29 struct inode * ocfs2_get_system_file_inode(struct ocfs2_super *osb,
|
H A D | journal.c | 61 static int ocfs2_recover_node(struct ocfs2_super *osb, 64 static int ocfs2_commit_cache(struct ocfs2_super *osb); 65 static int __ocfs2_wait_on_mount(struct ocfs2_super *osb, int quota); 66 static int ocfs2_journal_toggle_dirty(struct ocfs2_super *osb, 68 static int ocfs2_trylock_journal(struct ocfs2_super *osb, 70 static int ocfs2_recover_orphans(struct ocfs2_super *osb, 79 static inline int ocfs2_wait_on_mount(struct ocfs2_super *osb) argument 81 return __ocfs2_wait_on_mount(osb, 0); 84 static inline int ocfs2_wait_on_quotas(struct ocfs2_super *osb) argument 86 return __ocfs2_wait_on_mount(osb, 106 ocfs2_replay_map_set_state(struct ocfs2_super *osb, int state) argument 118 ocfs2_compute_replay_slots(struct ocfs2_super *osb) argument 151 ocfs2_queue_replay_slots(struct ocfs2_super *osb) argument 169 ocfs2_free_replay_slots(struct ocfs2_super *osb) argument 180 ocfs2_recovery_init(struct ocfs2_super *osb) argument 207 ocfs2_recovery_thread_running(struct ocfs2_super *osb) argument 213 ocfs2_recovery_exit(struct ocfs2_super *osb) argument 238 __ocfs2_recovery_map_test(struct ocfs2_super *osb, unsigned int node_num) argument 255 ocfs2_recovery_map_set(struct ocfs2_super *osb, unsigned int node_num) argument 275 ocfs2_recovery_map_clear(struct ocfs2_super *osb, unsigned int node_num) argument 297 ocfs2_commit_cache(struct ocfs2_super *osb) argument 345 ocfs2_start_trans(struct ocfs2_super *osb, int max_buffs) argument 382 ocfs2_commit_trans(struct ocfs2_super *osb, handle_t *handle) argument 619 struct ocfs2_super *osb = local 752 ocfs2_set_journal_params(struct ocfs2_super *osb) argument 776 struct ocfs2_super *osb; local 877 ocfs2_journal_toggle_dirty(struct ocfs2_super *osb, int dirty, int replayed) argument 918 ocfs2_journal_shutdown(struct ocfs2_super *osb) argument 1026 struct ocfs2_super *osb; local 1093 ocfs2_recovery_completed(struct ocfs2_super *osb) argument 1105 ocfs2_wait_for_recovery(struct ocfs2_super *osb) argument 1192 struct ocfs2_super *osb = journal->j_osb; local 1303 ocfs2_complete_mount_recovery(struct ocfs2_super *osb) argument 1322 ocfs2_complete_quota_recovery(struct ocfs2_super *osb) argument 1337 struct ocfs2_super *osb = arg; local 1463 ocfs2_recovery_thread(struct ocfs2_super *osb, int node_num) argument 1496 ocfs2_read_journal_inode(struct ocfs2_super *osb, int slot_num, struct buffer_head **bh, struct inode **ret_inode) argument 1534 ocfs2_replay_journal(struct ocfs2_super *osb, int node_num, int slot_num) argument 1685 ocfs2_recover_node(struct ocfs2_super *osb, int node_num, int slot_num) argument 1746 ocfs2_trylock_journal(struct ocfs2_super *osb, int slot_num) argument 1786 ocfs2_mark_dead_nodes(struct ocfs2_super *osb) argument 1880 ocfs2_queue_orphan_scan(struct ocfs2_super *osb) argument 1927 struct ocfs2_super *osb; local 1941 ocfs2_orphan_scan_stop(struct ocfs2_super *osb) argument 1954 ocfs2_orphan_scan_init(struct ocfs2_super *osb) argument 1966 ocfs2_orphan_scan_start(struct ocfs2_super *osb) argument 1983 struct ocfs2_super *osb; member in struct:ocfs2_orphan_filldir_priv 2013 ocfs2_queue_orphans(struct ocfs2_super *osb, int slot, struct inode **head) argument 2058 ocfs2_orphan_recovery_can_continue(struct ocfs2_super *osb, int slot) argument 2069 ocfs2_mark_recovering_orphan_dir(struct ocfs2_super *osb, int slot) argument 2088 ocfs2_clear_recovering_orphan_dir(struct ocfs2_super *osb, int slot) argument 2112 ocfs2_recover_orphans(struct ocfs2_super *osb, int slot) argument 2157 __ocfs2_wait_on_mount(struct ocfs2_super *osb, int quota) argument 2181 struct ocfs2_super *osb = arg; local 2215 ocfs2_check_journals_nolocks(struct ocfs2_super *osb) argument [all...] |
H A D | super.c | 115 static void ocfs2_delete_osb(struct ocfs2_super *osb); 121 static int ocfs2_init_global_system_inodes(struct ocfs2_super *osb); 122 static int ocfs2_init_local_system_inodes(struct ocfs2_super *osb); 123 static void ocfs2_release_system_inodes(struct ocfs2_super *osb); 124 static int ocfs2_check_volume(struct ocfs2_super *osb); 139 static int ocfs2_susp_quotas(struct ocfs2_super *osb, int unsuspend); 140 static int ocfs2_enable_quotas(struct ocfs2_super *osb); 141 static void ocfs2_disable_quotas(struct ocfs2_super *osb); 214 static int ocfs2_osb_dump(struct ocfs2_super *osb, char *buf, int len) argument 216 struct ocfs2_cluster_connection *cconn = osb 343 struct ocfs2_super *osb = inode->i_private; local 398 struct ocfs2_super *osb = OCFS2_SB(sb); local 420 ocfs2_need_system_inode(struct ocfs2_super *osb, int ino) argument 433 ocfs2_init_global_system_inodes(struct ocfs2_super *osb) argument 479 ocfs2_init_local_system_inodes(struct ocfs2_super *osb) argument 509 ocfs2_release_system_inodes(struct ocfs2_super *osb) argument 609 struct ocfs2_super *osb = OCFS2_SB(sb); local 809 ocfs2_verify_heartbeat(struct ocfs2_super *osb) argument 844 ocfs2_verify_userspace_stack(struct ocfs2_super *osb, struct mount_options *mopt) argument 868 ocfs2_susp_quotas(struct ocfs2_super *osb, int unsuspend) argument 898 ocfs2_enable_quotas(struct ocfs2_super *osb) argument 936 ocfs2_disable_quotas(struct ocfs2_super *osb) argument 999 struct ocfs2_super *osb = NULL; local 1225 struct ocfs2_super *osb = OCFS2_SB(sb); local 1488 struct ocfs2_super *osb = OCFS2_SB(mnt->mnt_sb); local 1654 struct ocfs2_super *osb; local 1826 struct ocfs2_super *osb = OCFS2_SB(sb); local 1881 struct ocfs2_super *osb = NULL; local 1968 ocfs2_setup_osb_uuid(struct ocfs2_super *osb, const unsigned char *uuid, unsigned uuid_bytes) argument 2003 struct ocfs2_super *osb; local 2357 ocfs2_check_volume(struct ocfs2_super *osb) argument 2454 ocfs2_delete_osb(struct ocfs2_super *osb) argument 2478 struct ocfs2_super *osb = OCFS2_SB(sb); local [all...] |
H A D | localalloc.c | 53 static int ocfs2_local_alloc_find_clear_bits(struct ocfs2_super *osb, 60 static int ocfs2_sync_local_to_main(struct ocfs2_super *osb, 66 static int ocfs2_local_alloc_reserve_for_window(struct ocfs2_super *osb, 71 static int ocfs2_local_alloc_new_window(struct ocfs2_super *osb, 75 static int ocfs2_local_alloc_slide_window(struct ocfs2_super *osb, 117 unsigned int ocfs2_la_default_mb(struct ocfs2_super *osb) argument 123 struct super_block *sb = osb->sb; 125 gd_mb = ocfs2_clusters_to_megabytes(osb->sb, 126 8 * ocfs2_group_bitmap_size(sb, 0, osb->s_feature_incompat)); 133 if ((sb->s_blocksize == 512 && osb 195 ocfs2_la_set_sizes(struct ocfs2_super *osb, int requested_mb) argument 223 ocfs2_la_state_enabled(struct ocfs2_super *osb) argument 229 ocfs2_local_alloc_seen_free_bits(struct ocfs2_super *osb, unsigned int num_clusters) argument 244 struct ocfs2_super *osb = local 259 ocfs2_alloc_should_use_local(struct ocfs2_super *osb, u64 bits) argument 285 ocfs2_load_local_alloc(struct ocfs2_super *osb) argument 380 ocfs2_shutdown_local_alloc(struct ocfs2_super *osb) argument 496 ocfs2_begin_local_alloc_recovery(struct ocfs2_super *osb, int slot_num, struct ocfs2_dinode **alloc_copy) argument 565 ocfs2_complete_local_alloc_recovery(struct ocfs2_super *osb, struct ocfs2_dinode *alloc) argument 634 ocfs2_reserve_local_alloc_bits(struct ocfs2_super *osb, u32 bits_wanted, struct ocfs2_alloc_context *ac) argument 739 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) argument 812 ocfs2_local_alloc_find_clear_bits(struct ocfs2_super *osb, struct ocfs2_dinode *alloc, u32 *numbits, struct ocfs2_alloc_reservation *resv) argument 924 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) argument 1018 ocfs2_recalc_la_window(struct ocfs2_super *osb, enum ocfs2_la_event event) argument 1075 ocfs2_local_alloc_reserve_for_window(struct ocfs2_super *osb, struct ocfs2_alloc_context **ac, struct inode **bitmap_inode, struct buffer_head **bitmap_bh) argument 1124 ocfs2_local_alloc_new_window(struct ocfs2_super *osb, handle_t *handle, struct ocfs2_alloc_context *ac) argument 1217 ocfs2_local_alloc_slide_window(struct ocfs2_super *osb, struct inode *local_alloc_inode) argument [all...] |
H A D | slot_map.c | 134 int ocfs2_refresh_slot_info(struct ocfs2_super *osb) argument 137 struct ocfs2_slot_info *si = osb->slot_info; 156 spin_lock(&osb->osb_lock); 158 spin_unlock(&osb->osb_lock); 202 static int ocfs2_update_disk_slot(struct ocfs2_super *osb, argument 209 spin_lock(&osb->osb_lock); 214 spin_unlock(&osb->osb_lock); 216 status = ocfs2_write_block(osb, bh, INODE_CACHE(si->si_inode)); 227 static int ocfs2_slot_map_physical_size(struct ocfs2_super *osb, argument 233 if (ocfs2_uses_extended_slot_map(osb)) { 290 ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num) argument 302 ocfs2_slot_to_node_num_locked(struct ocfs2_super *osb, int slot_num, unsigned int *node_num) argument 341 ocfs2_clear_slot(struct ocfs2_super *osb, int slot_num) argument 355 ocfs2_map_slot_buffers(struct ocfs2_super *osb, struct ocfs2_slot_info *si) argument 421 ocfs2_init_slot_info(struct ocfs2_super *osb) argument 464 ocfs2_free_slot_info(struct ocfs2_super *osb) argument 472 ocfs2_find_slot(struct ocfs2_super *osb) argument 519 ocfs2_put_slot(struct ocfs2_super *osb) argument [all...] |
H A D | sysfile.c | 43 static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb, 48 static inline int is_in_system_inode_array(struct ocfs2_super *osb, 62 static inline int is_in_system_inode_array(struct ocfs2_super *osb, argument 66 return slot == osb->slot_num || is_global_system_inode(type); 69 struct inode *ocfs2_get_system_file_inode(struct ocfs2_super *osb, argument 77 if (is_in_system_inode_array(osb, type, slot)) 78 arr = &(osb->system_inodes[type]); 89 inode = _ocfs2_get_system_file_inode(osb, type, slot); 99 static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb, argument 112 status = ocfs2_lookup_ino_from_name(osb [all...] |
H A D | dlmglue.h | 90 int ocfs2_dlm_init(struct ocfs2_super *osb); 91 void ocfs2_dlm_shutdown(struct ocfs2_super *osb, int hangup_pending); 106 struct ocfs2_super *osb, u64 ref_blkno, 138 int ocfs2_super_lock(struct ocfs2_super *osb, 140 void ocfs2_super_unlock(struct ocfs2_super *osb, 142 int ocfs2_orphan_scan_lock(struct ocfs2_super *osb, u32 *seqno); 143 void ocfs2_orphan_scan_unlock(struct ocfs2_super *osb, u32 seqno); 145 int ocfs2_rename_lock(struct ocfs2_super *osb); 146 void ocfs2_rename_unlock(struct ocfs2_super *osb); 147 int ocfs2_nfs_sync_lock(struct ocfs2_super *osb, in [all...] |
H A D | journal.h | 148 static inline void ocfs2_ci_set_new(struct ocfs2_super *osb, argument 152 ci->ci_created_trans = osb->journal->j_trans_id; 157 void ocfs2_orphan_scan_init(struct ocfs2_super *osb); 158 void ocfs2_orphan_scan_start(struct ocfs2_super *osb); 159 void ocfs2_orphan_scan_stop(struct ocfs2_super *osb); 160 void ocfs2_orphan_scan_exit(struct ocfs2_super *osb); 163 void ocfs2_wait_for_recovery(struct ocfs2_super *osb); 165 int ocfs2_recovery_init(struct ocfs2_super *osb); 166 void ocfs2_recovery_exit(struct ocfs2_super *osb); 168 int ocfs2_compute_replay_slots(struct ocfs2_super *osb); 200 ocfs2_start_checkpoint(struct ocfs2_super *osb) argument 208 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local [all...] |
H A D | dcache.c | 49 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); local 61 BUG_ON(!osb); 63 if (inode == osb->root_inode || is_bad_inode(inode)) 325 static void __ocfs2_drop_dl_inodes(struct ocfs2_super *osb, int drop_count) argument 330 while (osb->dentry_lock_list && (drop_count < 0 || drop_count--)) { 331 dl = osb->dentry_lock_list; 332 osb->dentry_lock_list = dl->dl_next; 343 struct ocfs2_super *osb = container_of(work, struct ocfs2_super, local 346 __ocfs2_drop_dl_inodes(osb, DL_INODE_DROP_COUNT); 352 if (osb 359 ocfs2_drop_all_dl_inodes(struct ocfs2_super *osb) argument 385 ocfs2_drop_dentry_lock(struct ocfs2_super *osb, struct ocfs2_dentry_lock *dl) argument 402 ocfs2_dentry_lock_put(struct ocfs2_super *osb, struct ocfs2_dentry_lock *dl) argument 474 struct ocfs2_super *osb = OCFS2_SB(old_dir->i_sb); local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/ocfs2/ |
H A D | slot_map.h | 30 int ocfs2_init_slot_info(struct ocfs2_super *osb); 31 void ocfs2_free_slot_info(struct ocfs2_super *osb); 33 int ocfs2_find_slot(struct ocfs2_super *osb); 34 void ocfs2_put_slot(struct ocfs2_super *osb); 36 int ocfs2_refresh_slot_info(struct ocfs2_super *osb); 38 int ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num); 39 int ocfs2_slot_to_node_num_locked(struct ocfs2_super *osb, int slot_num, 42 int ocfs2_clear_slot(struct ocfs2_super *osb, int slot_num);
|
H A D | heartbeat.h | 29 void ocfs2_init_node_maps(struct ocfs2_super *osb); 35 void ocfs2_node_map_set_bit(struct ocfs2_super *osb, 38 void ocfs2_node_map_clear_bit(struct ocfs2_super *osb, 41 int ocfs2_node_map_test_bit(struct ocfs2_super *osb,
|
H A D | localalloc.h | 29 int ocfs2_load_local_alloc(struct ocfs2_super *osb); 31 void ocfs2_shutdown_local_alloc(struct ocfs2_super *osb); 33 void ocfs2_la_set_sizes(struct ocfs2_super *osb, int requested_mb); 34 unsigned int ocfs2_la_default_mb(struct ocfs2_super *osb); 36 int ocfs2_begin_local_alloc_recovery(struct ocfs2_super *osb, 40 int ocfs2_complete_local_alloc_recovery(struct ocfs2_super *osb, 43 int ocfs2_alloc_should_use_local(struct ocfs2_super *osb, 47 int ocfs2_reserve_local_alloc_bits(struct ocfs2_super *osb, 51 int ocfs2_claim_local_alloc_bits(struct ocfs2_super *osb, 58 void ocfs2_local_alloc_seen_free_bits(struct ocfs2_super *osb, [all...] |
H A D | heartbeat.c | 57 void ocfs2_init_node_maps(struct ocfs2_super *osb) argument 59 spin_lock_init(&osb->node_map_lock); 60 ocfs2_node_map_init(&osb->osb_recovering_orphan_dirs); 65 struct ocfs2_super *osb = data; local 67 BUG_ON(osb->node_num == node_num); 71 if (!osb->cconn) { 81 ocfs2_recovery_thread(osb, node_num); 90 void ocfs2_node_map_set_bit(struct ocfs2_super *osb, argument 97 spin_lock(&osb->node_map_lock); 99 spin_unlock(&osb 108 ocfs2_node_map_clear_bit(struct ocfs2_super *osb, struct ocfs2_node_map *map, int bit) argument 120 ocfs2_node_map_test_bit(struct ocfs2_super *osb, struct ocfs2_node_map *map, int bit) argument [all...] |
H A D | sysfile.h | 29 struct inode * ocfs2_get_system_file_inode(struct ocfs2_super *osb,
|
H A D | journal.c | 61 static int ocfs2_recover_node(struct ocfs2_super *osb, 64 static int ocfs2_commit_cache(struct ocfs2_super *osb); 65 static int __ocfs2_wait_on_mount(struct ocfs2_super *osb, int quota); 66 static int ocfs2_journal_toggle_dirty(struct ocfs2_super *osb, 68 static int ocfs2_trylock_journal(struct ocfs2_super *osb, 70 static int ocfs2_recover_orphans(struct ocfs2_super *osb, 79 static inline int ocfs2_wait_on_mount(struct ocfs2_super *osb) argument 81 return __ocfs2_wait_on_mount(osb, 0); 84 static inline int ocfs2_wait_on_quotas(struct ocfs2_super *osb) argument 86 return __ocfs2_wait_on_mount(osb, 106 ocfs2_replay_map_set_state(struct ocfs2_super *osb, int state) argument 118 ocfs2_compute_replay_slots(struct ocfs2_super *osb) argument 151 ocfs2_queue_replay_slots(struct ocfs2_super *osb) argument 169 ocfs2_free_replay_slots(struct ocfs2_super *osb) argument 180 ocfs2_recovery_init(struct ocfs2_super *osb) argument 207 ocfs2_recovery_thread_running(struct ocfs2_super *osb) argument 213 ocfs2_recovery_exit(struct ocfs2_super *osb) argument 238 __ocfs2_recovery_map_test(struct ocfs2_super *osb, unsigned int node_num) argument 255 ocfs2_recovery_map_set(struct ocfs2_super *osb, unsigned int node_num) argument 275 ocfs2_recovery_map_clear(struct ocfs2_super *osb, unsigned int node_num) argument 297 ocfs2_commit_cache(struct ocfs2_super *osb) argument 345 ocfs2_start_trans(struct ocfs2_super *osb, int max_buffs) argument 382 ocfs2_commit_trans(struct ocfs2_super *osb, handle_t *handle) argument 619 struct ocfs2_super *osb = local 752 ocfs2_set_journal_params(struct ocfs2_super *osb) argument 776 struct ocfs2_super *osb; local 877 ocfs2_journal_toggle_dirty(struct ocfs2_super *osb, int dirty, int replayed) argument 918 ocfs2_journal_shutdown(struct ocfs2_super *osb) argument 1026 struct ocfs2_super *osb; local 1093 ocfs2_recovery_completed(struct ocfs2_super *osb) argument 1105 ocfs2_wait_for_recovery(struct ocfs2_super *osb) argument 1192 struct ocfs2_super *osb = journal->j_osb; local 1303 ocfs2_complete_mount_recovery(struct ocfs2_super *osb) argument 1322 ocfs2_complete_quota_recovery(struct ocfs2_super *osb) argument 1337 struct ocfs2_super *osb = arg; local 1463 ocfs2_recovery_thread(struct ocfs2_super *osb, int node_num) argument 1496 ocfs2_read_journal_inode(struct ocfs2_super *osb, int slot_num, struct buffer_head **bh, struct inode **ret_inode) argument 1534 ocfs2_replay_journal(struct ocfs2_super *osb, int node_num, int slot_num) argument 1685 ocfs2_recover_node(struct ocfs2_super *osb, int node_num, int slot_num) argument 1746 ocfs2_trylock_journal(struct ocfs2_super *osb, int slot_num) argument 1786 ocfs2_mark_dead_nodes(struct ocfs2_super *osb) argument 1880 ocfs2_queue_orphan_scan(struct ocfs2_super *osb) argument 1927 struct ocfs2_super *osb; local 1941 ocfs2_orphan_scan_stop(struct ocfs2_super *osb) argument 1954 ocfs2_orphan_scan_init(struct ocfs2_super *osb) argument 1966 ocfs2_orphan_scan_start(struct ocfs2_super *osb) argument 1983 struct ocfs2_super *osb; member in struct:ocfs2_orphan_filldir_priv 2013 ocfs2_queue_orphans(struct ocfs2_super *osb, int slot, struct inode **head) argument 2058 ocfs2_orphan_recovery_can_continue(struct ocfs2_super *osb, int slot) argument 2069 ocfs2_mark_recovering_orphan_dir(struct ocfs2_super *osb, int slot) argument 2088 ocfs2_clear_recovering_orphan_dir(struct ocfs2_super *osb, int slot) argument 2112 ocfs2_recover_orphans(struct ocfs2_super *osb, int slot) argument 2157 __ocfs2_wait_on_mount(struct ocfs2_super *osb, int quota) argument 2181 struct ocfs2_super *osb = arg; local 2215 ocfs2_check_journals_nolocks(struct ocfs2_super *osb) argument [all...] |
H A D | super.c | 115 static void ocfs2_delete_osb(struct ocfs2_super *osb); 121 static int ocfs2_init_global_system_inodes(struct ocfs2_super *osb); 122 static int ocfs2_init_local_system_inodes(struct ocfs2_super *osb); 123 static void ocfs2_release_system_inodes(struct ocfs2_super *osb); 124 static int ocfs2_check_volume(struct ocfs2_super *osb); 139 static int ocfs2_susp_quotas(struct ocfs2_super *osb, int unsuspend); 140 static int ocfs2_enable_quotas(struct ocfs2_super *osb); 141 static void ocfs2_disable_quotas(struct ocfs2_super *osb); 214 static int ocfs2_osb_dump(struct ocfs2_super *osb, char *buf, int len) argument 216 struct ocfs2_cluster_connection *cconn = osb 343 struct ocfs2_super *osb = inode->i_private; local 398 struct ocfs2_super *osb = OCFS2_SB(sb); local 420 ocfs2_need_system_inode(struct ocfs2_super *osb, int ino) argument 433 ocfs2_init_global_system_inodes(struct ocfs2_super *osb) argument 479 ocfs2_init_local_system_inodes(struct ocfs2_super *osb) argument 509 ocfs2_release_system_inodes(struct ocfs2_super *osb) argument 609 struct ocfs2_super *osb = OCFS2_SB(sb); local 809 ocfs2_verify_heartbeat(struct ocfs2_super *osb) argument 844 ocfs2_verify_userspace_stack(struct ocfs2_super *osb, struct mount_options *mopt) argument 868 ocfs2_susp_quotas(struct ocfs2_super *osb, int unsuspend) argument 898 ocfs2_enable_quotas(struct ocfs2_super *osb) argument 936 ocfs2_disable_quotas(struct ocfs2_super *osb) argument 999 struct ocfs2_super *osb = NULL; local 1225 struct ocfs2_super *osb = OCFS2_SB(sb); local 1488 struct ocfs2_super *osb = OCFS2_SB(mnt->mnt_sb); local 1654 struct ocfs2_super *osb; local 1826 struct ocfs2_super *osb = OCFS2_SB(sb); local 1881 struct ocfs2_super *osb = NULL; local 1968 ocfs2_setup_osb_uuid(struct ocfs2_super *osb, const unsigned char *uuid, unsigned uuid_bytes) argument 2003 struct ocfs2_super *osb; local 2357 ocfs2_check_volume(struct ocfs2_super *osb) argument 2454 ocfs2_delete_osb(struct ocfs2_super *osb) argument 2478 struct ocfs2_super *osb = OCFS2_SB(sb); local [all...] |
H A D | localalloc.c | 53 static int ocfs2_local_alloc_find_clear_bits(struct ocfs2_super *osb, 60 static int ocfs2_sync_local_to_main(struct ocfs2_super *osb, 66 static int ocfs2_local_alloc_reserve_for_window(struct ocfs2_super *osb, 71 static int ocfs2_local_alloc_new_window(struct ocfs2_super *osb, 75 static int ocfs2_local_alloc_slide_window(struct ocfs2_super *osb, 117 unsigned int ocfs2_la_default_mb(struct ocfs2_super *osb) argument 123 struct super_block *sb = osb->sb; 125 gd_mb = ocfs2_clusters_to_megabytes(osb->sb, 126 8 * ocfs2_group_bitmap_size(sb, 0, osb->s_feature_incompat)); 133 if ((sb->s_blocksize == 512 && osb 195 ocfs2_la_set_sizes(struct ocfs2_super *osb, int requested_mb) argument 223 ocfs2_la_state_enabled(struct ocfs2_super *osb) argument 229 ocfs2_local_alloc_seen_free_bits(struct ocfs2_super *osb, unsigned int num_clusters) argument 244 struct ocfs2_super *osb = local 259 ocfs2_alloc_should_use_local(struct ocfs2_super *osb, u64 bits) argument 285 ocfs2_load_local_alloc(struct ocfs2_super *osb) argument 380 ocfs2_shutdown_local_alloc(struct ocfs2_super *osb) argument 496 ocfs2_begin_local_alloc_recovery(struct ocfs2_super *osb, int slot_num, struct ocfs2_dinode **alloc_copy) argument 565 ocfs2_complete_local_alloc_recovery(struct ocfs2_super *osb, struct ocfs2_dinode *alloc) argument 634 ocfs2_reserve_local_alloc_bits(struct ocfs2_super *osb, u32 bits_wanted, struct ocfs2_alloc_context *ac) argument 739 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) argument 812 ocfs2_local_alloc_find_clear_bits(struct ocfs2_super *osb, struct ocfs2_dinode *alloc, u32 *numbits, struct ocfs2_alloc_reservation *resv) argument 924 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) argument 1018 ocfs2_recalc_la_window(struct ocfs2_super *osb, enum ocfs2_la_event event) argument 1075 ocfs2_local_alloc_reserve_for_window(struct ocfs2_super *osb, struct ocfs2_alloc_context **ac, struct inode **bitmap_inode, struct buffer_head **bitmap_bh) argument 1124 ocfs2_local_alloc_new_window(struct ocfs2_super *osb, handle_t *handle, struct ocfs2_alloc_context *ac) argument 1217 ocfs2_local_alloc_slide_window(struct ocfs2_super *osb, struct inode *local_alloc_inode) argument [all...] |
H A D | slot_map.c | 134 int ocfs2_refresh_slot_info(struct ocfs2_super *osb) argument 137 struct ocfs2_slot_info *si = osb->slot_info; 156 spin_lock(&osb->osb_lock); 158 spin_unlock(&osb->osb_lock); 202 static int ocfs2_update_disk_slot(struct ocfs2_super *osb, argument 209 spin_lock(&osb->osb_lock); 214 spin_unlock(&osb->osb_lock); 216 status = ocfs2_write_block(osb, bh, INODE_CACHE(si->si_inode)); 227 static int ocfs2_slot_map_physical_size(struct ocfs2_super *osb, argument 233 if (ocfs2_uses_extended_slot_map(osb)) { 290 ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num) argument 302 ocfs2_slot_to_node_num_locked(struct ocfs2_super *osb, int slot_num, unsigned int *node_num) argument 341 ocfs2_clear_slot(struct ocfs2_super *osb, int slot_num) argument 355 ocfs2_map_slot_buffers(struct ocfs2_super *osb, struct ocfs2_slot_info *si) argument 421 ocfs2_init_slot_info(struct ocfs2_super *osb) argument 464 ocfs2_free_slot_info(struct ocfs2_super *osb) argument 472 ocfs2_find_slot(struct ocfs2_super *osb) argument 519 ocfs2_put_slot(struct ocfs2_super *osb) argument [all...] |
H A D | sysfile.c | 43 static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb, 48 static inline int is_in_system_inode_array(struct ocfs2_super *osb, 62 static inline int is_in_system_inode_array(struct ocfs2_super *osb, argument 66 return slot == osb->slot_num || is_global_system_inode(type); 69 struct inode *ocfs2_get_system_file_inode(struct ocfs2_super *osb, argument 77 if (is_in_system_inode_array(osb, type, slot)) 78 arr = &(osb->system_inodes[type]); 89 inode = _ocfs2_get_system_file_inode(osb, type, slot); 99 static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb, argument 112 status = ocfs2_lookup_ino_from_name(osb [all...] |
H A D | dlmglue.h | 90 int ocfs2_dlm_init(struct ocfs2_super *osb); 91 void ocfs2_dlm_shutdown(struct ocfs2_super *osb, int hangup_pending); 106 struct ocfs2_super *osb, u64 ref_blkno, 138 int ocfs2_super_lock(struct ocfs2_super *osb, 140 void ocfs2_super_unlock(struct ocfs2_super *osb, 142 int ocfs2_orphan_scan_lock(struct ocfs2_super *osb, u32 *seqno); 143 void ocfs2_orphan_scan_unlock(struct ocfs2_super *osb, u32 seqno); 145 int ocfs2_rename_lock(struct ocfs2_super *osb); 146 void ocfs2_rename_unlock(struct ocfs2_super *osb); 147 int ocfs2_nfs_sync_lock(struct ocfs2_super *osb, in [all...] |
H A D | journal.h | 148 static inline void ocfs2_ci_set_new(struct ocfs2_super *osb, argument 152 ci->ci_created_trans = osb->journal->j_trans_id; 157 void ocfs2_orphan_scan_init(struct ocfs2_super *osb); 158 void ocfs2_orphan_scan_start(struct ocfs2_super *osb); 159 void ocfs2_orphan_scan_stop(struct ocfs2_super *osb); 160 void ocfs2_orphan_scan_exit(struct ocfs2_super *osb); 163 void ocfs2_wait_for_recovery(struct ocfs2_super *osb); 165 int ocfs2_recovery_init(struct ocfs2_super *osb); 166 void ocfs2_recovery_exit(struct ocfs2_super *osb); 168 int ocfs2_compute_replay_slots(struct ocfs2_super *osb); 200 ocfs2_start_checkpoint(struct ocfs2_super *osb) argument 208 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local [all...] |