Lines Matching refs:kobj
177 struct kobject kobj; member
202 static void ttm_pool_kobj_release(struct kobject *kobj) in ttm_pool_kobj_release() argument
205 container_of(kobj, struct ttm_pool_manager, kobj); in ttm_pool_kobj_release()
209 static ssize_t ttm_pool_store(struct kobject *kobj, struct attribute *attr, in ttm_pool_store() argument
213 container_of(kobj, struct ttm_pool_manager, kobj); in ttm_pool_store()
243 static ssize_t ttm_pool_show(struct kobject *kobj, struct attribute *attr, in ttm_pool_show() argument
247 container_of(kobj, struct ttm_pool_manager, kobj); in ttm_pool_show()
1076 ret = kobject_init_and_add(&_manager->kobj, &ttm_pool_kobj_type, in ttm_dma_page_alloc_init()
1077 &glob->kobj, "dma_pool"); in ttm_dma_page_alloc_init()
1079 kobject_put(&_manager->kobj); in ttm_dma_page_alloc_init()
1102 kobject_put(&_manager->kobj); in ttm_dma_page_alloc_fini()