Searched refs:refcnts (Results 1 – 2 of 2) sorted by relevance
1045 unsigned int *refcnts; in sh_pfc_check_info() local1142 refcnts = kcalloc(info->nr_groups, sizeof(*refcnts), GFP_KERNEL); in sh_pfc_check_info()1143 if (!refcnts) in sh_pfc_check_info()1162 refcnts[k]++; in sh_pfc_check_info()1183 if (!refcnts[i]) in sh_pfc_check_info()1185 else if (refcnts[i] > 1) in sh_pfc_check_info()1187 group->name, refcnts[i]); in sh_pfc_check_info()1190 kfree(refcnts); in sh_pfc_check_info()
1601 atomic_t *refcnts = NULL; in coresight_register() local1621 refcnts = kcalloc(nr_refcnts, sizeof(*refcnts), GFP_KERNEL); in coresight_register()1622 if (!refcnts) { in coresight_register()1628 csdev->refcnt = refcnts; in coresight_register()