| /OK3568_Linux_fs/kernel/arch/sparc/kernel/ |
| H A D | prom_64.c | 66 static void __init sun4v_path_component(struct device_node *dp, char *tmp_buf) in sun4v_path_component() argument 79 sprintf(tmp_buf, "%s@%x,%x", in sun4v_path_component() 94 sprintf(tmp_buf, "%s@%s%x,%x", in sun4v_path_component() 98 sprintf(tmp_buf, "%s@%s%x", in sun4v_path_component() 103 sprintf(tmp_buf, "%s@%x", in sun4v_path_component() 108 static void __init sun4u_path_component(struct device_node *dp, char *tmp_buf) in sun4u_path_component() argument 120 sprintf(tmp_buf, "%s@%x,%x", in sun4u_path_component() 136 sprintf(tmp_buf, "%s@%x,%x", in sun4u_path_component() 144 static void __init sbus_path_component(struct device_node *dp, char *tmp_buf) in sbus_path_component() argument 155 sprintf(tmp_buf, "%s@%x,%x", in sbus_path_component() [all …]
|
| H A D | prom_32.c | 57 static void __init sparc32_path_component(struct device_node *dp, char *tmp_buf) in sparc32_path_component() argument 68 sprintf(tmp_buf, "%s@%x,%x", in sparc32_path_component() 74 static void __init sbus_path_component(struct device_node *dp, char *tmp_buf) in sbus_path_component() argument 85 sprintf(tmp_buf, "%s@%x,%x", in sbus_path_component() 92 static void __init pci_path_component(struct device_node *dp, char *tmp_buf) in pci_path_component() argument 106 sprintf(tmp_buf, "%s@%x,%x", in pci_path_component() 111 sprintf(tmp_buf, "%s@%x", in pci_path_component() 118 static void __init ebus_path_component(struct device_node *dp, char *tmp_buf) in ebus_path_component() argument 130 sprintf(tmp_buf, "%s@%x,%x", in ebus_path_component() 136 static void __init ambapp_path_component(struct device_node *dp, char *tmp_buf) in ambapp_path_component() argument [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/mmc/ |
| H A D | fsl_esdhc_spl.c | 60 uchar *tmp_buf; in mmc_boot() local 79 tmp_buf = malloc(blklen); in mmc_boot() 80 if (!tmp_buf) { in mmc_boot() 84 memset(tmp_buf, 0, blklen); in mmc_boot() 90 CONFIG_CFG_DATA_SECTOR, 1, tmp_buf); in mmc_boot() 93 free(tmp_buf); in mmc_boot() 97 val = *(tmp_buf + MBRDBR_BOOT_SIG_55); in mmc_boot() 100 free(tmp_buf); in mmc_boot() 103 val = *(tmp_buf + MBRDBR_BOOT_SIG_AA); in mmc_boot() 106 free(tmp_buf); in mmc_boot() [all …]
|
| /OK3568_Linux_fs/u-boot/board/freescale/common/ |
| H A D | sdhc_boot.c | 23 u8 *tmp_buf; in mmc_get_env_addr() local 27 tmp_buf = malloc(blklen); in mmc_get_env_addr() 28 if (!tmp_buf) in mmc_get_env_addr() 32 n = mmc->block_dev.block_read(&mmc->block_dev, 0, 1, tmp_buf); in mmc_get_env_addr() 34 free(tmp_buf); in mmc_get_env_addr() 39 code_offset = *(u32 *)(tmp_buf + ESDHC_BOOT_IMAGE_ADDR); in mmc_get_env_addr() 42 code_len = *(u32 *)(tmp_buf + ESDHC_BOOT_IMAGE_SIZE); in mmc_get_env_addr() 66 free(tmp_buf); in mmc_get_env_addr() 73 free(tmp_buf); in mmc_get_env_addr()
|
| /OK3568_Linux_fs/u-boot/board/gdsys/p1022/ |
| H A D | sdhc_boot.c | 37 u8 *tmp_buf; in mmc_get_env_addr() local 41 tmp_buf = malloc(blklen); in mmc_get_env_addr() 42 if (!tmp_buf) in mmc_get_env_addr() 46 n = mmc->block_dev.block_read(&mmc->block_dev, 0, 1, tmp_buf); in mmc_get_env_addr() 48 free(tmp_buf); in mmc_get_env_addr() 53 code_offset = *(u32 *)(tmp_buf + ESDHC_BOOT_IMAGE_ADDR); in mmc_get_env_addr() 56 code_len = *(u32 *)(tmp_buf + ESDHC_BOOT_IMAGE_SIZE); in mmc_get_env_addr() 60 free(tmp_buf); in mmc_get_env_addr()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
| H A D | rtl_btc.c | 306 void rtl_btc_btinfo_notify(struct rtl_priv *rtlpriv, u8 *tmp_buf, u8 length) in rtl_btc_btinfo_notify() argument 313 exhalbtc_bt_info_notify(btcoexist, tmp_buf, length); in rtl_btc_btinfo_notify() 316 void rtl_btc_btmpinfo_notify(struct rtl_priv *rtlpriv, u8 *tmp_buf, u8 length) in rtl_btc_btmpinfo_notify() argument 327 if ((length < 4) || (!tmp_buf)) in rtl_btc_btmpinfo_notify() 330 extid = tmp_buf[0]; in rtl_btc_btmpinfo_notify() 335 seq = tmp_buf[2] >> 4; in rtl_btc_btmpinfo_notify() 336 data = &tmp_buf[3]; in rtl_btc_btmpinfo_notify() 341 bt_real_fw_ver = tmp_buf[3] | (tmp_buf[4] << 8); in rtl_btc_btmpinfo_notify() 342 bt_fw_ver = tmp_buf[5]; in rtl_btc_btmpinfo_notify() 357 btcoexist->bt_info.bt_supported_feature = tmp_buf[3] | in rtl_btc_btmpinfo_notify() [all …]
|
| /OK3568_Linux_fs/kernel/fs/ceph/ |
| H A D | acl.c | 167 void *tmp_buf = NULL; in ceph_pre_init_acls() local 193 tmp_buf = kmalloc(max(val_size1, val_size2), GFP_KERNEL); in ceph_pre_init_acls() 194 if (!tmp_buf) in ceph_pre_init_acls() 214 tmp_buf, val_size1); in ceph_pre_init_acls() 218 ceph_pagelist_append(pagelist, tmp_buf, val_size1); in ceph_pre_init_acls() 228 tmp_buf, val_size2); in ceph_pre_init_acls() 232 ceph_pagelist_append(pagelist, tmp_buf, val_size2); in ceph_pre_init_acls() 235 kfree(tmp_buf); in ceph_pre_init_acls() 245 kfree(tmp_buf); in ceph_pre_init_acls()
|
| /OK3568_Linux_fs/kernel/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
| H A D | EventClass.py | 59 tmp_buf=raw_buf[0:80] 60 flags, ip, ax, bx, cx, dx, si, di, bp, sp = struct.unpack('QQQQQQQQQQ', tmp_buf) 74 del tmp_buf 88 tmp_buf=raw_buf[144:176] 89 status, dla, dse, lat = struct.unpack('QQQQ', tmp_buf) 97 del tmp_buf
|
| /OK3568_Linux_fs/external/security/librkcrypto/test/c_mode/ |
| H A D | aes_cbc.c | 33 unsigned char tmp_buf[AES_BLOCK_SIZE]; in rk_crypto_cbc128_decrypt() local 35 memset(tmp_buf, 0x00, sizeof(tmp_buf)); in rk_crypto_cbc128_decrypt() 38 rk_aes_decrypt(in, tmp_buf, key); in rk_crypto_cbc128_decrypt() 41 out[n] = tmp_buf[n] ^ ivec[n]; in rk_crypto_cbc128_decrypt()
|
| H A D | sm4_cbc.c | 32 unsigned char tmp_buf[SM4_BLOCK_SIZE]; in rk_crypto_cbc128_decrypt() local 34 memset(tmp_buf, 0x00, sizeof(tmp_buf)); in rk_crypto_cbc128_decrypt() 37 (*block)(in, tmp_buf, ctx); in rk_crypto_cbc128_decrypt() 40 out[n] = tmp_buf[n] ^ ivec[n]; in rk_crypto_cbc128_decrypt()
|
| H A D | des_cbc.c | 33 unsigned char tmp_buf[DES_BLOCK_SIZE]; in rk_crypto_cbc128_decrypt() local 35 memset(tmp_buf, 0x00, sizeof(tmp_buf)); in rk_crypto_cbc128_decrypt() 38 (*block)(in, tmp_buf,ctx); in rk_crypto_cbc128_decrypt() 41 out[n] = tmp_buf[n] ^ ivec[n]; in rk_crypto_cbc128_decrypt()
|
| H A D | sm4_cts.c | 32 unsigned char tmp_buf[SM4_BLOCK_SIZE]; in rk_crypto_cbc128_decrypt() local 34 memset(tmp_buf, 0x00, sizeof(tmp_buf)); in rk_crypto_cbc128_decrypt() 37 (*block)(in, tmp_buf, ctx); in rk_crypto_cbc128_decrypt() 40 out[n] = tmp_buf[n] ^ ivec[n]; in rk_crypto_cbc128_decrypt()
|
| H A D | aes_cts.c | 33 unsigned char tmp_buf[AES_BLOCK_SIZE]; in rk_crypto_cbc128_decrypt() local 35 memset(tmp_buf, 0x00, sizeof(tmp_buf)); in rk_crypto_cbc128_decrypt() 38 rk_aes_decrypt(in, tmp_buf, key); in rk_crypto_cbc128_decrypt() 41 out[n] = tmp_buf[n] ^ ivec[n]; in rk_crypto_cbc128_decrypt()
|
| /OK3568_Linux_fs/external/linux-rga/samples/async_demo/src/ |
| H A D | rga_async_demo.cpp | 50 char *src_buf, *tmp_buf, *dst_buf; in main() local 78 tmp_buf = (char *)malloc(tmp_buf_size); in main() 86 memset(tmp_buf, 0x40, tmp_buf_size); in main() 90 tmp_handle = importbuffer_virtualaddr(tmp_buf, tmp_buf_size); in main() 184 if (tmp_buf) in main() 185 free(tmp_buf); in main()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/rockchip/ |
| H A D | rk_crypto_v2_akcipher.c | 137 u8 *tmp_buf = NULL; in rk_rsa_calc() local 166 tmp_buf = kzalloc(key_byte_size, GFP_KERNEL); in rk_rsa_calc() 167 if (!tmp_buf) in rk_rsa_calc() 170 if (!sg_copy_to_buffer(req->src, sg_nents(req->src), tmp_buf, req->src_len)) { in rk_rsa_calc() 177 ret = rk_bn_set_data(in, tmp_buf, req->src_len, RK_BG_BIG_ENDIAN); in rk_rsa_calc() 197 ret = rk_bn_get_data(out, tmp_buf, key_byte_size, RK_BG_BIG_ENDIAN); in rk_rsa_calc() 201 CRYPTO_DUMPHEX("tmp_buf = ", tmp_buf, key_byte_size); in rk_rsa_calc() 203 if (!sg_copy_from_buffer(req->dst, sg_nents(req->dst), tmp_buf, key_byte_size)) { in rk_rsa_calc() 214 kfree(tmp_buf); in rk_rsa_calc()
|
| H A D | rk_crypto_utils.c | 34 u8 tmp_buf[4]; in rk_crypto_write_regs() local 40 memset(tmp_buf, 0x00, sizeof(tmp_buf)); in rk_crypto_write_regs() 41 memcpy((u8 *)tmp_buf, data + (bytes / 4) * 4, bytes % 4); in rk_crypto_write_regs() 42 CRYPTO_WRITE(rk_dev, base_addr, byte2word_be(tmp_buf)); in rk_crypto_write_regs() 62 uint8_t tmp_buf[4]; in rk_crypto_read_regs() local 64 word2byte_be(CRYPTO_READ(rk_dev, base_addr), tmp_buf); in rk_crypto_read_regs() 65 memcpy(data + i * 4, tmp_buf, bytes % 4); in rk_crypto_read_regs()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/common/h264/ |
| H A D | hal_h264e_stream_amend.c | 38 RK_U8 *tmp_buf = buf; in get_next_nal() local 42 if (tmp_buf[2] == 0) { in get_next_nal() 44 tmp_buf++; in get_next_nal() 48 if (tmp_buf[0] != 0 || tmp_buf[1] != 0 || tmp_buf[2] != 1) { in get_next_nal() 53 state = (state << 8) | tmp_buf[i]; in get_next_nal() 63 tmp_buf += i; in get_next_nal() 71 tmp_buf += 3; in get_next_nal()
|
| /OK3568_Linux_fs/kernel/drivers/misc/habanalabs/common/ |
| H A D | debugfs.c | 699 char tmp_buf[32]; in hl_data_read32() local 724 sprintf(tmp_buf, "0x%08x\n", val); in hl_data_read32() 725 return simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_data_read32() 726 strlen(tmp_buf)); in hl_data_read32() 768 char tmp_buf[32]; in hl_data_read64() local 788 sprintf(tmp_buf, "0x%016llx\n", val); in hl_data_read64() 789 return simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_data_read64() 790 strlen(tmp_buf)); in hl_data_read64() 827 char tmp_buf[200]; in hl_get_power_state() local 840 sprintf(tmp_buf, in hl_get_power_state() [all …]
|
| /OK3568_Linux_fs/buildroot/package/ftop/ |
| H A D | 0001-overflow.patch | 1 Set tmp_buf and rate_buf to something ridiculously high to fix a buffer 13 - char tmp_buf[80], rate_buf[80]; 14 + char tmp_buf[2048], rate_buf[2048];
|
| /OK3568_Linux_fs/kernel/net/atm/ |
| H A D | addr.c | 140 struct sockaddr_atmsvc *tmp_buf, *tmp_bufp; in atm_get_addr() local 149 tmp_buf = tmp_bufp = kmalloc(total, GFP_ATOMIC); in atm_get_addr() 150 if (!tmp_buf) { in atm_get_addr() 158 if (copy_to_user(buf, tmp_buf, total < size ? total : size)) in atm_get_addr() 160 kfree(tmp_buf); in atm_get_addr()
|
| H A D | resources.c | 201 int *tmp_buf, *tmp_p; in atm_getnames() local 212 tmp_buf = kmalloc(size, GFP_ATOMIC); in atm_getnames() 213 if (!tmp_buf) { in atm_getnames() 217 tmp_p = tmp_buf; in atm_getnames() 223 error = ((copy_to_user(buf, tmp_buf, size)) || in atm_getnames() 226 kfree(tmp_buf); in atm_getnames()
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | command.c | 147 static char tmp_buf[512]; in var_complete() local 153 return env_complete("", maxv, cmdv, sizeof(tmp_buf), tmp_buf); in var_complete() 156 return env_complete(argv[1], maxv, cmdv, sizeof(tmp_buf), tmp_buf); in var_complete() 319 static char tmp_buf[CONFIG_SYS_CBSIZE]; /* copy of console I/O buffer */ variable 342 strcpy(tmp_buf, buf); in cmd_auto_complete() 345 argc = make_argv(tmp_buf, sizeof(argv)/sizeof(argv[0]), argv); in cmd_auto_complete()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/btc/ |
| H A D | halbtccommon.h | 34 void rtw_btc_ex_bt_info_notify(struct btc_coexist *btc, u8 *tmp_buf, u8 length); 35 void rtw_btc_ex_wl_fwdbginfo_notify(struct btc_coexist *btc, u8 *tmp_buf, 70 #define rtw_btc_ex_bt_info_notify(btc, tmp_buf, length) argument 71 #define rtw_btc_ex_wl_fwdbginfo_notify(btc, tmp_buf, length) argument
|
| /OK3568_Linux_fs/kernel/fs/incfs/ |
| H A D | verity.c | 747 struct mem_range tmp_buf; in incfs_read_merkle_tree() local 756 tmp_buf = (struct mem_range) { in incfs_read_merkle_tree() 760 if (!tmp_buf.data) in incfs_read_merkle_tree() 764 offset += tmp_buf.len) { in incfs_read_merkle_tree() 765 err = incfs_read_merkle_tree_blocks(tmp_buf, df, offset); in incfs_read_merkle_tree() 770 if (err != tmp_buf.len) in incfs_read_merkle_tree() 773 if (copy_to_user(buf, tmp_buf.data, tmp_buf.len)) in incfs_read_merkle_tree() 776 buf += tmp_buf.len; in incfs_read_merkle_tree() 777 retval += tmp_buf.len; in incfs_read_merkle_tree() 780 kfree(tmp_buf.data); in incfs_read_merkle_tree()
|
| /OK3568_Linux_fs/kernel/drivers/base/regmap/ |
| H A D | regcache.c | 32 void *tmp_buf; in regcache_hw_init() local 61 tmp_buf = kmalloc(map->cache_size_raw, GFP_KERNEL); in regcache_hw_init() 62 if (!tmp_buf) { in regcache_hw_init() 66 ret = regmap_raw_read(map, 0, tmp_buf, in regcache_hw_init() 70 map->reg_defaults_raw = tmp_buf; in regcache_hw_init() 73 kfree(tmp_buf); in regcache_hw_init() 119 void *tmp_buf; in regcache_init() local 169 tmp_buf = kmemdup(config->reg_defaults, map->num_reg_defaults * in regcache_init() 171 if (!tmp_buf) in regcache_init() 173 map->reg_defaults = tmp_buf; in regcache_init()
|