/netbsd-current/sys/rump/librump/rumpkern/arch/generic/ |
H A D | rump_generic_kobj.c | 35 #include <sys/kobj.h>
|
/netbsd-current/sys/external/bsd/drm2/dist/drm/ttm/ |
H A D | ttm_module.c | 66 struct kobject *kobj = &ttm_drm_class_device.kobj; local 67 BUG_ON(kobj == NULL); 68 return kobj;
|
H A D | ttm_memory.c | 54 struct kobject kobj; member in struct:ttm_mem_zone 87 static void ttm_mem_zone_kobj_release(struct kobject *kobj) argument 90 container_of(kobj, struct ttm_mem_zone, kobj); 97 static ssize_t ttm_mem_zone_show(struct kobject *kobj, argument 102 container_of(kobj, struct ttm_mem_zone, kobj); 124 static ssize_t ttm_mem_zone_store(struct kobject *kobj, argument 130 container_of(kobj, struct ttm_mem_zone, kobj); 187 ttm_mem_global_show(struct kobject *kobj, struct attribute *attr, char *buffer) argument 204 ttm_mem_global_store(struct kobject *kobj, struct attribute *attr, const char *buffer, size_t size) argument [all...] |
H A D | ttm_page_alloc_dma.c | 173 struct kobject kobj; member in struct:ttm_pool_manager 198 static void ttm_pool_kobj_release(struct kobject *kobj) argument 201 container_of(kobj, struct ttm_pool_manager, kobj); 205 static ssize_t ttm_pool_store(struct kobject *kobj, struct attribute *attr, argument 209 container_of(kobj, struct ttm_pool_manager, kobj); 240 static ssize_t ttm_pool_show(struct kobject *kobj, struct attribute *attr, argument 244 container_of(kobj, struct ttm_pool_manager, kobj); [all...] |
H A D | ttm_page_alloc.c | 114 struct kobject kobj; member in struct:ttm_pool_manager 151 static void ttm_pool_kobj_release(struct kobject *kobj) argument 154 container_of(kobj, struct ttm_pool_manager, kobj); 158 static ssize_t ttm_pool_store(struct kobject *kobj, argument 162 container_of(kobj, struct ttm_pool_manager, kobj); 192 static ssize_t ttm_pool_show(struct kobject *kobj, argument 196 container_of(kobj, struct ttm_pool_manager, kobj); [all...] |
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
H A D | amdgpu_xgmi.c | 92 if (WARN_ON(hive->kobj)) 95 hive->kobj = kobject_create_and_add("xgmi_hive_info", &adev->dev->kobj); 96 if (!hive->kobj) { 110 ret = sysfs_create_file(hive->kobj, &hive->dev_attr.attr); 113 kobject_del(hive->kobj); 114 kobject_put(hive->kobj); 115 hive->kobj = NULL; 126 sysfs_remove_file(hive->kobj, &hive->dev_attr.attr); 127 kobject_del(hive->kobj); [all...] |
H A D | amdgpu_xgmi.h | 35 struct kobject *kobj; member in struct:amdgpu_hive_info
|
/netbsd-current/sys/sys/ |
H A D | kobj.h | 1 /* $NetBSD: kobj.h,v 1.21 2023/04/28 07:33:57 skrll Exp $ */ 39 typedef struct kobj *kobj_t;
|
H A D | kobj_impl.h | 60 * Data structures private to kobj, shared only with kernel grovellers. 69 #include <sys/kobj.h> 105 struct kobj { struct
|
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/ |
H A D | i915_sysfs.c | 168 i915_l3_read(struct file *filp, struct kobject *kobj, argument 172 struct device *kdev = kobj_to_dev(kobj); 196 i915_l3_write(struct file *filp, struct kobject *kobj, argument 200 struct device *kdev = kobj_to_dev(kobj); 499 static ssize_t error_state_read(struct file *filp, struct kobject *kobj, argument 504 struct device *kdev = kobj_to_dev(kobj); 526 static ssize_t error_state_write(struct file *file, struct kobject *kobj, argument 530 struct device *kdev = kobj_to_dev(kobj); 549 if (sysfs_create_bin_file(&kdev->kobj, &error_state_attr)) 555 sysfs_remove_bin_file(&kdev->kobj, [all...] |
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/amdkfd/ |
H A D | kfd_topology.c | 229 static ssize_t sysprops_show(struct kobject *kobj, struct attribute *attr, argument 253 static void kfd_topology_kobj_release(struct kobject *kobj) argument 255 kfree(kobj); 267 static ssize_t iolink_show(struct kobject *kobj, struct attribute *attr, argument 305 static ssize_t mem_show(struct kobject *kobj, struct attribute *attr, argument 335 static ssize_t kfd_cache_show(struct kobject *kobj, struct attribute *attr, argument 390 static ssize_t perf_show(struct kobject *kobj, struct kobj_attribute *attrs, argument 416 static ssize_t node_show(struct kobject *kobj, struct attribute *attr, argument 544 static void kfd_remove_sysfs_file(struct kobject *kobj, struct attribute *attr) argument 546 sysfs_remove_file(kobj, att [all...] |
H A D | kfd_process.c | 78 struct kobject *kobj; member in struct:kfd_procfs_tree 83 static ssize_t kfd_procfs_show(struct kobject *kobj, struct attribute *attr, argument 100 static void kfd_procfs_kobj_release(struct kobject *kobj) argument 102 kfree(kobj); 118 procfs.kobj = kfd_alloc_struct(procfs.kobj); 119 if (!procfs.kobj) 122 ret = kobject_init_and_add(procfs.kobj, &procfs_type, 123 &kfd_device->kobj, "proc"); 133 if (procfs.kobj) { [all...] |
H A D | kfd_topology.h | 110 struct kobject *kobj; member in struct:kfd_mem_properties 132 struct kobject *kobj; member in struct:kfd_cache_properties 151 struct kobject *kobj; member in struct:kfd_iolink_properties
|
/netbsd-current/external/cddl/osnet/dist/uts/common/ctf/ |
H A D | ctf_subr.c | 30 #include <sys/kobj.h>
|
/netbsd-current/external/cddl/osnet/sys/sys/ |
H A D | kobj.h | 1 /* $NetBSD: kobj.h,v 1.4 2018/05/28 21:05:10 chs Exp $ */ 28 * $FreeBSD: head/sys/cddl/compat/opensolaris/sys/kobj.h 177698 2008-03-28 22:16:18Z jb $ 36 #include_next <sys/kobj.h>
|
/netbsd-current/external/cddl/osnet/dist/uts/common/zmod/ |
H A D | zmod_subr.c | 31 #include <sys/kobj.h>
|
/netbsd-current/sys/external/bsd/drm2/dist/include/drm/ttm/ |
H A D | ttm_memory.h | 70 struct kobject kobj; member in struct:ttm_mem_global
|
/netbsd-current/sys/arch/m68k/m68k/ |
H A D | kobj_machdep.c | 36 #include <sys/kobj.h>
|
/netbsd-current/sys/arch/sh3/sh3/ |
H A D | kobj_machdep.c | 36 #include <sys/kobj.h>
|
/netbsd-current/sys/arch/vax/vax/ |
H A D | kobj_machdep.c | 33 #include <sys/kobj.h>
|
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/gvt/ |
H A D | gvt.c | 72 static ssize_t available_instances_show(struct kobject *kobj, argument 79 type = intel_gvt_find_vgpu_type(gvt, kobject_name(kobj)); 88 static ssize_t device_api_show(struct kobject *kobj, struct device *dev, argument 94 static ssize_t description_show(struct kobject *kobj, struct device *dev, argument 100 type = intel_gvt_find_vgpu_type(gvt, kobject_name(kobj));
|
/netbsd-current/sys/rump/librump/rumpkern/ |
H A D | kobj_rename.c | 36 #include <sys/kobj.h>
|
/netbsd-current/sys/arch/powerpc/powerpc/ |
H A D | kobj_machdep.c | 61 #include <sys/kobj.h>
|
/netbsd-current/sys/arch/i386/i386/ |
H A D | kobj_machdep.c | 65 #include <sys/kobj.h>
|
/netbsd-current/sys/arch/alpha/alpha/ |
H A D | kobj_machdep.c | 61 #include <sys/kobj.h>
|