Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/fs/ocfs2/
H A Dlocalalloc.h15 int ocfs2_load_local_alloc(struct ocfs2_super *osb);
17 void ocfs2_shutdown_local_alloc(struct ocfs2_super *osb);
19 void ocfs2_la_set_sizes(struct ocfs2_super *osb, int requested_mb);
20 unsigned int ocfs2_la_default_mb(struct ocfs2_super *osb);
22 int ocfs2_begin_local_alloc_recovery(struct ocfs2_super *osb,
26 int ocfs2_complete_local_alloc_recovery(struct ocfs2_super *osb,
29 int ocfs2_alloc_should_use_local(struct ocfs2_super *osb,
33 int ocfs2_reserve_local_alloc_bits(struct ocfs2_super *osb,
37 int ocfs2_claim_local_alloc_bits(struct ocfs2_super *osb,
44 int ocfs2_free_local_alloc_bits(struct ocfs2_super *os
[all...]
H A Dslot_map.h16 int ocfs2_init_slot_info(struct ocfs2_super *osb);
17 void ocfs2_free_slot_info(struct ocfs2_super *osb);
19 int ocfs2_find_slot(struct ocfs2_super *osb);
20 void ocfs2_put_slot(struct ocfs2_super *osb);
22 int ocfs2_refresh_slot_info(struct ocfs2_super *osb);
24 int ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num);
25 int ocfs2_slot_to_node_num_locked(struct ocfs2_super *osb, int slot_num,
28 int ocfs2_clear_slot(struct ocfs2_super *osb, int slot_num);
H A Ddlmglue.h107 int ocfs2_dlm_init(struct ocfs2_super *osb);
108 void ocfs2_dlm_shutdown(struct ocfs2_super *osb, int hangup_pending);
123 struct ocfs2_super *osb, u64 ref_blkno,
159 int ocfs2_super_lock(struct ocfs2_super *osb,
161 void ocfs2_super_unlock(struct ocfs2_super *osb,
163 int ocfs2_orphan_scan_lock(struct ocfs2_super *osb, u32 *seqno);
164 void ocfs2_orphan_scan_unlock(struct ocfs2_super *osb, u32 seqno);
166 int ocfs2_rename_lock(struct ocfs2_super *osb);
167 void ocfs2_rename_unlock(struct ocfs2_super *osb);
168 int ocfs2_nfs_sync_lock(struct ocfs2_super *os
[all...]
H A Djournal.h24 struct ocfs2_super;
44 struct ocfs2_super *j_osb; /* pointer to the super
135 static inline void ocfs2_ci_set_new(struct ocfs2_super *osb, in ocfs2_ci_set_new()
144 void ocfs2_orphan_scan_init(struct ocfs2_super *osb);
145 void ocfs2_orphan_scan_start(struct ocfs2_super *osb);
146 void ocfs2_orphan_scan_stop(struct ocfs2_super *osb);
149 void ocfs2_wait_for_recovery(struct ocfs2_super *osb);
151 int ocfs2_recovery_init(struct ocfs2_super *osb);
152 void ocfs2_recovery_exit(struct ocfs2_super *osb);
154 int ocfs2_compute_replay_slots(struct ocfs2_super *os
[all...]
H A Dsuballoc.h51 void ocfs2_init_steal_slots(struct ocfs2_super *osb);
63 int ocfs2_reserve_new_metadata(struct ocfs2_super *osb,
66 int ocfs2_reserve_new_metadata_blocks(struct ocfs2_super *osb,
69 int ocfs2_reserve_new_inode(struct ocfs2_super *osb,
71 int ocfs2_reserve_clusters(struct ocfs2_super *osb,
149 static inline u32 ocfs2_cluster_from_desc(struct ocfs2_super *osb, in ocfs2_cluster_from_desc()
167 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_is_cluster_bitmap()
173 int ocfs2_reserve_cluster_bitmap_bits(struct ocfs2_super *osb,
204 int ocfs2_test_inode_bit(struct ocfs2_super *osb, u64 blkno, int *res);
H A Docfs2.h215 struct ocfs2_super *os_osb;
294 struct ocfs2_super struct
474 #define OCFS2_SB(sb) ((struct ocfs2_super *)(sb)->s_fs_info)
490 static inline int ocfs2_sparse_alloc(struct ocfs2_super *osb) in ocfs2_sparse_alloc()
497 static inline int ocfs2_writes_unwritten_extents(struct ocfs2_super *osb) in ocfs2_writes_unwritten_extents()
510 static inline int ocfs2_supports_append_dio(struct ocfs2_super *osb) in ocfs2_supports_append_dio()
518 static inline int ocfs2_supports_inline_data(struct ocfs2_super *osb) in ocfs2_supports_inline_data()
525 static inline int ocfs2_supports_xattr(struct ocfs2_super *osb) in ocfs2_supports_xattr()
532 static inline int ocfs2_meta_ecc(struct ocfs2_super *osb) in ocfs2_meta_ecc()
539 static inline int ocfs2_supports_indexed_dirs(struct ocfs2_super *os
[all...]
H A Dheartbeat.h15 void ocfs2_init_node_maps(struct ocfs2_super *osb);
21 void ocfs2_node_map_set_bit(struct ocfs2_super *osb,
24 void ocfs2_node_map_clear_bit(struct ocfs2_super *osb,
27 int ocfs2_node_map_test_bit(struct ocfs2_super *osb,
H A Dalloc.h161 int ocfs2_truncate_log_init(struct ocfs2_super *osb);
162 void ocfs2_truncate_log_shutdown(struct ocfs2_super *osb);
163 void ocfs2_schedule_truncate_log_flush(struct ocfs2_super *osb,
165 int ocfs2_flush_truncate_log(struct ocfs2_super *osb);
166 int ocfs2_begin_truncate_log_recovery(struct ocfs2_super *osb,
169 int ocfs2_complete_truncate_log_recovery(struct ocfs2_super *osb,
171 int ocfs2_truncate_log_needs_flush(struct ocfs2_super *osb);
172 int ocfs2_truncate_log_append(struct ocfs2_super *osb,
176 int __ocfs2_flush_truncate_log(struct ocfs2_super *osb);
177 int ocfs2_try_to_free_truncate_log(struct ocfs2_super *os
[all...]
H A Djournal.c50 static int ocfs2_recover_node(struct ocfs2_super *osb,
53 static int ocfs2_commit_cache(struct ocfs2_super *osb);
54 static int __ocfs2_wait_on_mount(struct ocfs2_super *osb, int quota);
55 static int ocfs2_journal_toggle_dirty(struct ocfs2_super *osb,
57 static int ocfs2_trylock_journal(struct ocfs2_super *osb,
59 static int ocfs2_recover_orphans(struct ocfs2_super *osb,
70 static inline int ocfs2_wait_on_mount(struct ocfs2_super *osb) in ocfs2_wait_on_mount()
75 static inline int ocfs2_wait_on_quotas(struct ocfs2_super *osb) in ocfs2_wait_on_quotas()
97 static void ocfs2_replay_map_set_state(struct ocfs2_super *osb, int state) in ocfs2_replay_map_set_state()
109 int ocfs2_compute_replay_slots(struct ocfs2_super *os
[all...]
H A Ddlmglue.c59 static struct ocfs2_super *ocfs2_get_dentry_osb(struct ocfs2_lock_res *lockres);
60 static struct ocfs2_super *ocfs2_get_inode_osb(struct ocfs2_lock_res *lockres);
61 static struct ocfs2_super *ocfs2_get_file_osb(struct ocfs2_lock_res *lockres);
62 static struct ocfs2_super *ocfs2_get_qinfo_osb(struct ocfs2_lock_res *lockres);
99 static void ocfs2_dentry_post_unlock(struct ocfs2_super *osb,
143 * struct ocfs2_super and allow the default actions to manage things.
152 * Translate an ocfs2_lock_res * into an ocfs2_super *. Define
153 * this callback if ->l_priv is not an ocfs2_super pointer
155 struct ocfs2_super * (*get_osb)(struct ocfs2_lock_res *);
166 void (*post_unlock)(struct ocfs2_super *, struc
[all...]
H A Dlocalalloc.c39 static int ocfs2_local_alloc_find_clear_bits(struct ocfs2_super *osb,
46 static int ocfs2_sync_local_to_main(struct ocfs2_super *osb,
52 static int ocfs2_local_alloc_reserve_for_window(struct ocfs2_super *osb,
57 static int ocfs2_local_alloc_new_window(struct ocfs2_super *osb,
61 static int ocfs2_local_alloc_slide_window(struct ocfs2_super *osb,
103 unsigned int ocfs2_la_default_mb(struct ocfs2_super *osb) in ocfs2_la_default_mb()
181 void ocfs2_la_set_sizes(struct ocfs2_super *osb, int requested_mb) in ocfs2_la_set_sizes()
208 static inline int ocfs2_la_state_enabled(struct ocfs2_super *osb) in ocfs2_la_state_enabled()
214 void ocfs2_local_alloc_seen_free_bits(struct ocfs2_super *osb, in ocfs2_local_alloc_seen_free_bits()
229 struct ocfs2_super *os in ocfs2_la_enable_worker()
[all...]
H A Dheartbeat.c43 void ocfs2_init_node_maps(struct ocfs2_super *osb) in ocfs2_init_node_maps()
51 struct ocfs2_super *osb = data; in ocfs2_do_node_down()
76 void ocfs2_node_map_set_bit(struct ocfs2_super *osb, in ocfs2_node_map_set_bit()
94 void ocfs2_node_map_clear_bit(struct ocfs2_super *osb, in ocfs2_node_map_clear_bit()
106 int ocfs2_node_map_test_bit(struct ocfs2_super *osb, in ocfs2_node_map_test_bit()
H A Dnamei.h22 int ocfs2_orphan_del(struct ocfs2_super *osb,
31 int ocfs2_add_inode_to_orphan(struct ocfs2_super *osb,
33 int ocfs2_del_inode_from_orphan(struct ocfs2_super *osb,
/kernel/linux/linux-6.6/fs/ocfs2/
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 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 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, in ocfs2_ci_set_new()
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 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, in ocfs2_cluster_from_desc()
165 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_is_cluster_bitmap()
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 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) in ocfs2_sparse_alloc()
495 static inline int ocfs2_writes_unwritten_extents(struct ocfs2_super *osb) in ocfs2_writes_unwritten_extents()
508 static inline int ocfs2_supports_append_dio(struct ocfs2_super *osb) in ocfs2_supports_append_dio()
516 static inline int ocfs2_supports_inline_data(struct ocfs2_super *osb) in ocfs2_supports_inline_data()
523 static inline int ocfs2_supports_xattr(struct ocfs2_super *osb) in ocfs2_supports_xattr()
530 static inline int ocfs2_meta_ecc(struct ocfs2_super *osb) in ocfs2_meta_ecc()
537 static inline int ocfs2_supports_indexed_dirs(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 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 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) in ocfs2_wait_on_mount()
74 static inline int ocfs2_wait_on_quotas(struct ocfs2_super *osb) in ocfs2_wait_on_quotas()
96 static void ocfs2_replay_map_set_state(struct ocfs2_super *osb, int state) in ocfs2_replay_map_set_state()
108 int ocfs2_compute_replay_slots(struct ocfs2_super *os
[all...]
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 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) in ocfs2_la_default_mb()
179 void ocfs2_la_set_sizes(struct ocfs2_super *osb, int requested_mb) in ocfs2_la_set_sizes()
206 static inline int ocfs2_la_state_enabled(struct ocfs2_super *osb) in ocfs2_la_state_enabled()
212 void ocfs2_local_alloc_seen_free_bits(struct ocfs2_super *osb, in ocfs2_local_alloc_seen_free_bits()
227 struct ocfs2_super *os in ocfs2_la_enable_worker()
[all...]
H A Dheartbeat.c36 void ocfs2_init_node_maps(struct ocfs2_super *osb) in ocfs2_init_node_maps()
44 struct ocfs2_super *osb = data; in ocfs2_do_node_down()
63 void ocfs2_node_map_set_bit(struct ocfs2_super *osb, in ocfs2_node_map_set_bit()
75 void ocfs2_node_map_clear_bit(struct ocfs2_super *osb, in ocfs2_node_map_clear_bit()
87 int ocfs2_node_map_test_bit(struct ocfs2_super *osb, in ocfs2_node_map_test_bit()

Completed in 18 milliseconds

1234