Lines Matching refs:buffer
34 uint8_t *buffer; in wlan_process_ftm_ioctl_cmd() local
44 buffer = qdf_mem_malloc(length); in wlan_process_ftm_ioctl_cmd()
45 if (!buffer) in wlan_process_ftm_ioctl_cmd()
48 if (copy_from_user(buffer, &userdata[sizeof(length)], length)) in wlan_process_ftm_ioctl_cmd()
51 error = ucfg_wlan_ftm_testmode_cmd(pdev, buffer, length); in wlan_process_ftm_ioctl_cmd()
53 qdf_mem_free(buffer); in wlan_process_ftm_ioctl_cmd()
61 uint8_t *buffer; in wlan_process_ftm_ioctl_rsp() local
67 buffer = qdf_mem_malloc(length); in wlan_process_ftm_ioctl_rsp()
68 if (!buffer) in wlan_process_ftm_ioctl_rsp()
71 error = ucfg_wlan_ftm_testmode_rsp(pdev, buffer); in wlan_process_ftm_ioctl_rsp()
73 error = copy_to_user((userdata - sizeof(int)), buffer, length); in wlan_process_ftm_ioctl_rsp()
77 qdf_mem_free(buffer); in wlan_process_ftm_ioctl_rsp()