Lines Matching refs:func
153 char func[QDF_MEM_FUNC_NAME_SIZE]; member
208 const char *func, uint32_t line, void *caller) in qdf_mem_header_init() argument
217 qdf_str_lcopy(header->func, func, QDF_MEM_FUNC_NAME_SIZE); in qdf_mem_header_init()
280 const char *func, in qdf_mem_header_assert_valid() argument
315 QDF_MEMDEBUG_PANIC("Fatal memory error detected @ %s:%d", func, line); in qdf_mem_header_assert_valid()
328 char func[QDF_MEM_FUNC_NAME_SIZE]; member
379 qdf_str_lcopy(table[i].func, meta->func, in qdf_mem_meta_table_insert()
389 if (qdf_str_eq(table[i].func, meta->func) && in qdf_mem_meta_table_insert()
480 table[i].func, in qdf_mem_meta_table_print()
486 table[i].func, in qdf_mem_meta_table_print()
581 table[i].func, in qdf_print_major_alloc()
791 qdf_str_lcopy(meta.func, p_node->func_name, in qdf_print_major_nbuf_allocs()
1507 void *qdf_mem_malloc_debug(size_t size, const char *func, uint32_t line, in qdf_mem_malloc_debug() argument
1518 return __qdf_mem_malloc(size, func, line); in qdf_mem_malloc_debug()
1521 qdf_err("Cannot malloc %zu bytes @ %s:%d", size, func, line); in qdf_mem_malloc_debug()
1538 duration, size, func, line); in qdf_mem_malloc_debug()
1541 qdf_warn("Failed to malloc %zuB @ %s:%d", size, func, line); in qdf_mem_malloc_debug()
1545 qdf_mem_header_init(header, size, func, line, caller); in qdf_mem_malloc_debug()
1561 void *qdf_mem_malloc_atomic_debug(size_t size, const char *func, in qdf_mem_malloc_atomic_debug() argument
1572 return qdf_mem_malloc_atomic_debug_fl(size, func, line); in qdf_mem_malloc_atomic_debug()
1575 qdf_err("Cannot malloc %zu bytes @ %s:%d", size, func, line); in qdf_mem_malloc_atomic_debug()
1589 duration, size, func, line); in qdf_mem_malloc_atomic_debug()
1592 qdf_warn("Failed to malloc %zuB @ %s:%d", size, func, line); in qdf_mem_malloc_atomic_debug()
1596 qdf_mem_header_init(header, size, func, line, caller); in qdf_mem_malloc_atomic_debug()
1613 void *qdf_mem_malloc_atomic_debug_fl(size_t size, const char *func, in qdf_mem_malloc_atomic_debug_fl() argument
1619 qdf_nofl_err("Cannot malloc %zu bytes @ %s:%d", size, func, in qdf_mem_malloc_atomic_debug_fl()
1631 size, func, line); in qdf_mem_malloc_atomic_debug_fl()
1642 void qdf_mem_free_debug(void *ptr, const char *func, uint32_t line) in qdf_mem_free_debug() argument
1664 qdf_talloc_assert_no_children_fl(ptr, func, line); in qdf_mem_free_debug()
1679 func, line); in qdf_mem_free_debug()
1708 const char *func, uint32_t line, in qdf_mem_multi_pages_alloc_debug() argument
1734 func, line, caller, 0); in qdf_mem_multi_pages_alloc_debug()
1741 pages->page_size, func, line, caller, 0); in qdf_mem_multi_pages_alloc_debug()
1749 func, line, caller, 0); in qdf_mem_multi_pages_alloc_debug()
1759 func, line, caller); in qdf_mem_multi_pages_alloc_debug()
1777 func, line); in qdf_mem_multi_pages_alloc_debug()
1778 qdf_mem_free_debug(pages->cacheable_pages, func, line); in qdf_mem_multi_pages_alloc_debug()
1785 dma_pages->page_p_addr, memctxt, func, line); in qdf_mem_multi_pages_alloc_debug()
1788 qdf_mem_free_debug(pages->dma_pages, func, line); in qdf_mem_multi_pages_alloc_debug()
1802 const char *func, uint32_t line) in qdf_mem_multi_pages_free_debug() argument
1813 func, line); in qdf_mem_multi_pages_free_debug()
1814 qdf_mem_free_debug(pages->cacheable_pages, func, line); in qdf_mem_multi_pages_free_debug()
1821 dma_pages->page_p_addr, memctxt, func, line); in qdf_mem_multi_pages_free_debug()
1824 qdf_mem_free_debug(pages->dma_pages, func, line); in qdf_mem_multi_pages_free_debug()
1839 void *qdf_mem_malloc_atomic_fl(size_t size, const char *func, uint32_t line) in qdf_mem_malloc_atomic_fl() argument
1844 qdf_nofl_err("Cannot malloc %zu bytes @ %s:%d", size, func, in qdf_mem_malloc_atomic_fl()
1856 size, func, line); in qdf_mem_malloc_atomic_fl()
2197 void *__qdf_mem_malloc(size_t size, const char *func, uint32_t line) in __qdf_mem_malloc() argument
2202 qdf_nofl_err("Cannot malloc %zu bytes @ %s:%d", size, func, in __qdf_mem_malloc()
2231 void *__qdf_untracked_mem_malloc(size_t size, const char *func, uint32_t line) in __qdf_untracked_mem_malloc() argument
2236 qdf_nofl_err("Cannot malloc %zu bytes @ %s:%d", size, func, in __qdf_untracked_mem_malloc()
2254 const char *func, uint32_t line) in qdf_aligned_malloc_fl() argument
2259 *vaddr_unaligned = qdf_mem_malloc_fl((qdf_size_t)*size, func, in qdf_aligned_malloc_fl()
2262 qdf_warn("Failed to alloc %uB @ %s:%d", *size, func, line); in qdf_aligned_malloc_fl()
2282 (qdf_size_t)align_alloc_size, func, line); in qdf_aligned_malloc_fl()
2285 align_alloc_size, func, line); in qdf_aligned_malloc_fl()
2705 const char *func, uint32_t line, in qdf_mem_alloc_consistent_debug() argument
2717 func, line); in qdf_mem_alloc_consistent_debug()
2720 qdf_err("Cannot malloc %zu bytes @ %s:%d", size, func, line); in qdf_mem_alloc_consistent_debug()
2728 qdf_warn("Failed to malloc %zuB @ %s:%d", size, func, line); in qdf_mem_alloc_consistent_debug()
2738 qdf_mem_header_init(header, size, func, line, caller); in qdf_mem_alloc_consistent_debug()
2756 const char *func, uint32_t line) in qdf_mem_free_consistent_debug() argument
2774 qdf_talloc_assert_no_children_fl(vaddr, func, line); in qdf_mem_free_consistent_debug()
2791 qdf_mem_header_assert_valid(header, domain, error_bitmap, func, line); in qdf_mem_free_consistent_debug()
2811 const char *func, uint32_t line) in __qdf_mem_alloc_consistent() argument
2817 size, func, line); in __qdf_mem_alloc_consistent()
2835 const char *func, uint32_t line) in qdf_aligned_mem_alloc_consistent_fl() argument
2844 *size, func, line); in qdf_aligned_mem_alloc_consistent_fl()
2869 align_alloc_size, func, line); in qdf_aligned_mem_alloc_consistent_fl()
3064 void *__qdf_mem_valloc(size_t size, const char *func, uint32_t line) in __qdf_mem_valloc() argument
3069 qdf_err("Valloc called with 0 bytes @ %s:%d", func, line); in __qdf_mem_valloc()