Home
last modified time | relevance | path

Searched refs:osb (Results 1 – 25 of 28) sorted by relevance

12

/linux/fs/ocfs2/
H A Djournal.c49 static int ocfs2_recover_node(struct ocfs2_super *osb,
52 static int ocfs2_commit_cache(struct ocfs2_super *osb);
53 static int __ocfs2_wait_on_mount(struct ocfs2_super *osb, int quota);
54 static int ocfs2_journal_toggle_dirty(struct ocfs2_super *osb,
56 static int ocfs2_trylock_journal(struct ocfs2_super *osb,
58 static int ocfs2_recover_orphans(struct ocfs2_super *osb,
69 static inline int ocfs2_wait_on_mount(struct ocfs2_super *osb) in ocfs2_wait_on_mount() argument
71 return __ocfs2_wait_on_mount(osb, 0); in ocfs2_wait_on_mount()
74 static inline int ocfs2_wait_on_quotas(struct ocfs2_super *osb) in ocfs2_wait_on_quotas() argument
76 return __ocfs2_wait_on_mount(osb, in ocfs2_wait_on_quotas()
96 ocfs2_replay_map_set_state(struct ocfs2_super * osb,int state) ocfs2_replay_map_set_state() argument
108 ocfs2_compute_replay_slots(struct ocfs2_super * osb) ocfs2_compute_replay_slots() argument
139 ocfs2_queue_replay_slots(struct ocfs2_super * osb,enum ocfs2_orphan_reco_type orphan_reco_type) ocfs2_queue_replay_slots() argument
159 ocfs2_free_replay_slots(struct ocfs2_super * osb) ocfs2_free_replay_slots() argument
170 ocfs2_recovery_init(struct ocfs2_super * osb) ocfs2_recovery_init() argument
190 ocfs2_recovery_thread_running(struct ocfs2_super * osb) ocfs2_recovery_thread_running() argument
195 ocfs2_recovery_disable(struct ocfs2_super * osb,enum ocfs2_recovery_state state) ocfs2_recovery_disable() argument
225 ocfs2_recovery_disable_quota(struct ocfs2_super * osb) ocfs2_recovery_disable_quota() argument
230 ocfs2_recovery_exit(struct ocfs2_super * osb) ocfs2_recovery_exit() argument
248 __ocfs2_recovery_map_test(struct ocfs2_super * osb,unsigned int node_num) __ocfs2_recovery_map_test() argument
265 ocfs2_recovery_map_set(struct ocfs2_super * osb,unsigned int node_num) ocfs2_recovery_map_set() argument
286 ocfs2_recovery_map_clear(struct ocfs2_super * osb,unsigned int node_num) ocfs2_recovery_map_clear() argument
309 ocfs2_commit_cache(struct ocfs2_super * osb) ocfs2_commit_cache() argument
350 ocfs2_start_trans(struct ocfs2_super * osb,int max_buffs) ocfs2_start_trans() argument
390 ocfs2_commit_trans(struct ocfs2_super * osb,handle_t * handle) ocfs2_commit_trans() argument
663 struct ocfs2_super *osb = __ocfs2_journal_access() local
737 struct ocfs2_super *osb = OCFS2_SB(ocfs2_metadata_cache_get_super(ci)); ocfs2_journal_access_di() local
747 struct ocfs2_super *osb = OCFS2_SB(ocfs2_metadata_cache_get_super(ci)); ocfs2_journal_access_eb() local
757 struct ocfs2_super *osb = OCFS2_SB(ocfs2_metadata_cache_get_super(ci)); ocfs2_journal_access_rb() local
767 struct ocfs2_super *osb = OCFS2_SB(ocfs2_metadata_cache_get_super(ci)); ocfs2_journal_access_gd() local
777 struct ocfs2_super *osb = OCFS2_SB(ocfs2_metadata_cache_get_super(ci)); ocfs2_journal_access_db() local
787 struct ocfs2_super *osb = OCFS2_SB(ocfs2_metadata_cache_get_super(ci)); ocfs2_journal_access_xb() local
797 struct ocfs2_super *osb = OCFS2_SB(ocfs2_metadata_cache_get_super(ci)); ocfs2_journal_access_dq() local
807 struct ocfs2_super *osb = OCFS2_SB(ocfs2_metadata_cache_get_super(ci)); ocfs2_journal_access_dr() local
817 struct ocfs2_super *osb = OCFS2_SB(ocfs2_metadata_cache_get_super(ci)); ocfs2_journal_access_dl() local
857 ocfs2_set_journal_params(struct ocfs2_super * osb) ocfs2_set_journal_params() argument
878 ocfs2_journal_alloc(struct ocfs2_super * osb) ocfs2_journal_alloc() argument
916 ocfs2_journal_init(struct ocfs2_super * osb,int * dirty) ocfs2_journal_init() argument
1020 ocfs2_journal_toggle_dirty(struct ocfs2_super * osb,int dirty,int replayed) ocfs2_journal_toggle_dirty() argument
1055 ocfs2_journal_shutdown(struct ocfs2_super * osb) ocfs2_journal_shutdown() argument
1156 struct ocfs2_super *osb; ocfs2_journal_load() local
1225 ocfs2_recovery_completed(struct ocfs2_super * osb) ocfs2_recovery_completed() argument
1237 ocfs2_wait_for_recovery(struct ocfs2_super * osb) ocfs2_wait_for_recovery() argument
1258 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_force_read_journal() local
1323 struct ocfs2_super *osb = journal->j_osb; ocfs2_complete_recovery() local
1431 ocfs2_complete_mount_recovery(struct ocfs2_super * osb) ocfs2_complete_mount_recovery() argument
1453 ocfs2_complete_quota_recovery(struct ocfs2_super * osb) ocfs2_complete_quota_recovery() argument
1469 struct ocfs2_super *osb = arg; __ocfs2_recovery_thread() local
1614 ocfs2_recovery_thread(struct ocfs2_super * osb,int node_num) ocfs2_recovery_thread() argument
1643 ocfs2_read_journal_inode(struct ocfs2_super * osb,int slot_num,struct buffer_head ** bh,struct inode ** ret_inode) ocfs2_read_journal_inode() argument
1681 ocfs2_replay_journal(struct ocfs2_super * osb,int node_num,int slot_num) ocfs2_replay_journal() argument
1828 ocfs2_recover_node(struct ocfs2_super * osb,int node_num,int slot_num) ocfs2_recover_node() argument
1885 ocfs2_trylock_journal(struct ocfs2_super * osb,int slot_num) ocfs2_trylock_journal() argument
1924 ocfs2_mark_dead_nodes(struct ocfs2_super * osb) ocfs2_mark_dead_nodes() argument
2031 ocfs2_queue_orphan_scan(struct ocfs2_super * osb) ocfs2_queue_orphan_scan() argument
2083 struct ocfs2_super *osb; ocfs2_orphan_scan_work() local
2097 ocfs2_orphan_scan_stop(struct ocfs2_super * osb) ocfs2_orphan_scan_stop() argument
2110 ocfs2_orphan_scan_init(struct ocfs2_super * osb) ocfs2_orphan_scan_init() argument
2122 ocfs2_orphan_scan_start(struct ocfs2_super * osb) ocfs2_orphan_scan_start() argument
2140 struct ocfs2_super *osb; global() member
2189 ocfs2_queue_orphans(struct ocfs2_super * osb,int slot,struct inode ** head,enum ocfs2_orphan_reco_type orphan_reco_type) ocfs2_queue_orphans() argument
2235 ocfs2_orphan_recovery_can_continue(struct ocfs2_super * osb,int slot) ocfs2_orphan_recovery_can_continue() argument
2246 ocfs2_mark_recovering_orphan_dir(struct ocfs2_super * osb,int slot) ocfs2_mark_recovering_orphan_dir() argument
2265 ocfs2_clear_recovering_orphan_dir(struct ocfs2_super * osb,int slot) ocfs2_clear_recovering_orphan_dir() argument
2289 ocfs2_recover_orphans(struct ocfs2_super * osb,int slot,enum ocfs2_orphan_reco_type orphan_reco_type) ocfs2_recover_orphans() argument
2378 __ocfs2_wait_on_mount(struct ocfs2_super * osb,int quota) __ocfs2_wait_on_mount() argument
2403 struct ocfs2_super *osb = arg; ocfs2_commit_thread() local
2449 ocfs2_check_journals_nolocks(struct ocfs2_super * osb) ocfs2_check_journals_nolocks() argument
[all...]
H A Dlocalalloc.c37 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() argument
107 struct super_block *sb = osb->sb; in ocfs2_la_default_mb()
109 gd_mb = ocfs2_clusters_to_megabytes(osb->sb, in ocfs2_la_default_mb()
110 8 * ocfs2_group_bitmap_size(sb, 0, osb->s_feature_incompat)); in ocfs2_la_default_mb()
117 if ((sb->s_blocksize == 512 && osb->s_clustersize <= 8192) in ocfs2_la_default_mb()
[all …]
H A Dslot_map.c119 int ocfs2_refresh_slot_info(struct ocfs2_super *osb) in ocfs2_refresh_slot_info() argument
122 struct ocfs2_slot_info *si = osb->slot_info; in ocfs2_refresh_slot_info()
141 spin_lock(&osb->osb_lock); in ocfs2_refresh_slot_info()
143 spin_unlock(&osb->osb_lock); in ocfs2_refresh_slot_info()
187 static int ocfs2_update_disk_slot(struct ocfs2_super *osb, in ocfs2_update_disk_slot() argument
194 spin_lock(&osb->osb_lock); in ocfs2_update_disk_slot()
199 spin_unlock(&osb->osb_lock); in ocfs2_update_disk_slot()
201 status = ocfs2_write_block(osb, bh, INODE_CACHE(si->si_inode)); in ocfs2_update_disk_slot()
212 static int ocfs2_slot_map_physical_size(struct ocfs2_super *osb, in ocfs2_slot_map_physical_size() argument
218 if (ocfs2_uses_extended_slot_map(osb)) { in ocfs2_slot_map_physical_size()
[all …]
H A Dheartbeat.c36 void ocfs2_init_node_maps(struct ocfs2_super *osb) in ocfs2_init_node_maps() argument
38 spin_lock_init(&osb->node_map_lock); in ocfs2_init_node_maps()
39 ocfs2_node_map_init(&osb->osb_recovering_orphan_dirs); in ocfs2_init_node_maps()
44 struct ocfs2_super *osb = data; in ocfs2_do_node_down() local
46 BUG_ON(osb->node_num == node_num); in ocfs2_do_node_down()
50 if (!osb->cconn) { in ocfs2_do_node_down()
60 ocfs2_recovery_thread(osb, node_num); in ocfs2_do_node_down()
63 void ocfs2_node_map_set_bit(struct ocfs2_super *osb, in ocfs2_node_map_set_bit() argument
70 spin_lock(&osb->node_map_lock); in ocfs2_node_map_set_bit()
72 spin_unlock(&osb->node_map_lock); in ocfs2_node_map_set_bit()
[all …]
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 Dnamei.c56 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,
215 static void ocfs2_cleanup_add_entry_failure(struct ocfs2_super *osb, in ocfs2_cleanup_add_entry_failure() argument
220 ocfs2_simple_drop_lockres(osb, &dl->dl_lockres); in ocfs2_cleanup_add_entry_failure()
239 struct ocfs2_super *osb; in ocfs2_mknod() local
271 osb = OCFS2_SB(dir->i_sb); in ocfs2_mknod()
280 if (S_ISDIR(mode) && (dir->i_nlink >= ocfs2_link_max(osb))) { in ocfs2_mknod()
522 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); __ocfs2_mknod_locked() local
625 ocfs2_mknod_locked(struct ocfs2_super * osb,struct inode * dir,struct inode * inode,dev_t dev,struct buffer_head ** new_fe_bh,struct buffer_head * parent_fe_bh,handle_t * handle,struct ocfs2_alloc_context * inode_ac) ocfs2_mknod_locked() argument
697 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); ocfs2_link() local
887 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); ocfs2_unlink() local
1056 ocfs2_check_if_ancestor(struct ocfs2_super * osb,u64 src_inode_no,u64 dest_inode_no) ocfs2_check_if_ancestor() argument
1119 ocfs2_double_lock(struct ocfs2_super * osb,struct buffer_head ** bh1,struct inode * inode1,struct buffer_head ** bh2,struct inode * inode2,int rename) ocfs2_double_lock() argument
1225 struct ocfs2_super *osb = NULL; ocfs2_rename() local
1715 ocfs2_create_symlink_data(struct ocfs2_super * osb,handle_t * handle,struct inode * inode,const char * symname) ocfs2_create_symlink_data() argument
1820 struct ocfs2_super *osb = NULL; ocfs2_symlink() local
2118 ocfs2_lookup_lock_orphan_dir(struct ocfs2_super * osb,struct inode ** ret_orphan_dir,struct buffer_head ** ret_orphan_dir_bh) ocfs2_lookup_lock_orphan_dir() argument
2160 struct ocfs2_super *osb = OCFS2_SB(orphan_dir_inode->i_sb); __ocfs2_prepare_orphan_dir() local
2210 ocfs2_prepare_orphan_dir(struct ocfs2_super * osb,struct inode ** ret_orphan_dir,u64 blkno,char * name,struct ocfs2_dir_lookup_result * lookup,bool dio) ocfs2_prepare_orphan_dir() argument
2251 ocfs2_orphan_add(struct ocfs2_super * osb,handle_t * handle,struct inode * inode,struct buffer_head * fe_bh,char * name,struct ocfs2_dir_lookup_result * lookup,struct inode * orphan_dir_inode,bool dio) ocfs2_orphan_add() argument
2353 ocfs2_orphan_del(struct ocfs2_super * osb,handle_t * handle,struct inode * orphan_dir_inode,struct inode * inode,struct buffer_head * orphan_dir_bh,bool dio) ocfs2_orphan_del() argument
2461 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); ocfs2_prep_new_orphaned_file() local
2527 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); ocfs2_create_inode_in_orphan() local
2639 ocfs2_add_inode_to_orphan(struct ocfs2_super * osb,struct inode * inode) ocfs2_add_inode_to_orphan() argument
2715 ocfs2_del_inode_from_orphan(struct ocfs2_super * osb,struct inode * inode,struct buffer_head * di_bh,int update_isize,loff_t end) ocfs2_del_inode_from_orphan() argument
2798 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); ocfs2_mv_orphaned_inode_to_new() local
[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 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() argument
159 if (bg_blkno == osb->first_cluster_group_blkno) in ocfs2_cluster_from_desc()
165 return ocfs2_blocks_to_clusters(osb->sb, bg_blkno); in ocfs2_cluster_from_desc()
170 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_is_cluster_bitmap() local
171 return osb in ocfs2_is_cluster_bitmap()
[all...]
H A Dioctl.c91 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_fileattr_set() local
119 handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS); in ocfs2_fileattr_set()
134 ocfs2_commit_trans(osb, handle); in ocfs2_fileattr_set()
166 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_clustersize() local
171 oic.ic_clustersize = osb->s_clustersize; in ocfs2_info_handle_clustersize()
185 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_maxslots() local
190 oim.im_max_slots = osb->max_slots; in ocfs2_info_handle_maxslots()
204 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_label() local
209 memcpy(oil.il_label, osb->vol_label, OCFS2_MAX_VOL_LABEL_LEN); in ocfs2_info_handle_label()
223 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_uuid() local
[all …]
H A Dfile.c72 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_free_file_private() local
75 ocfs2_simple_drop_lockres(osb, &fp->fp_flock); in ocfs2_free_file_private()
185 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_sync_file()
187 journal_t *journal = osb->journal->j_journal; in ocfs2_sync_file()
204 if (unlikely(ocfs2_emergency_state(osb))) in ocfs2_sync_file()
232 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_should_update_atime()
234 if (unlikely(ocfs2_emergency_state(osb))) in ocfs2_should_update_atime()
269 if ((now.tv_sec - inode_get_atime_sec(inode) <= osb->s_atime_quantum)) in ocfs2_update_inode_atime()
279 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_update_inode_atime()
283 handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDIT in ocfs2_update_inode_atime()
170 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_sync_file() local
211 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_should_update_atime() local
258 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_update_inode_atime() local
319 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_simple_size_update() local
373 ocfs2_orphan_for_truncate(struct ocfs2_super * osb,struct inode * inode,struct buffer_head * fe_bh,u64 new_i_size) ocfs2_orphan_for_truncate() argument
445 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_truncate_file() local
542 ocfs2_add_inode_data(struct ocfs2_super * osb,struct inode * inode,u32 * logical_offset,u32 clusters_to_add,int mark_unwritten,struct buffer_head * fe_bh,handle_t * handle,struct ocfs2_alloc_context * data_ac,struct ocfs2_alloc_context * meta_ac,enum ocfs2_alloc_restarted * reason_ret) ocfs2_add_inode_data() argument
574 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_extend_allocation() local
722 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_zero_start_ordered_transaction() local
1127 struct ocfs2_super *osb = OCFS2_SB(sb); ocfs2_setattr() local
1325 struct ocfs2_super *osb = sb->s_fs_info; ocfs2_getattr() local
1390 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); __ocfs2_write_remove_suid() local
1534 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_truncate_cluster_pages() local
1593 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_zero_partial_clusters() local
1780 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_remove_inode_range() local
1953 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); __ocfs2_change_file_space() local
2096 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_change_file_space() local
2124 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_fallocate() local
2386 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_file_write_iter() local
2712 struct ocfs2_super *osb = OCFS2_SB(inode_in->i_sb); ocfs2_remap_file_range() local
[all...]
H A Dfilecheck.c166 int ocfs2_filecheck_create_sysfs(struct ocfs2_super *osb) in ocfs2_filecheck_create_sysfs() argument
170 struct ocfs2_filecheck_sysfs_entry *entry = &osb->osb_fc_ent; in ocfs2_filecheck_create_sysfs()
184 entry->fs_kobj.kset = osb->osb_dev_kset; in ocfs2_filecheck_create_sysfs()
201 void ocfs2_filecheck_remove_sysfs(struct ocfs2_super *osb) in ocfs2_filecheck_remove_sysfs()
203 if (!osb->osb_fc_ent.fs_fcheck) in ocfs2_filecheck_remove_sysfs()
206 kobject_del(&osb->osb_fc_ent.fs_kobj);
207 kobject_put(&osb->osb_fc_ent.fs_kobj);
208 wait_for_completion(&osb->osb_fc_ent.fs_kobj_unregister);
209 ocfs2_filecheck_sysfs_free(&osb->osb_fc_ent);
411 ocfs2_filecheck_handle(struct ocfs2_super *osb, in ocfs2_filecheck_handle()
196 ocfs2_filecheck_remove_sysfs(struct ocfs2_super * osb) ocfs2_filecheck_remove_sysfs() argument
406 ocfs2_filecheck_handle(struct ocfs2_super * osb,unsigned long ino,unsigned int flags) ocfs2_filecheck_handle() argument
431 struct ocfs2_super *osb = container_of(ent, struct ocfs2_super, ocfs2_filecheck_handle_entry() local
[all...]
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 Dlocks.c101 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_flock() local
106 if ((osb->s_mount_opt & OCFS2_MOUNT_LOCALFLOCKS) || in ocfs2_flock()
107 ocfs2_mount_local(osb)) in ocfs2_flock()
119 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_lock() local
124 return ocfs2_plock(osb->cconn, OCFS2_I(inode)->ip_blkno, file, cmd, fl); in ocfs2_lock()
H A Dbuffer_head_io.c38 int ocfs2_write_block(struct ocfs2_super *osb, struct buffer_head *bh, in ocfs2_write_block() argument
51 if (ocfs2_is_hard_readonly(osb)) { in ocfs2_write_block()
89 int ocfs2_read_blocks_sync(struct ocfs2_super *osb, u64 block, in ocfs2_read_blocks_sync() argument
109 bhs[i] = sb_getblk(osb->sb, block++); in ocfs2_read_blocks_sync()
425 int ocfs2_write_super_or_backup(struct ocfs2_super *osb, in ocfs2_write_super_or_backup() argument
432 ocfs2_check_super_or_backup(osb->sb, bh->b_blocknr); in ocfs2_write_super_or_backup()
434 if (unlikely(ocfs2_emergency_state(osb))) { in ocfs2_write_super_or_backup()
446 ocfs2_compute_meta_ecc(osb->sb, bh->b_data, &di->i_check); in ocfs2_write_super_or_backup()
H A Dacl.c295 struct ocfs2_super *osb; in ocfs2_iop_get_acl() local
304 osb = OCFS2_SB(inode->i_sb); in ocfs2_iop_get_acl()
305 if (!(osb->s_mount_opt & OCFS2_MOUNT_POSIX_ACL)) in ocfs2_iop_get_acl()
323 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_acl_chmod() local
330 if (!(osb->s_mount_opt & OCFS2_MOUNT_POSIX_ACL)) in ocfs2_acl_chmod()
363 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_acl_init_prepare() local
373 if (osb->s_mount_opt & OCFS2_MOUNT_POSIX_ACL) { in ocfs2_acl_init_prepare()
420 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_init_acl() local
426 if (osb->s_mount_opt & OCFS2_MOUNT_POSIX_ACL) { in ocfs2_init_acl()
443 if (osb->s_mount_opt & OCFS2_MOUNT_POSIX_ACL) { in ocfs2_init_acl()
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 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 Dxattr.c322 static inline u16 ocfs2_xattr_buckets_per_cluster(struct ocfs2_super *osb) in ocfs2_xattr_bucket_new()
324 return (1 << osb->s_clustersize_bits) / OCFS2_XATTR_BUCKET_SIZE; in ocfs2_xattr_bucket_new()
692 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_calc_xattr_init()
707 ret = ocfs2_reserve_new_metadata_blocks(osb, 1, xattr_ac); in ocfs2_calc_xattr_init()
746 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_xattr_extend_allocation()
756 if (osb->s_mount_opt & OCFS2_MOUNT_POSIX_ACL) { in ocfs2_xattr_extend_allocation()
785 (S_ISDIR(mode) && ocfs2_supports_inline_data(osb)) || in ocfs2_xattr_extend_allocation()
810 if (osb->s_mount_opt & OCFS2_MOUNT_POSIX_ACL) { in __ocfs2_remove_xattr_range()
2755 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_xattr_free_block()
2777 ctxt.handle = ocfs2_start_trans(osb, ref_credit in ocfs2_xattr_free_block()
306 ocfs2_xattr_buckets_per_cluster(struct ocfs2_super * osb) ocfs2_xattr_buckets_per_cluster() argument
607 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); ocfs2_calc_security_init() local
643 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); ocfs2_calc_xattr_init() local
2609 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_remove_value_outside() local
2729 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_xattr_free_block() local
2965 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_xattr_ibody_init() local
3507 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_init_xattr_set_ctxt() local
3785 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_xattr_set() local
5121 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_mv_xattr_buckets() local
5349 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_add_new_xattr_cluster() local
5439 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_extend_xattr_bucket() local
5519 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_add_new_xattr_bucket() local
5664 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_rm_xattr_cluster() local
5900 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_delete_xattr_in_bucket() local
6016 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_prepare_refcount_xattr() local
6524 ocfs2_reflink_lock_xattr_allocators(struct ocfs2_super * osb,struct ocfs2_xattr_header * xh,struct buffer_head * ref_root_bh,int * credits,struct ocfs2_alloc_context ** meta_ac) ocfs2_reflink_lock_xattr_allocators() argument
6714 struct ocfs2_super *osb = OCFS2_SB(args->old_inode->i_sb); ocfs2_reflink_xattr_inline() local
6796 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_create_empty_xattr_block() local
6834 struct ocfs2_super *osb = OCFS2_SB(args->new_inode->i_sb); ocfs2_reflink_xattr_block() local
7000 struct ocfs2_super *osb = OCFS2_SB(args->reflink->old_inode->i_sb); ocfs2_lock_reflink_xattr_rec_allocators() local
7250 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_reflink_xattr_rec() local
7620 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_xattr_user_get() local
7634 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); ocfs2_xattr_user_set() local
[all...]
H A Dblockcheck.c575 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_validate_meta_ecc() local
577 if (ocfs2_meta_ecc(osb)) in ocfs2_validate_meta_ecc()
579 &osb->osb_ecc_stats); in ocfs2_validate_meta_ecc()
597 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_validate_meta_ecc_bhs() local
599 if (ocfs2_meta_ecc(osb)) in ocfs2_validate_meta_ecc_bhs()
601 &osb->osb_ecc_stats); in ocfs2_validate_meta_ecc_bhs()
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 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 Ddir.h81 int ocfs2_prepare_dir_for_insert(struct ocfs2_super *osb,
88 int ocfs2_fill_new_dir(struct ocfs2_super *osb,
H A Dquota.h89 struct ocfs2_super *osb, int slot_num);
90 int ocfs2_finish_quota_recovery(struct ocfs2_super *osb,
H A Dsysfile.h13 struct inode * ocfs2_get_system_file_inode(struct ocfs2_super *osb,
/linux/arch/arm/kernel/
H A Dsys_oabi-compat.c360 struct oabi_sembuf osb; in sys_oabi_semtimedop()
361 err |= copy_from_user(&osb, tsops, sizeof(osb)); in sys_oabi_semtimedop()
362 sops[i].sem_num = osb.sem_num; in sys_oabi_semtimedop()
363 sops[i].sem_op = osb.sem_op; in sys_oabi_semtimedop()
364 sops[i].sem_flg = osb.sem_flg; in sys_oabi_semtimedop()
357 struct oabi_sembuf osb; sys_oabi_semtimedop() local

12