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()
517 int status; in decode_removexattr() local
519 status = decode_op_hdr(xdr, OP_REMOVEXATTR); in decode_removexattr()
520 if (status) in decode_removexattr()
523 status = decode_change_info(xdr, cinfo); in decode_removexattr()
525 return status; in decode_removexattr()
552 int status; in decode_listxattrs() local
558 status = decode_op_hdr(xdr, OP_LISTXATTRS); in decode_listxattrs()
559 if (status) { in decode_listxattrs()
564 if (status == -ETOOSMALL) in decode_listxattrs()
565 status = -ERANGE; in decode_listxattrs()
600 status = -ERANGE; in decode_listxattrs()
611 status = -ERANGE; in decode_listxattrs()
633 if (status == -ERANGE && res->xattr_len == XATTR_LIST_MAX) in decode_listxattrs()
634 status = -E2BIG; in decode_listxattrs()
636 return status; in decode_listxattrs()
868 int status, count; in decode_write_response() local
877 status = decode_opaque_fixed(xdr, &res->stateid, in decode_write_response()
879 if (unlikely(status)) in decode_write_response()
896 int status; in decode_nl4_server() local
906 status = decode_opaque_inline(xdr, &dummy, &dummy_str); in decode_nl4_server()
907 if (unlikely(status)) in decode_nl4_server()
908 return status; in decode_nl4_server()
918 status = decode_opaque_inline(xdr, &dummy, &dummy_str); in decode_nl4_server()
919 if (unlikely(status)) in decode_nl4_server()
920 return status; in decode_nl4_server()
927 status = decode_opaque_inline(xdr, &dummy, &dummy_str); in decode_nl4_server()
928 if (unlikely(status)) in decode_nl4_server()
929 return status; in decode_nl4_server()
957 int status; in decode_copy() local
959 status = decode_op_hdr(xdr, OP_COPY); in decode_copy()
960 if (status == NFS4ERR_OFFLOAD_NO_REQS) { in decode_copy()
961 status = decode_copy_requirements(xdr, res); in decode_copy()
962 if (status) in decode_copy()
963 return status; in decode_copy()
965 } else if (status) in decode_copy()
966 return status; in decode_copy()
968 status = decode_write_response(xdr, &res->write_res); in decode_copy()
969 if (status) in decode_copy()
970 return status; in decode_copy()
985 int status, count; in decode_copy_notify() local
987 status = decode_op_hdr(xdr, OP_COPY_NOTIFY); in decode_copy_notify()
988 if (status) in decode_copy_notify()
989 return status; in decode_copy_notify()
997 status = decode_opaque_fixed(xdr, &res->cnr_stateid, NFS4_STATEID_SIZE); in decode_copy_notify()
998 if (unlikely(status)) in decode_copy_notify()
1011 status = decode_nl4_server(xdr, &res->cnr_src); in decode_copy_notify()
1012 if (unlikely(status)) in decode_copy_notify()
1073 int status, i; in decode_read_plus() local
1076 status = decode_op_hdr(xdr, OP_READ_PLUS); in decode_read_plus()
1077 if (status) in decode_read_plus()
1078 return status; in decode_read_plus()
1096 status = decode_read_plus_data(xdr, res, &eof); in decode_read_plus()
1098 status = decode_read_plus_hole(xdr, res, &eof); in decode_read_plus()
1102 if (status < 0) in decode_read_plus()
1103 return status; in decode_read_plus()
1104 if (status > 0) in decode_read_plus()
1115 int status; in decode_seek() local
1118 status = decode_op_hdr(xdr, OP_SEEK); in decode_seek()
1119 if (status) in decode_seek()
1120 return status; in decode_seek()
1155 int status; in nfs4_xdr_dec_allocate() local
1157 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_allocate()
1158 if (status) in nfs4_xdr_dec_allocate()
1160 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_allocate()
1161 if (status) in nfs4_xdr_dec_allocate()
1163 status = decode_putfh(xdr); in nfs4_xdr_dec_allocate()
1164 if (status) in nfs4_xdr_dec_allocate()
1166 status = decode_allocate(xdr, res); in nfs4_xdr_dec_allocate()
1167 if (status) in nfs4_xdr_dec_allocate()
1171 return status; in nfs4_xdr_dec_allocate()
1183 int status; in nfs4_xdr_dec_copy() local
1185 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_copy()
1186 if (status) in nfs4_xdr_dec_copy()
1188 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_copy()
1189 if (status) in nfs4_xdr_dec_copy()
1191 status = decode_putfh(xdr); in nfs4_xdr_dec_copy()
1192 if (status) in nfs4_xdr_dec_copy()
1194 status = decode_savefh(xdr); in nfs4_xdr_dec_copy()
1195 if (status) in nfs4_xdr_dec_copy()
1197 status = decode_putfh(xdr); in nfs4_xdr_dec_copy()
1198 if (status) in nfs4_xdr_dec_copy()
1200 status = decode_copy(xdr, res); in nfs4_xdr_dec_copy()
1201 if (status) in nfs4_xdr_dec_copy()
1204 status = decode_commit(xdr, &res->commit_res); in nfs4_xdr_dec_copy()
1206 return status; in nfs4_xdr_dec_copy()
1218 int status; in nfs4_xdr_dec_offload_cancel() local
1220 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_offload_cancel()
1221 if (status) in nfs4_xdr_dec_offload_cancel()
1223 status = decode_sequence(xdr, &res->osr_seq_res, rqstp); in nfs4_xdr_dec_offload_cancel()
1224 if (status) in nfs4_xdr_dec_offload_cancel()
1226 status = decode_putfh(xdr); in nfs4_xdr_dec_offload_cancel()
1227 if (status) in nfs4_xdr_dec_offload_cancel()
1229 status = decode_offload_cancel(xdr, res); in nfs4_xdr_dec_offload_cancel()
1232 return status; in nfs4_xdr_dec_offload_cancel()
1244 int status; in nfs4_xdr_dec_copy_notify() local
1246 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_copy_notify()
1247 if (status) in nfs4_xdr_dec_copy_notify()
1249 status = decode_sequence(xdr, &res->cnr_seq_res, rqstp); in nfs4_xdr_dec_copy_notify()
1250 if (status) in nfs4_xdr_dec_copy_notify()
1252 status = decode_putfh(xdr); in nfs4_xdr_dec_copy_notify()
1253 if (status) in nfs4_xdr_dec_copy_notify()
1255 status = decode_copy_notify(xdr, res); in nfs4_xdr_dec_copy_notify()
1258 return status; in nfs4_xdr_dec_copy_notify()
1270 int status; in nfs4_xdr_dec_deallocate() local
1272 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_deallocate()
1273 if (status) in nfs4_xdr_dec_deallocate()
1275 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_deallocate()
1276 if (status) in nfs4_xdr_dec_deallocate()
1278 status = decode_putfh(xdr); in nfs4_xdr_dec_deallocate()
1279 if (status) in nfs4_xdr_dec_deallocate()
1281 status = decode_deallocate(xdr, res); in nfs4_xdr_dec_deallocate()
1282 if (status) in nfs4_xdr_dec_deallocate()
1286 return status; in nfs4_xdr_dec_deallocate()
1298 int status; in nfs4_xdr_dec_read_plus() local
1300 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_read_plus()
1301 if (status) in nfs4_xdr_dec_read_plus()
1303 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_read_plus()
1304 if (status) in nfs4_xdr_dec_read_plus()
1306 status = decode_putfh(xdr); in nfs4_xdr_dec_read_plus()
1307 if (status) in nfs4_xdr_dec_read_plus()
1309 status = decode_read_plus(xdr, res); in nfs4_xdr_dec_read_plus()
1310 if (!status) in nfs4_xdr_dec_read_plus()
1311 status = res->count; in nfs4_xdr_dec_read_plus()
1313 return status; in nfs4_xdr_dec_read_plus()
1325 int status; in nfs4_xdr_dec_seek() local
1327 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_seek()
1328 if (status) in nfs4_xdr_dec_seek()
1330 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_seek()
1331 if (status) in nfs4_xdr_dec_seek()
1333 status = decode_putfh(xdr); in nfs4_xdr_dec_seek()
1334 if (status) in nfs4_xdr_dec_seek()
1336 status = decode_seek(xdr, res); in nfs4_xdr_dec_seek()
1338 return status; in nfs4_xdr_dec_seek()
1350 int status, i; in nfs4_xdr_dec_layoutstats() local
1352 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_layoutstats()
1353 if (status) in nfs4_xdr_dec_layoutstats()
1355 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_layoutstats()
1356 if (status) in nfs4_xdr_dec_layoutstats()
1358 status = decode_putfh(xdr); in nfs4_xdr_dec_layoutstats()
1359 if (status) in nfs4_xdr_dec_layoutstats()
1363 status = decode_layoutstats(xdr); in nfs4_xdr_dec_layoutstats()
1364 if (status) in nfs4_xdr_dec_layoutstats()
1368 res->rpc_status = status; in nfs4_xdr_dec_layoutstats()
1369 return status; in nfs4_xdr_dec_layoutstats()
1381 int status; in nfs4_xdr_dec_clone() local
1383 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_clone()
1384 if (status) in nfs4_xdr_dec_clone()
1386 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_clone()
1387 if (status) in nfs4_xdr_dec_clone()
1389 status = decode_putfh(xdr); in nfs4_xdr_dec_clone()
1390 if (status) in nfs4_xdr_dec_clone()
1392 status = decode_savefh(xdr); in nfs4_xdr_dec_clone()
1393 if (status) in nfs4_xdr_dec_clone()
1395 status = decode_putfh(xdr); in nfs4_xdr_dec_clone()
1396 if (status) in nfs4_xdr_dec_clone()
1398 status = decode_clone(xdr); in nfs4_xdr_dec_clone()
1399 if (status) in nfs4_xdr_dec_clone()
1401 status = decode_getfattr(xdr, res->dst_fattr, res->server); in nfs4_xdr_dec_clone()
1404 res->rpc_status = status; in nfs4_xdr_dec_clone()
1405 return status; in nfs4_xdr_dec_clone()
1417 int status, i; in nfs4_xdr_dec_layouterror() local
1419 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_layouterror()
1420 if (status) in nfs4_xdr_dec_layouterror()
1422 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_layouterror()
1423 if (status) in nfs4_xdr_dec_layouterror()
1425 status = decode_putfh(xdr); in nfs4_xdr_dec_layouterror()
1427 for (i = 0; i < res->num_errors && status == 0; i++) in nfs4_xdr_dec_layouterror()
1428 status = decode_layouterror(xdr); in nfs4_xdr_dec_layouterror()
1430 res->rpc_status = status; in nfs4_xdr_dec_layouterror()
1431 return status; in nfs4_xdr_dec_layouterror()
1455 int status; in nfs4_xdr_dec_setxattr() local
1457 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_setxattr()
1458 if (status) in nfs4_xdr_dec_setxattr()
1460 status = decode_sequence(xdr, &res->seq_res, req); in nfs4_xdr_dec_setxattr()
1461 if (status) in nfs4_xdr_dec_setxattr()
1463 status = decode_putfh(xdr); in nfs4_xdr_dec_setxattr()
1464 if (status) in nfs4_xdr_dec_setxattr()
1467 status = decode_setxattr(xdr, &res->cinfo); in nfs4_xdr_dec_setxattr()
1469 return status; in nfs4_xdr_dec_setxattr()
1500 int status; in nfs4_xdr_dec_getxattr() local
1502 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_getxattr()
1503 if (status) in nfs4_xdr_dec_getxattr()
1505 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_getxattr()
1506 if (status) in nfs4_xdr_dec_getxattr()
1508 status = decode_putfh(xdr); in nfs4_xdr_dec_getxattr()
1509 if (status) in nfs4_xdr_dec_getxattr()
1511 status = decode_getxattr(xdr, res, rqstp); in nfs4_xdr_dec_getxattr()
1513 return status; in nfs4_xdr_dec_getxattr()
1540 int status; in nfs4_xdr_dec_listxattrs() local
1544 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_listxattrs()
1545 if (status) in nfs4_xdr_dec_listxattrs()
1547 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_listxattrs()
1548 if (status) in nfs4_xdr_dec_listxattrs()
1550 status = decode_putfh(xdr); in nfs4_xdr_dec_listxattrs()
1551 if (status) in nfs4_xdr_dec_listxattrs()
1553 status = decode_listxattrs(xdr, res); in nfs4_xdr_dec_listxattrs()
1555 return status; in nfs4_xdr_dec_listxattrs()
1578 int status; in nfs4_xdr_dec_removexattr() local
1580 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_removexattr()
1581 if (status) in nfs4_xdr_dec_removexattr()
1583 status = decode_sequence(xdr, &res->seq_res, req); in nfs4_xdr_dec_removexattr()
1584 if (status) in nfs4_xdr_dec_removexattr()
1586 status = decode_putfh(xdr); in nfs4_xdr_dec_removexattr()
1587 if (status) in nfs4_xdr_dec_removexattr()
1590 status = decode_removexattr(xdr, &res->cinfo); in nfs4_xdr_dec_removexattr()
1592 return status; in nfs4_xdr_dec_removexattr()