Home
last modified time | relevance | path

Searched defs:osb (Results 1 – 25 of 32) sorted by relevance

12

/fs/ocfs2/
Djournal.c79 static inline int ocfs2_wait_on_mount(struct ocfs2_super *osb) in ocfs2_wait_on_mount()
84 static inline int ocfs2_wait_on_quotas(struct ocfs2_super *osb) in ocfs2_wait_on_quotas()
106 void ocfs2_replay_map_set_state(struct ocfs2_super *osb, int state) in ocfs2_replay_map_set_state()
118 int ocfs2_compute_replay_slots(struct ocfs2_super *osb) in ocfs2_compute_replay_slots()
151 void ocfs2_queue_replay_slots(struct ocfs2_super *osb) in ocfs2_queue_replay_slots()
169 void ocfs2_free_replay_slots(struct ocfs2_super *osb) in ocfs2_free_replay_slots()
180 int ocfs2_recovery_init(struct ocfs2_super *osb) in ocfs2_recovery_init()
207 static int ocfs2_recovery_thread_running(struct ocfs2_super *osb) in ocfs2_recovery_thread_running()
213 void ocfs2_recovery_exit(struct ocfs2_super *osb) in ocfs2_recovery_exit()
239 static int __ocfs2_recovery_map_test(struct ocfs2_super *osb, in __ocfs2_recovery_map_test()
[all …]
Dlocalalloc.c117 unsigned int ocfs2_la_default_mb(struct ocfs2_super *osb) in ocfs2_la_default_mb()
195 void ocfs2_la_set_sizes(struct ocfs2_super *osb, int requested_mb) in ocfs2_la_set_sizes()
222 static inline int ocfs2_la_state_enabled(struct ocfs2_super *osb) in ocfs2_la_state_enabled()
228 void ocfs2_local_alloc_seen_free_bits(struct ocfs2_super *osb, in ocfs2_local_alloc_seen_free_bits()
243 struct ocfs2_super *osb = in ocfs2_la_enable_worker() local
258 int ocfs2_alloc_should_use_local(struct ocfs2_super *osb, u64 bits) in ocfs2_alloc_should_use_local()
284 int ocfs2_load_local_alloc(struct ocfs2_super *osb) in ocfs2_load_local_alloc()
378 void ocfs2_shutdown_local_alloc(struct ocfs2_super *osb) in ocfs2_shutdown_local_alloc()
490 int ocfs2_begin_local_alloc_recovery(struct ocfs2_super *osb, in ocfs2_begin_local_alloc_recovery()
560 int ocfs2_complete_local_alloc_recovery(struct ocfs2_super *osb, in ocfs2_complete_local_alloc_recovery()
[all …]
Ddlmglue.c349 static inline void ocfs2_cluster_unlock(struct ocfs2_super *osb, in ocfs2_cluster_unlock()
496 static void ocfs2_lock_res_init_common(struct ocfs2_super *osb, in ocfs2_lock_res_init_common()
643 struct ocfs2_super *osb) in ocfs2_super_lock_res_init()
655 struct ocfs2_super *osb) in ocfs2_rename_lock_res_init()
666 struct ocfs2_super *osb) in ocfs2_nfs_sync_lock_res_init()
677 struct ocfs2_super *osb) in ocfs2_orphan_scan_lock_res_init()
712 struct ocfs2_super *osb, u64 ref_blkno, in ocfs2_refcount_lock_res_init()
975 struct ocfs2_super *osb) in __lockres_clear_pending()
1001 struct ocfs2_super *osb) in lockres_clear_pending()
1023 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres); in ocfs2_blocking_ast() local
[all …]
Dheartbeat.c57 void ocfs2_init_node_maps(struct ocfs2_super *osb) in ocfs2_init_node_maps()
65 struct ocfs2_super *osb = data; in ocfs2_do_node_down() local
90 void ocfs2_node_map_set_bit(struct ocfs2_super *osb, in ocfs2_node_map_set_bit()
108 void ocfs2_node_map_clear_bit(struct ocfs2_super *osb, in ocfs2_node_map_clear_bit()
120 int ocfs2_node_map_test_bit(struct ocfs2_super *osb, in ocfs2_node_map_test_bit()
Dsuper.c223 static int ocfs2_osb_dump(struct ocfs2_super *osb, char *buf, int len) in ocfs2_osb_dump()
352 struct ocfs2_super *osb = inode->i_private; in ocfs2_osb_debug_open() local
407 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_sync_fs() local
429 static int ocfs2_need_system_inode(struct ocfs2_super *osb, int ino) in ocfs2_need_system_inode()
442 static int ocfs2_init_global_system_inodes(struct ocfs2_super *osb) in ocfs2_init_global_system_inodes()
488 static int ocfs2_init_local_system_inodes(struct ocfs2_super *osb) in ocfs2_init_local_system_inodes()
517 static void ocfs2_release_system_inodes(struct ocfs2_super *osb) in ocfs2_release_system_inodes()
632 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_remount() local
829 static int ocfs2_verify_heartbeat(struct ocfs2_super *osb) in ocfs2_verify_heartbeat()
870 static int ocfs2_verify_userspace_stack(struct ocfs2_super *osb, in ocfs2_verify_userspace_stack()
[all …]
Ddcache.c57 struct ocfs2_super *osb; in ocfs2_dentry_revalidate() local
362 static void __ocfs2_drop_dl_inodes(struct ocfs2_super *osb, int drop_count) in __ocfs2_drop_dl_inodes()
380 struct ocfs2_super *osb = container_of(work, struct ocfs2_super, in ocfs2_drop_dl_inodes() local
396 void ocfs2_drop_all_dl_inodes(struct ocfs2_super *osb) in ocfs2_drop_all_dl_inodes()
422 static void ocfs2_drop_dentry_lock(struct ocfs2_super *osb, in ocfs2_drop_dentry_lock()
439 void ocfs2_dentry_lock_put(struct ocfs2_super *osb, in ocfs2_dentry_lock_put()
511 struct ocfs2_super *osb = OCFS2_SB(old_dir->i_sb); in ocfs2_dentry_move() local
Dslot_map.c134 int ocfs2_refresh_slot_info(struct ocfs2_super *osb) in ocfs2_refresh_slot_info()
201 static int ocfs2_update_disk_slot(struct ocfs2_super *osb, in ocfs2_update_disk_slot()
226 static int ocfs2_slot_map_physical_size(struct ocfs2_super *osb, in ocfs2_slot_map_physical_size()
289 int ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num) in ocfs2_node_num_to_slot()
301 int ocfs2_slot_to_node_num_locked(struct ocfs2_super *osb, int slot_num, in ocfs2_slot_to_node_num_locked()
340 int ocfs2_clear_slot(struct ocfs2_super *osb, int slot_num) in ocfs2_clear_slot()
354 static int ocfs2_map_slot_buffers(struct ocfs2_super *osb, in ocfs2_map_slot_buffers()
418 int ocfs2_init_slot_info(struct ocfs2_super *osb) in ocfs2_init_slot_info()
461 void ocfs2_free_slot_info(struct ocfs2_super *osb) in ocfs2_free_slot_info()
469 int ocfs2_find_slot(struct ocfs2_super *osb) in ocfs2_find_slot()
[all …]
Dsuballoc.c357 static void ocfs2_bg_discontig_add_extent(struct ocfs2_super *osb, in ocfs2_bg_discontig_add_extent()
388 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); in ocfs2_block_group_fill() local
457 ocfs2_block_group_alloc_contig(struct ocfs2_super *osb, handle_t *handle, in ocfs2_block_group_alloc_contig()
501 static int ocfs2_block_group_claim_bits(struct ocfs2_super *osb, in ocfs2_block_group_claim_bits()
529 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); in ocfs2_block_group_grow_discontig() local
625 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); in ocfs2_block_group_alloc_discontig() local
691 static int ocfs2_block_group_alloc(struct ocfs2_super *osb, in ocfs2_block_group_alloc()
801 static int ocfs2_reserve_suballoc_bits(struct ocfs2_super *osb, in ocfs2_reserve_suballoc_bits()
893 static void ocfs2_init_inode_steal_slot(struct ocfs2_super *osb) in ocfs2_init_inode_steal_slot()
901 static void ocfs2_init_meta_steal_slot(struct ocfs2_super *osb) in ocfs2_init_meta_steal_slot()
[all …]
Dioctl.c83 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_set_inode_attr() local
174 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_clustersize() local
199 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_maxslots() local
224 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_label() local
249 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_uuid() local
274 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_fs_features() local
301 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_journal_size() local
321 int ocfs2_info_scan_inode_alloc(struct ocfs2_super *osb, in ocfs2_info_scan_inode_alloc()
376 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_freeinode() local
470 int ocfs2_info_freefrag_scan_chain(struct ocfs2_super *osb, in ocfs2_info_freefrag_scan_chain()
[all …]
Dnamei.c216 struct ocfs2_super *osb; in ocfs2_mknod() local
474 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in __ocfs2_mknod_locked() local
575 static int ocfs2_mknod_locked(struct ocfs2_super *osb, in ocfs2_mknod_locked()
644 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_link() local
796 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_unlink() local
960 static int ocfs2_double_lock(struct ocfs2_super *osb, in ocfs2_double_lock()
1051 struct ocfs2_super *osb = NULL; in ocfs2_rename() local
1483 static int ocfs2_create_symlink_data(struct ocfs2_super *osb, in ocfs2_create_symlink_data()
1587 struct ocfs2_super *osb = NULL; in ocfs2_symlink() local
1869 static int ocfs2_lookup_lock_orphan_dir(struct ocfs2_super *osb, in ocfs2_lookup_lock_orphan_dir()
[all …]
Dacl.c146 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_get_acl() local
295 struct ocfs2_super *osb; in ocfs2_iop_get_acl() local
317 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_acl_chmod() local
351 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_init_acl() local
409 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); in ocfs2_xattr_list_acl_access() local
427 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); in ocfs2_xattr_list_acl_default() local
441 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); in ocfs2_xattr_get_acl() local
465 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_xattr_set_acl() local
Dsysfile.c56 static struct inode **get_local_system_inode(struct ocfs2_super *osb, in get_local_system_inode()
104 struct inode *ocfs2_get_system_file_inode(struct ocfs2_super *osb, in ocfs2_get_system_file_inode()
136 static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb, in _ocfs2_get_system_file_inode()
Dinode.c127 struct inode *ocfs2_iget(struct ocfs2_super *osb, u64 blkno, unsigned flags, in ocfs2_iget()
242 struct ocfs2_super *osb; in ocfs2_populate_inode() local
383 struct ocfs2_super *osb; in ocfs2_read_locked_inode() local
538 static int ocfs2_truncate_for_delete(struct ocfs2_super *osb, in ocfs2_truncate_for_delete()
605 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_remove_inode() local
681 static int ocfs2_check_orphan_recovery_state(struct ocfs2_super *osb, in ocfs2_check_orphan_recovery_state()
700 static void ocfs2_signal_wipe_completion(struct ocfs2_super *osb, in ocfs2_signal_wipe_completion()
716 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_wipe_inode() local
805 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_inode_is_valid_to_delete() local
Dfile.c86 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_free_file_private() local
180 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_sync_file() local
223 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_should_update_atime() local
266 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_update_inode_atime() local
326 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_simple_size_update() local
379 static int ocfs2_orphan_for_truncate(struct ocfs2_super *osb, in ocfs2_orphan_for_truncate()
450 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_truncate_file() local
543 int ocfs2_add_inode_data(struct ocfs2_super *osb, in ocfs2_add_inode_data()
578 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in __ocfs2_extend_allocation() local
728 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_zero_start_ordered_transaction() local
[all …]
Dbuffer_head_io.c53 int ocfs2_write_block(struct ocfs2_super *osb, struct buffer_head *bh, in ocfs2_write_block()
102 int ocfs2_read_blocks_sync(struct ocfs2_super *osb, u64 block, in ocfs2_read_blocks_sync()
393 int ocfs2_write_super_or_backup(struct ocfs2_super *osb, in ocfs2_write_super_or_backup()
Dresize.c96 struct ocfs2_super *osb = OCFS2_SB(bm_inode->i_sb); in ocfs2_update_last_group_and_inode() local
190 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in update_backups() local
229 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_update_super_and_backups() local
279 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_group_extend() local
466 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_group_add() local
Dmove_extents.c65 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in __ocfs2_move_extent() local
176 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_lock_allocators_move_extents() local
232 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_defrag_extent() local
374 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_find_victim_alloc_group() local
475 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_validate_and_adjust_move_goal() local
648 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_move_extent() local
846 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in __ocfs2_move_extents_range() local
978 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_move_extents() local
Docfs2.h470 static inline int ocfs2_sparse_alloc(struct ocfs2_super *osb) in ocfs2_sparse_alloc()
477 static inline int ocfs2_writes_unwritten_extents(struct ocfs2_super *osb) in ocfs2_writes_unwritten_extents()
490 static inline int ocfs2_supports_inline_data(struct ocfs2_super *osb) in ocfs2_supports_inline_data()
497 static inline int ocfs2_supports_xattr(struct ocfs2_super *osb) in ocfs2_supports_xattr()
504 static inline int ocfs2_meta_ecc(struct ocfs2_super *osb) in ocfs2_meta_ecc()
511 static inline int ocfs2_supports_indexed_dirs(struct ocfs2_super *osb) in ocfs2_supports_indexed_dirs()
518 static inline int ocfs2_supports_discontig_bg(struct ocfs2_super *osb) in ocfs2_supports_discontig_bg()
525 static inline unsigned int ocfs2_link_max(struct ocfs2_super *osb) in ocfs2_link_max()
563 static inline int ocfs2_refcount_tree(struct ocfs2_super *osb) in ocfs2_refcount_tree()
574 static inline void ocfs2_set_osb_flag(struct ocfs2_super *osb, in ocfs2_set_osb_flag()
[all …]
Dlocks.c111 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_flock() local
131 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_lock() local
Drefcounttree.c203 ocfs2_find_refcount_tree(struct ocfs2_super *osb, u64 blkno) in ocfs2_find_refcount_tree()
223 static void ocfs2_insert_refcount_tree(struct ocfs2_super *osb, in ocfs2_insert_refcount_tree()
262 ocfs2_erase_refcount_tree_from_list_no_lock(struct ocfs2_super *osb, in ocfs2_erase_refcount_tree_from_list_no_lock()
270 static void ocfs2_erase_refcount_tree_from_list(struct ocfs2_super *osb, in ocfs2_erase_refcount_tree_from_list()
307 static inline void ocfs2_init_refcount_tree_lock(struct ocfs2_super *osb, in ocfs2_init_refcount_tree_lock()
317 ocfs2_allocate_refcount_tree(struct ocfs2_super *osb, u64 rf_blkno) in ocfs2_allocate_refcount_tree()
332 static int ocfs2_get_refcount_tree(struct ocfs2_super *osb, u64 rf_blkno, in ocfs2_get_refcount_tree()
424 static int __ocfs2_lock_refcount_tree(struct ocfs2_super *osb, in __ocfs2_lock_refcount_tree()
452 int ocfs2_lock_refcount_tree(struct ocfs2_super *osb, in ocfs2_lock_refcount_tree()
526 void ocfs2_unlock_refcount_tree(struct ocfs2_super *osb, in ocfs2_unlock_refcount_tree()
[all …]
Daops.c59 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_symlink_get_block() local
137 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_get_block() local
648 static void ocfs2_figure_cluster_boundaries(struct ocfs2_super *osb, in ocfs2_figure_cluster_boundaries()
684 struct ocfs2_super *osb, u32 cpos, in ocfs2_clear_page_regions()
947 struct ocfs2_super *osb, loff_t pos, in ocfs2_alloc_write_ctxt()
1320 struct ocfs2_super *osb = OCFS2_SB(mapping->host->i_sb); in ocfs2_write_cluster_by_desc() local
1358 static void ocfs2_set_target_boundaries(struct ocfs2_super *osb, in ocfs2_set_target_boundaries()
1501 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_write_begin_inline() local
1672 static int ocfs2_try_to_free_truncate_log(struct ocfs2_super *osb, in ocfs2_try_to_free_truncate_log()
1714 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_write_begin_nolock() local
[all …]
Dquota_global.c593 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_sync_dquot_helper() local
645 struct ocfs2_super *osb = OCFS2_SB(dquot->dq_sb); in ocfs2_write_dquot() local
683 struct ocfs2_super *osb = OCFS2_SB(dquot->dq_sb); in ocfs2_release_dquot() local
737 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_acquire_dquot() local
829 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_mark_dquot_dirty() local
Ddir.c91 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_supports_dir_trailer() local
109 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_new_dir_wants_trailer() local
274 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_dx_dir_name_hash() local
860 static inline unsigned int __ocfs2_dx_dir_hash_idx(struct ocfs2_super *osb, in __ocfs2_dx_dir_hash_idx()
866 static inline unsigned int ocfs2_dx_dir_hash_idx(struct ocfs2_super *osb, in ocfs2_dx_dir_hash_idx()
2272 static int ocfs2_fill_new_dir_id(struct ocfs2_super *osb, in ocfs2_fill_new_dir_id()
2305 static int ocfs2_fill_new_dir_el(struct ocfs2_super *osb, in ocfs2_fill_new_dir_el()
2375 static int ocfs2_dx_dir_attach_index(struct ocfs2_super *osb, in ocfs2_dx_dir_attach_index()
2467 static int ocfs2_dx_dir_format_cluster(struct ocfs2_super *osb, in ocfs2_dx_dir_format_cluster()
2529 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in __ocfs2_dx_dir_new_cluster() local
[all …]
Dsuballoc.h147 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() local
Dreservations.c47 int ocfs2_dir_resv_allowed(struct ocfs2_super *osb) in ocfs2_dir_resv_allowed()
55 struct ocfs2_super *osb = resmap->m_osb; in ocfs2_resv_window_bits() local
88 struct ocfs2_super *osb = resmap->m_osb; in ocfs2_dump_resv() local
214 int ocfs2_resmap_init(struct ocfs2_super *osb, in ocfs2_resmap_init()

12