Lines Matching full:0
36 if (rem == 0) { in smp_align4()
60 .nh_len = 0, in smp_init_rsp_hdr()
61 .nh_flags = 0, in smp_init_rsp_hdr()
80 reader->cpy(reader, (char *)dst_hdr, 0, sizeof *dst_hdr); in smp_read_hdr()
81 return 0; in smp_read_hdr()
89 rc = mgmt_streamer_write_at(&streamer->mgmt_stmr, 0, src_hdr, in smp_write_hdr()
105 if (rc != 0) { in smp_build_err_rsp()
111 if (rc != 0) { in smp_build_err_rsp()
116 if (rc != 0) { in smp_build_err_rsp()
121 if (rc != 0) { in smp_build_err_rsp()
126 if (rc != 0) { in smp_build_err_rsp()
133 if (rc != 0) { in smp_build_err_rsp()
137 return 0; in smp_build_err_rsp()
174 if (rc != 0) { in smp_handle_single_payload()
200 if (rc != 0) { in smp_handle_single_payload()
231 if (rc != 0) { in smp_handle_single_req()
240 if (rc != 0) { in smp_handle_single_req()
246 if (rc != 0) { in smp_handle_single_req()
254 if (rc != 0) { in smp_handle_single_req()
258 return 0; in smp_handle_single_req()
294 if (rc == 0) { in smp_on_err()
315 * @return 0 on success, MGMT_ERR_[...] code on failure.
333 if (rc != 0) { in smp_process_request_packet()
340 if (rc != 0) { in smp_process_request_packet()
354 if (rc != 0) { in smp_process_request_packet()
360 if (rc != 0) { in smp_process_request_packet()
367 if (rc != 0) { in smp_process_request_packet()
380 if (rc != 0 && valid_hdr) { in smp_process_request_packet()
394 return 0; in smp_process_request_packet()