Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/pinctrl/renesas/
Dcore.c1045 unsigned int *refcnts; in sh_pfc_check_info() local
1142 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()
/linux-6.1.9/drivers/hwtracing/coresight/
Dcoresight-core.c1601 atomic_t *refcnts = NULL; in coresight_register() local
1621 refcnts = kcalloc(nr_refcnts, sizeof(*refcnts), GFP_KERNEL); in coresight_register()
1622 if (!refcnts) { in coresight_register()
1628 csdev->refcnt = refcnts; in coresight_register()