Lines Matching refs:kobj
111 struct kobject kobj; member
146 static void ttm_pool_kobj_release(struct kobject *kobj) in ttm_pool_kobj_release() argument
149 container_of(kobj, struct ttm_pool_manager, kobj); in ttm_pool_kobj_release()
153 static ssize_t ttm_pool_store(struct kobject *kobj, in ttm_pool_store() argument
157 container_of(kobj, struct ttm_pool_manager, kobj); in ttm_pool_store()
187 static ssize_t ttm_pool_show(struct kobject *kobj, in ttm_pool_show() argument
191 container_of(kobj, struct ttm_pool_manager, kobj); in ttm_pool_show()
836 ret = kobject_init_and_add(&_manager->kobj, &ttm_pool_kobj_type, in ttm_page_alloc_init()
837 &glob->kobj, "pool"); in ttm_page_alloc_init()
839 kobject_put(&_manager->kobj); in ttm_page_alloc_init()
860 kobject_put(&_manager->kobj); in ttm_page_alloc_fini()