Lines Matching refs:request
33 rpc_blobfs_set_cache_size(struct spdk_jsonrpc_request *request, in rpc_blobfs_set_cache_size() argument
43 spdk_jsonrpc_send_error_response(request, SPDK_JSONRPC_ERROR_INVALID_PARAMS, in rpc_blobfs_set_cache_size()
50 spdk_jsonrpc_send_error_response(request, SPDK_JSONRPC_ERROR_INVALID_PARAMS, in rpc_blobfs_set_cache_size()
59 spdk_jsonrpc_send_bool_response(request, true); in rpc_blobfs_set_cache_size()
61 spdk_jsonrpc_send_error_response(request, rc, spdk_strerror(-rc)); in rpc_blobfs_set_cache_size()
71 struct spdk_jsonrpc_request *request; member
95 spdk_jsonrpc_send_error_response(req->request, SPDK_JSONRPC_ERROR_INTERNAL_ERROR, in _rpc_blobfs_detect_done()
101 spdk_jsonrpc_send_bool_response(req->request, existed); in _rpc_blobfs_detect_done()
107 rpc_blobfs_detect(struct spdk_jsonrpc_request *request, in rpc_blobfs_detect() argument
115 spdk_jsonrpc_send_error_response(request, SPDK_JSONRPC_ERROR_INTERNAL_ERROR, "Out of memory"); in rpc_blobfs_detect()
123 spdk_jsonrpc_send_error_response(request, SPDK_JSONRPC_ERROR_INVALID_PARAMS, in rpc_blobfs_detect()
131 req->request = request; in rpc_blobfs_detect()
141 struct spdk_jsonrpc_request *request; member
188 spdk_jsonrpc_send_error_response(req->request, SPDK_JSONRPC_ERROR_INTERNAL_ERROR, in _rpc_blobfs_create_done()
194 spdk_jsonrpc_send_bool_response(req->request, true); in _rpc_blobfs_create_done()
200 rpc_blobfs_create(struct spdk_jsonrpc_request *request, in rpc_blobfs_create() argument
208 spdk_jsonrpc_send_error_response(request, SPDK_JSONRPC_ERROR_INTERNAL_ERROR, "Out of memory"); in rpc_blobfs_create()
216 spdk_jsonrpc_send_error_response(request, SPDK_JSONRPC_ERROR_INVALID_PARAMS, in rpc_blobfs_create()
224 req->request = request; in rpc_blobfs_create()
237 struct spdk_jsonrpc_request *request; member
260 spdk_jsonrpc_send_error_response(req->request, SPDK_JSONRPC_ERROR_INVALID_PARAMS, in _rpc_blobfs_mount_done()
265 spdk_jsonrpc_send_error_response(req->request, SPDK_JSONRPC_ERROR_INTERNAL_ERROR, in _rpc_blobfs_mount_done()
271 spdk_jsonrpc_send_bool_response(req->request, true); in _rpc_blobfs_mount_done()
277 rpc_blobfs_mount(struct spdk_jsonrpc_request *request, in rpc_blobfs_mount() argument
285 spdk_jsonrpc_send_error_response(request, SPDK_JSONRPC_ERROR_INTERNAL_ERROR, "Out of memory"); in rpc_blobfs_mount()
293 spdk_jsonrpc_send_error_response(request, SPDK_JSONRPC_ERROR_INVALID_PARAMS, in rpc_blobfs_mount()
301 req->request = request; in rpc_blobfs_mount()