Searched refs:lqinode (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/fs/ocfs2/
H A Dquota_local.c338 static int ocfs2_recovery_load_quota(struct inode *lqinode, ocfs2_recovery_load_quota() argument
343 struct super_block *sb = lqinode->i_sb; ocfs2_recovery_load_quota()
351 status = ocfs2_read_quota_block(lqinode, ocfs2_recovery_load_quota()
395 struct inode *lqinode; ocfs2_begin_quota_recovery() local
414 lqinode = ocfs2_get_system_file_inode(osb, ino[type], slot_num); ocfs2_begin_quota_recovery()
415 if (!lqinode) { ocfs2_begin_quota_recovery()
419 status = ocfs2_inode_lock_full(lqinode, NULL, 1, ocfs2_begin_quota_recovery()
427 status = ocfs2_read_quota_block(lqinode, 0, &bh); ocfs2_begin_quota_recovery()
436 status = ocfs2_recovery_load_quota(lqinode, ldinfo, type, ocfs2_begin_quota_recovery()
440 ocfs2_inode_unlock(lqinode, 1); ocfs2_begin_quota_recovery()
442 iput(lqinode); ocfs2_begin_quota_recovery()
458 static int ocfs2_recover_local_quota_file(struct inode *lqinode, ocfs2_recover_local_quota_file() argument
462 struct super_block *sb = lqinode->i_sb; ocfs2_recover_local_quota_file()
474 trace_ocfs2_recover_local_quota_file((unsigned long)lqinode->i_ino, type); ocfs2_recover_local_quota_file()
479 status = ocfs2_read_quota_block(lqinode, ocfs2_recover_local_quota_file()
489 status = ocfs2_read_quota_block(lqinode, ocfs2_recover_local_quota_file()
543 INODE_CACHE(lqinode), ocfs2_recover_local_quota_file()
594 struct inode *lqinode; ocfs2_finish_quota_recovery() local
605 lqinode = ocfs2_get_system_file_inode(osb, ino[type], slot_num); ocfs2_finish_quota_recovery()
606 if (!lqinode) { ocfs2_finish_quota_recovery()
610 status = ocfs2_inode_lock_full(lqinode, NULL, 1, ocfs2_finish_quota_recovery()
626 status = ocfs2_read_quota_block(lqinode, 0, &bh); ocfs2_finish_quota_recovery()
638 status = ocfs2_recover_local_quota_file(lqinode, ocfs2_finish_quota_recovery()
654 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), ocfs2_finish_quota_recovery()
670 ocfs2_inode_unlock(lqinode, 1); ocfs2_finish_quota_recovery()
672 iput(lqinode); ocfs2_finish_quota_recovery()
688 struct inode *lqinode = sb_dqopt(sb)->files[type]; ocfs2_local_read_info() local
716 status = ocfs2_inode_lock(lqinode, &oinfo->dqi_lqi_bh, 1); ocfs2_local_read_info()
724 status = ocfs2_read_quota_block(lqinode, 0, &bh); ocfs2_local_read_info()
751 status = ocfs2_recovery_load_quota(lqinode, ldinfo, type, ocfs2_local_read_info()
759 status = ocfs2_load_local_quota_bitmaps(lqinode, ocfs2_local_read_info()
769 status = ocfs2_modify_bh(lqinode, bh, olq_update_info, info); ocfs2_local_read_info()
784 ocfs2_inode_unlock(lqinode, 1); ocfs2_local_read_info()
900 struct inode *lqinode = sb_dqopt(sb)->files[dquot->dq_id.type]; ocfs2_local_write_dquot() local
903 status = ocfs2_read_quota_phys_block(lqinode, od->dq_local_phys_blk, ocfs2_local_write_dquot()
909 status = ocfs2_modify_bh(lqinode, bh, olq_set_dquot, od); ocfs2_local_write_dquot()
969 struct inode *lqinode = sb_dqopt(sb)->files[type]; ocfs2_local_quota_add_chunk() local
978 status = ocfs2_extend_no_holes(lqinode, NULL, ocfs2_local_quota_add_chunk()
979 i_size_read(lqinode) + 2 * sb->s_blocksize, ocfs2_local_quota_add_chunk()
980 i_size_read(lqinode)); ocfs2_local_quota_add_chunk()
985 status = ocfs2_simple_size_update(lqinode, oinfo->dqi_lqi_bh, ocfs2_local_quota_add_chunk()
986 i_size_read(lqinode) + 2 * sb->s_blocksize); ocfs2_local_quota_add_chunk()
1009 status = ocfs2_extent_map_get_blocks(lqinode, oinfo->dqi_blocks, ocfs2_local_quota_add_chunk()
1022 ocfs2_set_new_buffer_uptodate(INODE_CACHE(lqinode), bh); ocfs2_local_quota_add_chunk()
1023 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), bh, ocfs2_local_quota_add_chunk()
1038 status = ocfs2_extent_map_get_blocks(lqinode, oinfo->dqi_blocks + 1, ocfs2_local_quota_add_chunk()
1050 ocfs2_set_new_buffer_uptodate(INODE_CACHE(lqinode), dbh); ocfs2_local_quota_add_chunk()
1051 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), dbh, ocfs2_local_quota_add_chunk()
1101 struct inode *lqinode = sb_dqopt(sb)->files[type]; ocfs2_extend_local_quota_file() local
1121 status = ocfs2_extend_no_holes(lqinode, NULL, ocfs2_extend_local_quota_file()
1122 i_size_read(lqinode) + sb->s_blocksize, ocfs2_extend_local_quota_file()
1123 i_size_read(lqinode)); ocfs2_extend_local_quota_file()
1128 status = ocfs2_simple_size_update(lqinode, oinfo->dqi_lqi_bh, ocfs2_extend_local_quota_file()
1129 i_size_read(lqinode) + sb->s_blocksize); ocfs2_extend_local_quota_file()
1136 status = ocfs2_extent_map_get_blocks(lqinode, oinfo->dqi_blocks, ocfs2_extend_local_quota_file()
1148 ocfs2_set_new_buffer_uptodate(INODE_CACHE(lqinode), bh); ocfs2_extend_local_quota_file()
1160 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), bh, ocfs2_extend_local_quota_file()
1172 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), ocfs2_extend_local_quota_file()
1222 struct inode *lqinode = sb_dqopt(sb)->files[type]; ocfs2_create_local_dquot() local
1229 down_write(&OCFS2_I(lqinode)->ip_alloc_sem); ocfs2_create_local_dquot()
1243 status = ocfs2_extent_map_get_blocks(lqinode, ocfs2_create_local_dquot()
1257 status = ocfs2_modify_bh(lqinode, chunk->qc_headerbh, olq_alloc_dquot, ocfs2_create_local_dquot()
1264 up_write(&OCFS2_I(lqinode)->ip_alloc_sem); ocfs2_create_local_dquot()

Completed in 47 milliseconds