Searched refs:refcnts (Results 1 – 2 of 2) sorted by relevance
918 unsigned int *refcnts; in sh_pfc_check_info() local952 refcnts = kcalloc(info->nr_groups, sizeof(*refcnts), GFP_KERNEL); in sh_pfc_check_info()953 if (!refcnts) in sh_pfc_check_info()972 refcnts[k]++; in sh_pfc_check_info()995 if (!refcnts[i]) in sh_pfc_check_info()997 else if (refcnts[i] > 1) in sh_pfc_check_info()999 group->name, refcnts[i]); in sh_pfc_check_info()1002 kfree(refcnts); in sh_pfc_check_info()
1565 atomic_t *refcnts = NULL; in coresight_register() local1585 refcnts = kcalloc(nr_refcnts, sizeof(*refcnts), GFP_KERNEL); in coresight_register()1586 if (!refcnts) { in coresight_register()1592 csdev->refcnt = refcnts; in coresight_register()