Searched refs:total_sz (Results 1 – 4 of 4) sorted by relevance
276 size_t total_sz = 0, i; in sepol_context_to_string() local286 if (__builtin_add_overflow(total_sz, sizes[i], &total_sz)) { in sepol_context_to_string()292 str = (char *)malloc(total_sz); in sepol_context_to_string()298 rc = snprintf(str, total_sz, "%s:%s:%s:%s", in sepol_context_to_string()301 rc = snprintf(str, total_sz, "%s:%s:%s", in sepol_context_to_string()309 if (rc < 0 || (size_t)rc >= total_sz) { in sepol_context_to_string()
194 int64_t total_sz = 0; in GetStat() local200 total_sz += it.value().sz; in GetStat()219 if (total_sz > 0) { in GetStat()221 cs.average_cache_sz = total_sz / (cs.num_disk_cached + cs.num_mem_cached); in GetStat()
105 size_t total_sz = size_of_this; in CacheRow() local119 total_sz += msg->data_sz()->Get(i); in CacheRow()
483 unsigned total_sz = 32; in midgard_pack_common_store_mask() local485 total_sz = 128; in midgard_pack_common_store_mask()487 total_sz = 64; in midgard_pack_common_store_mask()489 nr_comp = total_sz / comp_sz; in midgard_pack_common_store_mask()492 assert(comp_sz >= total_sz / 4); in midgard_pack_common_store_mask()496 if (comp_sz == total_sz) in midgard_pack_common_store_mask()498 else if (comp_sz == total_sz / 2) in midgard_pack_common_store_mask()500 else if (comp_sz == total_sz / 4) in midgard_pack_common_store_mask()