Home
last modified time | relevance | path

Searched refs:pfilled_length (Results 1 – 2 of 2) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/umac/cp_stats/core/src/
H A Dwlan_cp_stats_chipset_stats.c144 unsigned int *pfilled_length; in wlan_cp_stats_cstats_write_to_buff() local
165 pfilled_length = &cstats.ccur_node[type]->filled_length; in wlan_cp_stats_cstats_write_to_buff()
168 if ((MAX_CSTATS_NODE_LENGTH - *pfilled_length) < (tlen + plen)) { in wlan_cp_stats_cstats_write_to_buff()
170 pfilled_length = &cstats.ccur_node[type]->filled_length; in wlan_cp_stats_cstats_write_to_buff()
177 memcpy(&ptr[*pfilled_length], to_be_sent, plen); in wlan_cp_stats_cstats_write_to_buff()
178 *pfilled_length += plen; in wlan_cp_stats_cstats_write_to_buff()
181 memcpy(&ptr[*pfilled_length], CSTATS_FW_START_MARKER, in wlan_cp_stats_cstats_write_to_buff()
183 memcpy(&ptr[*pfilled_length + CSTATS_MARKER_SZ], to_be_sent, in wlan_cp_stats_cstats_write_to_buff()
185 memcpy(&ptr[*pfilled_length + CSTATS_MARKER_SZ + plen], in wlan_cp_stats_cstats_write_to_buff()
187 *pfilled_length += (plen + 2 * CSTATS_MARKER_SZ); in wlan_cp_stats_cstats_write_to_buff()
/wlan-driver/qca-wifi-host-cmn/utils/logging/src/
H A Dwlan_logging_sock_svc.c421 unsigned int *pfilled_length; in wlan_log_to_user() local
446 pfilled_length = &gwlan_logging.pcur_node->filled_length; in wlan_log_to_user()
449 if ((MAX_LOGMSG_LENGTH - (*pfilled_length + in wlan_log_to_user()
453 pfilled_length = &gwlan_logging.pcur_node->filled_length; in wlan_log_to_user()
474 memcpy(&ptr[*pfilled_length], tbuf, tlen); in wlan_log_to_user()
475 memcpy(&ptr[*pfilled_length + tlen], to_be_sent, length); in wlan_log_to_user()
476 *pfilled_length += tlen + length; in wlan_log_to_user()
477 ptr[*pfilled_length] = '\n'; in wlan_log_to_user()
478 *pfilled_length += 1; in wlan_log_to_user()