Lines Matching full:length

11 			      uint32_t *length, uint64_t *address)  in decode_rw_file_memory_req()  argument
14 length == NULL || address == NULL) { in decode_rw_file_memory_req()
27 *length = le32toh(request->length); in decode_rw_file_memory_req()
35 uint8_t completion_code, uint32_t length, in encode_rw_file_memory_resp() argument
56 response->length = htole32(length); in encode_rw_file_memory_resp()
65 uint32_t length, uint64_t address, in encode_rw_file_memory_req() argument
86 req->length = htole32(length); in encode_rw_file_memory_req()
94 uint32_t *length) in decode_rw_file_memory_resp() argument
96 if (msg == NULL || length == NULL || completion_code == NULL) { in decode_rw_file_memory_resp()
108 *length = le32toh(response->length); in decode_rw_file_memory_resp()
241 uint32_t *length) in decode_read_file_req() argument
244 length == NULL) { in decode_read_file_req()
257 *length = le32toh(request->length); in decode_read_file_req()
264 uint32_t offset, uint32_t length, struct pldm_msg *msg) in encode_read_file_req() argument
270 if (length == 0) { in encode_read_file_req()
289 request->length = htole32(length); in encode_read_file_req()
296 uint8_t *completion_code, uint32_t *length, in decode_read_file_resp() argument
299 if (msg == NULL || completion_code == NULL || length == NULL) { in decode_read_file_resp()
312 *length = le32toh(response->length); in decode_read_file_resp()
313 if (payload_length != PLDM_READ_FILE_RESP_BYTES + *length) { in decode_read_file_resp()
316 *file_data_offset = sizeof(*completion_code) + sizeof(*length); in decode_read_file_resp()
324 uint32_t length, struct pldm_msg *msg) in encode_read_file_resp() argument
345 response->length = htole32(length); in encode_read_file_resp()
354 uint32_t *length, size_t *file_data_offset) in decode_write_file_req() argument
356 if (msg == NULL || file_handle == NULL || length == NULL) { in decode_write_file_req()
369 *length = le32toh(request->length); in decode_write_file_req()
370 if (payload_length != PLDM_WRITE_FILE_REQ_BYTES + *length) { in decode_write_file_req()
374 sizeof(*file_handle) + sizeof(*offset) + sizeof(*length); in decode_write_file_req()
381 uint32_t offset, uint32_t length, in encode_write_file_req() argument
388 if (length == 0) { in encode_write_file_req()
407 request->length = htole32(length); in encode_write_file_req()
414 uint8_t *completion_code, uint32_t *length) in decode_write_file_resp() argument
416 if (msg == NULL || completion_code == NULL || length == NULL) { in decode_write_file_resp()
429 *length = le32toh(response->length); in decode_write_file_resp()
437 uint32_t length, struct pldm_msg *msg) in encode_write_file_resp() argument
458 response->length = htole32(length); in encode_write_file_resp()
469 uint32_t *length, uint64_t *address) in decode_rw_file_by_type_memory_req() argument
472 offset == NULL || length == NULL || address == NULL) { in decode_rw_file_by_type_memory_req()
485 *length = le32toh(request->length); in decode_rw_file_by_type_memory_req()
493 uint8_t completion_code, uint32_t length, in encode_rw_file_by_type_memory_resp() argument
514 response->length = htole32(length); in encode_rw_file_by_type_memory_resp()
523 uint32_t offset, uint32_t length, in encode_rw_file_by_type_memory_req() argument
545 req->length = htole32(length); in encode_rw_file_by_type_memory_req()
555 uint32_t *length) in decode_rw_file_by_type_memory_resp() argument
557 if (msg == NULL || length == NULL || completion_code == NULL) { in decode_rw_file_by_type_memory_resp()
569 *length = le32toh(response->length); in decode_rw_file_by_type_memory_resp()
578 uint64_t *length) in decode_new_file_req() argument
581 length == NULL) { in decode_new_file_req()
593 *length = le64toh(request->length); in decode_new_file_req()
625 uint32_t file_handle, uint64_t length, in encode_new_file_req() argument
646 req->length = htole64(length); in encode_new_file_req()
674 uint32_t *length) in decode_rw_file_by_type_req() argument
677 offset == NULL || length == NULL) { in decode_rw_file_by_type_req()
690 *length = le32toh(request->length); in decode_rw_file_by_type_req()
697 uint8_t completion_code, uint32_t length, in encode_rw_file_by_type_resp() argument
722 response->length = htole32(length); in encode_rw_file_by_type_resp()
731 uint32_t offset, uint32_t length, in encode_rw_file_by_type_req() argument
757 req->length = htole32(length); in encode_rw_file_by_type_req()
765 uint32_t *length) in decode_rw_file_by_type_resp() argument
767 if (msg == NULL || length == NULL || completion_code == NULL) { in decode_rw_file_by_type_resp()
779 *length = le32toh(response->length); in decode_rw_file_by_type_resp()
989 uint32_t file_handle, uint64_t length, in encode_new_file_with_metadata_req() argument
1014 req->length = htole64(length); in encode_new_file_with_metadata_req()
1050 uint32_t *file_handle, uint64_t *length, uint32_t *file_meta_data_1, in decode_new_file_with_metadata_req() argument
1055 length == NULL) { in decode_new_file_with_metadata_req()
1068 *length = le64toh(request->length); in decode_new_file_with_metadata_req()