Lines Matching refs:table
372 static bool qdf_mem_meta_table_insert(struct __qdf_mem_info *table, in qdf_mem_meta_table_insert() argument
378 if (!table[i].count) { in qdf_mem_meta_table_insert()
379 qdf_str_lcopy(table[i].func, meta->func, in qdf_mem_meta_table_insert()
381 table[i].line = meta->line; in qdf_mem_meta_table_insert()
382 table[i].size = meta->size; in qdf_mem_meta_table_insert()
383 table[i].count = 1; in qdf_mem_meta_table_insert()
384 table[i].caller = meta->caller; in qdf_mem_meta_table_insert()
385 table[i].time = meta->time; in qdf_mem_meta_table_insert()
389 if (qdf_str_eq(table[i].func, meta->func) && in qdf_mem_meta_table_insert()
390 table[i].line == meta->line && in qdf_mem_meta_table_insert()
391 table[i].size == meta->size && in qdf_mem_meta_table_insert()
392 table[i].caller == meta->caller) { in qdf_mem_meta_table_insert()
393 table[i].count++; in qdf_mem_meta_table_insert()
421 struct __qdf_mem_info table[QDF_MEM_STAT_TABLE_SIZE]; in qdf_mem_domain_print() local
424 qdf_mem_zero(table, sizeof(table)); in qdf_mem_domain_print()
432 bool is_full = qdf_mem_meta_table_insert(table, meta); in qdf_mem_domain_print()
437 (*mem_print)(table, print, print_priv, threshold); in qdf_mem_domain_print()
438 qdf_mem_zero(table, sizeof(table)); in qdf_mem_domain_print()
446 (*mem_print)(table, print, print_priv, threshold); in qdf_mem_domain_print()
458 static void qdf_mem_meta_table_print(struct __qdf_mem_info *table, in qdf_mem_meta_table_print() argument
472 if (!table[i].count) in qdf_mem_meta_table_print()
477 table[i].count, in qdf_mem_meta_table_print()
478 table[i].size, in qdf_mem_meta_table_print()
479 table[i].count * table[i].size, in qdf_mem_meta_table_print()
480 table[i].func, in qdf_mem_meta_table_print()
481 table[i].line, table[i].caller, in qdf_mem_meta_table_print()
482 table[i].time); in qdf_mem_meta_table_print()
486 table[i].func, in qdf_mem_meta_table_print()
487 table[i].line, in qdf_mem_meta_table_print()
488 table[i].caller); in qdf_mem_meta_table_print()
565 static void qdf_print_major_alloc(struct __qdf_mem_info *table, in qdf_print_major_alloc() argument
573 if (!table[i].count) in qdf_print_major_alloc()
575 if (table[i].count >= threshold) in qdf_print_major_alloc()
578 table[i].count, in qdf_print_major_alloc()
579 table[i].size, in qdf_print_major_alloc()
580 table[i].count * table[i].size, in qdf_print_major_alloc()
581 table[i].func, in qdf_print_major_alloc()
582 table[i].line, table[i].caller, in qdf_print_major_alloc()
583 table[i].time); in qdf_print_major_alloc()
770 struct __qdf_mem_info table[QDF_MEM_STAT_TABLE_SIZE]; in qdf_print_major_nbuf_allocs() local
774 qdf_mem_zero(table, sizeof(table)); in qdf_print_major_nbuf_allocs()
794 is_full = qdf_mem_meta_table_insert(table, &meta); in qdf_print_major_nbuf_allocs()
797 (*mem_print)(table, print, in qdf_print_major_nbuf_allocs()
799 qdf_mem_zero(table, sizeof(table)); in qdf_print_major_nbuf_allocs()
807 (*mem_print)(table, print, print_priv, threshold); in qdf_print_major_nbuf_allocs()