Home
last modified time | relevance | path

Searched refs:buffer_len (Results 1 – 25 of 63) sorted by relevance

123

/linux-6.1.9/drivers/net/ethernet/brocade/bna/
Dbnad_debugfs.c37 int buffer_len; member
52 fw_debug->buffer_len = BNA_DBG_FWTRC_LEN; in bnad_debugfs_open_fwtrc()
54 fw_debug->debug_buffer = kzalloc(fw_debug->buffer_len, GFP_KERNEL); in bnad_debugfs_open_fwtrc()
64 &fw_debug->buffer_len); in bnad_debugfs_open_fwtrc()
92 fw_debug->buffer_len = BNA_DBG_FWTRC_LEN; in bnad_debugfs_open_fwsave()
94 fw_debug->debug_buffer = kzalloc(fw_debug->buffer_len, GFP_KERNEL); in bnad_debugfs_open_fwsave()
104 &fw_debug->buffer_len); in bnad_debugfs_open_fwsave()
192 drv_info->buffer_len = sizeof(struct bnad_drvinfo); in bnad_debugfs_open_drvinfo()
194 drv_info->debug_buffer = kzalloc(drv_info->buffer_len, GFP_KERNEL); in bnad_debugfs_open_drvinfo()
203 drv_info->buffer_len); in bnad_debugfs_open_drvinfo()
[all …]
/linux-6.1.9/drivers/scsi/bfa/
Dbfad_debugfs.c39 int buffer_len; member
54 debug->buffer_len = sizeof(struct bfa_trc_mod_s); in bfad_debugfs_open_drvtrc()
74 fw_debug->buffer_len = sizeof(struct bfa_trc_mod_s); in bfad_debugfs_open_fwtrc()
76 fw_debug->debug_buffer = vzalloc(fw_debug->buffer_len); in bfad_debugfs_open_fwtrc()
87 &fw_debug->buffer_len); in bfad_debugfs_open_fwtrc()
116 fw_debug->buffer_len = sizeof(struct bfa_trc_mod_s); in bfad_debugfs_open_fwsave()
118 fw_debug->debug_buffer = vzalloc(fw_debug->buffer_len); in bfad_debugfs_open_fwsave()
129 &fw_debug->buffer_len); in bfad_debugfs_open_fwsave()
167 debug->buffer_len); in bfad_debugfs_lseek()
180 debug->debug_buffer, debug->buffer_len); in bfad_debugfs_read()
/linux-6.1.9/drivers/acpi/acpica/
Ddbhistry.c46 u16 buffer_len; in acpi_db_add_to_history() local
57 buffer_len = in acpi_db_add_to_history()
62 if (cmd_len > buffer_len) { in acpi_db_add_to_history()
/linux-6.1.9/drivers/hid/surface-hid/
Dsurface_hid.c48 u32 buffer_len, offset, length; in ssam_hid_get_descriptor() local
57 buffer_len = ARRAY_SIZE(buffer) - sizeof(struct surface_hid_buffer_slice); in ssam_hid_get_descriptor()
75 length = buffer_len; in ssam_hid_get_descriptor()
92 if (length > buffer_len || offset > len) in ssam_hid_get_descriptor()
101 length = buffer_len; in ssam_hid_get_descriptor()
/linux-6.1.9/drivers/misc/mei/hdcp/
Dmei_hdcp.c56 session_init_in.header.buffer_len = in mei_hdcp_initiate_session()
126 verify_rxcert_in.header.buffer_len = in mei_hdcp_verify_receiver_cert_prepare_km()
198 send_hprime_in.header.buffer_len = WIRED_CMD_BUF_LEN_AKE_SEND_HPRIME_IN; in mei_hdcp_verify_hprime()
255 pairing_info_in.header.buffer_len = in mei_hdcp_store_pairing_info()
315 lc_init_in.header.buffer_len = WIRED_CMD_BUF_LEN_INIT_LOCALITY_CHECK_IN; in mei_hdcp_initiate_locality_check()
370 verify_lprime_in.header.buffer_len = in mei_hdcp_verify_lprime()
429 get_skey_in.header.buffer_len = WIRED_CMD_BUF_LEN_GET_SESSION_KEY_IN; in mei_hdcp_get_session_key()
493 verify_repeater_in.header.buffer_len = in mei_hdcp_repeater_check_flow_prepare_ack()
572 verify_mprime_in->header.buffer_len = cmd_size - sizeof(verify_mprime_in->header); in mei_hdcp_verify_mprime()
634 enable_auth_in.header.buffer_len = WIRED_CMD_BUF_LEN_ENABLE_AUTH_IN; in mei_hdcp_enable_authentication()
[all …]
/linux-6.1.9/drivers/scsi/fnic/
Dfnic_debugfs.c212 fnic_dbg_prt->buffer_len = fnic_get_trace_data(fnic_dbg_prt); in fnic_trace_debugfs_open()
223 fnic_dbg_prt->buffer_len = in fnic_trace_debugfs_open()
254 fnic_dbg_prt->buffer_len); in fnic_trace_debugfs_lseek()
282 fnic_dbg_prt->buffer_len); in fnic_trace_debugfs_read()
598 debug->buffer_len = fnic_get_stats_data(debug, fnic_stats); in fnic_stats_debugfs_open()
630 debug->buffer_len); in fnic_stats_debugfs_read()
Dfnic_trace.h41 int buffer_len; member
/linux-6.1.9/drivers/staging/rtl8192u/
Dr819xU_firmware.c35 u32 buffer_len) in fw_download_code() argument
54 if ((buffer_len - frag_offset) > frag_threshold) { in fw_download_code()
58 frag_length = buffer_len - frag_offset; in fw_download_code()
102 } while (frag_offset < buffer_len); in fw_download_code()
/linux-6.1.9/drivers/net/wireless/purelifi/plfxlc/
Dusb.c445 u32 buffer_len, enum plf_usb_req_enum usb_req_id, in get_usb_req() argument
448 __be32 payload_len_nw = cpu_to_be32(buffer_len + FCS_LEN); in get_usb_req()
465 memcpy(buffer_dst, buffer_src_p, buffer_len); in get_usb_req()
466 buffer_dst += buffer_len; in get_usb_req()
467 buffer_src_p += buffer_len; in get_usb_req()
468 temp_usb_len += buffer_len; in get_usb_req()
491 int buffer_len, enum plf_usb_req_enum usb_req_id, in plfxlc_usb_wreq_async() argument
500 (void *)buffer, buffer_len, complete_fn, context); in plfxlc_usb_wreq_async()
509 int plfxlc_usb_wreq(struct usb_interface *ez_usb, void *buffer, int buffer_len, in plfxlc_usb_wreq() argument
519 get_usb_req(udev, buffer, buffer_len, usb_req_id, &usb_req); in plfxlc_usb_wreq()
Dusb.h57 int plfxlc_usb_wreq(struct usb_interface *ez_usb, void *buffer, int buffer_len,
157 int buffer_len, enum plf_usb_req_enum usb_req_id,
/linux-6.1.9/drivers/crypto/qat/qat_common/
Dadf_pfvf_vf_proto.c224 u8 *buffer, unsigned int *buffer_len) in adf_send_vf2pf_blkmsg_req() argument
238 if (unlikely(*buffer_len < ADF_PFVF_BLKMSG_HEADER_SIZE)) { in adf_send_vf2pf_blkmsg_req()
276 msg_len = min(*buffer_len, msg_len); in adf_send_vf2pf_blkmsg_req()
298 *buffer_len = msg_len; in adf_send_vf2pf_blkmsg_req()
Dadf_pfvf_vf_proto.h13 u8 *buffer, unsigned int *buffer_len);
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dfw.c134 u8 *code_virtual_address, u32 buffer_len) in _rtl92s_firmware_downloadcode() argument
146 if (buffer_len >= MAX_FIRMWARE_CODE_SIZE) { in _rtl92s_firmware_downloadcode()
154 if ((buffer_len - frag_offset) > frag_threshold) { in _rtl92s_firmware_downloadcode()
157 frag_length = (u16)(buffer_len - frag_offset + in _rtl92s_firmware_downloadcode()
180 } while (frag_offset < buffer_len); in _rtl92s_firmware_downloadcode()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_debugfs.c1334 u16 buffer_len; in i40e_dbg_command_write() local
1349 &buffer_len); in i40e_dbg_command_write()
1359 if (buffer_len == 0) in i40e_dbg_command_write()
1360 buffer_len = 1280; in i40e_dbg_command_write()
1362 buff = kzalloc(buffer_len, GFP_KERNEL); in i40e_dbg_command_write()
1370 buffer_len, NULL); in i40e_dbg_command_write()
1392 buff, buffer_len, true); in i40e_dbg_command_write()
1532 u16 buffer_len, bytes; in i40e_dbg_command_write() local
1539 &module, &offset, &buffer_len); in i40e_dbg_command_write()
1543 buffer_len = 0; in i40e_dbg_command_write()
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/pxp/
Dintel_pxp_tee_interface.h21 u32 buffer_len; member
/linux-6.1.9/tools/usb/usbip/libsrc/
Dvhci_driver.c196 size_t buffer_len = host_len + port_len + SYSFS_BUS_ID_SIZE + 4; in read_record() local
198 buffer = malloc(buffer_len); in read_record()
211 if (fgets(buffer, buffer_len, file) == NULL) { in read_record()
/linux-6.1.9/security/tomoyo/
Dutil.c226 void tomoyo_print_ulong(char *buffer, const int buffer_len, in tomoyo_print_ulong() argument
230 snprintf(buffer, buffer_len, "%lu", value); in tomoyo_print_ulong()
232 snprintf(buffer, buffer_len, "0%lo", value); in tomoyo_print_ulong()
234 snprintf(buffer, buffer_len, "0x%lX", value); in tomoyo_print_ulong()
236 snprintf(buffer, buffer_len, "type(%u)", type); in tomoyo_print_ulong()
Dnetwork.c90 static void tomoyo_print_ipv4(char *buffer, const unsigned int buffer_len, in tomoyo_print_ipv4() argument
93 snprintf(buffer, buffer_len, "%pI4%c%pI4", min_ip, in tomoyo_print_ipv4()
107 static void tomoyo_print_ipv6(char *buffer, const unsigned int buffer_len, in tomoyo_print_ipv6() argument
111 snprintf(buffer, buffer_len, "%pI6c%c%pI6c", min_ip, in tomoyo_print_ipv6()
/linux-6.1.9/arch/um/os-Linux/drivers/
Dtuntap_user.c63 char *buffer, int buffer_len, int *used_out) in tuntap_open_tramp() argument
90 iov = ((struct iovec) { buffer, buffer_len }); in tuntap_open_tramp()
/linux-6.1.9/drivers/media/rc/
Dene_ir.c186 dev->buffer_len = ENE_FW_PACKET_SIZE * 2; in ene_rx_setup_hw_buffer()
202 dev->buffer_len = dev->extra_buf1_len + dev->extra_buf2_len + 8; in ene_rx_setup_hw_buffer()
210 pr_notice("Total buffer len = %d\n", dev->buffer_len); in ene_rx_setup_hw_buffer()
212 if (dev->buffer_len > 64 || dev->buffer_len < 16) in ene_rx_setup_hw_buffer()
223 if (dev->r_pointer > dev->buffer_len) in ene_rx_setup_hw_buffer()
288 if (dev->r_pointer == dev->buffer_len) in ene_rx_get_sample_reg()
/linux-6.1.9/sound/soc/amd/ps/
Dps-pdm-dma.c399 u32 period_bytes, buffer_len; in acp62_pdm_resume() local
406 buffer_len = frames_to_bytes(runtime, runtime->buffer_size); in acp62_pdm_resume()
408 acp62_init_pdm_ring_buffer(PDM_MEM_WINDOW_START, buffer_len, in acp62_pdm_resume()
/linux-6.1.9/sound/soc/amd/yc/
Dacp6x-pdm-dma.c396 u32 period_bytes, buffer_len; in acp6x_pdm_resume() local
403 buffer_len = frames_to_bytes(runtime, runtime->buffer_size); in acp6x_pdm_resume()
405 acp6x_init_pdm_ring_buffer(PDM_MEM_WINDOW_START, buffer_len, in acp6x_pdm_resume()
/linux-6.1.9/sound/soc/amd/renoir/
Dacp3x-pdm-dma.c443 u32 period_bytes, buffer_len; in acp_pdm_resume() local
450 buffer_len = frames_to_bytes(runtime, runtime->buffer_size); in acp_pdm_resume()
452 init_pdm_ring_buffer(MEM_WINDOW_START, buffer_len, period_bytes, in acp_pdm_resume()
/linux-6.1.9/arch/s390/include/uapi/asm/
Dqeth.h112 __u32 buffer_len; member
/linux-6.1.9/net/ipv4/
Dcipso_ipv4.c1177 u32 buffer_len) in cipso_v4_gentag_rbm() argument
1196 buffer_len - 4); in cipso_v4_gentag_rbm()
1276 u32 buffer_len) in cipso_v4_gentag_enum() argument
1295 buffer_len - 4); in cipso_v4_gentag_enum()
1367 u32 buffer_len) in cipso_v4_gentag_rng() argument
1386 buffer_len - 4); in cipso_v4_gentag_rng()
1458 u32 buffer_len) in cipso_v4_gentag_loc() argument

123