Searched refs:ocfs2_super (Results 1 - 25 of 36) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ocfs2/
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 *os
[all...]
H A Dvote.h31 static inline void ocfs2_kick_vote_thread(struct ocfs2_super *osb)
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,
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 Dsysfile.h29 struct inode * ocfs2_get_system_file_inode(struct ocfs2_super *osb,
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 *os
[all...]
H A Dslot_map.h40 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 Dsuballoc.h61 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,
121 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
127 int ocfs2_reserve_cluster_bitmap_bits(struct ocfs2_super *osb,
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,
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 Dheartbeat.c64 void ocfs2_init_node_maps(struct ocfs2_super *osb)
74 struct ocfs2_super *osb)
107 ocfs2_do_node_down(node_num, (struct ocfs2_super *) data);
115 struct ocfs2_super *osb = (struct ocfs2_super *) data;
128 struct ocfs2_super *osb = data;
136 void ocfs2_setup_hb_callbacks(struct ocfs2_super *osb)
153 int ocfs2_register_hb_callbacks(struct ocfs2_super *osb)
176 void ocfs2_clear_hb_callbacks(struct ocfs2_super *osb)
185 void ocfs2_stop_heartbeat(struct ocfs2_super *os
[all...]
H A Dsysfile.c44 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,
66 struct inode *ocfs2_get_system_file_inode(struct ocfs2_super *osb,
96 static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb,
H A Djournal.h38 struct ocfs2_super;
47 struct ocfs2_super *j_osb; /* pointer to the super
127 static inline void ocfs2_inode_set_new(struct ocfs2_super *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 static inline void ocfs2_start_checkpoint(struct ocfs2_super *os
[all...]
H A Ddcache.h47 void ocfs2_dentry_lock_put(struct ocfs2_super *osb,
H A Ddir.h40 int ocfs2_prepare_dir_for_insert(struct ocfs2_super *osb,
H A Dnamei.h41 int ocfs2_orphan_del(struct ocfs2_super *osb,
H A Dsuper.h31 int ocfs2_publish_get_mount_state(struct ocfs2_super *osb,
H A Dvote.c120 static void ocfs2_process_mount_request(struct ocfs2_super *osb,
136 static void ocfs2_process_umount_request(struct ocfs2_super *osb,
144 static void ocfs2_process_vote(struct ocfs2_super *osb,
209 static void ocfs2_vote_thread_do_work(struct ocfs2_super *osb)
258 static int ocfs2_vote_thread_lists_empty(struct ocfs2_super *osb)
271 static int ocfs2_vote_thread_should_wake(struct ocfs2_super *osb)
286 struct ocfs2_super *osb = arg;
325 static unsigned int ocfs2_new_response_id(struct ocfs2_super *osb)
336 static void ocfs2_dequeue_net_wait_ctxt(struct ocfs2_super *osb,
344 static void ocfs2_queue_net_wait_ctxt(struct ocfs2_super *os
[all...]
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)
116 handle_t *ocfs2_start_trans(struct ocfs2_super *osb, int max_buffs)
155 int ocfs2_commit_trans(struct ocfs2_super *osb,
309 void ocfs2_set_journal_params(struct ocfs2_super *os
[all...]
H A Dfile.h40 int ocfs2_do_extend_allocation(struct ocfs2_super *osb,
H A Docfs2.h181 struct ocfs2_super struct
290 #define OCFS2_SB(sb) ((struct ocfs2_super *)(sb)->s_fs_info)
301 static inline int ocfs2_sparse_alloc(struct ocfs2_super *osb)
312 static inline void ocfs2_set_osb_flag(struct ocfs2_super *osb,
320 static inline void ocfs2_set_ro_flag(struct ocfs2_super *osb,
332 static inline int ocfs2_is_hard_readonly(struct ocfs2_super *osb)
343 static inline int ocfs2_is_soft_readonly(struct ocfs2_super *osb)
354 static inline int ocfs2_mount_local(struct ocfs2_super *osb)
H A Ddlmglue.c70 static struct ocfs2_super *ocfs2_get_dentry_osb(struct ocfs2_lock_res *lockres);
71 static struct ocfs2_super *ocfs2_get_inode_osb(struct ocfs2_lock_res *lockres);
103 static void ocfs2_dentry_post_unlock(struct ocfs2_super *osb,
141 * struct ocfs2_super and allow the default actions to manage things.
150 * Translate an ocfs2_lock_res * into an ocfs2_super *. Define
151 * this callback if ->l_priv is not an ocfs2_super pointer
153 struct ocfs2_super * (*get_osb)(struct ocfs2_lock_res *);
164 void (*post_unlock)(struct ocfs2_super *, struct ocfs2_lock_res *);
283 static inline struct ocfs2_super *ocfs2_get_lockres_osb(struct ocfs2_lock_res *lockres)
288 return (struct ocfs2_super *)lockre
[all...]
H A Dslot_map.c55 void ocfs2_populate_mounted_map(struct ocfs2_super *osb)
89 int ocfs2_update_disk_slots(struct ocfs2_super *osb,
169 int ocfs2_init_slot_info(struct ocfs2_super *osb)
230 int ocfs2_find_slot(struct ocfs2_super *osb)
277 void ocfs2_put_slot(struct ocfs2_super *osb)
H A Dsuper.c92 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);
197 static int ocfs2_init_global_system_inodes(struct ocfs2_super *osb)
241 static int ocfs2_init_local_system_inodes(struct ocfs2_super *osb)
269 static int ocfs2_release_system_inodes(struct ocfs2_super *os
[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)
96 int ocfs2_alloc_should_use_local(struct ocfs2_super *osb, u64 bits)
113 int ocfs2_load_local_alloc(struct ocfs2_super *osb)
195 void ocfs2_shutdown_local_alloc(struct ocfs2_super *os
[all...]
H A Ddcache.c48 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb);
312 static void ocfs2_drop_dentry_lock(struct ocfs2_super *osb,
321 void ocfs2_dentry_lock_put(struct ocfs2_super *osb,
381 struct ocfs2_super *osb = OCFS2_SB(old_dir->i_sb);

Completed in 206 milliseconds

12