Home
last modified time | relevance | path

Searched refs:locbuf (Results 1 – 5 of 5) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/umac/mlme/connection_mgr/utf/src/
H A Dwlan_cm_utf_scan.c148 char *locbuf; in wlan_cm_utf_scan_db_update_write() local
153 locbuf = (char *)qdf_mem_malloc(count); in wlan_cm_utf_scan_db_update_write()
155 if (!locbuf) in wlan_cm_utf_scan_db_update_write()
158 qdf_mem_zero(locbuf, count); in wlan_cm_utf_scan_db_update_write()
160 if (copy_from_user(locbuf, buf, count)) in wlan_cm_utf_scan_db_update_write()
163 wlan_cm_utf_scan_db_update(cm_utf->vdev, locbuf); in wlan_cm_utf_scan_db_update_write()
164 qdf_mem_free(locbuf); in wlan_cm_utf_scan_db_update_write()
H A Dwlan_cm_utf_main.c1013 char *locbuf; in wlan_cm_utf_cm_test_id_write() local
1018 locbuf = (char *)qdf_mem_malloc(count + 1); in wlan_cm_utf_cm_test_id_write()
1020 if (!locbuf) in wlan_cm_utf_cm_test_id_write()
1023 qdf_mem_zero(locbuf, count + 1); in wlan_cm_utf_cm_test_id_write()
1025 if (copy_from_user(locbuf, buf, count)) in wlan_cm_utf_cm_test_id_write()
1029 wlan_cm_utf_start_test(cm_utf, locbuf); in wlan_cm_utf_cm_test_id_write()
1030 qdf_mem_free(locbuf); in wlan_cm_utf_cm_test_id_write()
/wlan-driver/qca-wifi-host-cmn/wmi/src/
H A Dwmi_filtered_logging.c390 char locbuf[12] = {0}; in debug_filtered_wmi_cmds_write() local
399 if (copy_from_user(locbuf, buf, count)) in debug_filtered_wmi_cmds_write()
402 ret = qdf_kstrtoint(locbuf, 16, &k); in debug_filtered_wmi_cmds_write()
427 char locbuf[12] = {0}; in debug_filtered_wmi_evts_write() local
436 if (copy_from_user(locbuf, buf, count)) in debug_filtered_wmi_evts_write()
439 ret = qdf_kstrtoint(locbuf, 16, &k); in debug_filtered_wmi_evts_write()
464 char locbuf[12] = {0}; in debug_wmi_filtered_command_log_write() local
470 if (copy_from_user(locbuf, buf, count)) in debug_wmi_filtered_command_log_write()
473 ret = qdf_kstrtoint(locbuf, 16, &k); in debug_wmi_filtered_command_log_write()
493 char locbuf[12] = {0}; in debug_wmi_filtered_event_log_write() local
[all …]
H A Dwmi_unified.c1185 char locbuf[50] = {0x00}; \
1190 if (copy_from_user(locbuf, buf, count)) \
1193 ret = sscanf(locbuf, "%d", &k); \
1241 char locbuf[50] = {0x00}; in debug_wmi_enable_write() local
1246 if (copy_from_user(locbuf, buf, count)) in debug_wmi_enable_write()
1249 ret = sscanf(locbuf, "%d", &k); in debug_wmi_enable_write()
/wlan-driver/qca-wifi-host-cmn/iot_sim/core/
H A Diot_sim_common.c1185 char *locbuf = NULL; in iot_sim_debug_content_change_write() local
1197 locbuf = qdf_mem_malloc(USER_BUF_LEN + 1); in iot_sim_debug_content_change_write()
1198 if (!locbuf) in iot_sim_debug_content_change_write()
1201 if (copy_from_user(locbuf, buf, count)) { in iot_sim_debug_content_change_write()
1202 qdf_mem_free(locbuf); in iot_sim_debug_content_change_write()
1206 status = iot_sim_parse_user_input_content_change(isc, locbuf, count, in iot_sim_debug_content_change_write()
1271 qdf_mem_free(locbuf); in iot_sim_debug_content_change_write()
1379 char *locbuf = NULL; in iot_sim_debug_delay_write() local
1391 locbuf = qdf_mem_malloc(USER_BUF_LEN_DELAY + 1); in iot_sim_debug_delay_write()
1392 if (!locbuf) in iot_sim_debug_delay_write()
[all …]