Searched refs:kobj_topology (Results 1 – 2 of 2) sorted by relevance
773 if (!sys_props.kobj_topology) { in kfd_topology_update_sysfs()774 sys_props.kobj_topology = in kfd_topology_update_sysfs()775 kfd_alloc_struct(sys_props.kobj_topology); in kfd_topology_update_sysfs()776 if (!sys_props.kobj_topology) in kfd_topology_update_sysfs()779 ret = kobject_init_and_add(sys_props.kobj_topology, in kfd_topology_update_sysfs()786 sys_props.kobj_topology); in kfd_topology_update_sysfs()793 ret = sysfs_create_file(sys_props.kobj_topology, in kfd_topology_update_sysfs()801 ret = sysfs_create_file(sys_props.kobj_topology, in kfd_topology_update_sysfs()815 if (sys_props.kobj_topology) { in kfd_topology_release_sysfs()816 sysfs_remove_file(sys_props.kobj_topology, in kfd_topology_release_sysfs()[all …]
186 struct kobject *kobj_topology; member