attr_group 211 arch/powerpc/perf/imc-pmu.c struct attribute_group *attr_group; attr_group 259 arch/powerpc/perf/imc-pmu.c attr_group = kzalloc(sizeof(*attr_group), GFP_KERNEL); attr_group 260 arch/powerpc/perf/imc-pmu.c if (!attr_group) { attr_group 275 arch/powerpc/perf/imc-pmu.c kfree(attr_group); attr_group 280 arch/powerpc/perf/imc-pmu.c attr_group->name = "events"; attr_group 281 arch/powerpc/perf/imc-pmu.c attr_group->attrs = attrs; attr_group 309 arch/powerpc/perf/imc-pmu.c pmu->attr_groups[IMC_EVENT_ATTR] = attr_group; attr_group 54 arch/powerpc/platforms/pseries/power.c static struct attribute_group attr_group = { attr_group 63 arch/powerpc/platforms/pseries/power.c return sysfs_create_group(power_kobj, &attr_group); attr_group 938 arch/x86/events/intel/uncore.c } *attr_group; attr_group 941 arch/x86/events/intel/uncore.c attr_group = kzalloc(struct_size(attr_group, attrs, i + 1), attr_group 943 arch/x86/events/intel/uncore.c if (!attr_group) attr_group 946 arch/x86/events/intel/uncore.c attr_group->group.name = "events"; attr_group 947 arch/x86/events/intel/uncore.c attr_group->group.attrs = attr_group->attrs; attr_group 950 arch/x86/events/intel/uncore.c attr_group->attrs[j] = &type->event_descs[j].attr.attr; attr_group 952 arch/x86/events/intel/uncore.c type->events_group = &attr_group->group; attr_group 524 drivers/acpi/power.c const struct attribute_group *attr_group) attr_group 535 drivers/acpi/power.c attr_group->name, attr_group 538 drivers/acpi/power.c sysfs_remove_group(&adev->dev.kobj, attr_group); attr_group 543 drivers/acpi/power.c const struct attribute_group *attr_group) attr_group 551 drivers/acpi/power.c ret = sysfs_create_group(&adev->dev.kobj, attr_group); attr_group 559 drivers/acpi/power.c attr_group->name, attr_group 563 drivers/acpi/power.c acpi_power_hide_list(adev, resources, attr_group); attr_group 571 drivers/acpi/power.c const struct attribute_group *attr_group, attr_group 575 drivers/acpi/power.c acpi_power_expose_list(adev, resources, attr_group); attr_group 577 drivers/acpi/power.c acpi_power_hide_list(adev, resources, attr_group); attr_group 588 drivers/counter/counter.c groups_list[i].attr_group.name = name; attr_group 601 drivers/counter/counter.c kfree(groups_list[i].attr_group.name); attr_group 1087 drivers/counter/counter.c groups_list[i].attr_group.name = name; attr_group 1106 drivers/counter/counter.c kfree(groups_list[i].attr_group.name); attr_group 1269 drivers/counter/counter.c kfree(group->attr_group.name); attr_group 1270 drivers/counter/counter.c kfree(group->attr_group.attrs); attr_group 1346 drivers/counter/counter.c group->attr_group.attrs = kcalloc(group->num_attr + 1, attr_group 1347 drivers/counter/counter.c sizeof(*group->attr_group.attrs), GFP_KERNEL); attr_group 1348 drivers/counter/counter.c if (!group->attr_group.attrs) { attr_group 1356 drivers/counter/counter.c group->attr_group.attrs[j++] = &p->dev_attr.attr; attr_group 1359 drivers/counter/counter.c device_state->groups[i] = &group->attr_group; attr_group 1369 drivers/counter/counter.c kfree(group->attr_group.attrs); attr_group 1370 drivers/counter/counter.c group->attr_group.attrs = NULL; attr_group 574 drivers/gpu/drm/amd/amdkfd/kfd_topology.c kfree(perf->attr_group); attr_group 575 drivers/gpu/drm/amd/amdkfd/kfd_topology.c perf->attr_group = NULL; attr_group 716 drivers/gpu/drm/amd/amdkfd/kfd_topology.c perf->attr_group = kzalloc(sizeof(struct kfd_perf_attr) attr_group 719 drivers/gpu/drm/amd/amdkfd/kfd_topology.c if (!perf->attr_group) attr_group 722 drivers/gpu/drm/amd/amdkfd/kfd_topology.c attrs = (struct attribute **)(perf->attr_group + 1); attr_group 732 drivers/gpu/drm/amd/amdkfd/kfd_topology.c perf->attr_group->name = perf->block_name; attr_group 733 drivers/gpu/drm/amd/amdkfd/kfd_topology.c perf->attr_group->attrs = attrs; attr_group 734 drivers/gpu/drm/amd/amdkfd/kfd_topology.c ret = sysfs_create_group(dev->kobj_perf, perf->attr_group); attr_group 152 drivers/gpu/drm/amd/amdkfd/kfd_topology.h struct attribute_group *attr_group; attr_group 128 drivers/hwmon/asus_atk0110.c struct attribute_group attr_group; attr_group 1180 drivers/hwmon/asus_atk0110.c data->attr_group.attrs = attrs; attr_group 1181 drivers/hwmon/asus_atk0110.c data->attr_groups[0] = &data->attr_group; attr_group 86 drivers/hwmon/coretemp.c struct attribute_group attr_group; attr_group 402 drivers/hwmon/coretemp.c tdata->attr_group.attrs = tdata->attrs; attr_group 403 drivers/hwmon/coretemp.c return sysfs_create_group(&dev->kobj, &tdata->attr_group); attr_group 523 drivers/hwmon/coretemp.c sysfs_remove_group(&pdata->hwmon_dev->kobj, &tdata->attr_group); attr_group 29 drivers/hwmon/iio_hwmon.c struct attribute_group attr_group; attr_group 149 drivers/hwmon/iio_hwmon.c st->attr_group.attrs = st->attrs; attr_group 150 drivers/hwmon/iio_hwmon.c st->groups[0] = &st->attr_group; attr_group 74 drivers/hwtracing/intel_th/core.c if (thdrv->attr_group) { attr_group 75 drivers/hwtracing/intel_th/core.c ret = sysfs_create_group(&thdev->dev.kobj, thdrv->attr_group); attr_group 146 drivers/hwtracing/intel_th/core.c if (thdrv->attr_group) attr_group 147 drivers/hwtracing/intel_th/core.c sysfs_remove_group(&thdev->dev.kobj, thdrv->attr_group); attr_group 179 drivers/hwtracing/intel_th/intel_th.h struct attribute_group *attr_group; attr_group 2126 drivers/hwtracing/intel_th/msu.c .attr_group = &msc_output_group, attr_group 239 drivers/hwtracing/intel_th/pti.c .attr_group = &pti_output_group, attr_group 307 drivers/hwtracing/intel_th/pti.c .attr_group = &lpp_output_group, attr_group 914 drivers/infiniband/core/sysfs.c static void free_hsag(struct kobject *kobj, struct attribute_group *attr_group) attr_group 918 drivers/infiniband/core/sysfs.c sysfs_remove_group(kobj, attr_group); attr_group 920 drivers/infiniband/core/sysfs.c for (attr = attr_group->attrs; *attr; attr++) attr_group 922 drivers/infiniband/core/sysfs.c kfree(attr_group); attr_group 153 drivers/memstick/core/ms_block.h struct attribute_group attr_group; attr_group 166 drivers/memstick/core/mspro_block.c struct attribute_group attr_group; attr_group 1017 drivers/memstick/core/mspro_block.c msb->attr_group.attrs = kcalloc(attr_count + 1, attr_group 1018 drivers/memstick/core/mspro_block.c sizeof(*msb->attr_group.attrs), attr_group 1020 drivers/memstick/core/mspro_block.c if (!msb->attr_group.attrs) { attr_group 1024 drivers/memstick/core/mspro_block.c msb->attr_group.name = "media_attributes"; attr_group 1039 drivers/memstick/core/mspro_block.c msb->attr_group.attrs[cnt] = &s_attr->dev_attr.attr; attr_group 1184 drivers/memstick/core/mspro_block.c for (rc = 0; msb->attr_group.attrs[rc]; ++rc) { attr_group 1185 drivers/memstick/core/mspro_block.c s_attr = mspro_from_sysfs_attr(msb->attr_group.attrs[rc]); attr_group 1264 drivers/memstick/core/mspro_block.c if (msb->attr_group.attrs) { attr_group 1265 drivers/memstick/core/mspro_block.c for (cnt = 0; msb->attr_group.attrs[cnt]; ++cnt) { attr_group 1266 drivers/memstick/core/mspro_block.c s_attr = mspro_from_sysfs_attr(msb->attr_group attr_group 1271 drivers/memstick/core/mspro_block.c kfree(msb->attr_group.attrs); attr_group 1301 drivers/memstick/core/mspro_block.c rc = sysfs_create_group(&card->dev.kobj, &msb->attr_group); attr_group 1313 drivers/memstick/core/mspro_block.c sysfs_remove_group(&card->dev.kobj, &msb->attr_group); attr_group 1338 drivers/memstick/core/mspro_block.c sysfs_remove_group(&card->dev.kobj, &msb->attr_group); attr_group 1388 drivers/memstick/core/mspro_block.c for (cnt = 0; new_msb->attr_group.attrs[cnt] attr_group 1389 drivers/memstick/core/mspro_block.c && msb->attr_group.attrs[cnt]; ++cnt) { attr_group 1390 drivers/memstick/core/mspro_block.c s_attr = mspro_from_sysfs_attr(new_msb->attr_group.attrs[cnt]); attr_group 1391 drivers/memstick/core/mspro_block.c r_attr = mspro_from_sysfs_attr(msb->attr_group.attrs[cnt]); attr_group 45 drivers/misc/mic/bus/cosm_bus.h const struct attribute_group **attr_group; attr_group 257 drivers/misc/mic/cosm/cosm_main.c MKDEV(0, cdev->index), cdev, cdev->attr_group, attr_group 448 drivers/misc/mic/cosm/cosm_sysfs.c cdev->attr_group = cosm_default_groups; attr_group 56 drivers/mtd/sm_ftl.c struct attribute_group *attr_group; attr_group 89 drivers/mtd/sm_ftl.c attr_group = kzalloc(sizeof(struct attribute_group), GFP_KERNEL); attr_group 90 drivers/mtd/sm_ftl.c if (!attr_group) attr_group 92 drivers/mtd/sm_ftl.c attr_group->attrs = attributes; attr_group 93 drivers/mtd/sm_ftl.c return attr_group; attr_group 99 drivers/regulator/userspace-consumer.c static const struct attribute_group attr_group = { attr_group 132 drivers/regulator/userspace-consumer.c ret = sysfs_create_group(&pdev->dev.kobj, &attr_group); attr_group 152 drivers/regulator/userspace-consumer.c sysfs_remove_group(&pdev->dev.kobj, &attr_group); attr_group 161 drivers/regulator/userspace-consumer.c sysfs_remove_group(&pdev->dev.kobj, &attr_group); attr_group 113 drivers/s390/cio/cmf.c struct attribute_group *attr_group; attr_group 721 drivers/s390/cio/cmf.c .attr_group = &cmf_attr_group, attr_group 974 drivers/s390/cio/cmf.c .attr_group = &cmf_attr_group_ext, attr_group 1142 drivers/s390/cio/cmf.c ret = sysfs_create_group(&cdev->dev.kobj, cmbops->attr_group); attr_group 1149 drivers/s390/cio/cmf.c sysfs_remove_group(&cdev->dev.kobj, cmbops->attr_group); attr_group 1177 drivers/s390/cio/cmf.c sysfs_remove_group(&cdev->dev.kobj, cmbops->attr_group); attr_group 339 drivers/scsi/iscsi_boot_sysfs.c struct attribute_group *attr_group, attr_group 363 drivers/scsi/iscsi_boot_sysfs.c if (sysfs_create_group(&boot_kobj->kobj, attr_group)) { attr_group 374 drivers/scsi/iscsi_boot_sysfs.c boot_kobj->attr_group = attr_group; attr_group 385 drivers/scsi/iscsi_boot_sysfs.c sysfs_remove_group(&boot_kobj->kobj, boot_kobj->attr_group); attr_group 29 drivers/staging/greybus/light.c struct attribute_group *attr_group; attr_group 293 drivers/staging/greybus/light.c channel->attr_group = kcalloc(1, sizeof(*channel->attr_group), attr_group 295 drivers/staging/greybus/light.c if (!channel->attr_group) attr_group 309 drivers/staging/greybus/light.c channel->attr_group->attrs = channel->attrs; attr_group 311 drivers/staging/greybus/light.c channel->attr_groups[0] = channel->attr_group; attr_group 1080 drivers/staging/greybus/light.c kfree(channel->attr_group); attr_group 2983 drivers/tty/serial/8250/8250_port.c up->port.attr_group = &serial8250_dev_attr_group; attr_group 2843 drivers/tty/serial/serial_core.c if (uport->attr_group) attr_group 2853 drivers/tty/serial/serial_core.c if (uport->attr_group) attr_group 2854 drivers/tty/serial/serial_core.c uport->tty_groups[1] = uport->attr_group; attr_group 770 fs/ecryptfs/main.c static const struct attribute_group attr_group = { attr_group 784 fs/ecryptfs/main.c rc = sysfs_create_group(ecryptfs_kobj, &attr_group); attr_group 796 fs/ecryptfs/main.c sysfs_remove_group(ecryptfs_kobj, &attr_group); attr_group 272 include/linux/counter.h struct attribute_group attr_group; attr_group 69 include/linux/iscsi_boot_sysfs.h struct attribute_group *attr_group; attr_group 251 include/linux/serial_core.h struct attribute_group *attr_group; /* port specific attributes */ attr_group 1162 kernel/power/hibernate.c static const struct attribute_group attr_group = { attr_group 1169 kernel/power/hibernate.c return sysfs_create_group(power_kobj, &attr_group); attr_group 879 kernel/power/main.c static const struct attribute_group attr_group = { attr_group 884 kernel/power/main.c &attr_group, attr_group 105 samples/kobject/kobject-example.c static struct attribute_group attr_group = { attr_group 129 samples/kobject/kobject-example.c retval = sysfs_create_group(example_kobj, &attr_group);