/kernel/linux/linux-5.10/fs/ocfs2/ |
D | localalloc.h | 15 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 *osb, [all …]
|
D | slot_map.h | 16 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);
|
D | dlmglue.h | 107 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 *osb, int ex); [all …]
|
D | journal.h | 24 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 *osb); [all …]
|
D | ocfs2.h | 215 struct ocfs2_super *os_osb; 294 struct ocfs2_super struct 474 #define OCFS2_SB(sb) ((struct ocfs2_super *)(sb)->s_fs_info) argument 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 *osb) in ocfs2_supports_indexed_dirs() [all …]
|
D | alloc.h | 161 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 *osb, [all …]
|
D | suballoc.h | 51 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);
|
D | heartbeat.h | 15 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,
|
D | journal.c | 50 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 *osb) in ocfs2_compute_replay_slots() [all …]
|
D | heartbeat.c | 43 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()
|
D | dlmglue.c | 59 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, 155 struct ocfs2_super * (*get_osb)(struct ocfs2_lock_res *); 166 void (*post_unlock)(struct ocfs2_super *, struct ocfs2_lock_res *); 326 static inline struct ocfs2_super *ocfs2_get_lockres_osb(struct ocfs2_lock_res *lockres) in ocfs2_get_lockres_osb() 331 return (struct ocfs2_super *)lockres->l_priv; in ocfs2_get_lockres_osb() 334 static int ocfs2_lock_create(struct ocfs2_super *osb, [all …]
|
D | localalloc.c | 39 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 *osb = in ocfs2_la_enable_worker() [all …]
|
D | namei.h | 22 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,
|
D | slot_map.c | 118 int ocfs2_refresh_slot_info(struct ocfs2_super *osb) in ocfs2_refresh_slot_info() 185 static int ocfs2_update_disk_slot(struct ocfs2_super *osb, in ocfs2_update_disk_slot() 210 static int ocfs2_slot_map_physical_size(struct ocfs2_super *osb, in ocfs2_slot_map_physical_size() 273 int ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num) in ocfs2_node_num_to_slot() 285 int ocfs2_slot_to_node_num_locked(struct ocfs2_super *osb, int slot_num, in ocfs2_slot_to_node_num_locked() 323 int ocfs2_clear_slot(struct ocfs2_super *osb, int slot_num) in ocfs2_clear_slot() 337 static int ocfs2_map_slot_buffers(struct ocfs2_super *osb, in ocfs2_map_slot_buffers() 401 int ocfs2_init_slot_info(struct ocfs2_super *osb) in ocfs2_init_slot_info() 440 void ocfs2_free_slot_info(struct ocfs2_super *osb) in ocfs2_free_slot_info() 448 int ocfs2_find_slot(struct ocfs2_super *osb) in ocfs2_find_slot() [all …]
|
D | buffer_head_io.h | 17 int ocfs2_write_block(struct ocfs2_super *osb, 20 int ocfs2_read_blocks_sync(struct ocfs2_super *osb, u64 block, 35 int ocfs2_write_super_or_backup(struct ocfs2_super *osb,
|
D | reservations.h | 44 struct ocfs2_super *m_osb; 62 int ocfs2_dir_resv_allowed(struct ocfs2_super *osb); 86 int ocfs2_resmap_init(struct ocfs2_super *osb,
|
D | sysfile.c | 28 static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb, 42 static struct inode **get_local_system_inode(struct ocfs2_super *osb, in get_local_system_inode() 90 struct inode *ocfs2_get_system_file_inode(struct ocfs2_super *osb, in ocfs2_get_system_file_inode() 125 static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb, in _ocfs2_get_system_file_inode()
|
D | super.c | 100 static void ocfs2_delete_osb(struct ocfs2_super *osb); 106 static int ocfs2_init_global_system_inodes(struct ocfs2_super *osb); 107 static int ocfs2_init_local_system_inodes(struct ocfs2_super *osb); 108 static void ocfs2_release_system_inodes(struct ocfs2_super *osb); 109 static int ocfs2_check_volume(struct ocfs2_super *osb); 124 static int ocfs2_susp_quotas(struct ocfs2_super *osb, int unsuspend); 125 static int ocfs2_enable_quotas(struct ocfs2_super *osb); 126 static void ocfs2_disable_quotas(struct ocfs2_super *osb); 215 static int ocfs2_osb_dump(struct ocfs2_super *osb, char *buf, int len) in ocfs2_osb_dump() 344 struct ocfs2_super *osb = inode->i_private; in ocfs2_osb_debug_open() [all …]
|
D | suballoc.c | 76 static int ocfs2_block_group_alloc(struct ocfs2_super *osb, 115 static int ocfs2_reserve_clusters_with_limit(struct ocfs2_super *osb, 320 static void ocfs2_bg_discontig_add_extent(struct ocfs2_super *osb, in ocfs2_bg_discontig_add_extent() 351 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); in ocfs2_block_group_fill() 419 ocfs2_block_group_alloc_contig(struct ocfs2_super *osb, handle_t *handle, in ocfs2_block_group_alloc_contig() 463 static int ocfs2_block_group_claim_bits(struct ocfs2_super *osb, in ocfs2_block_group_claim_bits() 491 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); in ocfs2_block_group_grow_discontig() 587 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); in ocfs2_block_group_alloc_discontig() 653 static int ocfs2_block_group_alloc(struct ocfs2_super *osb, in ocfs2_block_group_alloc() 764 static int ocfs2_reserve_suballoc_bits(struct ocfs2_super *osb, in ocfs2_reserve_suballoc_bits() [all …]
|
D | filecheck.h | 63 int ocfs2_filecheck_create_sysfs(struct ocfs2_super *osb); 64 void ocfs2_filecheck_remove_sysfs(struct ocfs2_super *osb);
|
D | ioctl.c | 84 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_set_inode_attr() 161 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_clustersize() 180 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_maxslots() 199 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_label() 218 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_uuid() 237 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_fs_features() 258 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_journal_size() 273 static int ocfs2_info_scan_inode_alloc(struct ocfs2_super *osb, in ocfs2_info_scan_inode_alloc() 329 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_freeinode() 428 static int ocfs2_info_freefrag_scan_chain(struct ocfs2_super *osb, in ocfs2_info_freefrag_scan_chain() [all …]
|
D | refcounttree.h | 28 void ocfs2_purge_refcount_trees(struct ocfs2_super *osb); 29 int ocfs2_lock_refcount_tree(struct ocfs2_super *osb, u64 ref_blkno, int rw, 32 void ocfs2_unlock_refcount_tree(struct ocfs2_super *osb,
|
D | namei.c | 56 static int ocfs2_mknod_locked(struct ocfs2_super *osb, 65 static int ocfs2_prepare_orphan_dir(struct ocfs2_super *osb, 72 static int ocfs2_orphan_add(struct ocfs2_super *osb, 81 static int ocfs2_create_symlink_data(struct ocfs2_super *osb, 86 static int ocfs2_double_lock(struct ocfs2_super *osb, 209 static void ocfs2_cleanup_add_entry_failure(struct ocfs2_super *osb, in ocfs2_cleanup_add_entry_failure() 232 struct ocfs2_super *osb; in ocfs2_mknod() 513 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in __ocfs2_mknod_locked() 616 static int ocfs2_mknod_locked(struct ocfs2_super *osb, in ocfs2_mknod_locked() 687 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_link() [all …]
|
D | dcache.c | 41 struct ocfs2_super *osb; in ocfs2_dentry_revalidate() 367 static void ocfs2_drop_dentry_lock(struct ocfs2_super *osb, in ocfs2_drop_dentry_lock() 376 void ocfs2_dentry_lock_put(struct ocfs2_super *osb, in ocfs2_dentry_lock_put() 446 struct ocfs2_super *osb = OCFS2_SB(old_dir->i_sb); in ocfs2_dentry_move()
|
D | dir.h | 83 int ocfs2_prepare_dir_for_insert(struct ocfs2_super *osb, 90 int ocfs2_fill_new_dir(struct ocfs2_super *osb,
|