Home
last modified time | relevance | path

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

/linux-4.4.14/fs/ocfs2/
Dlocalalloc.h29 int ocfs2_load_local_alloc(struct ocfs2_super *osb);
31 void ocfs2_shutdown_local_alloc(struct ocfs2_super *osb);
33 void ocfs2_la_set_sizes(struct ocfs2_super *osb, int requested_mb);
34 unsigned int ocfs2_la_default_mb(struct ocfs2_super *osb);
36 int ocfs2_begin_local_alloc_recovery(struct ocfs2_super *osb,
40 int ocfs2_complete_local_alloc_recovery(struct ocfs2_super *osb,
43 int ocfs2_alloc_should_use_local(struct ocfs2_super *osb,
47 int ocfs2_reserve_local_alloc_bits(struct ocfs2_super *osb,
51 int ocfs2_claim_local_alloc_bits(struct ocfs2_super *osb,
58 int ocfs2_free_local_alloc_bits(struct ocfs2_super *osb,
[all …]
Dslot_map.h30 int ocfs2_init_slot_info(struct ocfs2_super *osb);
31 void ocfs2_free_slot_info(struct ocfs2_super *osb);
33 int ocfs2_find_slot(struct ocfs2_super *osb);
34 void ocfs2_put_slot(struct ocfs2_super *osb);
36 int ocfs2_refresh_slot_info(struct ocfs2_super *osb);
38 int ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num);
39 int ocfs2_slot_to_node_num_locked(struct ocfs2_super *osb, int slot_num,
42 int ocfs2_clear_slot(struct ocfs2_super *osb, int slot_num);
Ddlmglue.h90 int ocfs2_dlm_init(struct ocfs2_super *osb);
91 void ocfs2_dlm_shutdown(struct ocfs2_super *osb, int hangup_pending);
106 struct ocfs2_super *osb, u64 ref_blkno,
138 int ocfs2_super_lock(struct ocfs2_super *osb,
140 void ocfs2_super_unlock(struct ocfs2_super *osb,
142 int ocfs2_orphan_scan_lock(struct ocfs2_super *osb, u32 *seqno);
143 void ocfs2_orphan_scan_unlock(struct ocfs2_super *osb, u32 seqno);
145 int ocfs2_rename_lock(struct ocfs2_super *osb);
146 void ocfs2_rename_unlock(struct ocfs2_super *osb);
147 int ocfs2_nfs_sync_lock(struct ocfs2_super *osb, int ex);
[all …]
Djournal.h38 struct ocfs2_super;
58 struct ocfs2_super *j_osb; /* pointer to the super
149 static inline void ocfs2_ci_set_new(struct ocfs2_super *osb, in ocfs2_ci_set_new()
158 void ocfs2_orphan_scan_init(struct ocfs2_super *osb);
159 void ocfs2_orphan_scan_start(struct ocfs2_super *osb);
160 void ocfs2_orphan_scan_stop(struct ocfs2_super *osb);
161 void ocfs2_orphan_scan_exit(struct ocfs2_super *osb);
164 void ocfs2_wait_for_recovery(struct ocfs2_super *osb);
166 int ocfs2_recovery_init(struct ocfs2_super *osb);
167 void ocfs2_recovery_exit(struct ocfs2_super *osb);
[all …]
Docfs2.h224 struct ocfs2_super *os_osb;
303 struct ocfs2_super struct
469 #define OCFS2_SB(sb) ((struct ocfs2_super *)(sb)->s_fs_info) argument
485 static inline int ocfs2_sparse_alloc(struct ocfs2_super *osb) in ocfs2_sparse_alloc()
492 static inline int ocfs2_writes_unwritten_extents(struct ocfs2_super *osb) in ocfs2_writes_unwritten_extents()
505 static inline int ocfs2_supports_append_dio(struct ocfs2_super *osb) in ocfs2_supports_append_dio()
513 static inline int ocfs2_supports_inline_data(struct ocfs2_super *osb) in ocfs2_supports_inline_data()
520 static inline int ocfs2_supports_xattr(struct ocfs2_super *osb) in ocfs2_supports_xattr()
527 static inline int ocfs2_meta_ecc(struct ocfs2_super *osb) in ocfs2_meta_ecc()
534 static inline int ocfs2_supports_indexed_dirs(struct ocfs2_super *osb) in ocfs2_supports_indexed_dirs()
[all …]
Dalloc.h147 int ocfs2_num_free_extents(struct ocfs2_super *osb,
175 int ocfs2_truncate_log_init(struct ocfs2_super *osb);
176 void ocfs2_truncate_log_shutdown(struct ocfs2_super *osb);
177 void ocfs2_schedule_truncate_log_flush(struct ocfs2_super *osb,
179 int ocfs2_flush_truncate_log(struct ocfs2_super *osb);
180 int ocfs2_begin_truncate_log_recovery(struct ocfs2_super *osb,
183 int ocfs2_complete_truncate_log_recovery(struct ocfs2_super *osb,
185 int ocfs2_truncate_log_needs_flush(struct ocfs2_super *osb);
186 int ocfs2_truncate_log_append(struct ocfs2_super *osb,
190 int __ocfs2_flush_truncate_log(struct ocfs2_super *osb);
[all …]
Dheartbeat.h29 void ocfs2_init_node_maps(struct ocfs2_super *osb);
35 void ocfs2_node_map_set_bit(struct ocfs2_super *osb,
38 void ocfs2_node_map_clear_bit(struct ocfs2_super *osb,
41 int ocfs2_node_map_test_bit(struct ocfs2_super *osb,
Dsuballoc.h65 void ocfs2_init_steal_slots(struct ocfs2_super *osb);
77 int ocfs2_reserve_new_metadata(struct ocfs2_super *osb,
80 int ocfs2_reserve_new_metadata_blocks(struct ocfs2_super *osb,
83 int ocfs2_reserve_new_inode(struct ocfs2_super *osb,
85 int ocfs2_reserve_clusters(struct ocfs2_super *osb,
163 static inline u32 ocfs2_cluster_from_desc(struct ocfs2_super *osb, in ocfs2_cluster_from_desc()
181 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_is_cluster_bitmap()
187 int ocfs2_reserve_cluster_bitmap_bits(struct ocfs2_super *osb,
218 int ocfs2_test_inode_bit(struct ocfs2_super *osb, u64 blkno, int *res);
Djournal.c64 static int ocfs2_recover_node(struct ocfs2_super *osb,
67 static int ocfs2_commit_cache(struct ocfs2_super *osb);
68 static int __ocfs2_wait_on_mount(struct ocfs2_super *osb, int quota);
69 static int ocfs2_journal_toggle_dirty(struct ocfs2_super *osb,
71 static int ocfs2_trylock_journal(struct ocfs2_super *osb,
73 static int ocfs2_recover_orphans(struct ocfs2_super *osb,
84 static inline int ocfs2_wait_on_mount(struct ocfs2_super *osb) in ocfs2_wait_on_mount()
89 static inline int ocfs2_wait_on_quotas(struct ocfs2_super *osb) in ocfs2_wait_on_quotas()
111 static void ocfs2_replay_map_set_state(struct ocfs2_super *osb, int state) in ocfs2_replay_map_set_state()
123 int ocfs2_compute_replay_slots(struct ocfs2_super *osb) in ocfs2_compute_replay_slots()
[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()
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()
Ddlmglue.c71 static struct ocfs2_super *ocfs2_get_dentry_osb(struct ocfs2_lock_res *lockres);
72 static struct ocfs2_super *ocfs2_get_inode_osb(struct ocfs2_lock_res *lockres);
73 static struct ocfs2_super *ocfs2_get_file_osb(struct ocfs2_lock_res *lockres);
74 static struct ocfs2_super *ocfs2_get_qinfo_osb(struct ocfs2_lock_res *lockres);
109 static void ocfs2_dentry_post_unlock(struct ocfs2_super *osb,
165 struct ocfs2_super * (*get_osb)(struct ocfs2_lock_res *);
176 void (*post_unlock)(struct ocfs2_super *, struct ocfs2_lock_res *);
332 static inline struct ocfs2_super *ocfs2_get_lockres_osb(struct ocfs2_lock_res *lockres) in ocfs2_get_lockres_osb()
337 return (struct ocfs2_super *)lockres->l_priv; in ocfs2_get_lockres_osb()
340 static int ocfs2_lock_create(struct ocfs2_super *osb,
[all …]
Dlocalalloc.c53 static int ocfs2_local_alloc_find_clear_bits(struct ocfs2_super *osb,
60 static int ocfs2_sync_local_to_main(struct ocfs2_super *osb,
66 static int ocfs2_local_alloc_reserve_for_window(struct ocfs2_super *osb,
71 static int ocfs2_local_alloc_new_window(struct ocfs2_super *osb,
75 static int ocfs2_local_alloc_slide_window(struct ocfs2_super *osb,
117 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()
[all …]
Dnamei.h36 int ocfs2_orphan_del(struct ocfs2_super *osb,
45 int ocfs2_add_inode_to_orphan(struct ocfs2_super *osb,
47 int ocfs2_del_inode_from_orphan(struct ocfs2_super *osb,
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 …]
Dbuffer_head_io.h34 int ocfs2_write_block(struct ocfs2_super *osb,
37 int ocfs2_read_blocks_sync(struct ocfs2_super *osb, u64 block,
52 int ocfs2_write_super_or_backup(struct ocfs2_super *osb,
Dreservations.h52 struct ocfs2_super *m_osb;
70 int ocfs2_dir_resv_allowed(struct ocfs2_super *osb);
94 int ocfs2_resmap_init(struct ocfs2_super *osb,
Dsysfile.c42 static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb,
56 static struct inode **get_local_system_inode(struct ocfs2_super *osb, in get_local_system_inode()
103 struct inode *ocfs2_get_system_file_inode(struct ocfs2_super *osb, in ocfs2_get_system_file_inode()
138 static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb, in _ocfs2_get_system_file_inode()
Dsuper.c118 static void ocfs2_delete_osb(struct ocfs2_super *osb);
124 static int ocfs2_init_global_system_inodes(struct ocfs2_super *osb);
125 static int ocfs2_init_local_system_inodes(struct ocfs2_super *osb);
126 static void ocfs2_release_system_inodes(struct ocfs2_super *osb);
127 static int ocfs2_check_volume(struct ocfs2_super *osb);
142 static int ocfs2_susp_quotas(struct ocfs2_super *osb, int unsuspend);
143 static int ocfs2_enable_quotas(struct ocfs2_super *osb);
144 static void ocfs2_disable_quotas(struct ocfs2_super *osb);
233 static int ocfs2_osb_dump(struct ocfs2_super *osb, char *buf, int len) in ocfs2_osb_dump()
361 struct ocfs2_super *osb = inode->i_private; in ocfs2_osb_debug_open()
[all …]
Drefcounttree.h36 void ocfs2_purge_refcount_trees(struct ocfs2_super *osb);
37 int ocfs2_lock_refcount_tree(struct ocfs2_super *osb, u64 ref_blkno, int rw,
40 void ocfs2_unlock_refcount_tree(struct ocfs2_super *osb,
Dsuballoc.c92 static int ocfs2_block_group_alloc(struct ocfs2_super *osb,
131 static int ocfs2_reserve_clusters_with_limit(struct ocfs2_super *osb,
336 static void ocfs2_bg_discontig_add_extent(struct ocfs2_super *osb, in ocfs2_bg_discontig_add_extent()
367 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); in ocfs2_block_group_fill()
435 ocfs2_block_group_alloc_contig(struct ocfs2_super *osb, handle_t *handle, in ocfs2_block_group_alloc_contig()
479 static int ocfs2_block_group_claim_bits(struct ocfs2_super *osb, in ocfs2_block_group_claim_bits()
507 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); in ocfs2_block_group_grow_discontig()
603 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); in ocfs2_block_group_alloc_discontig()
669 static int ocfs2_block_group_alloc(struct ocfs2_super *osb, in ocfs2_block_group_alloc()
780 static int ocfs2_reserve_suballoc_bits(struct ocfs2_super *osb, in ocfs2_reserve_suballoc_bits()
[all …]
Dioctl.c83 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_set_inode_attr()
167 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_clustersize()
186 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_maxslots()
205 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_label()
224 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_uuid()
243 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_fs_features()
264 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_journal_size()
279 static int ocfs2_info_scan_inode_alloc(struct ocfs2_super *osb, in ocfs2_info_scan_inode_alloc()
335 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_freeinode()
434 static int ocfs2_info_freefrag_scan_chain(struct ocfs2_super *osb, in ocfs2_info_freefrag_scan_chain()
[all …]
Ddcache.c55 struct ocfs2_super *osb; in ocfs2_dentry_revalidate()
369 static void ocfs2_drop_dentry_lock(struct ocfs2_super *osb, in ocfs2_drop_dentry_lock()
378 void ocfs2_dentry_lock_put(struct ocfs2_super *osb, in ocfs2_dentry_lock_put()
448 struct ocfs2_super *osb = OCFS2_SB(old_dir->i_sb); in ocfs2_dentry_move()
Dnamei.c69 static int ocfs2_mknod_locked(struct ocfs2_super *osb,
78 static int ocfs2_prepare_orphan_dir(struct ocfs2_super *osb,
85 static int ocfs2_orphan_add(struct ocfs2_super *osb,
94 static int ocfs2_create_symlink_data(struct ocfs2_super *osb,
99 static int ocfs2_double_lock(struct ocfs2_super *osb,
222 static void ocfs2_cleanup_add_entry_failure(struct ocfs2_super *osb, in ocfs2_cleanup_add_entry_failure()
245 struct ocfs2_super *osb; in ocfs2_mknod()
514 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()
696 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_link()
[all …]
Ddir.h97 int ocfs2_prepare_dir_for_insert(struct ocfs2_super *osb,
104 int ocfs2_fill_new_dir(struct ocfs2_super *osb,
Dquota.h88 struct ocfs2_super *osb, int slot_num);
89 int ocfs2_finish_quota_recovery(struct ocfs2_super *osb,
Dlocks.c116 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_flock()
136 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_lock()
Dfile.c87 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_free_file_private()
183 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_sync_file()
224 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_should_update_atime()
267 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_update_inode_atime()
328 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_simple_size_update()
382 static int ocfs2_orphan_for_truncate(struct ocfs2_super *osb, in ocfs2_orphan_for_truncate()
454 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_truncate_file()
542 int ocfs2_add_inode_data(struct ocfs2_super *osb, in ocfs2_add_inode_data()
577 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in __ocfs2_extend_allocation()
730 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_zero_start_ordered_transaction()
[all …]
Dmove_extents.c65 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in __ocfs2_move_extent()
176 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_lock_allocators_move_extents()
231 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_defrag_extent()
373 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_find_victim_alloc_group()
474 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_validate_and_adjust_move_goal()
570 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_move_extent()
771 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in __ocfs2_move_extents_range()
903 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_move_extents()
Dinode.c73 static int ocfs2_truncate_for_delete(struct ocfs2_super *osb,
127 struct inode *ocfs2_iget(struct ocfs2_super *osb, u64 blkno, unsigned flags, in ocfs2_iget()
269 struct ocfs2_super *osb; in ocfs2_populate_inode()
409 struct ocfs2_super *osb; in ocfs2_read_locked_inode()
553 static int ocfs2_truncate_for_delete(struct ocfs2_super *osb, in ocfs2_truncate_for_delete()
620 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_remove_inode()
696 static int ocfs2_check_orphan_recovery_state(struct ocfs2_super *osb, in ocfs2_check_orphan_recovery_state()
715 static void ocfs2_signal_wipe_completion(struct ocfs2_super *osb, in ocfs2_signal_wipe_completion()
731 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_wipe_inode()
820 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_inode_is_valid_to_delete()
[all …]
Dsysfile.h29 struct inode * ocfs2_get_system_file_inode(struct ocfs2_super *osb,
Dbuffer_head_io.c53 int ocfs2_write_block(struct ocfs2_super *osb, struct buffer_head *bh, in ocfs2_write_block()
101 int ocfs2_read_blocks_sync(struct ocfs2_super *osb, u64 block, in ocfs2_read_blocks_sync()
398 int ocfs2_write_super_or_backup(struct ocfs2_super *osb, in ocfs2_write_super_or_backup()
Daops.c64 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_symlink_get_block()
144 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_get_block()
656 static int ocfs2_is_overwrite(struct ocfs2_super *osb, in ocfs2_is_overwrite()
679 static int ocfs2_direct_IO_zero_extend(struct ocfs2_super *osb, in ocfs2_direct_IO_zero_extend()
713 static int ocfs2_direct_IO_extend_no_holes(struct ocfs2_super *osb, in ocfs2_direct_IO_extend_no_holes()
800 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_direct_IO_write()
987 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_direct_IO()
1013 static void ocfs2_figure_cluster_boundaries(struct ocfs2_super *osb, in ocfs2_figure_cluster_boundaries()
1049 struct ocfs2_super *osb, u32 cpos, in ocfs2_clear_page_regions()
1316 struct ocfs2_super *osb, loff_t pos, in ocfs2_alloc_write_ctxt()
[all …]
Dsuper.h31 int ocfs2_publish_get_mount_state(struct ocfs2_super *osb,
Ddcache.h47 void ocfs2_dentry_lock_put(struct ocfs2_super *osb,
Dresize.c101 struct ocfs2_super *osb = OCFS2_SB(bm_inode->i_sb); in ocfs2_update_last_group_and_inode()
193 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in update_backups()
232 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_update_super_and_backups()
282 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_group_extend()
469 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_group_add()
Dacl.c304 struct ocfs2_super *osb; in ocfs2_iop_get_acl()
328 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_acl_chmod()
362 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_init_acl()
Dquota_global.c596 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_sync_dquot_helper()
649 struct ocfs2_super *osb = OCFS2_SB(dquot->dq_sb); in ocfs2_write_dquot()
685 struct ocfs2_super *osb = container_of(work, struct ocfs2_super, in ocfs2_drop_dquot_refs()
709 struct ocfs2_super *osb = OCFS2_SB(dquot->dq_sb); in ocfs2_release_dquot()
783 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_acquire_dquot()
877 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_mark_dquot_dirty()
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()
88 struct ocfs2_super *osb = resmap->m_osb; in ocfs2_dump_resv()
214 int ocfs2_resmap_init(struct ocfs2_super *osb, in ocfs2_resmap_init()
Drefcounttree.c201 ocfs2_find_refcount_tree(struct ocfs2_super *osb, u64 blkno) in ocfs2_find_refcount_tree()
221 static void ocfs2_insert_refcount_tree(struct ocfs2_super *osb, in ocfs2_insert_refcount_tree()
260 ocfs2_erase_refcount_tree_from_list_no_lock(struct ocfs2_super *osb, in ocfs2_erase_refcount_tree_from_list_no_lock()
268 static void ocfs2_erase_refcount_tree_from_list(struct ocfs2_super *osb, in ocfs2_erase_refcount_tree_from_list()
305 static inline void ocfs2_init_refcount_tree_lock(struct ocfs2_super *osb, in ocfs2_init_refcount_tree_lock()
315 ocfs2_allocate_refcount_tree(struct ocfs2_super *osb, u64 rf_blkno) in ocfs2_allocate_refcount_tree()
330 static int ocfs2_get_refcount_tree(struct ocfs2_super *osb, u64 rf_blkno, in ocfs2_get_refcount_tree()
422 static int __ocfs2_lock_refcount_tree(struct ocfs2_super *osb, in __ocfs2_lock_refcount_tree()
450 int ocfs2_lock_refcount_tree(struct ocfs2_super *osb, in ocfs2_lock_refcount_tree()
524 void ocfs2_unlock_refcount_tree(struct ocfs2_super *osb, in ocfs2_unlock_refcount_tree()
[all …]
Ddir.c90 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_supports_dir_trailer()
108 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_new_dir_wants_trailer()
273 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_dx_dir_name_hash()
849 static inline unsigned int __ocfs2_dx_dir_hash_idx(struct ocfs2_super *osb, in __ocfs2_dx_dir_hash_idx()
855 static inline unsigned int ocfs2_dx_dir_hash_idx(struct ocfs2_super *osb, in ocfs2_dx_dir_hash_idx()
2207 static int ocfs2_fill_new_dir_id(struct ocfs2_super *osb, in ocfs2_fill_new_dir_id()
2240 static int ocfs2_fill_new_dir_el(struct ocfs2_super *osb, in ocfs2_fill_new_dir_el()
2310 static int ocfs2_dx_dir_attach_index(struct ocfs2_super *osb, in ocfs2_dx_dir_attach_index()
2402 static int ocfs2_dx_dir_format_cluster(struct ocfs2_super *osb, in ocfs2_dx_dir_format_cluster()
2464 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in __ocfs2_dx_dir_new_cluster()
[all …]
Dfile.h44 int ocfs2_add_inode_data(struct ocfs2_super *osb,
Dalloc.c227 struct ocfs2_super *osb = OCFS2_SB(oi->vfs_inode.i_sb); in ocfs2_dinode_insert_check()
957 int ocfs2_num_free_extents(struct ocfs2_super *osb, in ocfs2_num_free_extents()
1005 struct ocfs2_super *osb = in ocfs2_create_new_meta_bhs()
3123 static int ocfs2_remove_rightmost_empty_extent(struct ocfs2_super *osb, in ocfs2_remove_rightmost_empty_extent()
4767 struct ocfs2_super *osb = in ocfs2_add_clusters_in_btree()
5641 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_reserve_blocks_for_rec_trunc()
5684 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_remove_btree_range()
5790 int ocfs2_truncate_log_needs_flush(struct ocfs2_super *osb) in ocfs2_truncate_log_needs_flush()
5823 int ocfs2_truncate_log_append(struct ocfs2_super *osb, in ocfs2_truncate_log_append()
5899 static int ocfs2_replay_truncate_records(struct ocfs2_super *osb, in ocfs2_replay_truncate_records()
[all …]
Dblockcheck.c617 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_validate_meta_ecc()
639 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_validate_meta_ecc_bhs()
Dinode.h143 struct inode *ocfs2_iget(struct ocfs2_super *osb, u64 feoff, unsigned flags,
Dxattr.c316 static inline u16 ocfs2_xattr_buckets_per_cluster(struct ocfs2_super *osb) in ocfs2_xattr_buckets_per_cluster()
594 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_calc_security_init()
634 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_calc_xattr_init()
2352 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_remove_value_outside()
2472 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_xattr_free_block()
2706 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_xattr_ibody_init()
3240 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_init_xattr_set_ctxt()
3520 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_xattr_set()
4868 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_mv_xattr_buckets()
5096 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_add_new_xattr_cluster()
[all …]
Dexport.c54 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_get_dentry()
Dquota_local.c385 struct ocfs2_super *osb, in ocfs2_begin_quota_recovery()
582 int ocfs2_finish_quota_recovery(struct ocfs2_super *osb, in ocfs2_finish_quota_recovery()
Dextent_map.c757 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_fiemap()