Home
last modified time | relevance | path

Searched refs:buf_size (Results 1 – 25 of 67) sorted by relevance

123

/wlan-driver/qca-wifi-host-cmn/utils/pktlog/
H A Dpktlog_internal.c76 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 Dlinux_ac.c128 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 Dpktlog_ac.c614 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 Ddp_rx_buffer_pool.c56 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 Ddp_rx_buffer_pool.h198 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 Ddp_rx.h1293 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 Ddp_rx_desc.c182 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 Ddp_rx.c163 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 Dwmi_filtered_logging.c24 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 Dwmi_unified_dbr_tlv.c64 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 Dwpa_helpers.c
H A Dwpa_helpers.h
/wlan-driver/wpa_supplicant_8/src/tls/
H A Dtlsv1_record.c
/wlan-driver/platform/cnss_utils/
H A Dcnss_plat_ipc_qmi.c48 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 Dcommon.c
/wlan-driver/qcacld-3.0/components/dp/core/src/
H A Dwlan_dp_wfds.c210 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 Ddp_li.c262 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 Dtarget_if_direct_buf_rx_main.h78 uint32_t buf_size; member
242 uint32_t buf_size; member
/wlan-driver/wpa_supplicant_8/src/wps/
H A Dwps_upnp.c
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/rh/
H A Ddp_rh.c725 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 Dwlan_ocb_main.c94 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 Dqdf_trace.c2143 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 Dqdf_mem.c734 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 Dsch_api.c897 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 Dpktlog_ac_api.h96 int32_t buf_size; member

123