| /OK3568_Linux_fs/external/security/librkcrypto/test/ |
| H A D | test_hash.c | 226 rk_crypto_mem *mem_buf = NULL; in test_hash() local 241 mem_buf = rk_crypto_mem_alloc(buffer_len); in test_hash() 242 if (!mem_buf) { in test_hash() 252 res = test_hash_item_fd(&test_hash_tbl[i], mem_buf, false, verbose); in test_hash() 257 rk_crypto_mem_free(mem_buf); in test_hash() 269 rk_crypto_mem *mem_buf = NULL; in test_hmac() local 284 mem_buf = rk_crypto_mem_alloc(buffer_len); in test_hmac() 285 if (!mem_buf) { in test_hmac() 295 res = test_hash_item_fd(&test_hmac_tbl[i], mem_buf, true, verbose); in test_hmac() 300 rk_crypto_mem_free(mem_buf); in test_hmac()
|
| /OK3568_Linux_fs/u-boot/tools/ |
| H A D | pblimage.c | 23 static unsigned char mem_buf[1000000]; variable 24 static unsigned char *pmem_buf = mem_buf; 180 crc32_pbl = pbl_crc32(0, (const char *)mem_buf, pbl_size); in add_end_cmd() 214 if (write(ifd, (const void *)&mem_buf, size) != size) { in pbl_load_uboot()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dhd_pktlog.c | 859 char *mem_buf = NULL; in dhd_pktlog_minimize_report() local 870 mem_buf = vmalloc(frame_len); in dhd_pktlog_minimize_report() 871 if (!mem_buf) { in dhd_pktlog_minimize_report() 876 bzero(mem_buf, frame_len); in dhd_pktlog_minimize_report() 883 mem_buf[i] = pkt[i] & p_table[i]; in dhd_pktlog_minimize_report() 886 ret = dhd_export_debug_data(mem_buf, in dhd_pktlog_minimize_report() 891 vfree(mem_buf); in dhd_pktlog_minimize_report()
|
| H A D | wl_cfgvendor.c | 7341 char *mem_buf = NULL; in wl_cfgvendor_dbg_file_dump() local 7362 ret = dhd_os_get_socram_dump(bcmcfg_to_prmry_ndev(cfg), &mem_buf, in wl_cfgvendor_dbg_file_dump() 7368 ret = dhd_export_debug_data(mem_buf, NULL, buf->data_buf[0], in wl_cfgvendor_dbg_file_dump() 7597 char *mem_buf = NULL; in wl_cfgvendor_dbg_get_mem_dump() local 7640 mem_buf = vmalloc(buf_len); in wl_cfgvendor_dbg_get_mem_dump() 7641 if (!mem_buf) { in wl_cfgvendor_dbg_get_mem_dump() 7647 ret = dhd_os_get_socram_dump(bcmcfg_to_prmry_ndev(cfg), &mem_buf, &buf_len); in wl_cfgvendor_dbg_get_mem_dump() 7660 ret = copy_to_user(usr_ptr, mem_buf, buf_len); in wl_cfgvendor_dbg_get_mem_dump() 7669 ret = copy_to_user((void*)user_buf, mem_buf, buf_len); in wl_cfgvendor_dbg_get_mem_dump()
|
| H A D | dhd.h | 4335 int dhd_export_debug_data(void *mem_buf, void *fp, const void *user_buf, uint32 buf_len, void *pos); 4337 static int dhd_export_debug_data(void *mem_buf, void *fp, const void *user_buf, in dhd_export_debug_data() argument
|
| H A D | dhd_linux.c | 24842 dhd_export_debug_data(void *mem_buf, void *fp, const void *user_buf, uint32 buf_len, void *pos) in dhd_export_debug_data() argument 24847 ret = vfs_write(fp, mem_buf, buf_len, (loff_t *)pos); in dhd_export_debug_data() 24862 mem_buf, buf_len); in dhd_export_debug_data() 24872 mem_buf, buf_len); in dhd_export_debug_data()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_pktlog.c | 859 char *mem_buf = NULL; in dhd_pktlog_minimize_report() local 870 mem_buf = vmalloc(frame_len); in dhd_pktlog_minimize_report() 871 if (!mem_buf) { in dhd_pktlog_minimize_report() 876 bzero(mem_buf, frame_len); in dhd_pktlog_minimize_report() 883 mem_buf[i] = pkt[i] & p_table[i]; in dhd_pktlog_minimize_report() 886 ret = dhd_export_debug_data(mem_buf, in dhd_pktlog_minimize_report() 891 vfree(mem_buf); in dhd_pktlog_minimize_report()
|
| H A D | wl_cfgvendor.c | 7368 char *mem_buf = NULL; in wl_cfgvendor_dbg_file_dump() local 7389 ret = dhd_os_get_socram_dump(bcmcfg_to_prmry_ndev(cfg), &mem_buf, in wl_cfgvendor_dbg_file_dump() 7395 ret = dhd_export_debug_data(mem_buf, NULL, buf->data_buf[0], in wl_cfgvendor_dbg_file_dump() 7624 char *mem_buf = NULL; in wl_cfgvendor_dbg_get_mem_dump() local 7667 mem_buf = vmalloc(buf_len); in wl_cfgvendor_dbg_get_mem_dump() 7668 if (!mem_buf) { in wl_cfgvendor_dbg_get_mem_dump() 7674 ret = dhd_os_get_socram_dump(bcmcfg_to_prmry_ndev(cfg), &mem_buf, &buf_len); in wl_cfgvendor_dbg_get_mem_dump() 7687 ret = copy_to_user(usr_ptr, mem_buf, buf_len); in wl_cfgvendor_dbg_get_mem_dump() 7696 ret = copy_to_user((void*)user_buf, mem_buf, buf_len); in wl_cfgvendor_dbg_get_mem_dump()
|
| H A D | dhd.h | 4340 int dhd_export_debug_data(void *mem_buf, void *fp, const void *user_buf, uint32 buf_len, void *pos); 4342 static int dhd_export_debug_data(void *mem_buf, void *fp, const void *user_buf, in dhd_export_debug_data() argument
|
| H A D | dhd_linux.c | 24731 dhd_export_debug_data(void *mem_buf, void *fp, const void *user_buf, uint32 buf_len, void *pos) in dhd_export_debug_data() argument 24736 ret = dhd_vfs_write(fp, mem_buf, buf_len, (loff_t *)pos); in dhd_export_debug_data() 24751 mem_buf, buf_len); in dhd_export_debug_data() 24761 mem_buf, buf_len); in dhd_export_debug_data()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | wl_cfgvendor.c | 2582 char *mem_buf = NULL; in wl_cfgvendor_dbg_get_mem_dump() local 2616 mem_buf = vmalloc(buf_len); in wl_cfgvendor_dbg_get_mem_dump() 2617 if (!mem_buf) { in wl_cfgvendor_dbg_get_mem_dump() 2622 ret = dhd_os_get_socram_dump(bcmcfg_to_prmry_ndev(cfg), &mem_buf, &buf_len); in wl_cfgvendor_dbg_get_mem_dump() 2635 ret = copy_to_user(usr_ptr, mem_buf, buf_len); in wl_cfgvendor_dbg_get_mem_dump() 2644 ret = copy_to_user((void*)user_buf, mem_buf, buf_len); in wl_cfgvendor_dbg_get_mem_dump() 2668 vfree(mem_buf); in wl_cfgvendor_dbg_get_mem_dump()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | wl_cfgvendor.c | 6369 char *mem_buf = NULL; in wl_cfgvendor_dbg_file_dump() local 6390 ret = dhd_os_get_socram_dump(bcmcfg_to_prmry_ndev(cfg), &mem_buf, in wl_cfgvendor_dbg_file_dump() 6396 ret = dhd_export_debug_data(mem_buf, NULL, buf->data_buf[0], in wl_cfgvendor_dbg_file_dump() 6593 char *mem_buf = NULL; in wl_cfgvendor_dbg_get_mem_dump() local 6635 mem_buf = vmalloc(buf_len); in wl_cfgvendor_dbg_get_mem_dump() 6636 if (!mem_buf) { in wl_cfgvendor_dbg_get_mem_dump() 6641 ret = dhd_os_get_socram_dump(bcmcfg_to_prmry_ndev(cfg), &mem_buf, &buf_len); in wl_cfgvendor_dbg_get_mem_dump() 6647 ret = copy_to_user((void*)user_buf, mem_buf, buf_len); in wl_cfgvendor_dbg_get_mem_dump() 6676 vfree(mem_buf); in wl_cfgvendor_dbg_get_mem_dump()
|
| H A D | dhd.h | 3339 int dhd_export_debug_data(void *mem_buf, void *fp, const void *user_buf, int buf_len, void *pos);
|
| H A D | dhd_linux.c | 19357 dhd_export_debug_data(void *mem_buf, void *fp, const void *user_buf, int buf_len, void *pos) 19362 ret = vfs_write(fp, mem_buf, buf_len, (loff_t *)pos); 19370 mem_buf, buf_len);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | wl_cfgvendor.c | 6436 char *mem_buf = NULL; in wl_cfgvendor_dbg_file_dump() local 6457 ret = dhd_os_get_socram_dump(bcmcfg_to_prmry_ndev(cfg), &mem_buf, in wl_cfgvendor_dbg_file_dump() 6463 ret = dhd_export_debug_data(mem_buf, NULL, buf->data_buf[0], in wl_cfgvendor_dbg_file_dump() 6660 char *mem_buf = NULL; in wl_cfgvendor_dbg_get_mem_dump() local 6702 mem_buf = vmalloc(buf_len); in wl_cfgvendor_dbg_get_mem_dump() 6703 if (!mem_buf) { in wl_cfgvendor_dbg_get_mem_dump() 6708 ret = dhd_os_get_socram_dump(bcmcfg_to_prmry_ndev(cfg), &mem_buf, &buf_len); in wl_cfgvendor_dbg_get_mem_dump() 6714 ret = copy_to_user((void*)user_buf, mem_buf, buf_len); in wl_cfgvendor_dbg_get_mem_dump() 6743 vfree(mem_buf); in wl_cfgvendor_dbg_get_mem_dump()
|
| H A D | dhd.h | 3334 int dhd_export_debug_data(void *mem_buf, void *fp, const void *user_buf, int buf_len, void *pos);
|
| H A D | dhd_linux.c | 19263 dhd_export_debug_data(void *mem_buf, void *fp, const void *user_buf, int buf_len, void *pos) 19268 ret = vfs_write(fp, mem_buf, buf_len, (loff_t *)pos); 19276 mem_buf, buf_len);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | wl_cfgvendor.c | 6436 char *mem_buf = NULL; in wl_cfgvendor_dbg_file_dump() local 6457 ret = dhd_os_get_socram_dump(bcmcfg_to_prmry_ndev(cfg), &mem_buf, in wl_cfgvendor_dbg_file_dump() 6463 ret = dhd_export_debug_data(mem_buf, NULL, buf->data_buf[0], in wl_cfgvendor_dbg_file_dump() 6660 char *mem_buf = NULL; in wl_cfgvendor_dbg_get_mem_dump() local 6702 mem_buf = vmalloc(buf_len); in wl_cfgvendor_dbg_get_mem_dump() 6703 if (!mem_buf) { in wl_cfgvendor_dbg_get_mem_dump() 6708 ret = dhd_os_get_socram_dump(bcmcfg_to_prmry_ndev(cfg), &mem_buf, &buf_len); in wl_cfgvendor_dbg_get_mem_dump() 6714 ret = copy_to_user((void*)user_buf, mem_buf, buf_len); in wl_cfgvendor_dbg_get_mem_dump() 6743 vfree(mem_buf); in wl_cfgvendor_dbg_get_mem_dump()
|
| H A D | dhd.h | 3334 int dhd_export_debug_data(void *mem_buf, void *fp, const void *user_buf, int buf_len, void *pos);
|
| H A D | dhd_linux.c | 19198 dhd_export_debug_data(void *mem_buf, void *fp, const void *user_buf, int buf_len, void *pos) 19203 ret = vfs_write(fp, mem_buf, buf_len, (loff_t *)pos); 19211 mem_buf, buf_len);
|