/wlan-driver/qca-wifi-host-cmn/utils/pktlog/ |
H A D | pktlog_internal.c | 76 int32_t buf_size; in pktlog_getbuf_intsafe() local 110 buf_size = pl_info->buf_size; in pktlog_getbuf_intsafe() 118 buf_size); in pktlog_getbuf_intsafe() 140 if ((buf_size - cur_wr_offset) < log_size) { in pktlog_getbuf_intsafe() 142 && (log_buf->rd_offset < buf_size)) { in pktlog_getbuf_intsafe() 144 buf_size); in pktlog_getbuf_intsafe() 151 PKTLOG_MOV_RD_IDX(log_buf->rd_offset, log_buf, buf_size); in pktlog_getbuf_intsafe() 157 log_buf->wr_offset = ((buf_size - cur_wr_offset) >= in pktlog_getbuf_intsafe()
|
H A D | linux_ac.c | 128 page_cnt = (sizeof(*(pl_info->buf)) + pl_info->buf_size) / PAGE_SIZE; in pktlog_alloc_buf() 185 page_cnt = ((sizeof(*(pl_info->buf)) + pl_info->buf_size) / in pktlog_release_buf() 266 return pl_dev->pl_info->buf_size; in get_pktlog_bufsize() 798 && ((pl_info->buf_size - log_data_offset) in pktlog_read_proc_entry() 802 PKTLOG_MOV_RD_IDX(cur_rd_offset, log_buf, pl_info->buf_size); in pktlog_read_proc_entry() 951 && ((pl_info->buf_size - log_data_offset) in __pktlog_read() 955 PKTLOG_MOV_RD_IDX(cur_rd_offset, log_buf, pl_info->buf_size); in __pktlog_read()
|
H A D | pktlog_ac.c | 614 pl_info->buf_size = (buff_size ? buff_size : ONE_MEGABYTE); in pktlog_init() 837 if (size == pl_info->buf_size) { in __pktlog_setsize() 866 pl_info->buf_size = size; in __pktlog_setsize() 938 if (pl_info->buf_size > 0) { in pktlog_clearbuff() 940 memset(pl_info->buf, 0, pl_info->buf_size); in pktlog_clearbuff() 948 pl_info->buf_size); in pktlog_clearbuff()
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/ |
H A D | dp_rx_buffer_pool.c | 56 refill_nbuf = qdf_nbuf_alloc(soc->osdev, rx_desc_pool->buf_size, in dp_rx_buffer_pool_refill() 152 nbuf = qdf_nbuf_alloc(dev, rx_desc_pool->buf_size, in dp_rx_refill_buff_pool_enqueue() 161 rx_desc_pool->buf_size); in dp_rx_refill_buff_pool_enqueue() 171 rx_desc_pool->buf_size); in dp_rx_refill_buff_pool_enqueue() 232 nbuf = qdf_nbuf_alloc(soc->osdev, rx_desc_pool->buf_size, in dp_rx_buffer_pool_nbuf_alloc() 270 rx_desc_pool->buf_size); in dp_rx_buffer_pool_nbuf_map() 276 rx_desc_pool->buf_size); in dp_rx_buffer_pool_nbuf_map() 313 nbuf = qdf_nbuf_alloc(soc->osdev, rx_desc_pool->buf_size, in dp_rx_refill_buff_pool_init() 321 rx_desc_pool->buf_size); in dp_rx_refill_buff_pool_init() 331 rx_desc_pool->buf_size); in dp_rx_refill_buff_pool_init() [all …]
|
H A D | dp_rx_buffer_pool.h | 198 return qdf_nbuf_alloc(soc->osdev, rx_desc_pool->buf_size, in dp_rx_buffer_pool_nbuf_alloc() 221 rx_desc_pool->buf_size); in dp_rx_buffer_pool_nbuf_map() 229 rx_desc_pool->buf_size); in dp_rx_buffer_pool_nbuf_map()
|
H A D | dp_rx.h | 1293 rx_desc_pool->buf_size); in dp_check_paddr() 1299 rx_desc_pool->buf_size, in dp_check_paddr() 1310 rx_desc_pool->buf_size); in dp_check_paddr() 1329 rx_desc_pool->buf_size); in dp_check_paddr() 2615 uint32_t buf_size) in dp_rx_nbuf_sync_no_dsb() argument 2618 (void *)(nbuf->data + buf_size)); in dp_rx_nbuf_sync_no_dsb() 2627 uint32_t buf_size) in dp_rx_nbuf_sync_no_dsb() argument 2634 (void *)(nbuf->data + buf_size)); in dp_rx_nbuf_sync_no_dsb() 2647 uint32_t buf_size) in dp_rx_nbuf_sync() argument 2650 (void *)(nbuf->data + buf_size)); in dp_rx_nbuf_sync() [all …]
|
H A D | dp_rx_desc.c | 182 uint16_t buf_size, in dp_rx_desc_nbuf_cleanup() argument 194 buf_size); in dp_rx_desc_nbuf_cleanup() 197 soc, nbuf, buf_size, in dp_rx_desc_nbuf_cleanup() 203 QDF_DMA_BIDIRECTIONAL, buf_size); in dp_rx_desc_nbuf_cleanup() 227 rx_desc_pool->buf_size, false); in dp_rx_desc_nbuf_and_pool_free() 242 rx_desc_pool->buf_size, is_mon_pool); in dp_rx_desc_nbuf_free() 434 rx_desc_pool->buf_size, in dp_rx_desc_frag_free()
|
H A D | dp_rx.c | 163 qdf_assert_always(pkt_len <= rx_desc_pool->buf_size); in dp_rx_desc_nbuf_len_sanity_check() 242 qdf_frag_alloc(&rx_desc_pool->pf_cache, rx_desc_pool->buf_size); in dp_pdev_frag_alloc_and_map() 253 rx_desc_pool->buf_size, in dp_pdev_frag_alloc_and_map() 370 rx_desc_pool->buf_size, in dp_pdev_nbuf_alloc_and_map_replenish() 456 rx_desc_pool->buf_size); in __dp_rx_buffers_no_map_lt_replenish() 543 rx_desc_pool->buf_size); in __dp_rx_buffers_no_map_replenish() 758 rx_desc_pool->buf_size); in __dp_pdev_rx_buffers_no_map_attach() 801 uint32_t buf_size) in dp_rx_rep_retrieve_paddr() argument 803 return dp_rx_nbuf_sync_no_dsb(dp_soc, nbuf, buf_size); in dp_rx_rep_retrieve_paddr() 808 uint32_t buf_size) in dp_rx_rep_retrieve_paddr() argument [all …]
|
/wlan-driver/qca-wifi-host-cmn/wmi/src/ |
H A D | wmi_filtered_logging.c | 24 int buf_size = WMI_FILTERED_CMD_EVT_MAX_NUM_ENTRY * in wmi_log_buf_allocate() local 31 cmd_log_buf->buf = qdf_mem_malloc(buf_size); in wmi_log_buf_allocate() 46 int buf_size = WMI_FILTERED_CMD_EVT_SUPPORTED * sizeof(int); in wmi_filtered_logging_init() local 50 qdf_mem_malloc(buf_size); in wmi_filtered_logging_init() 63 qdf_mem_malloc(buf_size); in wmi_filtered_logging_init() 119 int buf_size = WMI_FILTERED_CMD_EVT_MAX_NUM_ENTRY * in wmi_reset_filtered_buffers() local 129 qdf_mem_zero(cmd_log_buf->buf, buf_size); in wmi_reset_filtered_buffers() 391 int buf_size = WMI_FILTERED_CMD_EVT_SUPPORTED * sizeof(int); in debug_filtered_wmi_cmds_write() local 407 qdf_mem_zero(wmi_handle->log_info.filtered_wmi_cmds, buf_size); in debug_filtered_wmi_cmds_write() 428 int buf_size = WMI_FILTERED_CMD_EVT_SUPPORTED * sizeof(int); in debug_filtered_wmi_evts_write() local [all …]
|
H A D | wmi_unified_dbr_tlv.c | 64 cmd->buf_size = cfg->buf_size; in send_dbr_cfg_cmd_tlv() 76 cmd->num_elems, cmd->buf_size, cmd->num_resp_per_event, in send_dbr_cfg_cmd_tlv()
|
/wlan-driver/wpa_supplicant_8/src/common/ |
H A D | wpa_helpers.c |
|
H A D | wpa_helpers.h |
|
/wlan-driver/wpa_supplicant_8/src/tls/ |
H A D | tlsv1_record.c |
|
/wlan-driver/platform/cnss_utils/ |
H A D | cnss_plat_ipc_qmi.c | 48 u32 buf_size; member 180 u32 buf_size, in cnss_plat_ipc_init_file_data() argument 191 fd->buf_size = buf_size; in cnss_plat_ipc_init_file_data() 382 (fd->buf_size > CNSS_PLAT_IPC_QMI_MAX_DATA_SIZE_V01 ? in cnss_plat_ipc_qmi_file_upload_req_handler() 383 CNSS_PLAT_IPC_QMI_MAX_DATA_SIZE_V01 : fd->buf_size); in cnss_plat_ipc_qmi_file_upload_req_handler() 402 fd->buf_size -= resp->seg_buf_len; in cnss_plat_ipc_qmi_file_upload_req_handler() 518 if (req_msg->file_size > fd->buf_size) { in cnss_plat_ipc_qmi_file_download_req_handler() 520 fd->name, req_msg->file_size, fd->buf_size); in cnss_plat_ipc_qmi_file_download_req_handler() 524 ((req_msg->seg_buf_len + fd->file_size) > fd->buf_size)) { in cnss_plat_ipc_qmi_file_download_req_handler()
|
/wlan-driver/wpa_supplicant_8/src/utils/ |
H A D | common.c |
|
/wlan-driver/qcacld-3.0/components/dp/core/src/ |
H A D | wlan_dp_wfds.c | 210 uint32_t buf_size; in dp_wfds_req_mem_msg() local 215 &buf_size); in dp_wfds_req_mem_msg() 219 qdf_page_size / buf_size; in dp_wfds_req_mem_msg() 228 buf_size); in dp_wfds_req_mem_msg() 606 uint32_t buf_size; in dp_wfds_del_server() local 630 &buf_size); in dp_wfds_del_server() 635 buf_size); in dp_wfds_del_server()
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/li/ |
H A D | dp_li.c | 262 uint16_t buf_size; in dp_rxdma_ring_sel_cfg_li() local 264 buf_size = wlan_cfg_rx_buffer_size(soc->wlan_cfg_ctx); in dp_rxdma_ring_sel_cfg_li() 333 RXDMA_BUF, buf_size, in dp_rxdma_ring_sel_cfg_li() 350 uint16_t buf_size; in dp_rxdma_ring_sel_cfg_li() local 352 buf_size = wlan_cfg_rx_buffer_size(soc->wlan_cfg_ctx); in dp_rxdma_ring_sel_cfg_li() 421 RXDMA_BUF, buf_size, in dp_rxdma_ring_sel_cfg_li()
|
/wlan-driver/qca-wifi-host-cmn/target_if/direct_buf_rx/src/ |
H A D | target_if_direct_buf_rx_main.h | 78 uint32_t buf_size; member 242 uint32_t buf_size; member
|
/wlan-driver/wpa_supplicant_8/src/wps/ |
H A D | wps_upnp.c |
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/rh/ |
H A D | dp_rh.c | 725 uint16_t buf_size; in dp_rxdma_ring_sel_cfg_rh() local 727 buf_size = wlan_cfg_rx_buffer_size(soc->wlan_cfg_ctx); in dp_rxdma_ring_sel_cfg_rh() 793 RXDMA_BUF, buf_size, in dp_rxdma_ring_sel_cfg_rh() 813 uint16_t buf_size; in dp_rxdma_ring_sel_cfg_rh() local 815 buf_size = wlan_cfg_rx_buffer_size(soc->wlan_cfg_ctx); in dp_rxdma_ring_sel_cfg_rh() 881 RXDMA_BUF, buf_size, in dp_rxdma_ring_sel_cfg_rh()
|
/wlan-driver/qcacld-3.0/components/ocb/core/src/ |
H A D | wlan_ocb_main.c | 94 int i, buf_size; in ocb_set_chan_info() local 96 buf_size = sizeof(*ocb_channel_info) * config->channel_count; in ocb_set_chan_info() 97 ocb_set_chan.ocb_channel_info = qdf_mem_malloc(buf_size); in ocb_set_chan_info()
|
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/ |
H A D | qdf_trace.c | 2143 int buf_size = sizeof(struct qdf_dp_trace_mgmt_buf); in qdf_dp_trace_mgmt_pkt() local 2148 if (buf_size > QDF_DP_TRACE_RECORD_SIZE) in qdf_dp_trace_mgmt_pkt() 2154 qdf_dp_add_record(code, pdev_id, (uint8_t *)&buf, buf_size, in qdf_dp_trace_mgmt_pkt() 2220 int buf_size = sizeof(struct qdf_dp_trace_credit_record); in qdf_dp_trace_credit_record() local 2229 if (buf_size > QDF_DP_TRACE_RECORD_SIZE) in qdf_dp_trace_credit_record() 2240 buf_size, NULL, 0, false); in qdf_dp_trace_credit_record() 2268 int buf_size = sizeof(struct qdf_dp_trace_event_buf); in qdf_dp_trace_record_event() local 2273 if (buf_size > QDF_DP_TRACE_RECORD_SIZE) in qdf_dp_trace_record_event() 2280 (uint8_t *)&buf, buf_size, NULL, 0, true); in qdf_dp_trace_record_event() 2330 int buf_size = sizeof(struct qdf_dp_trace_proto_buf); in qdf_dp_trace_proto_pkt() local [all …]
|
H A D | qdf_mem.c | 734 ssize_t buf_size; in qdf_major_alloc_set_threshold() local 739 buf_size = min(count, (sizeof(buf) - 1)); in qdf_major_alloc_set_threshold() 740 if (buf_size <= 0) in qdf_major_alloc_set_threshold() 742 if (copy_from_user(buf, user_buf, buf_size)) in qdf_major_alloc_set_threshold() 744 buf[buf_size] = '\0'; in qdf_major_alloc_set_threshold() 747 return buf_size; in qdf_major_alloc_set_threshold() 907 ssize_t buf_size; in qdf_major_nbuf_alloc_set_threshold() local 912 buf_size = min(count, (sizeof(buf) - 1)); in qdf_major_nbuf_alloc_set_threshold() 913 if (buf_size <= 0) in qdf_major_nbuf_alloc_set_threshold() 915 if (copy_from_user(buf, user_buf, buf_size)) in qdf_major_nbuf_alloc_set_threshold() [all …]
|
/wlan-driver/qcacld-3.0/core/mac/src/pe/sch/ |
H A D | sch_api.c | 897 uint32_t payload_size, buf_size; in sch_gen_timing_advert_frame() local 920 buf_size = sizeof(tSirMacMgmtHdr) + payload_size; in sch_gen_timing_advert_frame() 921 *buf = qdf_mem_malloc(buf_size); in sch_gen_timing_advert_frame() 927 *buf + sizeof(tSirMacMgmtHdr), buf_size - in sch_gen_timing_advert_frame()
|
/wlan-driver/qca-wifi-host-cmn/utils/pktlog/include/ |
H A D | pktlog_ac_api.h | 96 int32_t buf_size; member
|