Home
last modified time | relevance | path

Searched refs:status (Results 1 – 25 of 196) sorted by relevance

12345678

/fs/ocfs2/
Dnamei.c100 int status; in ocfs2_lookup() local
115 status = ocfs2_inode_lock_nested(dir, NULL, 0, OI_LS_PARENT); in ocfs2_lookup()
116 if (status < 0) { in ocfs2_lookup()
117 if (status != -ENOENT) in ocfs2_lookup()
118 mlog_errno(status); in ocfs2_lookup()
119 ret = ERR_PTR(status); in ocfs2_lookup()
123 status = ocfs2_lookup_ino_from_name(dir, dentry->d_name.name, in ocfs2_lookup()
125 if (status < 0) in ocfs2_lookup()
161 status = ocfs2_dentry_attach_lock(dentry, inode, in ocfs2_lookup()
163 if (status) { in ocfs2_lookup()
[all …]
Dquota_local.c99 int status; in ocfs2_modify_bh() local
104 status = PTR_ERR(handle); in ocfs2_modify_bh()
105 mlog_errno(status); in ocfs2_modify_bh()
106 return status; in ocfs2_modify_bh()
108 status = ocfs2_journal_access_dq(handle, INODE_CACHE(inode), bh, in ocfs2_modify_bh()
110 if (status < 0) { in ocfs2_modify_bh()
111 mlog_errno(status); in ocfs2_modify_bh()
113 return status; in ocfs2_modify_bh()
120 status = ocfs2_commit_trans(OCFS2_SB(sb), handle); in ocfs2_modify_bh()
121 if (status < 0) { in ocfs2_modify_bh()
[all …]
Dlocalalloc.c272 int status = 0; in ocfs2_load_local_alloc() local
295 status = -EINVAL; in ocfs2_load_local_alloc()
296 mlog_errno(status); in ocfs2_load_local_alloc()
300 status = ocfs2_read_inode_block_full(inode, &alloc_bh, in ocfs2_load_local_alloc()
302 if (status < 0) { in ocfs2_load_local_alloc()
303 mlog_errno(status); in ocfs2_load_local_alloc()
314 status = -EINVAL; in ocfs2_load_local_alloc()
322 status = -EINVAL; in ocfs2_load_local_alloc()
342 status = -EINVAL; in ocfs2_load_local_alloc()
350 if (status < 0) in ocfs2_load_local_alloc()
[all …]
Dsuballoc.c350 int status = 0; in ocfs2_block_group_fill() local
356 status = ocfs2_error(alloc_inode->i_sb, in ocfs2_block_group_fill()
363 status = ocfs2_journal_access_gd(handle, in ocfs2_block_group_fill()
367 if (status < 0) { in ocfs2_block_group_fill()
368 mlog_errno(status); in ocfs2_block_group_fill()
399 if (status) in ocfs2_block_group_fill()
400 mlog_errno(status); in ocfs2_block_group_fill()
401 return status; in ocfs2_block_group_fill()
424 int status; in ocfs2_block_group_alloc_contig() local
430 status = ocfs2_claim_clusters(handle, ac, in ocfs2_block_group_alloc_contig()
[all …]
Dioctl.c66 int status; in ocfs2_get_inode_attr() local
68 status = ocfs2_inode_lock(inode, NULL, 0); in ocfs2_get_inode_attr()
69 if (status < 0) { in ocfs2_get_inode_attr()
70 mlog_errno(status); in ocfs2_get_inode_attr()
71 return status; in ocfs2_get_inode_attr()
77 return status; in ocfs2_get_inode_attr()
88 int status; in ocfs2_set_inode_attr() local
92 status = ocfs2_inode_lock(inode, &bh, 1); in ocfs2_set_inode_attr()
93 if (status < 0) { in ocfs2_set_inode_attr()
94 mlog_errno(status); in ocfs2_set_inode_attr()
[all …]
Djournal.c296 int status = 0; in ocfs2_commit_cache() local
313 status = jbd2_journal_flush(journal->j_journal); in ocfs2_commit_cache()
315 if (status < 0) { in ocfs2_commit_cache()
317 mlog_errno(status); in ocfs2_commit_cache()
332 return status; in ocfs2_commit_cache()
415 int status, old_nblocks; in ocfs2_extend_trans() local
428 status = 1; in ocfs2_extend_trans()
430 status = jbd2_journal_extend(handle, nblocks); in ocfs2_extend_trans()
431 if (status < 0) { in ocfs2_extend_trans()
432 mlog_errno(status); in ocfs2_extend_trans()
[all …]
Dsuper.c397 int status; in ocfs2_sync_fs() local
405 status = ocfs2_flush_truncate_log(osb); in ocfs2_sync_fs()
406 if (status < 0) in ocfs2_sync_fs()
407 mlog_errno(status); in ocfs2_sync_fs()
437 int status = 0; in ocfs2_init_global_system_inodes() local
442 status = PTR_ERR(new); in ocfs2_init_global_system_inodes()
443 mlog_errno(status); in ocfs2_init_global_system_inodes()
450 status = PTR_ERR(new); in ocfs2_init_global_system_inodes()
451 mlog_errno(status); in ocfs2_init_global_system_inodes()
463 status = ocfs2_is_soft_readonly(osb) ? -EROFS : -EINVAL; in ocfs2_init_global_system_inodes()
[all …]
Dquota_global.c300 int status; in ocfs2_lock_global_qf() local
303 status = ocfs2_inode_lock(oinfo->dqi_gqinode, &bh, ex); in ocfs2_lock_global_qf()
304 if (status < 0) in ocfs2_lock_global_qf()
305 return status; in ocfs2_lock_global_qf()
347 int status; in ocfs2_global_read_info() local
355 status = -EINVAL; in ocfs2_global_read_info()
366 status = ocfs2_lock_global_qf(oinfo, 0); in ocfs2_global_read_info()
367 if (status < 0) { in ocfs2_global_read_info()
368 mlog_errno(status); in ocfs2_global_read_info()
372 status = ocfs2_extent_map_get_blocks(gqinode, 0, &oinfo->dqi_giblk, in ocfs2_global_read_info()
[all …]
Dinode.c410 int status, can_lock, lock_level = 0; in ocfs2_read_locked_inode() local
413 status = -EINVAL; in ocfs2_read_locked_inode()
472 status = ocfs2_open_lock(inode); in ocfs2_read_locked_inode()
473 if (status) { in ocfs2_read_locked_inode()
475 mlog_errno(status); in ocfs2_read_locked_inode()
476 return status; in ocfs2_read_locked_inode()
478 status = ocfs2_inode_lock(inode, NULL, lock_level); in ocfs2_read_locked_inode()
479 if (status) { in ocfs2_read_locked_inode()
481 mlog_errno(status); in ocfs2_read_locked_inode()
482 return status; in ocfs2_read_locked_inode()
[all …]
Dexport.c42 int status, set; in ocfs2_get_dentry() local
64 status = ocfs2_nfs_sync_lock(osb, 1); in ocfs2_get_dentry()
65 if (status < 0) { in ocfs2_get_dentry()
66 mlog(ML_ERROR, "getting nfs sync lock(EX) failed %d\n", status); in ocfs2_get_dentry()
70 status = ocfs2_test_inode_bit(osb, blkno, &set); in ocfs2_get_dentry()
71 if (status < 0) { in ocfs2_get_dentry()
72 if (status == -EINVAL) { in ocfs2_get_dentry()
78 status = -ESTALE; in ocfs2_get_dentry()
80 mlog(ML_ERROR, "test inode bit failed %d\n", status); in ocfs2_get_dentry()
84 trace_ocfs2_get_dentry_test_bit(status, set); in ocfs2_get_dentry()
[all …]
/fs/nfs/
Dnfs4xdr.c943 int32_t status; member
3163 hdr->status = be32_to_cpup(p++); in decode_compound_hdr()
3173 return nfs4_stat_to_errno(hdr->status); in decode_compound_hdr()
3562 int status = 0; in decode_attr_files_avail() local
3575 return status; in decode_attr_files_avail()
3581 int status = 0; in decode_attr_files_free() local
3594 return status; in decode_attr_files_free()
3600 int status = 0; in decode_attr_files_total() local
3613 return status; in decode_attr_files_total()
3620 int status = 0; in decode_pathname() local
[all …]
Dnfs42xdr.c263 *p++ = cpu_to_be32(error->status); in encode_device_error()
471 int status, count; in decode_write_response() local
480 status = decode_opaque_fixed(xdr, &res->stateid, in decode_write_response()
482 if (unlikely(status)) in decode_write_response()
508 int status; in decode_copy() local
510 status = decode_op_hdr(xdr, OP_COPY); in decode_copy()
511 if (status == NFS4ERR_OFFLOAD_NO_REQS) { in decode_copy()
512 status = decode_copy_requirements(xdr, res); in decode_copy()
513 if (status) in decode_copy()
514 return status; in decode_copy()
[all …]
Dproc.c64 int status; in nfs_proc_get_root() local
68 status = rpc_call_sync(server->client, &msg, 0); in nfs_proc_get_root()
70 if (status && server->nfs_client->cl_rpcclient != server->client) in nfs_proc_get_root()
71 status = rpc_call_sync(server->nfs_client->cl_rpcclient, &msg, 0); in nfs_proc_get_root()
72 dprintk("%s: reply getattr: %d\n", __func__, status); in nfs_proc_get_root()
73 if (status) in nfs_proc_get_root()
74 return status; in nfs_proc_get_root()
78 status = rpc_call_sync(server->client, &msg, 0); in nfs_proc_get_root()
80 if (status && server->nfs_client->cl_rpcclient != server->client) in nfs_proc_get_root()
81 status = rpc_call_sync(server->nfs_client->cl_rpcclient, &msg, 0); in nfs_proc_get_root()
[all …]
Dcallback_xdr.c144 __be32 status; in decode_compound_hdr_arg() local
146 status = decode_string(xdr, &hdr->taglen, &hdr->tag, CB_OP_TAGLEN_MAXSZ); in decode_compound_hdr_arg()
147 if (unlikely(status != 0)) in decode_compound_hdr_arg()
148 return status; in decode_compound_hdr_arg()
180 __be32 status; in decode_getattr_args() local
182 status = decode_fh(xdr, &args->fh); in decode_getattr_args()
183 if (unlikely(status != 0)) in decode_getattr_args()
184 return status; in decode_getattr_args()
193 __be32 status; in decode_recall_args() local
195 status = decode_delegation_stateid(xdr, &args->stateid); in decode_recall_args()
[all …]
Dnfs3proc.c69 int status; in do_proc_get_root() local
73 status = rpc_call_sync(client, &msg, 0); in do_proc_get_root()
74 dprintk("%s: reply fsinfo: %d\n", __func__, status); in do_proc_get_root()
75 if (status == 0 && !(info->fattr->valid & NFS_ATTR_FATTR)) { in do_proc_get_root()
78 status = rpc_call_sync(client, &msg, 0); in do_proc_get_root()
79 dprintk("%s: reply getattr: %d\n", __func__, status); in do_proc_get_root()
81 return status; in do_proc_get_root()
91 int status; in nfs3_proc_get_root() local
93 status = do_proc_get_root(server->client, fhandle, info); in nfs3_proc_get_root()
94 if (status && server->nfs_client->cl_rpcclient != server->client) in nfs3_proc_get_root()
[all …]
Dmount_clnt.c83 u32 status; member
86 { .status = MNT_OK, .errno = 0, },
87 { .status = MNT_EPERM, .errno = -EPERM, },
88 { .status = MNT_ENOENT, .errno = -ENOENT, },
89 { .status = MNT_EACCES, .errno = -EACCES, },
90 { .status = MNT_EINVAL, .errno = -EINVAL, },
110 u32 status; member
113 { .status = MNT3_OK, .errno = 0, },
114 { .status = MNT3ERR_PERM, .errno = -EPERM, },
115 { .status = MNT3ERR_NOENT, .errno = -ENOENT, },
[all …]
Dnfs4state.c92 int status; in nfs4_setup_state_renewal() local
102 status = nfs4_proc_get_lease_time(clp, &fsinfo); in nfs4_setup_state_renewal()
103 if (status == 0) { in nfs4_setup_state_renewal()
108 return status; in nfs4_setup_state_renewal()
118 int status; in nfs4_init_clientid() local
127 status = nfs4_proc_setclientid(clp, NFS4_CALLBACK, port, cred, &clid); in nfs4_init_clientid()
128 if (status != 0) in nfs4_init_clientid()
134 status = nfs4_proc_setclientid_confirm(clp, &clid, cred); in nfs4_init_clientid()
135 if (status != 0) in nfs4_init_clientid()
140 return status; in nfs4_init_clientid()
[all …]
/fs/lockd/
Dclntproc.c161 int status; in nlmclnt_proc() local
184 status = nlmclnt_lock(call, fl); in nlmclnt_proc()
186 status = nlmclnt_unlock(call, fl); in nlmclnt_proc()
188 status = nlmclnt_test(call, fl); in nlmclnt_proc()
190 status = -EINVAL; in nlmclnt_proc()
194 dprintk("lockd: clnt proc returns %d\n", status); in nlmclnt_proc()
195 return status; in nlmclnt_proc()
244 int status = -EINTR; in nlm_wait_on_grace() local
251 status = 0; in nlm_wait_on_grace()
254 return status; in nlm_wait_on_grace()
[all …]
/fs/ocfs2/dlm/
Ddlmlock.c108 enum dlm_status status = DLM_NORMAL; in dlmlock_master() local
115 status = __dlm_lockres_state_to_status(res); in dlmlock_master()
116 if (status != DLM_NORMAL && in dlmlock_master()
120 dlm_error(status); in dlmlock_master()
121 return status; in dlmlock_master()
129 lock->lksb->status = DLM_NORMAL; in dlmlock_master()
130 status = DLM_NORMAL; in dlmlock_master()
152 status = DLM_NOTQUEUED; in dlmlock_master()
160 status = DLM_NORMAL; in dlmlock_master()
180 return status; in dlmlock_master()
[all …]
Ddlmunlock.c90 enum dlm_status status; in dlmunlock_common() local
130 status = DLM_RECOVERING; in dlmunlock_common()
135 status = DLM_MIGRATING; in dlmunlock_common()
142 status = dlm_get_cancel_actions(dlm, res, lock, lksb, &actions); in dlmunlock_common()
144 status = dlm_get_unlock_actions(dlm, res, lock, lksb, &actions); in dlmunlock_common()
146 if (status != DLM_NORMAL && (status != DLM_CANCELGRANT || !master_node)) in dlmunlock_common()
168 status = dlm_send_remote_unlock_request(dlm, res, lock, lksb, in dlmunlock_common()
174 if (status == DLM_CANCELGRANT) { in dlmunlock_common()
178 } else if (status == DLM_RECOVERING || in dlmunlock_common()
179 status == DLM_MIGRATING || in dlmunlock_common()
[all …]
Ddlmdomain.c579 int status; in dlm_send_one_domain_exit() local
588 status = o2net_send_message(msg_type, dlm->key, &leave_msg, in dlm_send_one_domain_exit()
590 if (status < 0) in dlm_send_one_domain_exit()
592 "to node %u on domain %s\n", status, msg_type, node, in dlm_send_one_domain_exit()
595 return status; in dlm_send_one_domain_exit()
629 int node, clear_node, status; in dlm_leave_domain() local
651 status = dlm_send_one_domain_exit(dlm, DLM_EXIT_DOMAIN_MSG, in dlm_leave_domain()
653 if (status < 0 && in dlm_leave_domain()
654 status != -ENOPROTOOPT && in dlm_leave_domain()
655 status != -ENOTCONN) { in dlm_leave_domain()
[all …]
Ddlmconvert.c66 enum dlm_status status; in dlmconvert_master() local
74 status = __dlmconvert_master(dlm, res, lock, flags, type, in dlmconvert_master()
80 if (status != DLM_NORMAL && status != DLM_NOTQUEUED) in dlmconvert_master()
81 dlm_error(status); in dlmconvert_master()
92 return status; in dlmconvert_master()
110 enum dlm_status status = DLM_NORMAL; in __dlmconvert_master() local
124 status = DLM_DENIED; in __dlmconvert_master()
132 status = DLM_DENIED; in __dlmconvert_master()
171 status = DLM_NORMAL; in __dlmconvert_master()
193 lock->lksb->status = DLM_NORMAL; in __dlmconvert_master()
[all …]
/fs/nfsd/
Dnfs4proc.c58 int status; in nfsd4_security_inode_setsecctx() local
61 status = security_inode_setsecctx(resfh->fh_dentry, in nfsd4_security_inode_setsecctx()
65 if (status) in nfsd4_security_inode_setsecctx()
121 __be32 status = nfs_ok; in nfsd4_check_open_attributes() local
126 status = check_attr_support(rqstp, cstate, in nfsd4_check_open_attributes()
129 status = check_attr_support(rqstp, cstate, in nfsd4_check_open_attributes()
133 return status; in nfsd4_check_open_attributes()
153 __be32 status; in do_set_nfs4_acl() local
155 status = nfsd4_set_nfs4_acl(rqstp, fhp, acl); in do_set_nfs4_acl()
156 if (status) in do_set_nfs4_acl()
[all …]
Dnfs4recover.c113 int status; in nfs4_make_rec_clidname() local
119 status = PTR_ERR(tfm); in nfs4_make_rec_clidname()
126 status = -ENOMEM; in nfs4_make_rec_clidname()
135 status = crypto_shash_digest(desc, clname->data, clname->len, in nfs4_make_rec_clidname()
140 if (status) in nfs4_make_rec_clidname()
145 status = 0; in nfs4_make_rec_clidname()
150 return status; in nfs4_make_rec_clidname()
205 int status; in nfsd4_create_clid_dir() local
213 status = nfs4_make_rec_clidname(dname, &clp->cl_name); in nfsd4_create_clid_dir()
214 if (status) in nfsd4_create_clid_dir()
[all …]
/fs/afs/
Dinode.c38 vnode->status.type); in dump_vnode()
40 vnode->status.abort_code, in dump_vnode()
41 vnode->status.mode, in dump_vnode()
42 vnode->status.size, in dump_vnode()
43 vnode->status.data_version); in dump_vnode()
77 struct afs_file_status *status = &scb->status; in afs_inode_init_from_status() local
82 status->type, in afs_inode_init_from_status()
83 status->nlink, in afs_inode_init_from_status()
84 (unsigned long long) status->size, in afs_inode_init_from_status()
85 status->data_version, in afs_inode_init_from_status()
[all …]

12345678