• Home
  • Raw
  • Download

Lines Matching refs:kobj

48 	struct kobject kobj;  member
79 static void ttm_mem_zone_kobj_release(struct kobject *kobj) in ttm_mem_zone_kobj_release() argument
82 container_of(kobj, struct ttm_mem_zone, kobj); in ttm_mem_zone_kobj_release()
89 static ssize_t ttm_mem_zone_show(struct kobject *kobj, in ttm_mem_zone_show() argument
94 container_of(kobj, struct ttm_mem_zone, kobj); in ttm_mem_zone_show()
116 static ssize_t ttm_mem_zone_store(struct kobject *kobj, in ttm_mem_zone_store() argument
122 container_of(kobj, struct ttm_mem_zone, kobj); in ttm_mem_zone_store()
179 static ssize_t ttm_mem_global_show(struct kobject *kobj, in ttm_mem_global_show() argument
184 container_of(kobj, struct ttm_mem_global, kobj); in ttm_mem_global_show()
196 static ssize_t ttm_mem_global_store(struct kobject *kobj, in ttm_mem_global_store() argument
205 container_of(kobj, struct ttm_mem_global, kobj); in ttm_mem_global_store()
321 &zone->kobj, &ttm_mem_zone_kobj_type, &glob->kobj, zone->name); in ttm_mem_init_kernel_zone()
323 kobject_put(&zone->kobj); in ttm_mem_init_kernel_zone()
357 &zone->kobj, &ttm_mem_zone_kobj_type, &glob->kobj, "%s", in ttm_mem_init_highmem_zone()
360 kobject_put(&zone->kobj); in ttm_mem_init_highmem_zone()
405 &zone->kobj, &ttm_mem_zone_kobj_type, &glob->kobj, zone->name); in ttm_mem_init_dma32_zone()
407 kobject_put(&zone->kobj); in ttm_mem_init_dma32_zone()
426 &glob->kobj, &ttm_mem_glob_kobj_type, ttm_get_kobj(), "memory_accounting"); in ttm_mem_global_init()
428 kobject_put(&glob->kobj); in ttm_mem_global_init()
476 kobject_del(&zone->kobj); in ttm_mem_global_release()
477 kobject_put(&zone->kobj); in ttm_mem_global_release()
479 kobject_del(&glob->kobj); in ttm_mem_global_release()
480 kobject_put(&glob->kobj); in ttm_mem_global_release()