Home
last modified time | relevance | path

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

12

/linux-6.15/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 *osb,
[all …]
H A Djournal.h22 struct ocfs2_super;
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);
154 void ocfs2_free_replay_slots(struct ocfs2_super *osb);
173 int ocfs2_journal_alloc(struct ocfs2_super *osb);
181 void ocfs2_recovery_thread(struct ocfs2_super *osb,
[all …]
H A Ddlmglue.h105 int ocfs2_dlm_init(struct ocfs2_super *osb);
121 struct ocfs2_super *osb, u64 ref_blkno,
155 int ocfs2_super_lock(struct ocfs2_super *osb,
157 void ocfs2_super_unlock(struct ocfs2_super *osb,
162 int ocfs2_rename_lock(struct ocfs2_super *osb);
163 void ocfs2_rename_unlock(struct ocfs2_super *osb);
164 int ocfs2_nfs_sync_lock(struct ocfs2_super *osb, int ex);
168 int ocfs2_trim_fs_lock(struct ocfs2_super *osb,
170 void ocfs2_trim_fs_unlock(struct ocfs2_super *osb,
183 void ocfs2_mark_lockres_freeing(struct ocfs2_super *osb,
[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.c49 static int ocfs2_recover_node(struct ocfs2_super *osb,
172 int ocfs2_recovery_init(struct ocfs2_super *osb) in ocfs2_recovery_init()
233 void ocfs2_recovery_exit(struct ocfs2_super *osb) in ocfs2_recovery_exit()
393 int ocfs2_commit_trans(struct ocfs2_super *osb, in ocfs2_commit_trans()
662 struct ocfs2_super *osb = in __ocfs2_journal_access()
1159 struct ocfs2_super *osb; in ocfs2_journal_load()
1326 struct ocfs2_super *osb = journal->j_osb; in ocfs2_complete_recovery()
1472 struct ocfs2_super *osb = arg; in __ocfs2_recovery_thread()
2086 struct ocfs2_super *osb; in ocfs2_orphan_scan_work()
2143 struct ocfs2_super *osb;
[all …]
H A Docfs2.h213 struct ocfs2_super *os_osb;
331 struct ocfs2_super struct
514 #define OCFS2_SB(sb) ((struct ocfs2_super *)(sb)->s_fs_info) argument
530 static inline int ocfs2_sparse_alloc(struct ocfs2_super *osb) in ocfs2_sparse_alloc()
565 static inline int ocfs2_supports_xattr(struct ocfs2_super *osb) in ocfs2_supports_xattr()
572 static inline int ocfs2_meta_ecc(struct ocfs2_super *osb) in ocfs2_meta_ecc()
630 static inline int ocfs2_refcount_tree(struct ocfs2_super *osb) in ocfs2_refcount_tree()
641 static inline void ocfs2_set_osb_flag(struct ocfs2_super *osb, in ocfs2_set_osb_flag()
649 static inline void ocfs2_set_ro_flag(struct ocfs2_super *osb, in ocfs2_set_ro_flag()
699 static inline int ocfs2_o2cb_stack(struct ocfs2_super *osb) in ocfs2_o2cb_stack()
[all …]
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,
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 *osb,
205 int ocfs2_run_deallocs(struct ocfs2_super *osb,
[all …]
H A Dsuballoc.h50 void ocfs2_init_steal_slots(struct ocfs2_super *osb);
62 int ocfs2_reserve_new_metadata(struct ocfs2_super *osb,
65 int ocfs2_reserve_new_metadata_blocks(struct ocfs2_super *osb,
68 int ocfs2_reserve_new_inode(struct ocfs2_super *osb,
70 int ocfs2_reserve_clusters(struct ocfs2_super *osb,
152 static inline u32 ocfs2_cluster_from_desc(struct ocfs2_super *osb, in ocfs2_cluster_from_desc()
170 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_is_cluster_bitmap()
176 int ocfs2_reserve_cluster_bitmap_bits(struct ocfs2_super *osb,
207 int ocfs2_test_inode_bit(struct ocfs2_super *osb, u64 blkno, int *res);
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 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()
H A Ddlmglue.c331 return (struct ocfs2_super *)lockres->l_priv; in ocfs2_get_lockres_osb()
659 struct ocfs2_super *osb) in ocfs2_super_lock_res_init()
671 struct ocfs2_super *osb) in ocfs2_rename_lock_res_init()
682 struct ocfs2_super *osb) in ocfs2_nfs_sync_lock_res_init()
722 struct ocfs2_super *osb) in ocfs2_orphan_scan_lock_res_init()
757 struct ocfs2_super *osb, u64 ref_blkno, in ocfs2_refcount_lock_res_init()
1069 struct ocfs2_super *osb) in __lockres_clear_pending()
1095 struct ocfs2_super *osb) in lockres_clear_pending()
3277 struct ocfs2_super *osb; in ocfs2_dlm_debug_open()
3323 int ocfs2_dlm_init(struct ocfs2_super *osb) in ocfs2_dlm_init()
[all …]
H A Dlocalalloc.c44 static int ocfs2_sync_local_to_main(struct ocfs2_super *osb,
55 static int ocfs2_local_alloc_new_window(struct ocfs2_super *osb,
101 unsigned int ocfs2_la_default_mb(struct ocfs2_super *osb) in ocfs2_la_default_mb()
228 struct ocfs2_super *osb = in ocfs2_la_enable_worker()
229 container_of(work, struct ocfs2_super, in ocfs2_la_enable_worker()
269 int ocfs2_load_local_alloc(struct ocfs2_super *osb) in ocfs2_load_local_alloc()
367 void ocfs2_shutdown_local_alloc(struct ocfs2_super *osb) in ocfs2_shutdown_local_alloc()
615 int ocfs2_reserve_local_alloc_bits(struct ocfs2_super *osb, in ocfs2_reserve_local_alloc_bits()
714 int ocfs2_claim_local_alloc_bits(struct ocfs2_super *osb, in ocfs2_claim_local_alloc_bits()
770 int ocfs2_free_local_alloc_bits(struct ocfs2_super *osb, in ocfs2_free_local_alloc_bits()
[all …]
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 Dslot_map.c116 int ocfs2_refresh_slot_info(struct ocfs2_super *osb) in ocfs2_refresh_slot_info()
183 static int ocfs2_update_disk_slot(struct ocfs2_super *osb, in ocfs2_update_disk_slot()
208 static int ocfs2_slot_map_physical_size(struct ocfs2_super *osb, in ocfs2_slot_map_physical_size()
271 int ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num) in ocfs2_node_num_to_slot()
283 int ocfs2_slot_to_node_num_locked(struct ocfs2_super *osb, int slot_num, in ocfs2_slot_to_node_num_locked()
321 int ocfs2_clear_slot(struct ocfs2_super *osb, int slot_num) in ocfs2_clear_slot()
335 static int ocfs2_map_slot_buffers(struct ocfs2_super *osb, in ocfs2_map_slot_buffers()
399 int ocfs2_init_slot_info(struct ocfs2_super *osb) in ocfs2_init_slot_info()
438 void ocfs2_free_slot_info(struct ocfs2_super *osb) in ocfs2_free_slot_info()
446 int ocfs2_find_slot(struct ocfs2_super *osb) in ocfs2_find_slot()
[all …]
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);
79 void ocfs2_resmap_init(struct ocfs2_super *osb,
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, in get_local_system_inode()
88 struct inode *ocfs2_get_system_file_inode(struct ocfs2_super *osb, in ocfs2_get_system_file_inode()
123 static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb, in _ocfs2_get_system_file_inode()
H A Dsuper.c345 struct ocfs2_super *osb = inode->i_private; in ocfs2_osb_debug_open()
400 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_sync_fs()
613 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_reconfigure()
979 struct ocfs2_super *osb = NULL; in ocfs2_fill_super()
1419 struct ocfs2_super *osb = OCFS2_SB(root->d_sb); in ocfs2_show_options()
1558 struct ocfs2_super *osb; in ocfs2_statfs()
1726 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_mount_volume()
1797 struct ocfs2_super *osb = NULL; in ocfs2_dismount_volume()
1953 struct ocfs2_super *osb; in ocfs2_initialize_super()
2464 memset(osb, 0, sizeof(struct ocfs2_super)); in ocfs2_delete_osb()
[all …]
H A Dsuballoc.c353 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); in ocfs2_block_group_fill()
876 void ocfs2_init_steal_slots(struct ocfs2_super *osb) in ocfs2_init_steal_slots()
949 static int ocfs2_steal_inode(struct ocfs2_super *osb, in ocfs2_steal_inode()
955 static int ocfs2_steal_meta(struct ocfs2_super *osb, in ocfs2_steal_meta()
1032 int ocfs2_reserve_new_inode(struct ocfs2_super *osb, in ocfs2_reserve_new_inode()
1225 int ocfs2_reserve_clusters(struct ocfs2_super *osb, in ocfs2_reserve_clusters()
1540 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_cluster_group_search()
2323 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_desc_bitmap_to_cluster_off()
2338 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_which_cluster_group()
2357 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_block_to_cluster_group()
[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 Dioctl.c91 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_fileattr_set()
166 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_clustersize()
185 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_maxslots()
204 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_label()
223 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_uuid()
242 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_fs_features()
263 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_journal_size()
278 static int ocfs2_info_scan_inode_alloc(struct ocfs2_super *osb, in ocfs2_info_scan_inode_alloc()
334 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_freeinode()
433 static int ocfs2_info_freefrag_scan_chain(struct ocfs2_super *osb, in ocfs2_info_freefrag_scan_chain()
[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 Ddcache.c40 struct ocfs2_super *osb; in ocfs2_dentry_revalidate()
354 static void ocfs2_drop_dentry_lock(struct ocfs2_super *osb, in ocfs2_drop_dentry_lock()
363 void ocfs2_dentry_lock_put(struct ocfs2_super *osb, in ocfs2_dentry_lock_put()
433 struct ocfs2_super *osb = OCFS2_SB(old_dir->i_sb); in ocfs2_dentry_move()
H A Dnamei.c55 static int ocfs2_mknod_locked(struct ocfs2_super *osb,
71 static int ocfs2_orphan_add(struct ocfs2_super *osb,
85 static int ocfs2_double_lock(struct ocfs2_super *osb,
235 struct ocfs2_super *osb; in ocfs2_mknod()
516 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in __ocfs2_mknod_locked()
692 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_link()
882 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_unlink()
1217 struct ocfs2_super *osb = NULL; in ocfs2_rename()
1813 struct ocfs2_super *osb = NULL; in ocfs2_symlink()
2346 int ocfs2_orphan_del(struct ocfs2_super *osb, in ocfs2_orphan_del()
[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,

12