| /OK3568_Linux_fs/kernel/arch/x86/boot/compressed/ |
| H A D | misc.h | 36 #define memptr long macro 38 #define memptr unsigned macro 45 extern memptr free_mem_ptr; 46 extern memptr free_mem_end_ptr;
|
| H A D | misc.c | 47 memptr free_mem_ptr; 48 memptr free_mem_end_ptr; 341 asmlinkage __visible void *extract_kernel(void *rmode, memptr heap, in extract_kernel()
|
| /OK3568_Linux_fs/external/mpp/osal/windows/ |
| H A D | os_mem.c | 21 int os_malloc(void **memptr, size_t alignment, size_t size) in os_malloc() argument 23 *memptr = _aligned_malloc(size, alignment); in os_malloc() 24 return (*memptr) ? (0) : (-1); in os_malloc()
|
| /OK3568_Linux_fs/external/mpp/osal/android/ |
| H A D | os_mem.c | 21 int os_malloc(void **memptr, size_t alignment, size_t size) in os_malloc() argument 28 *memptr = ptr; in os_malloc() 30 *memptr = NULL; in os_malloc()
|
| /OK3568_Linux_fs/external/mpp/osal/linux/ |
| H A D | os_mem.c | 21 int os_malloc(void **memptr, size_t alignment, size_t size) in os_malloc() argument 23 return posix_memalign(memptr, alignment, size); in os_malloc()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/heaptrack/heaptrack/ |
| H A D | 0003-heaptrack_preload-Make-noexcept-attribute-conditiona.patch | 78 -int posix_memalign(void** memptr, size_t alignment, size_t size) noexcept 79 +int posix_memalign(void** memptr, size_t alignment, size_t size) NOEXECPT 83 @@ -268,7 +274,7 @@ int posix_memalign(void** memptr, size_t alignment, size_t size) noexcept
|
| /OK3568_Linux_fs/external/mpp/osal/ |
| H A D | os_mem.h | 24 int os_malloc(void **memptr, size_t alignment, size_t size);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intersil/prism54/ |
| H A D | isl_ioctl.c | 2048 char *memptr; in send_formatted_event() local 2050 memptr = kmalloc(IW_CUSTOM_MAX, GFP_KERNEL); in send_formatted_event() 2051 if (!memptr) in send_formatted_event() 2053 wrqu.data.pointer = memptr; in send_formatted_event() 2055 format_event(priv, memptr, str, mlme, &wrqu.data.length, in send_formatted_event() 2057 wireless_send_event(priv->ndev, IWEVCUSTOM, &wrqu, memptr); in send_formatted_event() 2058 kfree(memptr); in send_formatted_event() 2065 char *memptr; in send_simple_event() local 2068 memptr = kmalloc(IW_CUSTOM_MAX, GFP_KERNEL); in send_simple_event() 2069 if (!memptr) in send_simple_event() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/i40iw/ |
| H A D | i40iw_main.c | 523 struct i40iw_dma_mem *memptr, in i40iw_obj_aligned_mem() argument 535 memptr->va = (u8 *)va + extra; in i40iw_obj_aligned_mem() 536 memptr->pa = iwdev->obj_next.pa + extra; in i40iw_obj_aligned_mem() 537 memptr->size = size; in i40iw_obj_aligned_mem() 538 if ((memptr->va + size) > (iwdev->obj_mem.va + iwdev->obj_mem.size)) in i40iw_obj_aligned_mem() 541 iwdev->obj_next.va = memptr->va + size; in i40iw_obj_aligned_mem() 542 iwdev->obj_next.pa = memptr->pa + size; in i40iw_obj_aligned_mem()
|
| H A D | i40iw.h | 560 struct i40iw_dma_mem *memptr,
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | dhd_pcie.c | 1700 uint8 *memblock = NULL, *memptr; in dhdpcie_download_code_file() local 1718 memptr = memblock = MALLOC(bus->dhd->osh, MEMBLOCK + DHD_SDALIGN); in dhdpcie_download_code_file() 1731 memptr += (DHD_SDALIGN - ((uint32)(uintptr)memblock % DHD_SDALIGN)); in dhdpcie_download_code_file() 1740 while ((len = dhd_os_get_image_block((char*)memptr, MEMBLOCK, imgbuf))) { in dhdpcie_download_code_file() 1749 bus->resetinstr = *(((uint32*)memptr)); in dhdpcie_download_code_file() 1756 bcmerror = dhdpcie_bus_membytes(bus, TRUE, offset, (uint8 *)memptr, len); in dhdpcie_download_code_file() 1770 if (memcmp(memptr_tmp, memptr, len)) { in dhdpcie_download_code_file() 1920 uint8 *memblock = NULL, *memptr; in dhdpcie_download_code_array() local 1943 memptr = memblock = MALLOC(bus->dhd->osh, MEMBLOCK + DHD_SDALIGN); in dhdpcie_download_code_array() 1949 memptr += (DHD_SDALIGN - ((uint32)(uintptr)memblock % DHD_SDALIGN)); in dhdpcie_download_code_array() [all …]
|
| H A D | dbus.c | 615 uint8 *memptr; in dbus_get_fw_nvram() local 662 memptr = fw_memblock = MALLOC(dhd_bus->pub.osh, memblock_size); in dbus_get_fw_nvram() 668 len = dhd_os_get_image_block((char*)memptr, memblock_size, fw_image); in dbus_get_fw_nvram() 669 if ((actual_fwlen = check_file(dhd_bus->pub.osh, memptr)) <= 0) { in dbus_get_fw_nvram() 683 memptr = fw_memblock; in dbus_get_fw_nvram() 690 bcopy(memptr, dhd_bus->image+offset, len); in dbus_get_fw_nvram() 692 } while ((len = dhd_os_get_image_block((char*)memptr, memblock_size, fw_image))); in dbus_get_fw_nvram()
|
| H A D | dhd_sdio.c | 9320 uint8 *memblock = NULL, *memptr; in dhdsdio_download_code_file() local 9340 memptr = memblock = MALLOC(bus->dhd->osh, memblock_size + DHD_SDALIGN); in dhdsdio_download_code_file() 9354 memptr += (DHD_SDALIGN - ((uint32)(uintptr)memblock % DHD_SDALIGN)); in dhdsdio_download_code_file() 9361 while ((len = dhd_os_get_image_block((char*)memptr, memblock_size, image))) { in dhdsdio_download_code_file() 9366 memset(memptr+len, 0, len%64); in dhdsdio_download_code_file() 9380 bus->resetinstr = *(((uint32*)memptr)); in dhdsdio_download_code_file() 9386 bcmerror = dhdsdio_membytes(bus, TRUE, offset, memptr, len); in dhdsdio_download_code_file() 9400 if (memcmp(memptr_tmp, memptr, len)) { in dhdsdio_download_code_file() 9459 uint8 *memblock = NULL, *memptr; in dhdsdio_download_ucode_file() local 9478 memptr = memblock = MALLOC(bus->dhd->osh, memblock_size + DHD_SDALIGN); in dhdsdio_download_ucode_file() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dbus.c | 616 uint8 *memptr; in dbus_get_fw_nvram() local 663 memptr = fw_memblock = MALLOC(dhd_bus->pub.osh, memblock_size); in dbus_get_fw_nvram() 669 len = dhd_os_get_image_block((char*)memptr, memblock_size, fw_image); in dbus_get_fw_nvram() 670 if ((actual_fwlen = check_file(dhd_bus->pub.osh, memptr)) <= 0) { in dbus_get_fw_nvram() 689 memptr = fw_memblock; in dbus_get_fw_nvram() 696 bcopy(memptr, dhd_bus->image+offset, len); in dbus_get_fw_nvram() 698 } while ((len = dhd_os_get_image_block((char*)memptr, memblock_size, fw_image))); in dbus_get_fw_nvram()
|
| H A D | dhd_sdio.c | 10266 uint8 *memblock = NULL, *memptr; in dhdsdio_download_code_file() local 10298 memptr = memblock = MALLOC(bus->dhd->osh, memblock_size + DHD_SDALIGN); in dhdsdio_download_code_file() 10305 memptr += (DHD_SDALIGN - ((uint32)(uintptr)memblock % DHD_SDALIGN)); in dhdsdio_download_code_file() 10324 bcopy((uint8 *)fw->data + buf_offset, (uint8 *)memptr, len); in dhdsdio_download_code_file() 10330 bus->resetinstr = *(((uint32*)memptr)); in dhdsdio_download_code_file() 10337 bcmerror = dhdsdio_membytes(bus, TRUE, offset, (uint8 *)memptr, len); in dhdsdio_download_code_file() 10352 if (memcmp(memptr_tmp, memptr, len)) { in dhdsdio_download_code_file() 10404 uint8 *memblock = NULL, *memptr; in dhdsdio_download_code_file() local 10431 memptr = memblock = MALLOC(bus->dhd->osh, memblock_size + DHD_SDALIGN); in dhdsdio_download_code_file() 10438 memptr += (DHD_SDALIGN - ((uint32)(uintptr)memblock % DHD_SDALIGN)); in dhdsdio_download_code_file() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dbus.c | 615 uint8 *memptr; in dbus_get_fw_nvram() local 664 memptr = fw_memblock = MALLOC(dhd_bus->pub.osh, memblock_size); in dbus_get_fw_nvram() 670 len = dhd_os_get_image_block((char*)memptr, memblock_size, fw_image); in dbus_get_fw_nvram() 671 if ((actual_fwlen = check_file(dhd_bus->pub.osh, memptr)) <= 0) { in dbus_get_fw_nvram() 690 memptr = fw_memblock; in dbus_get_fw_nvram() 697 bcopy(memptr, dhd_bus->image+offset, len); in dbus_get_fw_nvram() 699 } while ((len = dhd_os_get_image_block((char*)memptr, memblock_size, fw_image))); in dbus_get_fw_nvram()
|
| H A D | dhd_sdio.c | 10281 uint8 *memblock = NULL, *memptr; in dhdsdio_download_code_file() local 10313 memptr = memblock = MALLOC(bus->dhd->osh, memblock_size + DHD_SDALIGN); in dhdsdio_download_code_file() 10320 memptr += (DHD_SDALIGN - ((uint32)(uintptr)memblock % DHD_SDALIGN)); in dhdsdio_download_code_file() 10339 bcopy((uint8 *)fw->data + buf_offset, (uint8 *)memptr, len); in dhdsdio_download_code_file() 10345 bus->resetinstr = *(((uint32*)memptr)); in dhdsdio_download_code_file() 10352 bcmerror = dhdsdio_membytes(bus, TRUE, offset, (uint8 *)memptr, len); in dhdsdio_download_code_file() 10367 if (memcmp(memptr_tmp, memptr, len)) { in dhdsdio_download_code_file() 10419 uint8 *memblock = NULL, *memptr; in dhdsdio_download_code_file() local 10446 memptr = memblock = MALLOC(bus->dhd->osh, memblock_size + DHD_SDALIGN); in dhdsdio_download_code_file() 10453 memptr += (DHD_SDALIGN - ((uint32)(uintptr)memblock % DHD_SDALIGN)); in dhdsdio_download_code_file() [all …]
|
| H A D | dhd_pcie.c | 4132 uint8 *memblock = NULL, *memptr = NULL; in dhdpcie_download_code_file() local 4200 memptr = memblock = MALLOC(bus->dhd->osh, MEMBLOCK + DHD_SDALIGN); in dhdpcie_download_code_file() 4216 memptr += (DHD_SDALIGN - ((uint32)(uintptr)memblock % DHD_SDALIGN)); in dhdpcie_download_code_file() 4239 while ((len = dhd_os_get_image_block((char*)memptr, MEMBLOCK, imgbuf))) in dhdpcie_download_code_file() 4244 memcpy(memptr, dnld_buf + buf_offset, len); in dhdpcie_download_code_file() 4266 bus->resetinstr = *(((uint32*)memptr)); in dhdpcie_download_code_file() 4273 bcmerror = dhdpcie_bus_membytes(bus, TRUE, offset, (uint8 *)memptr, len); in dhdpcie_download_code_file() 4288 if (memcmp(memptr_tmp, memptr, len)) { in dhdpcie_download_code_file() 4559 uint8 *memblock = NULL, *memptr; in dhdpcie_download_code_array() local 4587 memptr = memblock = MALLOC(bus->dhd->osh, MEMBLOCK + DHD_SDALIGN); in dhdpcie_download_code_array() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/adreno/ |
| H A D | a6xx_gpu.c | 100 u64 memptr = rbmemptr(ring, ttbr0); in a6xx_set_pagetable() local 122 OUT_RING(ring, CP_MEM_WRITE_0_ADDR_LO(lower_32_bits(memptr))); in a6xx_set_pagetable() 123 OUT_RING(ring, CP_MEM_WRITE_1_ADDR_HI(upper_32_bits(memptr))); in a6xx_set_pagetable()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | dhd_sdio.c | 9478 uint8 *memblock = NULL, *memptr; local 9498 memptr = memblock = MALLOC(bus->dhd->osh, memblock_size + DHD_SDALIGN); 9505 memptr += (DHD_SDALIGN - ((uint32)(uintptr)memblock % DHD_SDALIGN)); 9512 while ((len = dhd_os_get_image_block((char*)memptr, memblock_size, image))) { 9523 bus->resetinstr = *(((uint32*)memptr)); 9532 trx_hdr = (struct trx_header *)memptr; 9539 bcmerror = dhdsdio_membytes(bus, TRUE, offset, memptr, len); 9594 uint8 *memblock = NULL, *memptr; local 9613 memptr = memblock = MALLOC(bus->dhd->osh, memblock_size + DHD_SDALIGN); 9620 memptr += (DHD_SDALIGN - ((uint32)(uintptr)memblock % DHD_SDALIGN)); [all …]
|
| H A D | dhd_pcie.c | 3048 uint8 *memblock = NULL, *memptr = NULL; in dhdpcie_download_code_file() local 3084 memptr = memblock = MALLOC(bus->dhd->osh, MEMBLOCK + DHD_SDALIGN); in dhdpcie_download_code_file() 3091 memptr += (DHD_SDALIGN - ((uint32)(uintptr)memblock % DHD_SDALIGN)); in dhdpcie_download_code_file() 3098 while ((len = dhd_os_get_image_block((char*)memptr, MEMBLOCK, imgbuf))) { in dhdpcie_download_code_file() 3115 bus->resetinstr = *(((uint32*)memptr)); in dhdpcie_download_code_file() 3125 trx_hdr = (struct trx_header *)memptr; in dhdpcie_download_code_file() 3132 bcmerror = dhdpcie_bus_membytes(bus, TRUE, offset, (uint8 *)memptr, len); in dhdpcie_download_code_file() 3293 uint8 *memptr = NULL; in dhdpcie_ramsize_adj() local 3338 memptr = MALLOC(bus->dhd->osh, search_len); in dhdpcie_ramsize_adj() 3339 if (memptr == NULL) { in dhdpcie_ramsize_adj() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | dhd_sdio.c | 9568 uint8 *memblock = NULL, *memptr; local 9588 memptr = memblock = MALLOC(bus->dhd->osh, memblock_size + DHD_SDALIGN); 9595 memptr += (DHD_SDALIGN - ((uint32)(uintptr)memblock % DHD_SDALIGN)); 9602 while ((len = dhd_os_get_image_block((char*)memptr, memblock_size, image))) { 9613 bus->resetinstr = *(((uint32*)memptr)); 9622 trx_hdr = (struct trx_header *)memptr; 9629 bcmerror = dhdsdio_membytes(bus, TRUE, offset, memptr, len); 9684 uint8 *memblock = NULL, *memptr; local 9703 memptr = memblock = MALLOC(bus->dhd->osh, memblock_size + DHD_SDALIGN); 9710 memptr += (DHD_SDALIGN - ((uint32)(uintptr)memblock % DHD_SDALIGN)); [all …]
|
| H A D | dhd_pcie.c | 3056 uint8 *memblock = NULL, *memptr = NULL; in dhdpcie_download_code_file() local 3092 memptr = memblock = MALLOC(bus->dhd->osh, MEMBLOCK + DHD_SDALIGN); in dhdpcie_download_code_file() 3099 memptr += (DHD_SDALIGN - ((uint32)(uintptr)memblock % DHD_SDALIGN)); in dhdpcie_download_code_file() 3106 while ((len = dhd_os_get_image_block((char*)memptr, MEMBLOCK, imgbuf))) { in dhdpcie_download_code_file() 3123 bus->resetinstr = *(((uint32*)memptr)); in dhdpcie_download_code_file() 3133 trx_hdr = (struct trx_header *)memptr; in dhdpcie_download_code_file() 3140 bcmerror = dhdpcie_bus_membytes(bus, TRUE, offset, (uint8 *)memptr, len); in dhdpcie_download_code_file() 3301 uint8 *memptr = NULL; in dhdpcie_ramsize_adj() local 3346 memptr = MALLOC(bus->dhd->osh, search_len); in dhdpcie_ramsize_adj() 3347 if (memptr == NULL) { in dhdpcie_ramsize_adj() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | dhd_sdio.c | 9474 uint8 *memblock = NULL, *memptr; local 9494 memptr = memblock = MALLOC(bus->dhd->osh, memblock_size + DHD_SDALIGN); 9501 memptr += (DHD_SDALIGN - ((uint32)(uintptr)memblock % DHD_SDALIGN)); 9508 while ((len = dhd_os_get_image_block((char*)memptr, memblock_size, image))) { 9519 bus->resetinstr = *(((uint32*)memptr)); 9528 trx_hdr = (struct trx_header *)memptr; 9535 bcmerror = dhdsdio_membytes(bus, TRUE, offset, memptr, len); 9590 uint8 *memblock = NULL, *memptr; local 9609 memptr = memblock = MALLOC(bus->dhd->osh, memblock_size + DHD_SDALIGN); 9616 memptr += (DHD_SDALIGN - ((uint32)(uintptr)memblock % DHD_SDALIGN)); [all …]
|
| H A D | dhd_pcie.c | 3048 uint8 *memblock = NULL, *memptr = NULL; in dhdpcie_download_code_file() local 3084 memptr = memblock = MALLOC(bus->dhd->osh, MEMBLOCK + DHD_SDALIGN); in dhdpcie_download_code_file() 3091 memptr += (DHD_SDALIGN - ((uint32)(uintptr)memblock % DHD_SDALIGN)); in dhdpcie_download_code_file() 3098 while ((len = dhd_os_get_image_block((char*)memptr, MEMBLOCK, imgbuf))) { in dhdpcie_download_code_file() 3115 bus->resetinstr = *(((uint32*)memptr)); in dhdpcie_download_code_file() 3125 trx_hdr = (struct trx_header *)memptr; in dhdpcie_download_code_file() 3132 bcmerror = dhdpcie_bus_membytes(bus, TRUE, offset, (uint8 *)memptr, len); in dhdpcie_download_code_file() 3293 uint8 *memptr = NULL; in dhdpcie_ramsize_adj() local 3338 memptr = MALLOC(bus->dhd->osh, search_len); in dhdpcie_ramsize_adj() 3339 if (memptr == NULL) { in dhdpcie_ramsize_adj() [all …]
|