nattrs            741 arch/powerpc/kernel/sysfs.c 	int i, nattrs;
nattrs            757 arch/powerpc/kernel/sysfs.c 		nattrs = sizeof(ibm_common_attrs) / sizeof(struct device_attribute);
nattrs            764 arch/powerpc/kernel/sysfs.c 		nattrs = sizeof(g4_common_attrs) / sizeof(struct device_attribute);
nattrs            772 arch/powerpc/kernel/sysfs.c 		nattrs = sizeof(pa6t_attrs) / sizeof(struct device_attribute);
nattrs            778 arch/powerpc/kernel/sysfs.c 		nattrs = 0;
nattrs            782 arch/powerpc/kernel/sysfs.c 	for (i = 0; i < nattrs; i++)
nattrs            832 arch/powerpc/kernel/sysfs.c 	int i, nattrs;
nattrs            846 arch/powerpc/kernel/sysfs.c 		nattrs = sizeof(ibm_common_attrs) / sizeof(struct device_attribute);
nattrs            853 arch/powerpc/kernel/sysfs.c 		nattrs = sizeof(g4_common_attrs) / sizeof(struct device_attribute);
nattrs            861 arch/powerpc/kernel/sysfs.c 		nattrs = sizeof(pa6t_attrs) / sizeof(struct device_attribute);
nattrs            867 arch/powerpc/kernel/sysfs.c 		nattrs = 0;
nattrs            871 arch/powerpc/kernel/sysfs.c 	for (i = 0; i < nattrs; i++)
nattrs            553 drivers/hwmon/hwmon.c 	int ret, i, aindex = 0, nattrs = 0;
nattrs            557 drivers/hwmon/hwmon.c 		nattrs += hwmon_num_channel_attrs(chip->info[i]);
nattrs            559 drivers/hwmon/hwmon.c 	if (nattrs == 0)
nattrs            562 drivers/hwmon/hwmon.c 	attrs = kcalloc(nattrs + 1, sizeof(*attrs), GFP_KERNEL);
nattrs           1290 drivers/hwmon/pmbus/pmbus_core.c 				  int nattrs)
nattrs           1297 drivers/hwmon/pmbus/pmbus_core.c 	for (i = 0; i < nattrs; i++) {
nattrs            371 drivers/hwtracing/intel_th/gth.c 	int i, nattrs = TH_CONFIGURABLE_MASTERS + 2;
nattrs            373 drivers/hwtracing/intel_th/gth.c 	attrs = devm_kcalloc(gth->dev, nattrs, sizeof(void *), GFP_KERNEL);
nattrs            377 drivers/hwtracing/intel_th/gth.c 	master_attrs = devm_kcalloc(gth->dev, nattrs,
nattrs            415 drivers/hwtracing/intel_th/gth.c 	int nattrs = nouts * nparms + 1;
nattrs            417 drivers/hwtracing/intel_th/gth.c 	attrs = devm_kcalloc(gth->dev, nattrs, sizeof(void *), GFP_KERNEL);
nattrs            421 drivers/hwtracing/intel_th/gth.c 	out_attrs = devm_kcalloc(gth->dev, nattrs,