Lines Matching defs:cnt
1130 u32 i, cnt = 0;
1148 for (i = 0; i < cnt; i++) {
1153 if (i == cnt)
1154 caches[cnt++] = c;
1159 *cntp = cnt;
1168 u32 cnt = 0, i, version = 1;
1171 ret = build_caches(caches, &cnt);
1175 qsort(&caches, cnt, sizeof(struct cpu_cache_level), cpu_cache_level__sort);
1181 ret = do_write(ff, &cnt, sizeof(u32));
1185 for (i = 0; i < cnt; i++) {
1211 for (i = 0; i < cnt; i++)
1298 u64 cnt = 0;
1323 if (WARN_ONCE(cnt >= size,
1329 ret = memory_node__read(&nodes[cnt++], idx);
1332 *cntp = cnt;
1336 qsort(nodes, cnt, sizeof(nodes[0]), memory_node__sort);
2692 u32 cnt, i, version;
2700 if (do_read_u32(ff, &cnt))
2703 caches = zalloc(sizeof(*caches) * cnt);
2707 for (i = 0; i < cnt; i++) {
2734 ff->ph->env.caches_cnt = cnt;