Lines Matching refs:kobj

43 	struct kobject kobj;  member
74 static void ttm_mem_zone_kobj_release(struct kobject *kobj) in ttm_mem_zone_kobj_release() argument
77 container_of(kobj, struct ttm_mem_zone, kobj); in ttm_mem_zone_kobj_release()
84 static ssize_t ttm_mem_zone_show(struct kobject *kobj, in ttm_mem_zone_show() argument
89 container_of(kobj, struct ttm_mem_zone, kobj); in ttm_mem_zone_show()
111 static ssize_t ttm_mem_zone_store(struct kobject *kobj, in ttm_mem_zone_store() argument
117 container_of(kobj, struct ttm_mem_zone, kobj); in ttm_mem_zone_store()
169 static void ttm_mem_global_kobj_release(struct kobject *kobj) in ttm_mem_global_kobj_release() argument
172 container_of(kobj, struct ttm_mem_global, kobj); in ttm_mem_global_kobj_release()
267 &zone->kobj, &ttm_mem_zone_kobj_type, &glob->kobj, zone->name); in ttm_mem_init_kernel_zone()
269 kobject_put(&zone->kobj); in ttm_mem_init_kernel_zone()
303 &zone->kobj, &ttm_mem_zone_kobj_type, &glob->kobj, zone->name); in ttm_mem_init_highmem_zone()
305 kobject_put(&zone->kobj); in ttm_mem_init_highmem_zone()
350 &zone->kobj, &ttm_mem_zone_kobj_type, &glob->kobj, zone->name); in ttm_mem_init_dma32_zone()
352 kobject_put(&zone->kobj); in ttm_mem_init_dma32_zone()
372 &glob->kobj, &ttm_mem_glob_kobj_type, ttm_get_kobj(), "memory_accounting"); in ttm_mem_global_init()
374 kobject_put(&glob->kobj); in ttm_mem_global_init()
420 kobject_del(&zone->kobj); in ttm_mem_global_release()
421 kobject_put(&zone->kobj); in ttm_mem_global_release()
423 kobject_del(&glob->kobj); in ttm_mem_global_release()
424 kobject_put(&glob->kobj); in ttm_mem_global_release()