/linux-master/fs/ocfs2/ |
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 | acl.c | 295 struct ocfs2_super *osb; local 304 osb = OCFS2_SB(inode->i_sb); 305 if (!(osb->s_mount_opt & OCFS2_MOUNT_POSIX_ACL)) 323 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 330 if (!(osb->s_mount_opt & OCFS2_MOUNT_POSIX_ACL)) 359 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 365 if (osb->s_mount_opt & OCFS2_MOUNT_POSIX_ACL) { 382 if ((osb->s_mount_opt & OCFS2_MOUNT_POSIX_ACL) && acl) {
|
H A D | alloc.c | 219 struct ocfs2_super *osb = OCFS2_SB(oi->vfs_inode.i_sb); local 222 mlog_bug_on_msg(!ocfs2_sparse_alloc(osb) && 226 osb->dev_str, 1002 struct ocfs2_super *osb = local 1021 bhs[i] = sb_getblk(osb->sb, first_blkno); 1037 memset(bhs[i]->b_data, 0, osb->sb->s_blocksize); 1042 eb->h_fs_generation = cpu_to_le32(osb->fs_generation); 1048 cpu_to_le16(ocfs2_extent_recs_per_eb(osb->sb)); 3110 static int ocfs2_remove_rightmost_empty_extent(struct ocfs2_super *osb, argument 3119 handle = ocfs2_start_trans(osb, credit 4792 struct ocfs2_super *osb = local 5663 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 5705 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 5810 ocfs2_truncate_log_needs_flush(struct ocfs2_super *osb) argument 5843 ocfs2_truncate_log_append(struct ocfs2_super *osb, handle_t *handle, u64 start_blk, unsigned int num_clusters) argument 5919 ocfs2_replay_truncate_records(struct ocfs2_super *osb, struct inode *data_alloc_inode, struct buffer_head *data_alloc_bh) argument 5992 __ocfs2_flush_truncate_log(struct ocfs2_super *osb) argument 6070 ocfs2_flush_truncate_log(struct ocfs2_super *osb) argument 6085 struct ocfs2_super *osb = local 6097 ocfs2_schedule_truncate_log_flush(struct ocfs2_super *osb, int cancel) argument 6117 ocfs2_try_to_free_truncate_log(struct ocfs2_super *osb, unsigned int needed) argument 6149 ocfs2_get_truncate_log_info(struct ocfs2_super *osb, int slot_num, struct inode **tl_inode, struct buffer_head **tl_bh) argument 6184 ocfs2_begin_truncate_log_recovery(struct ocfs2_super *osb, int slot_num, struct ocfs2_dinode **tl_copy) argument 6251 ocfs2_complete_truncate_log_recovery(struct ocfs2_super *osb, struct ocfs2_dinode *tl_copy) argument 6309 ocfs2_truncate_log_shutdown(struct ocfs2_super *osb) argument 6329 ocfs2_truncate_log_init(struct ocfs2_super *osb) argument 6392 ocfs2_free_cached_blocks(struct ocfs2_super *osb, int sysfile_type, int slot, struct ocfs2_cached_block_free *head) argument 6487 ocfs2_free_cached_clusters(struct ocfs2_super *osb, struct ocfs2_cached_block_free *head) argument 6539 ocfs2_run_deallocs(struct ocfs2_super *osb, struct ocfs2_cached_dealloc_ctxt *ctxt) argument 6668 struct ocfs2_super *osb = local 7068 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 7211 ocfs2_commit_truncate(struct ocfs2_super *osb, struct inode *inode, struct buffer_head *di_bh) argument 7391 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 7466 struct ocfs2_super *osb = OCFS2_SB(sb); local 7535 struct ocfs2_super *osb = OCFS2_SB(sb); local 7659 struct ocfs2_super *osb = OCFS2_SB(sb); local [all...] |
H A D | alloc.h | 159 int ocfs2_truncate_log_init(struct ocfs2_super *osb); 160 void ocfs2_truncate_log_shutdown(struct ocfs2_super *osb); 161 void ocfs2_schedule_truncate_log_flush(struct ocfs2_super *osb, 163 int ocfs2_flush_truncate_log(struct ocfs2_super *osb); 164 int ocfs2_begin_truncate_log_recovery(struct ocfs2_super *osb, 167 int ocfs2_complete_truncate_log_recovery(struct ocfs2_super *osb, 169 int ocfs2_truncate_log_needs_flush(struct ocfs2_super *osb); 170 int ocfs2_truncate_log_append(struct ocfs2_super *osb, 174 int __ocfs2_flush_truncate_log(struct ocfs2_super *osb); 175 int ocfs2_try_to_free_truncate_log(struct ocfs2_super *osb, [all...] |
H A D | aops.c | 48 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 83 buffer_cache_bh = sb_getblk(osb->sb, blkno); 141 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 179 if (create && p_blkno == 0 && ocfs2_sparse_alloc(osb)) { 191 if (!ocfs2_sparse_alloc(osb)) { 503 static void ocfs2_figure_cluster_boundaries(struct ocfs2_super *osb, argument 510 if (unlikely(PAGE_SHIFT > osb->s_clustersize_bits)) { 513 cpp = 1 << (PAGE_SHIFT - osb->s_clustersize_bits); 516 cluster_start = cluster_start << osb->s_clustersize_bits; 518 cluster_end = cluster_start + osb 538 ocfs2_clear_page_regions(struct page *page, struct ocfs2_super *osb, u32 cpos, unsigned from, unsigned to) argument 835 ocfs2_alloc_write_ctxt(struct ocfs2_write_ctxt **wcp, struct ocfs2_super *osb, loff_t pos, unsigned len, ocfs2_write_type_t type, struct buffer_head *di_bh) argument 1226 struct ocfs2_super *osb = OCFS2_SB(mapping->host->i_sb); local 1265 ocfs2_set_target_boundaries(struct ocfs2_super *osb, struct ocfs2_write_ctxt *wc, loff_t pos, unsigned len, int alloc) argument 1475 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1653 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1954 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 2143 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 2298 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 2442 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local [all...] |
H A D | blockcheck.c | 575 struct ocfs2_super *osb = OCFS2_SB(sb); local 577 if (ocfs2_meta_ecc(osb)) 579 &osb->osb_ecc_stats); 597 struct ocfs2_super *osb = OCFS2_SB(sb); local 599 if (ocfs2_meta_ecc(osb)) 601 &osb->osb_ecc_stats);
|
H A D | buffer_head_io.c | 38 int ocfs2_write_block(struct ocfs2_super *osb, struct buffer_head *bh, argument 51 if (ocfs2_is_hard_readonly(osb)) { 89 int ocfs2_read_blocks_sync(struct ocfs2_super *osb, u64 block, argument 109 bhs[i] = sb_getblk(osb->sb, block++); 428 int ocfs2_write_super_or_backup(struct ocfs2_super *osb, argument 435 ocfs2_check_super_or_backup(osb->sb, bh->b_blocknr); 437 if (ocfs2_is_hard_readonly(osb) || ocfs2_is_soft_readonly(osb)) { 451 ocfs2_compute_meta_ecc(osb->sb, bh->b_data, &di->i_check);
|
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 | dcache.c | 39 struct ocfs2_super *osb; local 45 osb = OCFS2_SB(dentry->d_sb); 68 BUG_ON(!osb); 70 if (inode == osb->root_inode || is_bad_inode(inode)) 358 static void ocfs2_drop_dentry_lock(struct ocfs2_super *osb, argument 362 ocfs2_simple_drop_lockres(osb, &dl->dl_lockres); 367 void ocfs2_dentry_lock_put(struct ocfs2_super *osb, argument 380 ocfs2_drop_dentry_lock(osb, dl); 437 struct ocfs2_super *osb = OCFS2_SB(old_dir->i_sb); local 449 ocfs2_dentry_lock_put(osb, dentr [all...] |
H A D | dcache.h | 31 void ocfs2_dentry_lock_put(struct ocfs2_super *osb,
|
H A D | dir.c | 71 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); local 76 return ocfs2_meta_ecc(osb) || ocfs2_dir_indexed(dir); 89 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); local 91 return ocfs2_meta_ecc(osb) || 92 ocfs2_supports_indexed_dirs(osb); 254 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); local 278 memcpy(buf, osb->osb_dx_seed, sizeof(buf)); 830 static inline unsigned int __ocfs2_dx_dir_hash_idx(struct ocfs2_super *osb, argument 833 return minor_hash & osb->osb_dx_mask; 836 static inline unsigned int ocfs2_dx_dir_hash_idx(struct ocfs2_super *osb, argument 2177 ocfs2_fill_new_dir_id(struct ocfs2_super *osb, handle_t *handle, struct inode *parent, struct inode *inode, struct buffer_head *di_bh) argument 2210 ocfs2_fill_new_dir_el(struct ocfs2_super *osb, handle_t *handle, struct inode *parent, struct inode *inode, struct buffer_head *fe_bh, struct ocfs2_alloc_context *data_ac, struct buffer_head **ret_new_bh) argument 2280 ocfs2_dx_dir_attach_index(struct ocfs2_super *osb, handle_t *handle, struct inode *dir, struct buffer_head *di_bh, struct buffer_head *dirdata_bh, struct ocfs2_alloc_context *meta_ac, int dx_inline, u32 num_entries, struct buffer_head **ret_dx_root_bh) argument 2372 ocfs2_dx_dir_format_cluster(struct ocfs2_super *osb, handle_t *handle, struct inode *dir, struct buffer_head **dx_leaves, int num_dx_leaves, u64 start_blk) argument 2434 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); local 2505 ocfs2_fill_new_dir_dx(struct ocfs2_super *osb, handle_t *handle, struct inode *parent, struct inode *inode, struct buffer_head *di_bh, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac) argument 2560 ocfs2_fill_new_dir(struct ocfs2_super *osb, handle_t *handle, struct inode *parent, struct inode *inode, struct buffer_head *fe_bh, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac) argument 2773 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); local 3144 ocfs2_extend_dir(struct ocfs2_super *osb, struct inode *dir, struct buffer_head *parent_fe_bh, unsigned int blocks_wanted, struct ocfs2_dir_lookup_result *lookup, struct buffer_head **new_de_bh) argument 3668 ocfs2_dx_dir_rebalance_credits(struct ocfs2_super *osb, struct ocfs2_dx_root_block *dx_root) argument 3682 ocfs2_dx_dir_rebalance(struct ocfs2_super *osb, struct inode *dir, struct buffer_head *dx_root_bh, struct buffer_head *dx_leaf_bh, struct ocfs2_dx_hinfo *hinfo, u32 leaf_cpos, u64 leaf_blkno) argument 3877 ocfs2_find_dir_space_dx(struct ocfs2_super *osb, struct inode *dir, struct buffer_head *di_bh, struct buffer_head *dx_root_bh, const char *name, int namelen, struct ocfs2_dir_lookup_result *lookup) argument 4006 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); local 4136 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); local 4231 ocfs2_prepare_dir_for_insert(struct ocfs2_super *osb, struct inode *dir, struct buffer_head *parent_fe_bh, const char *name, int namelen, struct ocfs2_dir_lookup_result *lookup) argument 4307 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); local 4389 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); local [all...] |
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 | dlmglue.c | 98 static void ocfs2_dentry_post_unlock(struct ocfs2_super *osb, 333 static int ocfs2_lock_create(struct ocfs2_super *osb, 339 static void __ocfs2_cluster_unlock(struct ocfs2_super *osb, 342 static inline void ocfs2_cluster_unlock(struct ocfs2_super *osb, argument 346 __ocfs2_cluster_unlock(osb, lockres, level, _RET_IP_); 353 static void ocfs2_schedule_blocked_lock(struct ocfs2_super *osb, 367 static void ocfs2_downconvert_on_unlock(struct ocfs2_super *osb, 371 static void ocfs2_drop_osb_locks(struct ocfs2_super *osb); 375 static int ocfs2_downconvert_lock(struct ocfs2_super *osb, 380 static int ocfs2_prepare_cancel_convert(struct ocfs2_super *osb, 510 ocfs2_lock_res_init_common(struct ocfs2_super *osb, struct ocfs2_lock_res *res, enum ocfs2_lock_type type, struct ocfs2_lock_res_ops *ops, void *priv) argument 657 ocfs2_super_lock_res_init(struct ocfs2_lock_res *res, struct ocfs2_super *osb) argument 669 ocfs2_rename_lock_res_init(struct ocfs2_lock_res *res, struct ocfs2_super *osb) argument 680 ocfs2_nfs_sync_lock_res_init(struct ocfs2_lock_res *res, struct ocfs2_super *osb) argument 691 ocfs2_nfs_sync_lock_init(struct ocfs2_super *osb) argument 697 ocfs2_trim_fs_lock_res_init(struct ocfs2_super *osb) argument 710 ocfs2_trim_fs_lock_res_uninit(struct ocfs2_super *osb) argument 720 ocfs2_orphan_scan_lock_res_init(struct ocfs2_lock_res *res, struct ocfs2_super *osb) argument 755 ocfs2_refcount_lock_res_init(struct ocfs2_lock_res *lockres, struct ocfs2_super *osb, u64 ref_blkno, unsigned int generation) argument 1066 __lockres_clear_pending(struct ocfs2_lock_res *lockres, unsigned int generation, struct ocfs2_super *osb) argument 1092 lockres_clear_pending(struct ocfs2_lock_res *lockres, unsigned int generation, struct ocfs2_super *osb) argument 1116 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres); local 1147 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres); local 1308 ocfs2_lock_create(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int level, u32 dlm_flags) argument 1468 __ocfs2_cluster_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int level, u32 lkm_flags, int arg_flags, int l_subclass, unsigned long caller_ip) argument 1671 ocfs2_cluster_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int level, u32 lkm_flags, int arg_flags) argument 1682 __ocfs2_cluster_unlock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int level, unsigned long caller_ip) argument 1699 ocfs2_create_new_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int ex, int local) argument 1725 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1767 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1791 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1812 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1829 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1851 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1888 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1909 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres); local 1980 struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb); local 2076 struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb); local 2113 ocfs2_downconvert_on_unlock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) argument 2321 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 2434 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 2621 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 2749 ocfs2_orphan_scan_lock(struct ocfs2_super *osb, u32 *seqno) argument 2776 ocfs2_orphan_scan_unlock(struct ocfs2_super *osb, u32 seqno) argument 2790 ocfs2_super_lock(struct ocfs2_super *osb, int ex) argument 2829 ocfs2_super_unlock(struct ocfs2_super *osb, int ex) argument 2839 ocfs2_rename_lock(struct ocfs2_super *osb) argument 2857 ocfs2_rename_unlock(struct ocfs2_super *osb) argument 2865 ocfs2_nfs_sync_lock(struct ocfs2_super *osb, int ex) argument 2895 ocfs2_nfs_sync_unlock(struct ocfs2_super *osb, int ex) argument 2908 ocfs2_trim_fs_lock(struct ocfs2_super *osb, struct ocfs2_trim_fs_info *info, int trylock) argument 2949 ocfs2_trim_fs_unlock(struct ocfs2_super *osb, struct ocfs2_trim_fs_info *info) argument 2977 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); local 3001 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); local 3280 struct ocfs2_super *osb; local 3306 ocfs2_dlm_init_debug(struct ocfs2_super *osb) argument 3318 ocfs2_dlm_shutdown_debug(struct ocfs2_super *osb) argument 3326 ocfs2_dlm_init(struct ocfs2_super *osb) argument 3387 ocfs2_dlm_shutdown(struct ocfs2_super *osb, int hangup_pending) argument 3416 ocfs2_drop_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) argument 3507 ocfs2_mark_lockres_freeing(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) argument 3567 ocfs2_simple_drop_lockres(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) argument 3578 ocfs2_drop_osb_locks(struct ocfs2_super *osb) argument 3646 ocfs2_downconvert_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int new_level, int lvb, unsigned int generation) argument 3690 ocfs2_prepare_cancel_convert(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) argument 3719 ocfs2_cancel_convert(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) argument 3736 ocfs2_unblock_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, struct ocfs2_unblock_ctl *ctl) argument 4032 ocfs2_dentry_post_unlock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) argument 4191 struct ocfs2_super *osb = OCFS2_SB(oinfo->dqi_gi.dqi_sb); local 4246 struct ocfs2_super *osb = OCFS2_SB(oinfo->dqi_gi.dqi_sb); local 4280 struct ocfs2_super *osb = lockres->l_priv; local 4300 struct ocfs2_super *osb = lockres->l_priv; local 4306 ocfs2_process_blocked_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) argument 4352 ocfs2_schedule_blocked_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) argument 4379 ocfs2_downconvert_thread_do_work(struct ocfs2_super *osb) argument 4414 ocfs2_downconvert_thread_lists_empty(struct ocfs2_super *osb) argument 4427 ocfs2_downconvert_thread_should_wake(struct ocfs2_super *osb) argument 4442 struct ocfs2_super *osb = arg; local 4462 ocfs2_wake_downconvert_thread(struct ocfs2_super *osb) argument [all...] |
H A D | dlmglue.h | 73 u32 tf_nodenum; /* osb node number */ 105 int ocfs2_dlm_init(struct ocfs2_super *osb); 106 void ocfs2_dlm_shutdown(struct ocfs2_super *osb, int hangup_pending); 121 struct ocfs2_super *osb, u64 ref_blkno, 157 int ocfs2_super_lock(struct ocfs2_super *osb, 159 void ocfs2_super_unlock(struct ocfs2_super *osb, 161 int ocfs2_orphan_scan_lock(struct ocfs2_super *osb, u32 *seqno); 162 void ocfs2_orphan_scan_unlock(struct ocfs2_super *osb, u32 seqno); 164 int ocfs2_rename_lock(struct ocfs2_super *osb); 165 void ocfs2_rename_unlock(struct ocfs2_super *osb); [all...] |
H A D | export.c | 38 struct ocfs2_super *osb = OCFS2_SB(sb); local 62 status = ocfs2_nfs_sync_lock(osb, 1); 68 status = ocfs2_test_inode_bit(osb, blkno, &set); 89 inode = ocfs2_iget(osb, blkno, 0, 0); 92 ocfs2_nfs_sync_unlock(osb, 1);
|
H A D | extent_map.c | 740 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 766 cpos = map_start >> osb->s_clustersize_bits; 792 len_bytes = (u64)le16_to_cpu(rec.e_leaf_clusters) << osb->s_clustersize_bits; 793 phys_bytes = le64_to_cpu(rec.e_blkno) << osb->sb->s_blocksize_bits; 794 virt_bytes = (u64)le32_to_cpu(rec.e_cpos) << osb->s_clustersize_bits; 824 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 834 cpos = map_start >> osb->s_clustersize_bits;
|
H A D | file.c | 71 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 74 ocfs2_simple_drop_lockres(osb, &fp->fp_flock); 169 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 171 journal_t *journal = osb->journal->j_journal; 182 if (ocfs2_is_hard_readonly(osb) || ocfs2_is_soft_readonly(osb)) 210 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 212 if (ocfs2_is_hard_readonly(osb) || ocfs2_is_soft_readonly(osb)) 247 if ((now.tv_sec - inode_get_atime_sec(inode) <= osb 257 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 318 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 372 ocfs2_orphan_for_truncate(struct ocfs2_super *osb, struct inode *inode, struct buffer_head *fe_bh, u64 new_i_size) argument 444 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 536 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) argument 568 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 716 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1120 struct ocfs2_super *osb = OCFS2_SB(sb); local 1309 struct ocfs2_super *osb = sb->s_fs_info; local 1374 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1518 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1577 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1764 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1929 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 2070 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 2098 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 2360 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 2682 struct ocfs2_super *osb = OCFS2_SB(inode_in->i_sb); local [all...] |
H A D | file.h | 28 int ocfs2_add_inode_data(struct ocfs2_super *osb,
|
H A D | filecheck.c | 166 int ocfs2_filecheck_create_sysfs(struct ocfs2_super *osb) argument 170 struct ocfs2_filecheck_sysfs_entry *entry = &osb->osb_fc_ent; 182 entry->fs_kobj.kset = osb->osb_dev_kset; 196 void ocfs2_filecheck_remove_sysfs(struct ocfs2_super *osb) argument 198 if (!osb->osb_fc_ent.fs_fcheck) 201 kobject_del(&osb->osb_fc_ent.fs_kobj); 202 kobject_put(&osb->osb_fc_ent.fs_kobj); 203 wait_for_completion(&osb->osb_fc_ent.fs_kobj_unregister); 204 ocfs2_filecheck_sysfs_free(&osb->osb_fc_ent); 406 ocfs2_filecheck_handle(struct ocfs2_super *osb, argument 431 struct ocfs2_super *osb = container_of(ent, struct ocfs2_super, local [all...] |
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 | heartbeat.c | 36 void ocfs2_init_node_maps(struct ocfs2_super *osb) argument 38 spin_lock_init(&osb->node_map_lock); 39 ocfs2_node_map_init(&osb->osb_recovering_orphan_dirs); 44 struct ocfs2_super *osb = data; local 46 BUG_ON(osb->node_num == node_num); 50 if (!osb->cconn) { 60 ocfs2_recovery_thread(osb, node_num); 63 void ocfs2_node_map_set_bit(struct ocfs2_super *osb, argument 70 spin_lock(&osb->node_map_lock); 72 spin_unlock(&osb 75 ocfs2_node_map_clear_bit(struct ocfs2_super *osb, struct ocfs2_node_map *map, int bit) argument 87 ocfs2_node_map_test_bit(struct ocfs2_super *osb, struct ocfs2_node_map *map, int bit) argument [all...] |
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 | inode.c | 59 static int ocfs2_truncate_for_delete(struct ocfs2_super *osb, 121 struct inode *ocfs2_iget(struct ocfs2_super *osb, u64 blkno, unsigned flags, argument 126 struct super_block *sb = osb->sb; 128 journal_t *journal = osb->journal->j_journal; 264 struct ocfs2_super *osb; local 268 osb = OCFS2_SB(sb); 270 if ((osb->s_mount_opt & OCFS2_MOUNT_LOCALFLOCKS) || 271 ocfs2_mount_local(osb) || !ocfs2_stack_supports_plocks()) 283 BUG_ON(le32_to_cpu(fe->i_fs_generation) != osb->fs_generation); 405 struct ocfs2_super *osb; local 578 ocfs2_truncate_for_delete(struct ocfs2_super *osb, struct inode *inode, struct buffer_head *fe_bh) argument 643 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 719 ocfs2_check_orphan_recovery_state(struct ocfs2_super *osb, int slot) argument 738 ocfs2_signal_wipe_completion(struct ocfs2_super *osb, int slot) argument 754 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 843 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1114 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local [all...] |
H A D | inode.h | 128 struct inode *ocfs2_iget(struct ocfs2_super *osb, u64 feoff, unsigned flags,
|
/linux-master/arch/arm/kernel/ |
H A D | sys_oabi-compat.c | 359 struct oabi_sembuf osb; local 360 err |= copy_from_user(&osb, tsops, sizeof(osb)); 361 sops[i].sem_num = osb.sem_num; 362 sops[i].sem_op = osb.sem_op; 363 sops[i].sem_flg = osb.sem_flg;
|