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

12

/linux-master/fs/ocfs2/
H A Dslot_map.h14 int ocfs2_init_slot_info(struct ocfs2_super *osb);
15 void ocfs2_free_slot_info(struct ocfs2_super *osb);
17 int ocfs2_find_slot(struct ocfs2_super *osb);
18 void ocfs2_put_slot(struct ocfs2_super *osb);
20 int ocfs2_refresh_slot_info(struct ocfs2_super *osb);
22 int ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num);
23 int ocfs2_slot_to_node_num_locked(struct ocfs2_super *osb, int slot_num,
26 int ocfs2_clear_slot(struct ocfs2_super *osb, int slot_num);
H A Dlocalalloc.h13 int ocfs2_load_local_alloc(struct ocfs2_super *osb);
15 void ocfs2_shutdown_local_alloc(struct ocfs2_super *osb);
17 void ocfs2_la_set_sizes(struct ocfs2_super *osb, int requested_mb);
18 unsigned int ocfs2_la_default_mb(struct ocfs2_super *osb);
20 int ocfs2_begin_local_alloc_recovery(struct ocfs2_super *osb,
24 int ocfs2_complete_local_alloc_recovery(struct ocfs2_super *osb,
27 int ocfs2_alloc_should_use_local(struct ocfs2_super *osb,
31 int ocfs2_reserve_local_alloc_bits(struct ocfs2_super *osb,
35 int ocfs2_claim_local_alloc_bits(struct ocfs2_super *osb,
42 int ocfs2_free_local_alloc_bits(struct ocfs2_super *os
[all...]
H A Dheartbeat.h13 void ocfs2_init_node_maps(struct ocfs2_super *osb);
19 void ocfs2_node_map_set_bit(struct ocfs2_super *osb,
22 void ocfs2_node_map_clear_bit(struct ocfs2_super *osb,
25 int ocfs2_node_map_test_bit(struct ocfs2_super *osb,
H A Dsysfile.h13 struct inode * ocfs2_get_system_file_inode(struct ocfs2_super *osb,
H A Dnamei.h20 int ocfs2_orphan_del(struct ocfs2_super *osb,
29 int ocfs2_add_inode_to_orphan(struct ocfs2_super *osb,
31 int ocfs2_del_inode_from_orphan(struct ocfs2_super *osb,
H A Dheartbeat.c36 void ocfs2_init_node_maps(struct ocfs2_super *osb)
44 struct ocfs2_super *osb = data;
63 void ocfs2_node_map_set_bit(struct ocfs2_super *osb,
75 void ocfs2_node_map_clear_bit(struct ocfs2_super *osb,
87 int ocfs2_node_map_test_bit(struct ocfs2_super *osb,
H A Dbuffer_head_io.h15 int ocfs2_write_block(struct ocfs2_super *osb,
18 int ocfs2_read_blocks_sync(struct ocfs2_super *osb, u64 block,
33 int ocfs2_write_super_or_backup(struct ocfs2_super *osb,
H A Dreservations.h42 struct ocfs2_super *m_osb;
60 int ocfs2_dir_resv_allowed(struct ocfs2_super *osb);
76 * @osb: struct ocfs2_super to be saved in resmap
79 void ocfs2_resmap_init(struct ocfs2_super *osb,
H A Djournal.h22 struct ocfs2_super;
42 struct ocfs2_super *j_osb; /* pointer to the super
133 static inline void ocfs2_ci_set_new(struct ocfs2_super *osb,
142 void ocfs2_orphan_scan_init(struct ocfs2_super *osb);
143 void ocfs2_orphan_scan_start(struct ocfs2_super *osb);
144 void ocfs2_orphan_scan_stop(struct ocfs2_super *osb);
147 void ocfs2_wait_for_recovery(struct ocfs2_super *osb);
149 int ocfs2_recovery_init(struct ocfs2_super *osb);
150 void ocfs2_recovery_exit(struct ocfs2_super *osb);
152 int ocfs2_compute_replay_slots(struct ocfs2_super *os
[all...]
H A Ddlmglue.h105 int ocfs2_dlm_init(struct ocfs2_super *osb);
106 void ocfs2_dlm_shutdown(struct ocfs2_super *osb, int hangup_pending);
121 struct ocfs2_super *osb, u64 ref_blkno,
157 int ocfs2_super_lock(struct ocfs2_super *osb,
159 void ocfs2_super_unlock(struct ocfs2_super *osb,
161 int ocfs2_orphan_scan_lock(struct ocfs2_super *osb, u32 *seqno);
162 void ocfs2_orphan_scan_unlock(struct ocfs2_super *osb, u32 seqno);
164 int ocfs2_rename_lock(struct ocfs2_super *osb);
165 void ocfs2_rename_unlock(struct ocfs2_super *osb);
166 int ocfs2_nfs_sync_lock(struct ocfs2_super *os
[all...]
H A Dfilecheck.h61 int ocfs2_filecheck_create_sysfs(struct ocfs2_super *osb);
62 void ocfs2_filecheck_remove_sysfs(struct ocfs2_super *osb);
H A Dsuballoc.h49 void ocfs2_init_steal_slots(struct ocfs2_super *osb);
61 int ocfs2_reserve_new_metadata(struct ocfs2_super *osb,
64 int ocfs2_reserve_new_metadata_blocks(struct ocfs2_super *osb,
67 int ocfs2_reserve_new_inode(struct ocfs2_super *osb,
69 int ocfs2_reserve_clusters(struct ocfs2_super *osb,
147 static inline u32 ocfs2_cluster_from_desc(struct ocfs2_super *osb,
165 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
171 int ocfs2_reserve_cluster_bitmap_bits(struct ocfs2_super *osb,
202 int ocfs2_test_inode_bit(struct ocfs2_super *osb, u64 blkno, int *res);
H A Dalloc.h159 int ocfs2_truncate_log_init(struct ocfs2_super *osb);
160 void ocfs2_truncate_log_shutdown(struct ocfs2_super *osb);
161 void ocfs2_schedule_truncate_log_flush(struct ocfs2_super *osb,
163 int ocfs2_flush_truncate_log(struct ocfs2_super *osb);
164 int ocfs2_begin_truncate_log_recovery(struct ocfs2_super *osb,
167 int ocfs2_complete_truncate_log_recovery(struct ocfs2_super *osb,
169 int ocfs2_truncate_log_needs_flush(struct ocfs2_super *osb);
170 int ocfs2_truncate_log_append(struct ocfs2_super *osb,
174 int __ocfs2_flush_truncate_log(struct ocfs2_super *osb);
175 int ocfs2_try_to_free_truncate_log(struct ocfs2_super *os
[all...]
H A Dsysfile.c26 static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb,
40 static struct inode **get_local_system_inode(struct ocfs2_super *osb,
88 struct inode *ocfs2_get_system_file_inode(struct ocfs2_super *osb,
123 static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb,
H A Ddcache.h31 void ocfs2_dentry_lock_put(struct ocfs2_super *osb,
H A Docfs2.h213 struct ocfs2_super *os_osb;
292 struct ocfs2_super struct
472 #define OCFS2_SB(sb) ((struct ocfs2_super *)(sb)->s_fs_info)
488 static inline int ocfs2_sparse_alloc(struct ocfs2_super *osb)
495 static inline int ocfs2_writes_unwritten_extents(struct ocfs2_super *osb)
508 static inline int ocfs2_supports_append_dio(struct ocfs2_super *osb)
516 static inline int ocfs2_supports_inline_data(struct ocfs2_super *osb)
523 static inline int ocfs2_supports_xattr(struct ocfs2_super *osb)
530 static inline int ocfs2_meta_ecc(struct ocfs2_super *osb)
537 static inline int ocfs2_supports_indexed_dirs(struct ocfs2_super *os
[all...]
H A Djournal.c49 static int ocfs2_recover_node(struct ocfs2_super *osb,
52 static int ocfs2_commit_cache(struct ocfs2_super *osb);
53 static int __ocfs2_wait_on_mount(struct ocfs2_super *osb, int quota);
54 static int ocfs2_journal_toggle_dirty(struct ocfs2_super *osb,
56 static int ocfs2_trylock_journal(struct ocfs2_super *osb,
58 static int ocfs2_recover_orphans(struct ocfs2_super *osb,
69 static inline int ocfs2_wait_on_mount(struct ocfs2_super *osb)
74 static inline int ocfs2_wait_on_quotas(struct ocfs2_super *osb)
96 static void ocfs2_replay_map_set_state(struct ocfs2_super *osb, int state)
108 int ocfs2_compute_replay_slots(struct ocfs2_super *os
[all...]
H A Dlocalalloc.c37 static int ocfs2_local_alloc_find_clear_bits(struct ocfs2_super *osb,
44 static int ocfs2_sync_local_to_main(struct ocfs2_super *osb,
50 static int ocfs2_local_alloc_reserve_for_window(struct ocfs2_super *osb,
55 static int ocfs2_local_alloc_new_window(struct ocfs2_super *osb,
59 static int ocfs2_local_alloc_slide_window(struct ocfs2_super *osb,
101 unsigned int ocfs2_la_default_mb(struct ocfs2_super *osb)
179 void ocfs2_la_set_sizes(struct ocfs2_super *osb, int requested_mb)
206 static inline int ocfs2_la_state_enabled(struct ocfs2_super *osb)
212 void ocfs2_local_alloc_seen_free_bits(struct ocfs2_super *osb,
227 struct ocfs2_super *os
[all...]
H A Dslot_map.c116 int ocfs2_refresh_slot_info(struct ocfs2_super *osb)
183 static int ocfs2_update_disk_slot(struct ocfs2_super *osb,
208 static int ocfs2_slot_map_physical_size(struct ocfs2_super *osb,
271 int ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num)
283 int ocfs2_slot_to_node_num_locked(struct ocfs2_super *osb, int slot_num,
321 int ocfs2_clear_slot(struct ocfs2_super *osb, int slot_num)
335 static int ocfs2_map_slot_buffers(struct ocfs2_super *osb,
399 int ocfs2_init_slot_info(struct ocfs2_super *osb)
438 void ocfs2_free_slot_info(struct ocfs2_super *osb)
446 int ocfs2_find_slot(struct ocfs2_super *os
[all...]
H A Ddir.h81 int ocfs2_prepare_dir_for_insert(struct ocfs2_super *osb,
88 int ocfs2_fill_new_dir(struct ocfs2_super *osb,
H A Ddlmglue.c58 static struct ocfs2_super *ocfs2_get_dentry_osb(struct ocfs2_lock_res *lockres);
59 static struct ocfs2_super *ocfs2_get_inode_osb(struct ocfs2_lock_res *lockres);
60 static struct ocfs2_super *ocfs2_get_file_osb(struct ocfs2_lock_res *lockres);
61 static struct ocfs2_super *ocfs2_get_qinfo_osb(struct ocfs2_lock_res *lockres);
98 static void ocfs2_dentry_post_unlock(struct ocfs2_super *osb,
142 * struct ocfs2_super and allow the default actions to manage things.
151 * Translate an ocfs2_lock_res * into an ocfs2_super *. Define
152 * this callback if ->l_priv is not an ocfs2_super pointer
154 struct ocfs2_super * (*get_osb)(struct ocfs2_lock_res *);
165 void (*post_unlock)(struct ocfs2_super *, struc
[all...]
H A Drefcounttree.h26 void ocfs2_purge_refcount_trees(struct ocfs2_super *osb);
27 int ocfs2_lock_refcount_tree(struct ocfs2_super *osb, u64 ref_blkno, int rw,
30 void ocfs2_unlock_refcount_tree(struct ocfs2_super *osb,
H A Dquota.h89 struct ocfs2_super *osb, int slot_num);
90 int ocfs2_finish_quota_recovery(struct ocfs2_super *osb,
H A Dlocks.c101 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
119 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
H A Ddcache.c39 struct ocfs2_super *osb;
358 static void ocfs2_drop_dentry_lock(struct ocfs2_super *osb,
367 void ocfs2_dentry_lock_put(struct ocfs2_super *osb,
437 struct ocfs2_super *osb = OCFS2_SB(old_dir->i_sb);

Completed in 195 milliseconds

12