Lines Matching full:status

77 					1 /* status */ + 1 /* opnum */)
415 *p++ = cpu_to_be32(error->status); in encode_device_error()
457 int status; in decode_setxattr() local
459 status = decode_op_hdr(xdr, OP_SETXATTR); in decode_setxattr()
460 if (status) in decode_setxattr()
462 status = decode_change_info(xdr, cinfo); in decode_setxattr()
464 return status; in decode_setxattr()
479 int status; in decode_getxattr() local
483 status = decode_op_hdr(xdr, OP_GETXATTR); in decode_getxattr()
484 if (status) in decode_getxattr()
485 return status; in decode_getxattr()
523 int status; in decode_removexattr() local
525 status = decode_op_hdr(xdr, OP_REMOVEXATTR); in decode_removexattr()
526 if (status) in decode_removexattr()
529 status = decode_change_info(xdr, cinfo); in decode_removexattr()
531 return status; in decode_removexattr()
558 int status; in decode_listxattrs() local
564 status = decode_op_hdr(xdr, OP_LISTXATTRS); in decode_listxattrs()
565 if (status) { in decode_listxattrs()
570 if (status == -ETOOSMALL) in decode_listxattrs()
571 status = -ERANGE; in decode_listxattrs()
576 if (status == -ENODATA) { in decode_listxattrs()
578 status = 0; in decode_listxattrs()
614 status = -ERANGE; in decode_listxattrs()
625 status = -ERANGE; in decode_listxattrs()
647 if (status == -ERANGE && res->xattr_len == XATTR_LIST_MAX) in decode_listxattrs()
648 status = -E2BIG; in decode_listxattrs()
650 return status; in decode_listxattrs()
882 int status, count; in decode_write_response() local
891 status = decode_opaque_fixed(xdr, &res->stateid, in decode_write_response()
893 if (unlikely(status)) in decode_write_response()
910 int status; in decode_nl4_server() local
920 status = decode_opaque_inline(xdr, &dummy, &dummy_str); in decode_nl4_server()
921 if (unlikely(status)) in decode_nl4_server()
922 return status; in decode_nl4_server()
932 status = decode_opaque_inline(xdr, &dummy, &dummy_str); in decode_nl4_server()
933 if (unlikely(status)) in decode_nl4_server()
934 return status; in decode_nl4_server()
941 status = decode_opaque_inline(xdr, &dummy, &dummy_str); in decode_nl4_server()
942 if (unlikely(status)) in decode_nl4_server()
943 return status; in decode_nl4_server()
971 int status; in decode_copy() local
973 status = decode_op_hdr(xdr, OP_COPY); in decode_copy()
974 if (status == NFS4ERR_OFFLOAD_NO_REQS) { in decode_copy()
975 status = decode_copy_requirements(xdr, res); in decode_copy()
976 if (status) in decode_copy()
977 return status; in decode_copy()
979 } else if (status) in decode_copy()
980 return status; in decode_copy()
982 status = decode_write_response(xdr, &res->write_res); in decode_copy()
983 if (status) in decode_copy()
984 return status; in decode_copy()
999 int status, count; in decode_copy_notify() local
1001 status = decode_op_hdr(xdr, OP_COPY_NOTIFY); in decode_copy_notify()
1002 if (status) in decode_copy_notify()
1003 return status; in decode_copy_notify()
1011 status = decode_opaque_fixed(xdr, &res->cnr_stateid, NFS4_STATEID_SIZE); in decode_copy_notify()
1012 if (unlikely(status)) in decode_copy_notify()
1025 status = decode_nl4_server(xdr, &res->cnr_src); in decode_copy_notify()
1026 if (unlikely(status)) in decode_copy_notify()
1123 int status, i; in decode_read_plus() local
1127 status = decode_op_hdr(xdr, OP_READ_PLUS); in decode_read_plus()
1128 if (status) in decode_read_plus()
1129 return status; in decode_read_plus()
1139 return status; in decode_read_plus()
1146 status = -EIO; in decode_read_plus()
1148 status = decode_read_plus_segment(xdr, &segs[i]); in decode_read_plus()
1149 if (status < 0) in decode_read_plus()
1156 status = 0; in decode_read_plus()
1160 return status; in decode_read_plus()
1165 int status; in decode_seek() local
1168 status = decode_op_hdr(xdr, OP_SEEK); in decode_seek()
1169 if (status) in decode_seek()
1170 return status; in decode_seek()
1205 int status; in nfs4_xdr_dec_allocate() local
1207 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_allocate()
1208 if (status) in nfs4_xdr_dec_allocate()
1210 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_allocate()
1211 if (status) in nfs4_xdr_dec_allocate()
1213 status = decode_putfh(xdr); in nfs4_xdr_dec_allocate()
1214 if (status) in nfs4_xdr_dec_allocate()
1216 status = decode_allocate(xdr, res); in nfs4_xdr_dec_allocate()
1217 if (status) in nfs4_xdr_dec_allocate()
1221 return status; in nfs4_xdr_dec_allocate()
1233 int status; in nfs4_xdr_dec_copy() local
1235 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_copy()
1236 if (status) in nfs4_xdr_dec_copy()
1238 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_copy()
1239 if (status) in nfs4_xdr_dec_copy()
1241 status = decode_putfh(xdr); in nfs4_xdr_dec_copy()
1242 if (status) in nfs4_xdr_dec_copy()
1244 status = decode_savefh(xdr); in nfs4_xdr_dec_copy()
1245 if (status) in nfs4_xdr_dec_copy()
1247 status = decode_putfh(xdr); in nfs4_xdr_dec_copy()
1248 if (status) in nfs4_xdr_dec_copy()
1250 status = decode_copy(xdr, res); in nfs4_xdr_dec_copy()
1251 if (status) in nfs4_xdr_dec_copy()
1254 status = decode_commit(xdr, &res->commit_res); in nfs4_xdr_dec_copy()
1256 return status; in nfs4_xdr_dec_copy()
1268 int status; in nfs4_xdr_dec_offload_cancel() local
1270 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_offload_cancel()
1271 if (status) in nfs4_xdr_dec_offload_cancel()
1273 status = decode_sequence(xdr, &res->osr_seq_res, rqstp); in nfs4_xdr_dec_offload_cancel()
1274 if (status) in nfs4_xdr_dec_offload_cancel()
1276 status = decode_putfh(xdr); in nfs4_xdr_dec_offload_cancel()
1277 if (status) in nfs4_xdr_dec_offload_cancel()
1279 status = decode_offload_cancel(xdr, res); in nfs4_xdr_dec_offload_cancel()
1282 return status; in nfs4_xdr_dec_offload_cancel()
1294 int status; in nfs4_xdr_dec_copy_notify() local
1296 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_copy_notify()
1297 if (status) in nfs4_xdr_dec_copy_notify()
1299 status = decode_sequence(xdr, &res->cnr_seq_res, rqstp); in nfs4_xdr_dec_copy_notify()
1300 if (status) in nfs4_xdr_dec_copy_notify()
1302 status = decode_putfh(xdr); in nfs4_xdr_dec_copy_notify()
1303 if (status) in nfs4_xdr_dec_copy_notify()
1305 status = decode_copy_notify(xdr, res); in nfs4_xdr_dec_copy_notify()
1308 return status; in nfs4_xdr_dec_copy_notify()
1320 int status; in nfs4_xdr_dec_deallocate() local
1322 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_deallocate()
1323 if (status) in nfs4_xdr_dec_deallocate()
1325 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_deallocate()
1326 if (status) in nfs4_xdr_dec_deallocate()
1328 status = decode_putfh(xdr); in nfs4_xdr_dec_deallocate()
1329 if (status) in nfs4_xdr_dec_deallocate()
1331 status = decode_deallocate(xdr, res); in nfs4_xdr_dec_deallocate()
1332 if (status) in nfs4_xdr_dec_deallocate()
1336 return status; in nfs4_xdr_dec_deallocate()
1348 int status; in nfs4_xdr_dec_read_plus() local
1350 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_read_plus()
1351 if (status) in nfs4_xdr_dec_read_plus()
1353 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_read_plus()
1354 if (status) in nfs4_xdr_dec_read_plus()
1356 status = decode_putfh(xdr); in nfs4_xdr_dec_read_plus()
1357 if (status) in nfs4_xdr_dec_read_plus()
1359 status = decode_read_plus(xdr, res); in nfs4_xdr_dec_read_plus()
1360 if (!status) in nfs4_xdr_dec_read_plus()
1361 status = res->count; in nfs4_xdr_dec_read_plus()
1363 return status; in nfs4_xdr_dec_read_plus()
1375 int status; in nfs4_xdr_dec_seek() local
1377 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_seek()
1378 if (status) in nfs4_xdr_dec_seek()
1380 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_seek()
1381 if (status) in nfs4_xdr_dec_seek()
1383 status = decode_putfh(xdr); in nfs4_xdr_dec_seek()
1384 if (status) in nfs4_xdr_dec_seek()
1386 status = decode_seek(xdr, res); in nfs4_xdr_dec_seek()
1388 return status; in nfs4_xdr_dec_seek()
1400 int status, i; in nfs4_xdr_dec_layoutstats() local
1402 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_layoutstats()
1403 if (status) in nfs4_xdr_dec_layoutstats()
1405 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_layoutstats()
1406 if (status) in nfs4_xdr_dec_layoutstats()
1408 status = decode_putfh(xdr); in nfs4_xdr_dec_layoutstats()
1409 if (status) in nfs4_xdr_dec_layoutstats()
1413 status = decode_layoutstats(xdr); in nfs4_xdr_dec_layoutstats()
1414 if (status) in nfs4_xdr_dec_layoutstats()
1418 res->rpc_status = status; in nfs4_xdr_dec_layoutstats()
1419 return status; in nfs4_xdr_dec_layoutstats()
1431 int status; in nfs4_xdr_dec_clone() local
1433 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_clone()
1434 if (status) in nfs4_xdr_dec_clone()
1436 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_clone()
1437 if (status) in nfs4_xdr_dec_clone()
1439 status = decode_putfh(xdr); in nfs4_xdr_dec_clone()
1440 if (status) in nfs4_xdr_dec_clone()
1442 status = decode_savefh(xdr); in nfs4_xdr_dec_clone()
1443 if (status) in nfs4_xdr_dec_clone()
1445 status = decode_putfh(xdr); in nfs4_xdr_dec_clone()
1446 if (status) in nfs4_xdr_dec_clone()
1448 status = decode_clone(xdr); in nfs4_xdr_dec_clone()
1449 if (status) in nfs4_xdr_dec_clone()
1453 res->rpc_status = status; in nfs4_xdr_dec_clone()
1454 return status; in nfs4_xdr_dec_clone()
1466 int status, i; in nfs4_xdr_dec_layouterror() local
1468 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_layouterror()
1469 if (status) in nfs4_xdr_dec_layouterror()
1471 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_layouterror()
1472 if (status) in nfs4_xdr_dec_layouterror()
1474 status = decode_putfh(xdr); in nfs4_xdr_dec_layouterror()
1476 for (i = 0; i < res->num_errors && status == 0; i++) in nfs4_xdr_dec_layouterror()
1477 status = decode_layouterror(xdr); in nfs4_xdr_dec_layouterror()
1479 res->rpc_status = status; in nfs4_xdr_dec_layouterror()
1480 return status; in nfs4_xdr_dec_layouterror()
1504 int status; in nfs4_xdr_dec_setxattr() local
1506 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_setxattr()
1507 if (status) in nfs4_xdr_dec_setxattr()
1509 status = decode_sequence(xdr, &res->seq_res, req); in nfs4_xdr_dec_setxattr()
1510 if (status) in nfs4_xdr_dec_setxattr()
1512 status = decode_putfh(xdr); in nfs4_xdr_dec_setxattr()
1513 if (status) in nfs4_xdr_dec_setxattr()
1516 status = decode_setxattr(xdr, &res->cinfo); in nfs4_xdr_dec_setxattr()
1518 return status; in nfs4_xdr_dec_setxattr()
1547 int status; in nfs4_xdr_dec_getxattr() local
1549 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_getxattr()
1550 if (status) in nfs4_xdr_dec_getxattr()
1552 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_getxattr()
1553 if (status) in nfs4_xdr_dec_getxattr()
1555 status = decode_putfh(xdr); in nfs4_xdr_dec_getxattr()
1556 if (status) in nfs4_xdr_dec_getxattr()
1558 status = decode_getxattr(xdr, res, rqstp); in nfs4_xdr_dec_getxattr()
1560 return status; in nfs4_xdr_dec_getxattr()
1588 int status; in nfs4_xdr_dec_listxattrs() local
1592 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_listxattrs()
1593 if (status) in nfs4_xdr_dec_listxattrs()
1595 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_listxattrs()
1596 if (status) in nfs4_xdr_dec_listxattrs()
1598 status = decode_putfh(xdr); in nfs4_xdr_dec_listxattrs()
1599 if (status) in nfs4_xdr_dec_listxattrs()
1601 status = decode_listxattrs(xdr, res); in nfs4_xdr_dec_listxattrs()
1603 return status; in nfs4_xdr_dec_listxattrs()
1626 int status; in nfs4_xdr_dec_removexattr() local
1628 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_removexattr()
1629 if (status) in nfs4_xdr_dec_removexattr()
1631 status = decode_sequence(xdr, &res->seq_res, req); in nfs4_xdr_dec_removexattr()
1632 if (status) in nfs4_xdr_dec_removexattr()
1634 status = decode_putfh(xdr); in nfs4_xdr_dec_removexattr()
1635 if (status) in nfs4_xdr_dec_removexattr()
1638 status = decode_removexattr(xdr, &res->cinfo); in nfs4_xdr_dec_removexattr()
1640 return status; in nfs4_xdr_dec_removexattr()