/linux-master/fs/ocfs2/ |
H A D | super.c | 97 static void ocfs2_delete_osb(struct ocfs2_super *osb); 103 static int ocfs2_init_global_system_inodes(struct ocfs2_super *osb); 104 static int ocfs2_init_local_system_inodes(struct ocfs2_super *osb); 105 static void ocfs2_release_system_inodes(struct ocfs2_super *osb); 106 static int ocfs2_check_volume(struct ocfs2_super *osb); 121 static int ocfs2_susp_quotas(struct ocfs2_super *osb, int unsuspend); 122 static int ocfs2_enable_quotas(struct ocfs2_super *osb); 123 static void ocfs2_disable_quotas(struct ocfs2_super *osb); 212 static int ocfs2_osb_dump(struct ocfs2_super *osb, char *buf, int len) argument 214 struct ocfs2_cluster_connection *cconn = osb 341 struct ocfs2_super *osb = inode->i_private; local 396 struct ocfs2_super *osb = OCFS2_SB(sb); local 418 ocfs2_need_system_inode(struct ocfs2_super *osb, int ino) argument 431 ocfs2_init_global_system_inodes(struct ocfs2_super *osb) argument 476 ocfs2_init_local_system_inodes(struct ocfs2_super *osb) argument 505 ocfs2_release_system_inodes(struct ocfs2_super *osb) argument 608 struct ocfs2_super *osb = OCFS2_SB(sb); local 807 ocfs2_verify_heartbeat(struct ocfs2_super *osb) argument 848 ocfs2_verify_userspace_stack(struct ocfs2_super *osb, struct mount_options *mopt) argument 872 ocfs2_susp_quotas(struct ocfs2_super *osb, int unsuspend) argument 903 ocfs2_enable_quotas(struct ocfs2_super *osb) argument 943 ocfs2_disable_quotas(struct ocfs2_super *osb) argument 975 struct ocfs2_super *osb = NULL; local 1472 struct ocfs2_super *osb = OCFS2_SB(root->d_sb); local 1613 struct ocfs2_super *osb; local 1781 struct ocfs2_super *osb = OCFS2_SB(sb); local 1852 struct ocfs2_super *osb = NULL; local 1942 ocfs2_setup_osb_uuid(struct ocfs2_super *osb, const unsigned char *uuid, unsigned uuid_bytes) argument 1969 ocfs2_journal_addressable(struct ocfs2_super *osb) argument 2005 struct ocfs2_super *osb; local 2382 ocfs2_check_volume(struct ocfs2_super *osb) argument 2489 ocfs2_delete_osb(struct ocfs2_super *osb) argument 2522 struct ocfs2_super *osb = OCFS2_SB(sb); local [all...] |
H A D | quota_local.c | 385 struct ocfs2_super *osb, 393 struct super_block *sb = osb->sb; 402 "slot %u\n", osb->dev_str, slot_num); 414 lqinode = ocfs2_get_system_file_inode(osb, ino[type], slot_num); 585 int ocfs2_finish_quota_recovery(struct ocfs2_super *osb, argument 591 struct super_block *sb = osb->sb; 601 "slot %u\n", osb->dev_str, slot_num); 608 lqinode = ocfs2_get_system_file_inode(osb, ino[type], slot_num); 620 "locked.\n", osb->dev_str, slot_num); 646 if (slot_num == osb 384 ocfs2_begin_quota_recovery( struct ocfs2_super *osb, int slot_num) argument [all...] |
H A D | quota_global.c | 605 struct ocfs2_super *osb = OCFS2_SB(sb); local 618 handle = ocfs2_start_trans(osb, OCFS2_QSYNC_CREDITS); 635 ocfs2_commit_trans(osb, handle); 669 struct ocfs2_super *osb = OCFS2_SB(dquot->dq_sb); local 676 handle = ocfs2_start_trans(osb, OCFS2_QWRITE_CREDITS); 687 ocfs2_commit_trans(osb, handle); 708 struct ocfs2_super *osb = container_of(work, struct ocfs2_super, local 713 list = llist_del_all(&osb->dquot_drop_list); 732 struct ocfs2_super *osb = OCFS2_SB(dquot->dq_sb); local 743 if (current == osb 806 struct ocfs2_super *osb = OCFS2_SB(sb); local 931 struct ocfs2_super *osb = OCFS2_SB(sb); local [all...] |
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 | inode.h | 128 struct inode *ocfs2_iget(struct ocfs2_super *osb, u64 feoff, unsigned flags,
|
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 | locks.c | 101 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 106 if ((osb->s_mount_opt & OCFS2_MOUNT_LOCALFLOCKS) || 107 ocfs2_mount_local(osb)) 119 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 124 return ocfs2_plock(osb->cconn, OCFS2_I(inode)->ip_blkno, file, cmd, fl);
|
H A D | namei.c | 55 static int ocfs2_mknod_locked(struct ocfs2_super *osb, 64 static int ocfs2_prepare_orphan_dir(struct ocfs2_super *osb, 71 static int ocfs2_orphan_add(struct ocfs2_super *osb, 80 static int ocfs2_create_symlink_data(struct ocfs2_super *osb, 85 static int ocfs2_double_lock(struct ocfs2_super *osb, 209 static void ocfs2_cleanup_add_entry_failure(struct ocfs2_super *osb, argument 214 ocfs2_simple_drop_lockres(osb, &dl->dl_lockres); 233 struct ocfs2_super *osb; local 265 osb = OCFS2_SB(dir->i_sb); 274 if (S_ISDIR(mode) && (dir->i_nlink >= ocfs2_link_max(osb))) { 515 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); local 618 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) argument 691 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); local 880 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); local 1045 ocfs2_check_if_ancestor(struct ocfs2_super *osb, u64 src_inode_no, u64 dest_inode_no) argument 1108 ocfs2_double_lock(struct ocfs2_super *osb, struct buffer_head **bh1, struct inode *inode1, struct buffer_head **bh2, struct inode *inode2, int rename) argument 1214 struct ocfs2_super *osb = NULL; local 1705 ocfs2_create_symlink_data(struct ocfs2_super *osb, handle_t *handle, struct inode *inode, const char *symname) argument 1810 struct ocfs2_super *osb = NULL; local 2108 ocfs2_lookup_lock_orphan_dir(struct ocfs2_super *osb, struct inode **ret_orphan_dir, struct buffer_head **ret_orphan_dir_bh) argument 2150 struct ocfs2_super *osb = OCFS2_SB(orphan_dir_inode->i_sb); local 2198 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) argument 2239 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) argument 2341 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) argument 2449 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); local 2515 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); local 2627 ocfs2_add_inode_to_orphan(struct ocfs2_super *osb, struct inode *inode) argument 2703 ocfs2_del_inode_from_orphan(struct ocfs2_super *osb, struct inode *inode, struct buffer_head *di_bh, int update_isize, loff_t end) argument 2786 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); local [all...] |
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 | 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 | 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 | 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 | 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 | journal.c | 49 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) argument 71 return __ocfs2_wait_on_mount(osb, 0); 74 static inline int ocfs2_wait_on_quotas(struct ocfs2_super *osb) argument 76 return __ocfs2_wait_on_mount(osb, 96 ocfs2_replay_map_set_state(struct ocfs2_super *osb, int state) argument 108 ocfs2_compute_replay_slots(struct ocfs2_super *osb) argument 141 ocfs2_queue_replay_slots(struct ocfs2_super *osb, enum ocfs2_orphan_reco_type orphan_reco_type) argument 161 ocfs2_free_replay_slots(struct ocfs2_super *osb) argument 172 ocfs2_recovery_init(struct ocfs2_super *osb) argument 196 ocfs2_recovery_thread_running(struct ocfs2_super *osb) argument 202 ocfs2_recovery_exit(struct ocfs2_super *osb) argument 229 __ocfs2_recovery_map_test(struct ocfs2_super *osb, unsigned int node_num) argument 246 ocfs2_recovery_map_set(struct ocfs2_super *osb, unsigned int node_num) argument 267 ocfs2_recovery_map_clear(struct ocfs2_super *osb, unsigned int node_num) argument 290 ocfs2_commit_cache(struct ocfs2_super *osb) argument 331 ocfs2_start_trans(struct ocfs2_super *osb, int max_buffs) argument 371 ocfs2_commit_trans(struct ocfs2_super *osb, handle_t *handle) argument 638 struct ocfs2_super *osb = local 794 ocfs2_set_journal_params(struct ocfs2_super *osb) argument 815 ocfs2_journal_alloc(struct ocfs2_super *osb) argument 855 ocfs2_journal_init(struct ocfs2_super *osb, int *dirty) argument 959 ocfs2_journal_toggle_dirty(struct ocfs2_super *osb, int dirty, int replayed) argument 997 ocfs2_journal_shutdown(struct ocfs2_super *osb) argument 1097 struct ocfs2_super *osb; local 1166 ocfs2_recovery_completed(struct ocfs2_super *osb) argument 1178 ocfs2_wait_for_recovery(struct ocfs2_super *osb) argument 1199 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 1264 struct ocfs2_super *osb = journal->j_osb; local 1372 ocfs2_complete_mount_recovery(struct ocfs2_super *osb) argument 1394 ocfs2_complete_quota_recovery(struct ocfs2_super *osb) argument 1410 struct ocfs2_super *osb = arg; local 1543 ocfs2_recovery_thread(struct ocfs2_super *osb, int node_num) argument 1570 ocfs2_read_journal_inode(struct ocfs2_super *osb, int slot_num, struct buffer_head **bh, struct inode **ret_inode) argument 1608 ocfs2_replay_journal(struct ocfs2_super *osb, int node_num, int slot_num) argument 1755 ocfs2_recover_node(struct ocfs2_super *osb, int node_num, int slot_num) argument 1812 ocfs2_trylock_journal(struct ocfs2_super *osb, int slot_num) argument 1851 ocfs2_mark_dead_nodes(struct ocfs2_super *osb) argument 1958 ocfs2_queue_orphan_scan(struct ocfs2_super *osb) argument 2010 struct ocfs2_super *osb; local 2024 ocfs2_orphan_scan_stop(struct ocfs2_super *osb) argument 2037 ocfs2_orphan_scan_init(struct ocfs2_super *osb) argument 2049 ocfs2_orphan_scan_start(struct ocfs2_super *osb) argument 2067 struct ocfs2_super *osb; member in struct:ocfs2_orphan_filldir_priv 2116 ocfs2_queue_orphans(struct ocfs2_super *osb, int slot, struct inode **head, enum ocfs2_orphan_reco_type orphan_reco_type) argument 2162 ocfs2_orphan_recovery_can_continue(struct ocfs2_super *osb, int slot) argument 2173 ocfs2_mark_recovering_orphan_dir(struct ocfs2_super *osb, int slot) argument 2192 ocfs2_clear_recovering_orphan_dir(struct ocfs2_super *osb, int slot) argument 2216 ocfs2_recover_orphans(struct ocfs2_super *osb, int slot, enum ocfs2_orphan_reco_type orphan_reco_type) argument 2305 __ocfs2_wait_on_mount(struct ocfs2_super *osb, int quota) argument 2330 struct ocfs2_super *osb = arg; local 2376 ocfs2_check_journals_nolocks(struct ocfs2_super *osb) argument [all...] |
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 | xattr.c | 302 static inline u16 ocfs2_xattr_buckets_per_cluster(struct ocfs2_super *osb) argument 304 return (1 << osb->s_clustersize_bits) / OCFS2_XATTR_BUCKET_SIZE; 579 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); local 590 ret = ocfs2_reserve_new_metadata_blocks(osb, 1, xattr_ac); 619 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); local 626 if (osb->s_mount_opt & OCFS2_MOUNT_POSIX_ACL) { 659 (S_ISDIR(mode) && ocfs2_supports_inline_data(osb)) || 682 if (osb->s_mount_opt & OCFS2_MOUNT_POSIX_ACL && 2363 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 2385 ctxt.handle = ocfs2_start_trans(osb, ref_credit 2483 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 2717 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 3251 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 3531 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 4876 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 5104 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 5194 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 5274 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 5419 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 5655 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 5771 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 6276 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) argument 6462 struct ocfs2_super *osb = OCFS2_SB(args->old_inode->i_sb); local 6546 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 6584 struct ocfs2_super *osb = OCFS2_SB(args->new_inode->i_sb); local 6750 struct ocfs2_super *osb = OCFS2_SB(args->reflink->old_inode->i_sb); local 7000 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 7363 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 7377 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local [all...] |
H A D | refcounttree.c | 194 ocfs2_find_refcount_tree(struct ocfs2_super *osb, u64 blkno) argument 196 struct rb_node *n = osb->osb_rf_lock_tree.rb_node; 214 static void ocfs2_insert_refcount_tree(struct ocfs2_super *osb, argument 219 struct rb_node **p = &osb->osb_rf_lock_tree.rb_node; 241 rb_insert_color(&new->rf_node, &osb->osb_rf_lock_tree); 253 ocfs2_erase_refcount_tree_from_list_no_lock(struct ocfs2_super *osb, argument 256 rb_erase(&tree->rf_node, &osb->osb_rf_lock_tree); 257 if (osb->osb_ref_tree_lru && osb->osb_ref_tree_lru == tree) 258 osb 261 ocfs2_erase_refcount_tree_from_list(struct ocfs2_super *osb, struct ocfs2_refcount_tree *tree) argument 298 ocfs2_init_refcount_tree_lock(struct ocfs2_super *osb, struct ocfs2_refcount_tree *new, u64 rf_blkno, u32 generation) argument 308 ocfs2_allocate_refcount_tree(struct ocfs2_super *osb, u64 rf_blkno) argument 323 ocfs2_get_refcount_tree(struct ocfs2_super *osb, u64 rf_blkno, struct ocfs2_refcount_tree **ret_tree) argument 415 __ocfs2_lock_refcount_tree(struct ocfs2_super *osb, struct ocfs2_refcount_tree *tree, int rw) argument 443 ocfs2_lock_refcount_tree(struct ocfs2_super *osb, u64 ref_blkno, int rw, struct ocfs2_refcount_tree **ret_tree, struct buffer_head **ref_bh) argument 516 ocfs2_unlock_refcount_tree(struct ocfs2_super *osb, struct ocfs2_refcount_tree *tree, int rw) argument 528 ocfs2_purge_refcount_trees(struct ocfs2_super *osb) argument 557 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 698 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 760 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 3012 struct ocfs2_super *osb = OCFS2_SB(sb); local 3183 struct ocfs2_super *osb = OCFS2_SB(sb); local 3333 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 3386 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 3665 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 3772 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 3878 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 3934 struct ocfs2_super *osb = OCFS2_SB(s_inode->i_sb); local 4102 struct ocfs2_super *osb = OCFS2_SB(s_inode->i_sb); local 4487 struct ocfs2_super *osb; local 4596 struct ocfs2_super *osb; local [all...] |
H A D | slot_map.c | 116 int ocfs2_refresh_slot_info(struct ocfs2_super *osb) argument 119 struct ocfs2_slot_info *si = osb->slot_info; 137 spin_lock(&osb->osb_lock); 139 spin_unlock(&osb->osb_lock); 183 static int ocfs2_update_disk_slot(struct ocfs2_super *osb, argument 190 spin_lock(&osb->osb_lock); 195 spin_unlock(&osb->osb_lock); 197 status = ocfs2_write_block(osb, bh, INODE_CACHE(si->si_inode)); 208 static int ocfs2_slot_map_physical_size(struct ocfs2_super *osb, argument 214 if (ocfs2_uses_extended_slot_map(osb)) { 271 ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num) argument 283 ocfs2_slot_to_node_num_locked(struct ocfs2_super *osb, int slot_num, unsigned int *node_num) argument 321 ocfs2_clear_slot(struct ocfs2_super *osb, int slot_num) argument 335 ocfs2_map_slot_buffers(struct ocfs2_super *osb, struct ocfs2_slot_info *si) argument 399 ocfs2_init_slot_info(struct ocfs2_super *osb) argument 438 ocfs2_free_slot_info(struct ocfs2_super *osb) argument 446 ocfs2_find_slot(struct ocfs2_super *osb) argument 499 ocfs2_put_slot(struct ocfs2_super *osb) argument [all...] |
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 | move_extents.c | 56 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 124 ocfs2_blocks_to_clusters(osb->sb, 129 ret = ocfs2_truncate_log_append(osb, handle, 153 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 163 (ocfs2_sparse_alloc(osb) && num_free_extents < max_recs_needed)) 166 ret = ocfs2_reserve_new_metadata_blocks(osb, extra_blocks, meta_ac); 173 *credits += ocfs2_calc_extend_credits(osb->sb, et->et_root_el); 201 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 202 struct inode *tl_inode = osb->osb_tl_inode; 212 ret = ocfs2_lock_refcount_tree(osb, contex 371 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 472 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 569 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 768 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 900 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local [all...] |
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 | journal.h | 133 static inline void ocfs2_ci_set_new(struct ocfs2_super *osb, argument 137 ci->ci_created_trans = osb->journal->j_trans_id; 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); 152 int ocfs2_compute_replay_slots(struct ocfs2_super *osb); 153 void ocfs2_free_replay_slots(struct ocfs2_super *osb); 186 ocfs2_start_checkpoint(struct ocfs2_super *osb) argument 193 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local [all...] |
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) argument 107 struct super_block *sb = osb->sb; 109 gd_mb = ocfs2_clusters_to_megabytes(osb->sb, 110 8 * ocfs2_group_bitmap_size(sb, 0, osb->s_feature_incompat)); 117 if ((sb->s_blocksize == 512 && osb 179 ocfs2_la_set_sizes(struct ocfs2_super *osb, int requested_mb) argument 206 ocfs2_la_state_enabled(struct ocfs2_super *osb) argument 212 ocfs2_local_alloc_seen_free_bits(struct ocfs2_super *osb, unsigned int num_clusters) argument 227 struct ocfs2_super *osb = local 242 ocfs2_alloc_should_use_local(struct ocfs2_super *osb, u64 bits) argument 268 ocfs2_load_local_alloc(struct ocfs2_super *osb) argument 366 ocfs2_shutdown_local_alloc(struct ocfs2_super *osb) argument 476 ocfs2_begin_local_alloc_recovery(struct ocfs2_super *osb, int slot_num, struct ocfs2_dinode **alloc_copy) argument 546 ocfs2_complete_local_alloc_recovery(struct ocfs2_super *osb, struct ocfs2_dinode *alloc) argument 614 ocfs2_reserve_local_alloc_bits(struct ocfs2_super *osb, u32 bits_wanted, struct ocfs2_alloc_context *ac) argument 713 ocfs2_claim_local_alloc_bits(struct ocfs2_super *osb, handle_t *handle, struct ocfs2_alloc_context *ac, u32 bits_wanted, u32 *bit_off, u32 *num_bits) argument 769 ocfs2_free_local_alloc_bits(struct ocfs2_super *osb, handle_t *handle, struct ocfs2_alloc_context *ac, u32 bit_off, u32 num_bits) argument 822 ocfs2_local_alloc_find_clear_bits(struct ocfs2_super *osb, struct ocfs2_dinode *alloc, u32 *numbits, struct ocfs2_alloc_reservation *resv) argument 947 ocfs2_sync_local_to_main(struct ocfs2_super *osb, handle_t *handle, struct ocfs2_dinode *alloc, struct inode *main_bm_inode, struct buffer_head *main_bm_bh) argument 1039 ocfs2_recalc_la_window(struct ocfs2_super *osb, enum ocfs2_la_event event) argument 1096 ocfs2_local_alloc_reserve_for_window(struct ocfs2_super *osb, struct ocfs2_alloc_context **ac, struct inode **bitmap_inode, struct buffer_head **bitmap_bh) argument 1146 ocfs2_local_alloc_new_window(struct ocfs2_super *osb, handle_t *handle, struct ocfs2_alloc_context *ac) argument 1234 ocfs2_local_alloc_slide_window(struct ocfs2_super *osb, struct inode *local_alloc_inode) argument [all...] |
H A D | ioctl.c | 91 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 119 handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS); 133 ocfs2_commit_trans(osb, handle); 165 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 170 oic.ic_clustersize = osb->s_clustersize; 184 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 189 oim.im_max_slots = osb->max_slots; 203 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 208 memcpy(oil.il_label, osb->vol_label, OCFS2_MAX_VOL_LABEL_LEN); 222 struct ocfs2_super *osb local 241 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 262 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 277 ocfs2_info_scan_inode_alloc(struct ocfs2_super *osb, struct inode *inode_alloc, u64 blkno, struct ocfs2_info_freeinode *fi, u32 slot) argument 333 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local 432 ocfs2_info_freefrag_scan_chain(struct ocfs2_super *osb, struct inode *gb_inode, struct ocfs2_dinode *gb_dinode, struct ocfs2_chain_rec *rec, struct ocfs2_info_freefrag *ffg, u32 chunks_in_group) argument 535 ocfs2_info_freefrag_scan_bitmap(struct ocfs2_super *osb, struct inode *gb_inode, u64 blkno, struct ocfs2_info_freefrag *ffg) argument 621 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); local [all...] |
/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;
|