Searched refs:refcnts (Results 1 – 2 of 2) sorted by relevance
771 unsigned int *refcnts; in sh_pfc_check_info() local806 refcnts = kcalloc(info->nr_groups, sizeof(*refcnts), GFP_KERNEL); in sh_pfc_check_info()807 if (!refcnts) in sh_pfc_check_info()822 refcnts[k]++; in sh_pfc_check_info()841 if (!refcnts[i]) { in sh_pfc_check_info()845 } else if (refcnts[i] > 1) { in sh_pfc_check_info()847 drvname, info->groups[i].name, refcnts[i]); in sh_pfc_check_info()852 kfree(refcnts); in sh_pfc_check_info()
1193 atomic_t *refcnts = NULL; in coresight_register() local1212 refcnts = kcalloc(nr_refcnts, sizeof(*refcnts), GFP_KERNEL); in coresight_register()1213 if (!refcnts) { in coresight_register()1218 csdev->refcnt = refcnts; in coresight_register()