Lines Matching refs:read_buffer
93 uint8_t *read_buffer = NULL; in ath_procfs_diag_read_legacy() local
101 read_buffer = qdf_mem_malloc(count); in ath_procfs_diag_read_legacy()
102 if (!read_buffer) in ath_procfs_diag_read_legacy()
106 read_buffer, count, (int)*pos, buf); in ath_procfs_diag_read_legacy()
139 (uint8_t *)read_buffer); in ath_procfs_diag_read_legacy()
146 (uint32_t *)read_buffer); in ath_procfs_diag_read_legacy()
149 (uint8_t *)read_buffer, count); in ath_procfs_diag_read_legacy()
154 qdf_mem_free(read_buffer); in ath_procfs_diag_read_legacy()
158 if (copy_to_user(buf, read_buffer, count)) { in ath_procfs_diag_read_legacy()
159 qdf_mem_free(read_buffer); in ath_procfs_diag_read_legacy()
163 qdf_mem_free(read_buffer); in ath_procfs_diag_read_legacy()
343 uint8_t *read_buffer; in ath_procfs_diag_read_ext() local
350 read_buffer = qdf_mem_malloc(count); in ath_procfs_diag_read_ext()
351 if (!read_buffer) in ath_procfs_diag_read_ext()
367 read_buffer, in ath_procfs_diag_read_ext()
374 read_buffer); in ath_procfs_diag_read_ext()
390 if (copy_to_user(buf, read_buffer, count)) { in ath_procfs_diag_read_ext()
397 qdf_mem_free(read_buffer); in ath_procfs_diag_read_ext()