Searched refs:refcnts (Results 1 – 2 of 2) sorted by relevance
1039 unsigned int *refcnts; in sh_pfc_check_info() local1136 refcnts = kcalloc(info->nr_groups, sizeof(*refcnts), GFP_KERNEL); in sh_pfc_check_info()1137 if (!refcnts) in sh_pfc_check_info()1156 refcnts[k]++; in sh_pfc_check_info()1177 if (!refcnts[i]) in sh_pfc_check_info()1179 else if (refcnts[i] > 1) in sh_pfc_check_info()1181 group->name, refcnts[i]); in sh_pfc_check_info()1184 kfree(refcnts); in sh_pfc_check_info()
1573 atomic_t *refcnts = NULL; in coresight_register() local1593 refcnts = kcalloc(nr_refcnts, sizeof(*refcnts), GFP_KERNEL); in coresight_register()1594 if (!refcnts) { in coresight_register()1600 csdev->refcnt = refcnts; in coresight_register()