| /linux/fs/ocfs2/ |
| H A D | localalloc.h | 13 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 D | journal.h | 22 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); 151 void ocfs2_recovery_disable_quota(struct ocfs2_super *osb); [all …]
|
| H A D | slot_map.h | 14 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 D | ocfs2.h | 213 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() 537 static inline int ocfs2_writes_unwritten_extents(struct ocfs2_super *osb) in ocfs2_writes_unwritten_extents() 550 static inline int ocfs2_supports_append_dio(struct ocfs2_super *osb) in ocfs2_supports_append_dio() 558 static inline int ocfs2_supports_inline_data(struct ocfs2_super *osb) in ocfs2_supports_inline_data() 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() 579 static inline int ocfs2_supports_indexed_dirs(struct ocfs2_super *osb) in ocfs2_supports_indexed_dirs() [all …]
|
| H A D | suballoc.h | 50 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 D | heartbeat.h | 13 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 D | heartbeat.c | 36 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 D | localalloc.c | 37 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() 228 struct ocfs2_super *osb = in ocfs2_la_enable_worker() [all …]
|
| H A D | slot_map.c | 119 int ocfs2_refresh_slot_info(struct ocfs2_super *osb) in ocfs2_refresh_slot_info() 187 static int ocfs2_update_disk_slot(struct ocfs2_super *osb, in ocfs2_update_disk_slot() 212 static int ocfs2_slot_map_physical_size(struct ocfs2_super *osb, in ocfs2_slot_map_physical_size() 275 int ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num) in ocfs2_node_num_to_slot() 287 int ocfs2_slot_to_node_num_locked(struct ocfs2_super *osb, int slot_num, in ocfs2_slot_to_node_num_locked() 325 int ocfs2_clear_slot(struct ocfs2_super *osb, int slot_num) in ocfs2_clear_slot() 357 static int ocfs2_map_slot_buffers(struct ocfs2_super *osb, in ocfs2_map_slot_buffers() 421 int ocfs2_init_slot_info(struct ocfs2_super *osb) in ocfs2_init_slot_info() 460 void ocfs2_free_slot_info(struct ocfs2_super *osb) in ocfs2_free_slot_info() 468 int ocfs2_find_slot(struct ocfs2_super *osb) in ocfs2_find_slot() [all …]
|
| H A D | namei.h | 20 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 D | buffer_head_io.h | 15 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 D | sysfile.c | 26 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 D | filecheck.h | 61 int ocfs2_filecheck_create_sysfs(struct ocfs2_super *osb); 62 void ocfs2_filecheck_remove_sysfs(struct ocfs2_super *osb);
|
| H A D | refcounttree.h | 26 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 D | filecheck.c | 166 int ocfs2_filecheck_create_sysfs(struct ocfs2_super *osb) in ocfs2_filecheck_create_sysfs() 196 void ocfs2_filecheck_remove_sysfs(struct ocfs2_super *osb) in ocfs2_filecheck_remove_sysfs() 406 ocfs2_filecheck_handle(struct ocfs2_super *osb, in ocfs2_filecheck_handle() 431 struct ocfs2_super *osb = container_of(ent, struct ocfs2_super, in ocfs2_filecheck_handle_entry()
|
| H A D | dir.h | 81 int ocfs2_prepare_dir_for_insert(struct ocfs2_super *osb, 88 int ocfs2_fill_new_dir(struct ocfs2_super *osb,
|
| H A D | file.c | 72 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_free_file_private() 170 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_sync_file() 211 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_should_update_atime() 258 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_update_inode_atime() 319 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_simple_size_update() 373 static int ocfs2_orphan_for_truncate(struct ocfs2_super *osb, in ocfs2_orphan_for_truncate() 445 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_truncate_file() 537 int ocfs2_add_inode_data(struct ocfs2_super *osb, in ocfs2_add_inode_data() 569 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_extend_allocation() 717 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_zero_start_ordered_transaction() [all …]
|
| H A D | move_extents.c | 56 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in __ocfs2_move_extent() 159 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_lock_meta_allocator_move_extents() 207 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_defrag_extent() 377 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_find_victim_alloc_group() 478 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_validate_and_adjust_move_goal() 575 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_move_extent() 778 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in __ocfs2_move_extents_range() 915 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_move_extents()
|
| H A D | locks.c | 101 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_flock() 119 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_lock()
|
| H A D | quota.h | 89 struct ocfs2_super *osb, int slot_num); 90 int ocfs2_finish_quota_recovery(struct ocfs2_super *osb,
|
| H A D | buffer_head_io.c | 38 int ocfs2_write_block(struct ocfs2_super *osb, struct buffer_head *bh, in ocfs2_write_block() 89 int ocfs2_read_blocks_sync(struct ocfs2_super *osb, u64 block, in ocfs2_read_blocks_sync() 428 int ocfs2_write_super_or_backup(struct ocfs2_super *osb, in ocfs2_write_super_or_backup()
|
| H A D | inode.c | 57 static int ocfs2_truncate_for_delete(struct ocfs2_super *osb, 119 struct inode *ocfs2_iget(struct ocfs2_super *osb, u64 blkno, unsigned flags, in ocfs2_iget() 342 struct ocfs2_super *osb; in ocfs2_populate_inode() 483 struct ocfs2_super *osb; in ocfs2_read_locked_inode() 656 static int ocfs2_truncate_for_delete(struct ocfs2_super *osb, in ocfs2_truncate_for_delete() 721 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_remove_inode() 797 static int ocfs2_check_orphan_recovery_state(struct ocfs2_super *osb, in ocfs2_check_orphan_recovery_state() 816 static void ocfs2_signal_wipe_completion(struct ocfs2_super *osb, in ocfs2_signal_wipe_completion() 832 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_wipe_inode() 921 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_inode_is_valid_to_delete() [all …]
|
| H A D | sysfile.h | 13 struct inode * ocfs2_get_system_file_inode(struct ocfs2_super *osb,
|
| H A D | dcache.h | 31 void ocfs2_dentry_lock_put(struct ocfs2_super *osb,
|
| H A D | acl.c | 296 struct ocfs2_super *osb; in ocfs2_iop_get_acl() 324 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_acl_chmod() 360 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_init_acl()
|