Lines Matching refs:status

1139 	int i, status = -ENOENT;
1150 status = -EIO;
1151 mlog_errno(status);
1155 status = access(handle, INODE_CACHE(dir), bh,
1157 if (status < 0) {
1158 status = -EIO;
1159 mlog_errno(status);
1175 return status;
1979 int status = -ENOENT;
1984 status = ocfs2_find_entry(name, namelen, inode, lookup);
1985 if (status)
1990 status = 0;
1993 return status;
2231 int status;
2239 status = ocfs2_do_extend_dir(osb->sb, handle, inode, fe_bh,
2241 if (status < 0) {
2242 mlog_errno(status);
2248 status = ocfs2_journal_access_db(handle, INODE_CACHE(inode), new_bh,
2250 if (status < 0) {
2251 mlog_errno(status);
2276 status = ocfs2_mark_inode_dirty(handle, inode, fe_bh);
2277 if (status < 0) {
2278 mlog_errno(status);
2282 status = 0;
2290 return status;
3100 int status;
3111 status = dquot_alloc_space_nodirty(dir,
3113 if (status)
3117 status = ocfs2_add_inode_data(OCFS2_SB(sb), dir, &offset,
3120 BUG_ON(status == -EAGAIN);
3121 if (status < 0) {
3122 mlog_errno(status);
3128 status = ocfs2_extent_map_get_blocks(dir, v_blkno, &p_blkno, NULL, NULL);
3129 if (status < 0) {
3130 mlog_errno(status);
3136 status = -ENOMEM;
3137 mlog_errno(status);
3140 status = 0;
3142 if (did_quota && status < 0)
3144 return status;
3164 int status = 0;
3185 status = ocfs2_expand_inline_dir(dir, parent_fe_bh,
3188 if (status) {
3189 mlog_errno(status);
3237 status = num_free_extents;
3238 mlog_errno(status);
3243 status = ocfs2_reserve_new_metadata(osb, el, &meta_ac);
3244 if (status < 0) {
3245 if (status != -ENOSPC)
3246 mlog_errno(status);
3251 status = ocfs2_reserve_clusters(osb, 1, &data_ac);
3252 if (status < 0) {
3253 if (status != -ENOSPC)
3254 mlog_errno(status);
3274 status = PTR_ERR(handle);
3276 mlog_errno(status);
3280 status = ocfs2_do_extend_dir(osb->sb, handle, dir, parent_fe_bh,
3282 if (status < 0) {
3283 mlog_errno(status);
3289 status = ocfs2_journal_access_db(handle, INODE_CACHE(dir), new_bh,
3291 if (status < 0) {
3292 mlog_errno(status);
3305 status = ocfs2_dx_dir_link_trailer(dir, handle,
3307 if (status) {
3308 mlog_errno(status);
3321 status = ocfs2_mark_inode_dirty(handle, dir, parent_fe_bh);
3322 if (status < 0) {
3323 mlog_errno(status);
3343 return status;
3427 int status;
3430 status = ocfs2_read_dir_block(dir, 0, &bh, 0);
3431 if (status)
3447 status = -ENOSPC;
3450 status = ocfs2_read_dir_block(dir,
3453 if (status)
3461 status = -ENOENT;
3465 status = -EEXIST;
3478 status = 0;
3488 if (status)
3489 mlog_errno(status);
3491 return status;