Home
last modified time | relevance | path

Searched refs:payload_size (Results 1 – 14 of 14) sorted by relevance

/netbsd/sys/arch/x86/x86/
H A Dcpu_ucode_intel.c115 uint32_t data_size, total_size, payload_size, ext_size; in cpu_ucode_intel_verify() local
144 payload_size = data_size + 48; in cpu_ucode_intel_verify()
145 if (payload_size > sc->sc_blobsize) in cpu_ucode_intel_verify()
151 for (i = 0; i < (payload_size / sizeof(uint32_t)); i++) in cpu_ucode_intel_verify()
156 ext_size = total_size - payload_size; in cpu_ucode_intel_verify()
162 payload_size = in cpu_ucode_intel_verify()
169 for (i = 0; i < (payload_size / sizeof(uint32_t)); i++) in cpu_ucode_intel_verify()
/netbsd/sys/external/bsd/drm2/dist/drm/amd/display/modules/freesync/
H A Damdgpu_freesync.c561 unsigned int *payload_size) in build_vrr_infopacket_header_v1() argument
578 *payload_size = 0x08; in build_vrr_infopacket_header_v1()
604 *payload_size = 0x1B; in build_vrr_infopacket_header_v1()
610 unsigned int *payload_size) in build_vrr_infopacket_header_v2() argument
627 *payload_size = 0x0A; in build_vrr_infopacket_header_v2()
653 *payload_size = 0x1B; in build_vrr_infopacket_header_v2()
669 for (idx = 1; idx <= *payload_size; idx++) in build_vrr_infopacket_checksum()
683 unsigned int payload_size = 0; in build_vrr_infopacket_v1() local
687 build_vrr_infopacket_checksum(&payload_size, infopacket); in build_vrr_infopacket_v1()
697 unsigned int payload_size = 0; in build_vrr_infopacket_v2() local
[all …]
/netbsd/external/bsd/tcpdump/dist/
H A Dprint-sctp.c609 u_int payload_size; in sctp_print() local
655 payload_size = chunkLengthRemaining; in sctp_print()
656 if (payload_size == 0) { in sctp_print()
662 forces_print(ndo, bp, payload_size); in sctp_print()
667 m3ua_print(ndo, bp, payload_size); in sctp_print()
673 ND_DEFAULTPRINT(bp, payload_size); in sctp_print()
679 bp += payload_size; in sctp_print()
680 sctpPacketLengthRemaining -= payload_size; in sctp_print()
681 chunkLengthRemaining -= payload_size; in sctp_print()
/netbsd/sys/external/bsd/drm2/dist/drm/amd/display/dc/core/
H A Damdgpu_dc_link_ddc.c181 uint32_t payload_size = EDID_SEGMENT_SIZE; in dal_ddc_i2c_payloads_add() local
184 for (pos = 0; pos < len; pos += payload_size) { in dal_ddc_i2c_payloads_add()
188 .length = DDC_MIN(payload_size, len - pos), in dal_ddc_i2c_payloads_add()
520 uint32_t payload_size = in dal_ddc_service_query_ddc_data() local
525 (write_size + payload_size - 1) / payload_size; in dal_ddc_service_query_ddc_data()
528 (read_size + payload_size - 1) / payload_size; in dal_ddc_service_query_ddc_data()
/netbsd/sys/external/bsd/drm2/dist/drm/i915/
H A Dintel_csr.c391 unsigned int header_len_bytes, dmc_header_size, payload_size, i; in parse_csr_fw_dmc() local
467 payload_size = dmc_header->fw_size * 4; in parse_csr_fw_dmc()
468 if (rem_size < payload_size) in parse_csr_fw_dmc()
471 if (payload_size > csr->max_fw_size) { in parse_csr_fw_dmc()
472 DRM_ERROR("DMC FW too big (%u bytes)\n", payload_size); in parse_csr_fw_dmc()
477 csr->dmc_payload = kmalloc(payload_size, GFP_KERNEL); in parse_csr_fw_dmc()
484 memcpy(csr->dmc_payload, payload, payload_size); in parse_csr_fw_dmc()
486 return header_len_bytes + payload_size; in parse_csr_fw_dmc()
/netbsd/external/gpl3/binutils/dist/bfd/
H A Dwasm-module.c250 bfd_vma payload_size; in wasm_scan_name_function_section() local
275 READ_LEB128 (payload_size, p, end); in wasm_scan_name_function_section()
277 if (payload_size > (size_t) (end - p)) in wasm_scan_name_function_section()
280 p += payload_size; in wasm_scan_name_function_section()
286 READ_LEB128 (payload_size, p, end); in wasm_scan_name_function_section()
288 if (payload_size > (size_t) (end - p)) in wasm_scan_name_function_section()
291 end = p + payload_size; in wasm_scan_name_function_section()
296 if (symcount > payload_size / 2) in wasm_scan_name_function_section()
/netbsd/external/gpl3/gdb/dist/bfd/
H A Dwasm-module.c243 bfd_vma payload_size; in wasm_scan_name_function_section() local
268 READ_LEB128 (payload_size, p, end); in wasm_scan_name_function_section()
270 if (payload_size > (size_t) (end - p)) in wasm_scan_name_function_section()
273 p += payload_size; in wasm_scan_name_function_section()
279 READ_LEB128 (payload_size, p, end); in wasm_scan_name_function_section()
281 if (payload_size > (size_t) (end - p)) in wasm_scan_name_function_section()
284 end = p + payload_size; in wasm_scan_name_function_section()
289 if (symcount > payload_size / 2) in wasm_scan_name_function_section()
/netbsd/external/gpl3/binutils.old/dist/bfd/
H A Dwasm-module.c243 bfd_vma payload_size; in wasm_scan_name_function_section() local
267 READ_LEB128 (payload_size, p, end); in wasm_scan_name_function_section()
269 if (payload_size > (size_t) (end - p)) in wasm_scan_name_function_section()
272 p += payload_size; in wasm_scan_name_function_section()
278 READ_LEB128 (payload_size, p, end); in wasm_scan_name_function_section()
280 if (payload_size > (size_t) (end - p)) in wasm_scan_name_function_section()
283 end = p + payload_size; in wasm_scan_name_function_section()
288 if (symcount > payload_size / 2) in wasm_scan_name_function_section()
/netbsd/external/gpl3/gdb.old/dist/bfd/
H A Dwasm-module.c243 bfd_vma payload_size; in wasm_scan_name_function_section() local
268 READ_LEB128 (payload_size, p, end); in wasm_scan_name_function_section()
270 if (payload_size > (size_t) (end - p)) in wasm_scan_name_function_section()
273 p += payload_size; in wasm_scan_name_function_section()
279 READ_LEB128 (payload_size, p, end); in wasm_scan_name_function_section()
281 if (payload_size > (size_t) (end - p)) in wasm_scan_name_function_section()
284 end = p + payload_size; in wasm_scan_name_function_section()
289 if (symcount > payload_size / 2) in wasm_scan_name_function_section()
/netbsd/sys/external/bsd/drm2/dist/drm/i915/display/
H A Dintel_dsi_vbt.c461 u8 payload_size = *(data + 6); in mipi_exec_i2c() local
475 payload_data = kzalloc(payload_size + 1, GFP_KERNEL); in mipi_exec_i2c()
480 memcpy(&payload_data[1], (data + 7), payload_size); in mipi_exec_i2c()
484 msg.len = payload_size + 1; in mipi_exec_i2c()
491 payload_size, reg_offset); in mipi_exec_i2c()
497 return data + payload_size + 7; in mipi_exec_i2c()
/netbsd/sbin/nvmectl/
H A Dfirmware.c117 update_firmware(int fd, uint8_t *payload, int32_t payload_size) in update_firmware() argument
124 resid = payload_size; in update_firmware()
H A Dlogpage.c110 uint32_t payload_size) in read_logpage() argument
117 pt.cmd.cdw10 = ((payload_size/sizeof(uint32_t)) - 1) << 16; in read_logpage()
120 pt.len = payload_size; in read_logpage()
/netbsd/external/bsd/libevent/dist/test/
H A Dregress_bufferevent.c1286 size_t payload_size; in bufferevent_filter_data_stuck_inputcb() local
1297 payload_size = evbuffer_get_length(src); in bufferevent_filter_data_stuck_inputcb()
1298 if (payload_size > dst_limit - header_size) { in bufferevent_filter_data_stuck_inputcb()
1299 payload_size = dst_limit - header_size; in bufferevent_filter_data_stuck_inputcb()
1302 tt_int_op(payload_size, ==, evbuffer_remove_buffer(src, dst, payload_size)); in bufferevent_filter_data_stuck_inputcb()
1320 int payload_size = sizeof(payload); in test_bufferevent_filter_data_stuck() local
1353 tt_int_op(filter_data.total_read, ==, payload_size + filter_data.header_size); in test_bufferevent_filter_data_stuck()
/netbsd/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Ddmu_send.c1759 int payload_size; member
2461 ra->rrd->payload_size = len; in receive_read_payload_and_next_header()
2730 kmem_free(rrd->payload, rrd->payload_size); in receive_process_record()
2762 kmem_free(rrd->payload, rrd->payload_size); in receive_process_record()
2775 kmem_free(rrd->payload, rrd->payload_size); in receive_process_record()
2807 kmem_free(rrd->payload, rrd->payload_size); in receive_writer_thread()
2999 sizeof (struct receive_record_arg) + ra.rrd->payload_size); in dmu_recv_stream()