Searched refs:kobj_node (Results 1 – 2 of 2) sorted by relevance
635 if (dev->kobj_node) { in kfd_remove_sysfs_node_entry()636 sysfs_remove_file(dev->kobj_node, &dev->attr_gpuid); in kfd_remove_sysfs_node_entry()637 sysfs_remove_file(dev->kobj_node, &dev->attr_name); in kfd_remove_sysfs_node_entry()638 sysfs_remove_file(dev->kobj_node, &dev->attr_props); in kfd_remove_sysfs_node_entry()639 kobject_del(dev->kobj_node); in kfd_remove_sysfs_node_entry()640 kobject_put(dev->kobj_node); in kfd_remove_sysfs_node_entry()641 dev->kobj_node = NULL; in kfd_remove_sysfs_node_entry()657 if (WARN_ON(dev->kobj_node)) in kfd_build_sysfs_node_entry()663 dev->kobj_node = kfd_alloc_struct(dev->kobj_node); in kfd_build_sysfs_node_entry()664 if (!dev->kobj_node) in kfd_build_sysfs_node_entry()[all …]
153 struct kobject *kobj_node; member