Searched refs:kobj_topology (Results 1 – 2 of 2) sorted by relevance
856 if (!sys_props.kobj_topology) { in kfd_topology_update_sysfs()857 sys_props.kobj_topology = in kfd_topology_update_sysfs()858 kfd_alloc_struct(sys_props.kobj_topology); in kfd_topology_update_sysfs()859 if (!sys_props.kobj_topology) in kfd_topology_update_sysfs()862 ret = kobject_init_and_add(sys_props.kobj_topology, in kfd_topology_update_sysfs()866 kobject_put(sys_props.kobj_topology); in kfd_topology_update_sysfs()871 sys_props.kobj_topology); in kfd_topology_update_sysfs()878 ret = sysfs_create_file(sys_props.kobj_topology, in kfd_topology_update_sysfs()886 ret = sysfs_create_file(sys_props.kobj_topology, in kfd_topology_update_sysfs()900 if (sys_props.kobj_topology) { in kfd_topology_release_sysfs()[all …]
168 struct kobject *kobj_topology; member