Home
last modified time | relevance | path

Searched refs:refcnts (Results 1 – 2 of 2) sorted by relevance

/drivers/pinctrl/renesas/
Dcore.c918 unsigned int *refcnts; in sh_pfc_check_info() local
952 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()
/drivers/hwtracing/coresight/
Dcoresight-core.c1565 atomic_t *refcnts = NULL; in coresight_register() local
1585 refcnts = kcalloc(nr_refcnts, sizeof(*refcnts), GFP_KERNEL); in coresight_register()
1586 if (!refcnts) { in coresight_register()
1592 csdev->refcnt = refcnts; in coresight_register()