Searched refs:osb (Results 1 - 25 of 37) sorted by last modified time

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ocfs2/
H A Dalloc.c291 int ocfs2_num_free_extents(struct ocfs2_super *osb, argument
309 retval = ocfs2_read_block(osb, le64_to_cpu(fe->i_last_eb_blk),
336 static int ocfs2_create_new_meta_bhs(struct ocfs2_super *osb, argument
353 status = ocfs2_claim_metadata(osb,
366 bhs[i] = sb_getblk(osb->sb, first_blkno);
381 memset(bhs[i]->b_data, 0, osb->sb->s_blocksize);
386 eb->h_fs_generation = cpu_to_le32(osb->fs_generation);
392 eb->h_suballoc_slot = cpu_to_le16(osb->slot_num);
396 cpu_to_le16(ocfs2_extent_recs_per_eb(osb->sb));
459 static int ocfs2_add_branch(struct ocfs2_super *osb, argument
637 ocfs2_shift_tree_depth(struct ocfs2_super *osb, handle_t *handle, struct inode *inode, struct buffer_head *fe_bh, struct ocfs2_alloc_context *meta_ac, struct buffer_head **ret_new_eb_bh) argument
748 ocfs2_find_branch_target(struct ocfs2_super *osb, struct inode *inode, struct buffer_head *fe_bh, struct buffer_head **target_bh) argument
2297 ocfs2_insert_extent(struct ocfs2_super *osb, handle_t *handle, struct inode *inode, struct buffer_head *fe_bh, u32 cpos, u64 start_blk, u32 new_clusters, struct ocfs2_alloc_context *meta_ac) argument
2408 ocfs2_truncate_log_needs_flush(struct ocfs2_super *osb) argument
2441 ocfs2_truncate_log_append(struct ocfs2_super *osb, handle_t *handle, u64 start_blk, unsigned int num_clusters) argument
2524 ocfs2_replay_truncate_records(struct ocfs2_super *osb, handle_t *handle, struct inode *data_alloc_inode, struct buffer_head *data_alloc_bh) argument
2600 __ocfs2_flush_truncate_log(struct ocfs2_super *osb) argument
2676 ocfs2_flush_truncate_log(struct ocfs2_super *osb) argument
2691 struct ocfs2_super *osb = local
2705 ocfs2_schedule_truncate_log_flush(struct ocfs2_super *osb, int cancel) argument
2719 ocfs2_get_truncate_log_info(struct ocfs2_super *osb, int slot_num, struct inode **tl_inode, struct buffer_head **tl_bh) argument
2756 ocfs2_begin_truncate_log_recovery(struct ocfs2_super *osb, int slot_num, struct ocfs2_dinode **tl_copy) argument
2825 ocfs2_complete_truncate_log_recovery(struct ocfs2_super *osb, struct ocfs2_dinode *tl_copy) argument
2885 ocfs2_truncate_log_shutdown(struct ocfs2_super *osb) argument
2907 ocfs2_truncate_log_init(struct ocfs2_super *osb) argument
3248 ocfs2_do_truncate(struct ocfs2_super *osb, unsigned int clusters_to_del, struct inode *inode, struct buffer_head *fe_bh, handle_t *handle, struct ocfs2_truncate_context *tc, struct ocfs2_path *path) argument
3594 ocfs2_commit_truncate(struct ocfs2_super *osb, struct inode *inode, struct buffer_head *fe_bh, struct ocfs2_truncate_context *tc) argument
3755 ocfs2_prepare_truncate(struct ocfs2_super *osb, struct inode *inode, struct buffer_head *fe_bh, struct ocfs2_truncate_context **tc) argument
[all...]
H A Dalloc.h30 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 Daops.c56 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local
98 buffer_cache_bh = sb_getblk(osb->sb, blkno);
143 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local
173 mlog_bug_on_msg(create && p_blkno == 0 && ocfs2_sparse_alloc(osb),
181 if (!ocfs2_sparse_alloc(osb)) {
344 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local
348 handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS);
366 ocfs2_commit_trans(osb, handle);
595 static void ocfs2_figure_cluster_boundaries(struct ocfs2_super *osb, argument
602 if (unlikely(PAGE_CACHE_SHIFT > osb
630 ocfs2_clear_page_regions(struct page *page, struct ocfs2_super *osb, u32 cpos, unsigned from, unsigned to) argument
771 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local
837 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local
1137 ocfs2_write_ctxt_init(struct ocfs2_write_ctxt *wc, struct ocfs2_super *osb, loff_t pos, size_t count, ocfs2_page_writer *cb, void *cb_priv) argument
1180 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local
[all...]
H A Dbuffer_head_io.c42 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 Dbuffer_head_io.h34 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 Ddcache.c48 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); local
60 BUG_ON(!osb);
62 if (inode == osb->root_inode || is_bad_inode(inode))
312 static void ocfs2_drop_dentry_lock(struct ocfs2_super *osb, argument
315 ocfs2_simple_drop_lockres(osb, &dl->dl_lockres);
321 void ocfs2_dentry_lock_put(struct ocfs2_super *osb, argument
334 ocfs2_drop_dentry_lock(osb, dl);
381 struct ocfs2_super *osb = OCFS2_SB(old_dir->i_sb); local
387 ocfs2_dentry_lock_put(osb, dentry->d_fsdata);
H A Ddcache.h47 void ocfs2_dentry_lock_put(struct ocfs2_super *osb,
H A Ddir.c66 static int ocfs2_extend_dir(struct ocfs2_super *osb,
400 static int ocfs2_extend_dir(struct ocfs2_super *osb, argument
414 struct super_block *sb = osb->sb;
426 num_free_extents = ocfs2_num_free_extents(osb, dir, fe);
434 status = ocfs2_reserve_new_metadata(osb, fe, &meta_ac);
442 status = ocfs2_reserve_clusters(osb, 1, &data_ac);
458 handle = ocfs2_start_trans(osb, credits);
466 status = ocfs2_do_extend_dir(osb->sb, handle, dir, parent_fe_bh,
506 ocfs2_commit_trans(osb, handle);
524 int ocfs2_prepare_dir_for_insert(struct ocfs2_super *osb, argument
[all...]
H A Ddir.h40 int ocfs2_prepare_dir_for_insert(struct ocfs2_super *osb,
H A Ddlmglue.c103 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 Ddlmglue.h60 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 Dfile.c122 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local
131 journal = osb->journal->j_journal;
144 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local
146 if (ocfs2_is_hard_readonly(osb) || ocfs2_is_soft_readonly(osb))
177 if ((now.tv_sec - inode->i_atime.tv_sec <= osb->s_atime_quantum))
187 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local
192 handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS);
238 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local
241 handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDIT
258 ocfs2_orphan_for_truncate(struct ocfs2_super *osb, struct inode *inode, struct buffer_head *fe_bh, u64 new_i_size) argument
322 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local
418 ocfs2_do_extend_allocation(struct ocfs2_super *osb, struct inode *inode, u32 *logical_offset, u32 clusters_to_add, struct buffer_head *fe_bh, handle_t *handle, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac, enum ocfs2_alloc_restarted *reason_ret) argument
529 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local
602 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local
933 struct ocfs2_super *osb = OCFS2_SB(sb); local
1029 struct ocfs2_super *osb = sb->s_fs_info; local
1079 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local
[all...]
H A Dfile.h40 int ocfs2_do_extend_allocation(struct ocfs2_super *osb,
H A Dheartbeat.c64 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 Dheartbeat.h29 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 Dinode.c67 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 Dinode.h125 struct inode *ocfs2_iget(struct ocfs2_super *osb, u64 feoff, int flags);
H A Dioctl.c46 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local
71 handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS);
100 ocfs2_commit_trans(osb, handle);
H A Djournal.c55 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 Djournal.h127 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 Dlocalalloc.c50 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 Dlocalalloc.h29 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 Dmmap.c86 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 Dnamei.c90 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 Dnamei.h41 int ocfs2_orphan_del(struct ocfs2_super *osb,

Completed in 144 milliseconds

12