Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdkfd/
Dkfd_process.c601 struct kobject *kobj_counters; in kfd_procfs_add_sysfs_counters() local
605 kobj_counters = kfd_alloc_struct(kobj_counters); in kfd_procfs_add_sysfs_counters()
606 if (!kobj_counters) in kfd_procfs_add_sysfs_counters()
609 ret = kobject_init_and_add(kobj_counters, &sysfs_counters_type, in kfd_procfs_add_sysfs_counters()
614 kobject_put(kobj_counters); in kfd_procfs_add_sysfs_counters()
618 pdd->kobj_counters = kobj_counters; in kfd_procfs_add_sysfs_counters()
619 kfd_sysfs_create_file(kobj_counters, &pdd->attr_faults, in kfd_procfs_add_sysfs_counters()
621 kfd_sysfs_create_file(kobj_counters, &pdd->attr_page_in, in kfd_procfs_add_sysfs_counters()
623 kfd_sysfs_create_file(kobj_counters, &pdd->attr_page_out, in kfd_procfs_add_sysfs_counters()
1095 sysfs_remove_file(pdd->kobj_counters, &pdd->attr_faults); in kfd_process_remove_sysfs()
[all …]
Dkfd_priv.h778 struct kobject *kobj_counters; member