Lines Matching refs:write_buffer
173 uint8_t *write_buffer = NULL; in ath_procfs_diag_write_legacy() local
181 write_buffer = qdf_mem_malloc(count); in ath_procfs_diag_write_legacy()
182 if (!write_buffer) in ath_procfs_diag_write_legacy()
185 if (copy_from_user(write_buffer, buf, count)) { in ath_procfs_diag_write_legacy()
186 qdf_mem_free(write_buffer); in ath_procfs_diag_write_legacy()
192 write_buffer, buf, count, in ath_procfs_diag_write_legacy()
193 (int)*pos, *((uint32_t *) write_buffer)); in ath_procfs_diag_write_legacy()
226 (uint8_t *)write_buffer); in ath_procfs_diag_write_legacy()
232 uint32_t value = *((uint32_t *)write_buffer); in ath_procfs_diag_write_legacy()
237 (uint8_t *)write_buffer, count); in ath_procfs_diag_write_legacy()
242 qdf_mem_free(write_buffer); in ath_procfs_diag_write_legacy()
411 uint8_t *write_buffer; in ath_procfs_diag_write_ext() local
420 write_buffer = qdf_mem_malloc(count); in ath_procfs_diag_write_ext()
421 if (!write_buffer) in ath_procfs_diag_write_ext()
424 if (copy_from_user(write_buffer, buf, count)) { in ath_procfs_diag_write_ext()
425 qdf_mem_free(write_buffer); in ath_procfs_diag_write_ext()
444 write_buffer, in ath_procfs_diag_write_ext()
451 write_buffer); in ath_procfs_diag_write_ext()
463 qdf_mem_free(write_buffer); in ath_procfs_diag_write_ext()