Searched refs:kobj_node (Results 1 – 2 of 2) sorted by relevance
582 if (dev->kobj_node) { in kfd_remove_sysfs_node_entry()583 sysfs_remove_file(dev->kobj_node, &dev->attr_gpuid); in kfd_remove_sysfs_node_entry()584 sysfs_remove_file(dev->kobj_node, &dev->attr_name); in kfd_remove_sysfs_node_entry()585 sysfs_remove_file(dev->kobj_node, &dev->attr_props); in kfd_remove_sysfs_node_entry()586 kobject_del(dev->kobj_node); in kfd_remove_sysfs_node_entry()587 kobject_put(dev->kobj_node); in kfd_remove_sysfs_node_entry()588 dev->kobj_node = NULL; in kfd_remove_sysfs_node_entry()603 if (WARN_ON(dev->kobj_node)) in kfd_build_sysfs_node_entry()609 dev->kobj_node = kfd_alloc_struct(dev->kobj_node); in kfd_build_sysfs_node_entry()610 if (!dev->kobj_node) in kfd_build_sysfs_node_entry()[all …]
167 struct kobject *kobj_node; member