Home
last modified time | relevance | path

Searched refs:error_code (Results 1 – 7 of 7) sorted by relevance

/spdk/module/bdev/nvme/
H A Dnvme_rpc.c419 int ret, error_code; in rpc_bdev_nvme_send_cmd() local
424 error_code = SPDK_JSONRPC_ERROR_INTERNAL_ERROR; in rpc_bdev_nvme_send_cmd()
433 error_code = SPDK_JSONRPC_ERROR_INVALID_PARAMS; in rpc_bdev_nvme_send_cmd()
441 error_code = SPDK_JSONRPC_ERROR_INVALID_PARAMS; in rpc_bdev_nvme_send_cmd()
451 error_code = SPDK_JSONRPC_ERROR_INTERNAL_ERROR; in rpc_bdev_nvme_send_cmd()
461 spdk_jsonrpc_send_error_response(request, error_code, spdk_strerror(-ret)); in rpc_bdev_nvme_send_cmd()
/spdk/include/spdk/
H A Djsonrpc.h194 int error_code, const char *msg);
207 int error_code, const char *fmt, ...) __attribute__((format(printf, 3, 4)));
/spdk/test/unit/lib/rpc/rpc.c/
H A Drpc_ut.c69 int error_code, const char *msg) in spdk_jsonrpc_send_error_response() argument
71 g_rpc_err = error_code; in spdk_jsonrpc_send_error_response()
76 int error_code, const char *fmt, ...) in spdk_jsonrpc_send_error_response_fmt() argument
78 g_rpc_err = error_code; in spdk_jsonrpc_send_error_response_fmt()
/spdk/lib/jsonrpc/
H A Djsonrpc_server.c396 int error_code, const char *msg) in spdk_jsonrpc_send_error_response() argument
401 spdk_json_write_named_int32(w, "code", error_code); in spdk_jsonrpc_send_error_response()
410 int error_code, const char *fmt, ...) in spdk_jsonrpc_send_error_response_fmt() argument
416 spdk_json_write_named_int32(w, "code", error_code); in spdk_jsonrpc_send_error_response_fmt()
/spdk/test/unit/lib/bdev/vbdev_zone_block.c/
H A Dvbdev_zone_block_ut.c298 int error_code, const char *msg) in spdk_jsonrpc_send_error_response() argument
305 int error_code, const char *fmt, ...) in spdk_jsonrpc_send_error_response_fmt() argument
/spdk/test/unit/lib/bdev/raid/bdev_raid.c/
H A Dbdev_raid_ut.c552 int error_code, const char *msg) in spdk_jsonrpc_send_error_response()
559 int error_code, const char *fmt, ...) in spdk_jsonrpc_send_error_response_fmt()
551 spdk_jsonrpc_send_error_response(struct spdk_jsonrpc_request * request,int error_code,const char * msg) spdk_jsonrpc_send_error_response() argument
558 spdk_jsonrpc_send_error_response_fmt(struct spdk_jsonrpc_request * request,int error_code,const char * fmt,...) spdk_jsonrpc_send_error_response_fmt() argument
/spdk/test/unit/lib/bdev/nvme/bdev_nvme.c/
H A Dbdev_nvme_ut.c57 int error_code, const char *msg));