Lines Matching refs:kobj
175 struct kobject kobj; member
200 static void ttm_pool_kobj_release(struct kobject *kobj) in ttm_pool_kobj_release() argument
203 container_of(kobj, struct ttm_pool_manager, kobj); in ttm_pool_kobj_release()
207 static ssize_t ttm_pool_store(struct kobject *kobj, struct attribute *attr, in ttm_pool_store() argument
211 container_of(kobj, struct ttm_pool_manager, kobj); in ttm_pool_store()
241 static ssize_t ttm_pool_show(struct kobject *kobj, struct attribute *attr, in ttm_pool_show() argument
245 container_of(kobj, struct ttm_pool_manager, kobj); in ttm_pool_show()
1074 ret = kobject_init_and_add(&_manager->kobj, &ttm_pool_kobj_type, in ttm_dma_page_alloc_init()
1075 &glob->kobj, "dma_pool"); in ttm_dma_page_alloc_init()
1077 kobject_put(&_manager->kobj); in ttm_dma_page_alloc_init()
1100 kobject_put(&_manager->kobj); in ttm_dma_page_alloc_fini()