/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ocfs2/ |
H A D | vote.h | 31 static inline void ocfs2_kick_vote_thread(struct ocfs2_super *osb) argument 33 spin_lock(&osb->vote_task_lock); 36 osb->vote_wake_sequence++; 37 spin_unlock(&osb->vote_task_lock); 38 wake_up(&osb->vote_event); 41 int ocfs2_request_mount_vote(struct ocfs2_super *osb); 42 int ocfs2_request_umount_vote(struct ocfs2_super *osb); 43 int ocfs2_register_net_handlers(struct ocfs2_super *osb); 44 void ocfs2_unregister_net_handlers(struct ocfs2_super *osb); 46 void ocfs2_remove_node_from_vote_queues(struct ocfs2_super *osb, [all...] |
H A D | heartbeat.h | 29 void ocfs2_init_node_maps(struct ocfs2_super *osb); 31 void ocfs2_setup_hb_callbacks(struct ocfs2_super *osb); 32 int ocfs2_register_hb_callbacks(struct ocfs2_super *osb); 33 void ocfs2_clear_hb_callbacks(struct ocfs2_super *osb); 34 void ocfs2_stop_heartbeat(struct ocfs2_super *osb); 39 int ocfs2_node_map_is_empty(struct ocfs2_super *osb, 41 void ocfs2_node_map_set_bit(struct ocfs2_super *osb, 44 void ocfs2_node_map_clear_bit(struct ocfs2_super *osb, 47 int ocfs2_node_map_test_bit(struct ocfs2_super *osb, 50 int ocfs2_node_map_iterate(struct ocfs2_super *osb, 53 ocfs2_node_map_first_set_bit(struct ocfs2_super *osb, struct ocfs2_node_map *map) argument [all...] |
H A D | heartbeat.c | 64 void ocfs2_init_node_maps(struct ocfs2_super *osb) argument 66 spin_lock_init(&osb->node_map_lock); 67 ocfs2_node_map_init(&osb->mounted_map); 68 ocfs2_node_map_init(&osb->recovery_map); 69 ocfs2_node_map_init(&osb->umount_map); 70 ocfs2_node_map_init(&osb->osb_recovering_orphan_dirs); 74 struct ocfs2_super *osb) 76 BUG_ON(osb->node_num == node_num); 80 if (!osb->dlm) { 90 if (ocfs2_node_map_test_bit(osb, 73 ocfs2_do_node_down(int node_num, struct ocfs2_super *osb) argument 115 struct ocfs2_super *osb = (struct ocfs2_super *) data; local 128 struct ocfs2_super *osb = data; local 136 ocfs2_setup_hb_callbacks(struct ocfs2_super *osb) argument 153 ocfs2_register_hb_callbacks(struct ocfs2_super *osb) argument 176 ocfs2_clear_hb_callbacks(struct ocfs2_super *osb) argument 185 ocfs2_stop_heartbeat(struct ocfs2_super *osb) argument 232 ocfs2_node_map_set_bit(struct ocfs2_super *osb, struct ocfs2_node_map *map, int bit) argument 250 ocfs2_node_map_clear_bit(struct ocfs2_super *osb, struct ocfs2_node_map *map, int bit) argument 262 ocfs2_node_map_test_bit(struct ocfs2_super *osb, struct ocfs2_node_map *map, int bit) argument 286 ocfs2_node_map_is_empty(struct ocfs2_super *osb, struct ocfs2_node_map *map) argument 306 ocfs2_node_map_is_only(struct ocfs2_super *osb, struct ocfs2_node_map *target, int bit) argument 337 ocfs2_recovery_map_set(struct ocfs2_super *osb, int num) argument 356 ocfs2_recovery_map_clear(struct ocfs2_super *osb, int num) argument 362 ocfs2_node_map_iterate(struct ocfs2_super *osb, struct ocfs2_node_map *map, int idx) argument [all...] |
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 int ocfs2_begin_local_alloc_recovery(struct ocfs2_super *osb, 37 int ocfs2_complete_local_alloc_recovery(struct ocfs2_super *osb, 40 int ocfs2_alloc_should_use_local(struct ocfs2_super *osb, 44 int ocfs2_reserve_local_alloc_bits(struct ocfs2_super *osb, 48 int ocfs2_claim_local_alloc_bits(struct ocfs2_super *osb,
|
H A D | vote.c | 120 static void ocfs2_process_mount_request(struct ocfs2_super *osb, argument 127 ocfs2_recovery_map_clear(osb, node_num); 128 ocfs2_node_map_set_bit(osb, &osb->mounted_map, node_num); 133 ocfs2_node_map_clear_bit(osb, &osb->umount_map, node_num); 136 static void ocfs2_process_umount_request(struct ocfs2_super *osb, argument 140 ocfs2_node_map_clear_bit(osb, &osb->mounted_map, node_num); 141 ocfs2_node_map_set_bit(osb, 144 ocfs2_process_vote(struct ocfs2_super *osb, struct ocfs2_vote_msg *msg) argument 209 ocfs2_vote_thread_do_work(struct ocfs2_super *osb) argument 258 ocfs2_vote_thread_lists_empty(struct ocfs2_super *osb) argument 271 ocfs2_vote_thread_should_wake(struct ocfs2_super *osb) argument 286 struct ocfs2_super *osb = arg; local 325 ocfs2_new_response_id(struct ocfs2_super *osb) argument 336 ocfs2_dequeue_net_wait_ctxt(struct ocfs2_super *osb, struct ocfs2_net_wait_ctxt *w) argument 344 ocfs2_queue_net_wait_ctxt(struct ocfs2_super *osb, struct ocfs2_net_wait_ctxt *w) argument 353 __ocfs2_mark_node_responded(struct ocfs2_super *osb, struct ocfs2_net_wait_ctxt *w, int node_num) argument 366 ocfs2_remove_node_from_vote_queues(struct ocfs2_super *osb, int node_num) argument 383 ocfs2_broadcast_vote(struct ocfs2_super *osb, struct ocfs2_vote_msg *request, unsigned int response_id, int *response, struct ocfs2_net_response_cb *callback) argument 462 ocfs2_new_vote_request(struct ocfs2_super *osb, u64 blkno, unsigned int generation, enum ocfs2_vote_request type) argument 488 ocfs2_do_request_vote(struct ocfs2_super *osb, struct ocfs2_vote_msg *request, struct ocfs2_net_response_cb *callback) argument 514 ocfs2_request_mount_vote(struct ocfs2_super *osb) argument 547 ocfs2_request_umount_vote(struct ocfs2_super *osb) argument 578 __ocfs2_find_net_wait_ctxt(struct ocfs2_super *osb, u32 response_id) argument 621 struct ocfs2_super *osb = data; local 676 struct ocfs2_super *osb = data; local 712 ocfs2_unregister_net_handlers(struct ocfs2_super *osb) argument 725 ocfs2_register_net_handlers(struct ocfs2_super *osb) argument [all...] |
H A D | super.c | 92 static void ocfs2_delete_osb(struct ocfs2_super *osb); 98 static int ocfs2_init_global_system_inodes(struct ocfs2_super *osb); 99 static int ocfs2_init_local_system_inodes(struct ocfs2_super *osb); 100 static int ocfs2_release_system_inodes(struct ocfs2_super *osb); 101 static int ocfs2_fill_local_node_info(struct ocfs2_super *osb); 102 static int ocfs2_check_volume(struct ocfs2_super *osb); 174 struct ocfs2_super *osb = OCFS2_SB(sb); local 178 if (ocfs2_is_hard_readonly(osb)) 182 status = ocfs2_flush_truncate_log(osb); 186 ocfs2_schedule_truncate_log_flush(osb, 197 ocfs2_init_global_system_inodes(struct ocfs2_super *osb) argument 241 ocfs2_init_local_system_inodes(struct ocfs2_super *osb) argument 269 ocfs2_release_system_inodes(struct ocfs2_super *osb) argument 357 struct ocfs2_super *osb = OCFS2_SB(sb); local 510 ocfs2_verify_heartbeat(struct ocfs2_super *osb) argument 537 struct ocfs2_super *osb = NULL; local 733 struct ocfs2_super * osb = OCFS2_SB(sb); local 878 struct ocfs2_super *osb; local 1011 ocfs2_fill_local_node_info(struct ocfs2_super *osb) argument 1037 struct ocfs2_super *osb = OCFS2_SB(sb); local 1127 ocfs2_recovery_thread_running(struct ocfs2_super *osb) argument 1136 struct ocfs2_super *osb = NULL; local 1215 ocfs2_setup_osb_uuid(struct ocfs2_super *osb, const unsigned char *uuid, unsigned uuid_bytes) argument 1250 struct ocfs2_super *osb; local 1554 ocfs2_check_volume(struct ocfs2_super *osb) argument 1641 ocfs2_delete_osb(struct ocfs2_super *osb) argument 1665 struct ocfs2_super *osb = OCFS2_SB(sb); local [all...] |
H A D | sysfile.h | 29 struct inode * ocfs2_get_system_file_inode(struct ocfs2_super *osb,
|
H A D | journal.c | 55 static int ocfs2_recover_node(struct ocfs2_super *osb, 58 static int ocfs2_commit_cache(struct ocfs2_super *osb); 59 static int ocfs2_wait_on_mount(struct ocfs2_super *osb); 60 static int ocfs2_journal_toggle_dirty(struct ocfs2_super *osb, 62 static int ocfs2_trylock_journal(struct ocfs2_super *osb, 64 static int ocfs2_recover_orphans(struct ocfs2_super *osb, 68 static int ocfs2_commit_cache(struct ocfs2_super *osb) argument 77 journal = osb->journal; 106 ocfs2_kick_vote_thread(osb); 116 handle_t *ocfs2_start_trans(struct ocfs2_super *osb, in argument 155 ocfs2_commit_trans(struct ocfs2_super *osb, handle_t *handle) argument 309 ocfs2_set_journal_params(struct ocfs2_super *osb) argument 329 struct ocfs2_super *osb; local 421 ocfs2_journal_toggle_dirty(struct ocfs2_super *osb, int dirty) argument 465 ocfs2_journal_shutdown(struct ocfs2_super *osb) argument 572 struct ocfs2_super *osb; local 723 struct ocfs2_super *osb = journal->j_osb; local 818 ocfs2_complete_mount_recovery(struct ocfs2_super *osb) argument 839 struct ocfs2_super *osb = arg; local 905 ocfs2_recovery_thread(struct ocfs2_super *osb, int node_num) argument 940 ocfs2_replay_journal(struct ocfs2_super *osb, int node_num, int slot_num) argument 1066 ocfs2_recover_node(struct ocfs2_super *osb, int node_num) argument 1134 ocfs2_trylock_journal(struct ocfs2_super *osb, int slot_num) argument 1174 ocfs2_mark_dead_nodes(struct ocfs2_super *osb) argument 1218 ocfs2_queue_orphans(struct ocfs2_super *osb, int slot, struct inode **head) argument 1324 ocfs2_orphan_recovery_can_continue(struct ocfs2_super *osb, int slot) argument 1335 ocfs2_mark_recovering_orphan_dir(struct ocfs2_super *osb, int slot) argument 1354 ocfs2_clear_recovering_orphan_dir(struct ocfs2_super *osb, int slot) argument 1378 ocfs2_recover_orphans(struct ocfs2_super *osb, int slot) argument 1423 ocfs2_wait_on_mount(struct ocfs2_super *osb) argument 1446 struct ocfs2_super *osb = arg; local 1478 ocfs2_check_journals_nolocks(struct ocfs2_super *osb) argument [all...] |
H A D | alloc.h | 30 int ocfs2_insert_extent(struct ocfs2_super *osb, 38 int ocfs2_num_free_extents(struct ocfs2_super *osb, 55 int ocfs2_truncate_log_init(struct ocfs2_super *osb); 56 void ocfs2_truncate_log_shutdown(struct ocfs2_super *osb); 57 void ocfs2_schedule_truncate_log_flush(struct ocfs2_super *osb, 59 int ocfs2_flush_truncate_log(struct ocfs2_super *osb); 60 int ocfs2_begin_truncate_log_recovery(struct ocfs2_super *osb, 63 int ocfs2_complete_truncate_log_recovery(struct ocfs2_super *osb, 76 int ocfs2_prepare_truncate(struct ocfs2_super *osb, 80 int ocfs2_commit_truncate(struct ocfs2_super *osb, [all...] |
H A D | suballoc.h | 61 int ocfs2_reserve_new_metadata(struct ocfs2_super *osb, 64 int ocfs2_reserve_new_inode(struct ocfs2_super *osb, 66 int ocfs2_reserve_clusters(struct ocfs2_super *osb, 70 int ocfs2_claim_metadata(struct ocfs2_super *osb, 77 int ocfs2_claim_new_inode(struct ocfs2_super *osb, 82 int ocfs2_claim_clusters(struct ocfs2_super *osb, 103 static inline u32 ocfs2_cluster_from_desc(struct ocfs2_super *osb, argument 110 if (bg_blkno == osb->first_cluster_group_blkno) 116 return ocfs2_blocks_to_clusters(osb->sb, bg_blkno); 121 struct ocfs2_super *osb local [all...] |
H A D | sysfile.c | 44 static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb, 49 static inline int is_in_system_inode_array(struct ocfs2_super *osb, 59 static inline int is_in_system_inode_array(struct ocfs2_super *osb, argument 63 return slot == osb->slot_num || is_global_system_inode(type); 66 struct inode *ocfs2_get_system_file_inode(struct ocfs2_super *osb, argument 74 if (is_in_system_inode_array(osb, type, slot)) 75 arr = &(osb->system_inodes[type]); 86 inode = _ocfs2_get_system_file_inode(osb, type, slot); 96 static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb, argument 112 &blkno, osb [all...] |
H A D | buffer_head_io.h | 34 static inline int ocfs2_read_block(struct ocfs2_super *osb, 40 int ocfs2_write_block(struct ocfs2_super *osb, 43 int ocfs2_read_blocks(struct ocfs2_super *osb, 54 static inline int ocfs2_read_block(struct ocfs2_super * osb, u64 off, argument 66 status = ocfs2_read_blocks(osb, off, 1, bh,
|
H A D | slot_map.h | 40 int ocfs2_init_slot_info(struct ocfs2_super *osb); 43 int ocfs2_find_slot(struct ocfs2_super *osb); 44 void ocfs2_put_slot(struct ocfs2_super *osb); 47 int ocfs2_update_disk_slots(struct ocfs2_super *osb, 55 void ocfs2_populate_mounted_map(struct ocfs2_super *osb);
|
H A D | slot_map.c | 55 void ocfs2_populate_mounted_map(struct ocfs2_super *osb) argument 58 struct ocfs2_slot_info *si = osb->slot_info; 64 ocfs2_node_map_set_bit(osb, &osb->mounted_map, 89 int ocfs2_update_disk_slots(struct ocfs2_super *osb, argument 100 status = ocfs2_write_block(osb, si->si_bh, si->si_inode); 169 int ocfs2_init_slot_info(struct ocfs2_super *osb) argument 185 si->si_num_slots = osb->max_slots; 191 inode = ocfs2_get_system_file_inode(osb, SLOT_MAP_SYSTEM_INODE, 205 status = ocfs2_read_block(osb, blkn 230 ocfs2_find_slot(struct ocfs2_super *osb) argument 277 ocfs2_put_slot(struct ocfs2_super *osb) argument [all...] |
H A D | localalloc.c | 50 static inline int ocfs2_local_alloc_window_bits(struct ocfs2_super *osb); 54 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, 85 static inline int ocfs2_local_alloc_window_bits(struct ocfs2_super *osb) argument 87 BUG_ON(osb->s_clustersize_bits < 12); 89 return 2048 >> (osb->s_clustersize_bits - 12); 96 int ocfs2_alloc_should_use_local(struct ocfs2_super *osb, u6 argument 113 ocfs2_load_local_alloc(struct ocfs2_super *osb) argument 195 ocfs2_shutdown_local_alloc(struct ocfs2_super *osb) argument 312 ocfs2_begin_local_alloc_recovery(struct ocfs2_super *osb, int slot_num, struct ocfs2_dinode **alloc_copy) argument 381 ocfs2_complete_local_alloc_recovery(struct ocfs2_super *osb, struct ocfs2_dinode *alloc) argument 449 ocfs2_reserve_local_alloc_bits(struct ocfs2_super *osb, u32 bits_wanted, struct ocfs2_alloc_context *ac) argument 524 ocfs2_claim_local_alloc_bits(struct ocfs2_super *osb, handle_t *handle, struct ocfs2_alloc_context *ac, u32 min_bits, u32 *bit_off, u32 *num_bits) argument 603 ocfs2_local_alloc_find_clear_bits(struct ocfs2_super *osb, struct ocfs2_dinode *alloc, u32 numbits) argument 684 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 755 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 796 ocfs2_local_alloc_new_window(struct ocfs2_super *osb, handle_t *handle, struct ocfs2_alloc_context *ac) argument 858 ocfs2_local_alloc_slide_window(struct ocfs2_super *osb, struct inode *local_alloc_inode) argument [all...] |
H A D | dlmglue.h | 60 int ocfs2_dlm_init(struct ocfs2_super *osb); 61 void ocfs2_dlm_shutdown(struct ocfs2_super *osb); 102 int ocfs2_super_lock(struct ocfs2_super *osb, 104 void ocfs2_super_unlock(struct ocfs2_super *osb, 106 int ocfs2_rename_lock(struct ocfs2_super *osb); 107 void ocfs2_rename_unlock(struct ocfs2_super *osb); 112 void ocfs2_simple_drop_lockres(struct ocfs2_super *osb, 116 void ocfs2_process_blocked_lock(struct ocfs2_super *osb,
|
H A D | journal.h | 127 static inline void ocfs2_inode_set_new(struct ocfs2_super *osb, argument 131 OCFS2_I(inode)->ip_created_trans = osb->journal->j_trans_id; 149 * ocfs2_recovery_thread - Perform recovery on a node. osb is our own osb. 154 void ocfs2_set_journal_params(struct ocfs2_super *osb); 157 void ocfs2_journal_shutdown(struct ocfs2_super *osb); 161 int ocfs2_check_journals_nolocks(struct ocfs2_super *osb); 162 void ocfs2_recovery_thread(struct ocfs2_super *osb, 164 int ocfs2_mark_dead_nodes(struct ocfs2_super *osb); 165 void ocfs2_complete_mount_recovery(struct ocfs2_super *osb); 167 ocfs2_start_checkpoint(struct ocfs2_super *osb) argument 175 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local [all...] |
H A D | ocfs2.h | 211 * osb as it's very short lived. */ 301 static inline int ocfs2_sparse_alloc(struct ocfs2_super *osb) argument 303 if (osb->s_feature_incompat & OCFS2_FEATURE_INCOMPAT_SPARSE_ALLOC) 312 static inline void ocfs2_set_osb_flag(struct ocfs2_super *osb, argument 315 spin_lock(&osb->osb_lock); 316 osb->osb_flags |= flag; 317 spin_unlock(&osb->osb_lock); 320 static inline void ocfs2_set_ro_flag(struct ocfs2_super *osb, argument 323 spin_lock(&osb->osb_lock); 324 osb 332 ocfs2_is_hard_readonly(struct ocfs2_super *osb) argument 343 ocfs2_is_soft_readonly(struct ocfs2_super *osb) argument 354 ocfs2_mount_local(struct ocfs2_super *osb) argument [all...] |
H A D | dlmglue.c | 103 static void ocfs2_dentry_post_unlock(struct ocfs2_super *osb, 291 static int ocfs2_lock_create(struct ocfs2_super *osb, 297 static void ocfs2_cluster_unlock(struct ocfs2_super *osb, 304 static void ocfs2_schedule_blocked_lock(struct ocfs2_super *osb, 313 static void ocfs2_vote_on_unlock(struct ocfs2_super *osb, 317 static void ocfs2_drop_osb_locks(struct ocfs2_super *osb); 362 static void ocfs2_lock_res_init_common(struct ocfs2_super *osb, argument 380 ocfs2_add_lockres_tracking(res, osb->osb_dlm_debug); 489 struct ocfs2_super *osb) 496 ocfs2_lock_res_init_common(osb, re 488 ocfs2_super_lock_res_init(struct ocfs2_lock_res *res, struct ocfs2_super *osb) argument 500 ocfs2_rename_lock_res_init(struct ocfs2_lock_res *res, struct ocfs2_super *osb) argument 719 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres); local 804 ocfs2_lock_create(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int level, int dlm_flags) argument 940 ocfs2_cluster_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int level, int lkm_flags, int arg_flags) argument 1082 ocfs2_cluster_unlock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int level) argument 1096 ocfs2_create_new_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int ex, int local) argument 1122 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1176 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1206 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1227 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1255 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1292 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1319 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1374 ocfs2_vote_on_unlock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) argument 1410 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1611 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1728 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1913 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1928 ocfs2_super_lock(struct ocfs2_super *osb, int ex) argument 1977 ocfs2_super_unlock(struct ocfs2_super *osb, int ex) argument 1987 ocfs2_rename_lock(struct ocfs2_super *osb) argument 2005 ocfs2_rename_unlock(struct ocfs2_super *osb) argument 2018 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); local 2039 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); local 2234 struct ocfs2_super *osb; local 2271 ocfs2_dlm_init_debug(struct ocfs2_super *osb) argument 2293 ocfs2_dlm_shutdown_debug(struct ocfs2_super *osb) argument 2303 ocfs2_dlm_init(struct ocfs2_super *osb) argument 2361 ocfs2_dlm_shutdown(struct ocfs2_super *osb) argument 2441 ocfs2_drop_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) argument 2553 ocfs2_simple_drop_lockres(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) argument 2564 ocfs2_drop_osb_locks(struct ocfs2_super *osb) argument 2632 ocfs2_downconvert_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int new_level, int lvb) argument 2668 ocfs2_prepare_cancel_convert(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) argument 2699 ocfs2_cancel_convert(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) argument 2726 ocfs2_unblock_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, struct ocfs2_unblock_ctl *ctl) argument 2903 ocfs2_dentry_post_unlock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) argument 3020 ocfs2_process_blocked_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) argument 3070 ocfs2_schedule_blocked_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) argument [all...] |
H A D | inode.c | 67 static int ocfs2_truncate_for_delete(struct ocfs2_super *osb, 110 struct inode *ocfs2_iget(struct ocfs2_super *osb, u64 blkno, int flags) argument 113 struct super_block *sb = osb->sb; 213 struct ocfs2_super *osb; local 220 osb = OCFS2_SB(sb); 234 if (le32_to_cpu(fe->i_fs_generation) != osb->fs_generation) { 236 "superblock! osb->fs_generation=%x, " 238 osb->fs_generation, le32_to_cpu(fe->i_fs_generation)); 351 struct ocfs2_super *osb; local 365 osb 503 ocfs2_truncate_for_delete(struct ocfs2_super *osb, struct inode *inode, struct buffer_head *fe_bh) argument 571 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 648 ocfs2_check_orphan_recovery_state(struct ocfs2_super *osb, int slot) argument 668 ocfs2_signal_wipe_completion(struct ocfs2_super *osb, int slot) argument 684 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 747 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local [all...] |
H A D | namei.c | 90 static int ocfs2_mknod_locked(struct ocfs2_super *osb, 100 static int ocfs2_fill_new_dir(struct ocfs2_super *osb, 107 static int ocfs2_prepare_orphan_dir(struct ocfs2_super *osb, 113 static int ocfs2_orphan_add(struct ocfs2_super *osb, 121 static int ocfs2_create_symlink_data(struct ocfs2_super *osb, 235 static int ocfs2_fill_new_dir(struct ocfs2_super *osb, argument 248 status = ocfs2_do_extend_dir(osb->sb, handle, inode, fe_bh, 263 memset(new_bh->b_data, 0, osb->sb->s_blocksize); 312 struct ocfs2_super *osb; local 325 osb 470 ocfs2_mknod_locked(struct ocfs2_super *osb, struct inode *dir, struct dentry *dentry, int mode, dev_t dev, struct buffer_head **new_fe_bh, struct buffer_head *parent_fe_bh, handle_t *handle, struct inode **ret_inode, struct ocfs2_alloc_context *inode_ac) argument 652 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); local 805 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); local 981 ocfs2_double_lock(struct ocfs2_super *osb, struct buffer_head **bh1, struct inode *inode1, struct buffer_head **bh2, struct inode *inode2) argument 1072 struct ocfs2_super *osb = NULL; local 1479 ocfs2_create_symlink_data(struct ocfs2_super *osb, handle_t *handle, struct inode *inode, const char *symname) argument 1586 struct ocfs2_super *osb = NULL; local 2110 ocfs2_prepare_orphan_dir(struct ocfs2_super *osb, struct inode **ret_orphan_dir, struct inode *inode, char *name, struct buffer_head **de_bh) argument 2168 ocfs2_orphan_add(struct ocfs2_super *osb, handle_t *handle, struct inode *inode, struct ocfs2_dinode *fe, char *name, struct buffer_head *de_bh, struct inode *orphan_dir_inode) argument 2239 ocfs2_orphan_del(struct ocfs2_super *osb, handle_t *handle, struct inode *orphan_dir_inode, struct inode *inode, struct buffer_head *orphan_dir_bh) argument [all...] |
H A D | buffer_head_io.c | 42 int ocfs2_write_block(struct ocfs2_super *osb, struct buffer_head *bh, argument 56 if (ocfs2_is_hard_readonly(osb)) { 91 int ocfs2_read_blocks(struct ocfs2_super *osb, u64 block, int nr, argument 106 if (osb == NULL || osb->sb == NULL || bhs == NULL) { 125 sb = osb->sb;
|
H A D | mmap.c | 86 struct ocfs2_super *osb = OCFS2_SB(file->f_dentry->d_inode->i_sb); local 92 if ((!ocfs2_mount_local(osb) || ocfs2_sparse_alloc(osb)) &&
|
H A D | dcache.h | 47 void ocfs2_dentry_lock_put(struct ocfs2_super *osb,
|
H A D | dir.h | 40 int ocfs2_prepare_dir_for_insert(struct ocfs2_super *osb,
|