Lines Matching refs:status
1131 int i, status = -ENOENT;
1142 status = -EIO;
1143 mlog_errno(status);
1147 status = access(handle, INODE_CACHE(dir), bh,
1149 if (status < 0) {
1150 status = -EIO;
1151 mlog_errno(status);
1167 return status;
1968 int status = -ENOENT;
1973 status = ocfs2_find_entry(name, namelen, inode, lookup);
1974 if (status)
1979 status = 0;
1982 return status;
2220 int status;
2228 status = ocfs2_do_extend_dir(osb->sb, handle, inode, fe_bh,
2230 if (status < 0) {
2231 mlog_errno(status);
2237 status = ocfs2_journal_access_db(handle, INODE_CACHE(inode), new_bh,
2239 if (status < 0) {
2240 mlog_errno(status);
2265 status = ocfs2_mark_inode_dirty(handle, inode, fe_bh);
2266 if (status < 0) {
2267 mlog_errno(status);
2271 status = 0;
2279 return status;
3089 int status;
3100 status = dquot_alloc_space_nodirty(dir,
3102 if (status)
3106 status = ocfs2_add_inode_data(OCFS2_SB(sb), dir, &offset,
3109 BUG_ON(status == -EAGAIN);
3110 if (status < 0) {
3111 mlog_errno(status);
3117 status = ocfs2_extent_map_get_blocks(dir, v_blkno, &p_blkno, NULL, NULL);
3118 if (status < 0) {
3119 mlog_errno(status);
3125 status = -ENOMEM;
3126 mlog_errno(status);
3129 status = 0;
3131 if (did_quota && status < 0)
3133 return status;
3153 int status = 0;
3174 status = ocfs2_expand_inline_dir(dir, parent_fe_bh,
3177 if (status) {
3178 mlog_errno(status);
3226 status = num_free_extents;
3227 mlog_errno(status);
3232 status = ocfs2_reserve_new_metadata(osb, el, &meta_ac);
3233 if (status < 0) {
3234 if (status != -ENOSPC)
3235 mlog_errno(status);
3240 status = ocfs2_reserve_clusters(osb, 1, &data_ac);
3241 if (status < 0) {
3242 if (status != -ENOSPC)
3243 mlog_errno(status);
3263 status = PTR_ERR(handle);
3265 mlog_errno(status);
3269 status = ocfs2_do_extend_dir(osb->sb, handle, dir, parent_fe_bh,
3271 if (status < 0) {
3272 mlog_errno(status);
3278 status = ocfs2_journal_access_db(handle, INODE_CACHE(dir), new_bh,
3280 if (status < 0) {
3281 mlog_errno(status);
3294 status = ocfs2_dx_dir_link_trailer(dir, handle,
3296 if (status) {
3297 mlog_errno(status);
3310 status = ocfs2_mark_inode_dirty(handle, dir, parent_fe_bh);
3311 if (status < 0) {
3312 mlog_errno(status);
3332 return status;
3414 int status;
3417 status = ocfs2_read_dir_block(dir, 0, &bh, 0);
3418 if (status)
3434 status = -ENOSPC;
3437 status = ocfs2_read_dir_block(dir,
3440 if (status)
3447 status = -ENOENT;
3451 status = -EEXIST;
3464 status = 0;
3474 if (status)
3475 mlog_errno(status);
3477 return status;