Lines Matching refs:l2i
4457 struct l2info *l2i = arg;
4464 if ((ip = l2i->l2i_csz) != NULL)
4466 if ((ip = l2i->l2i_lsz) != NULL)
4468 if ((ip = l2i->l2i_assoc) != NULL)
4470 l2i->l2i_ret = ct->ct_size;
4488 amd_l2cacheinfo(struct cpuid_info *cpi, struct l2info *l2i)
4506 if ((ip = l2i->l2i_csz) != NULL)
4508 if ((ip = l2i->l2i_lsz) != NULL)
4510 if ((ip = l2i->l2i_assoc) != NULL)
4512 l2i->l2i_ret = cachesz;
4520 struct l2info __l2info, *l2i = &__l2info;
4522 l2i->l2i_csz = csz;
4523 l2i->l2i_lsz = lsz;
4524 l2i->l2i_assoc = assoc;
4525 l2i->l2i_ret = -1;
4529 intel_walk_cacheinfo(cpi, l2i, intel_l2cinfo);
4532 cyrix_walk_cacheinfo(cpi, l2i, intel_l2cinfo);
4535 amd_l2cacheinfo(cpi, l2i);
4540 return (l2i->l2i_ret);