Searched refs:resource (Results 1 – 5 of 5) sorted by relevance
340 struct kunit_resource *resource; in kasan_update_kunit_status() local343 resource = kunit_find_named_resource(cur_test, "kasan_status"); in kasan_update_kunit_status()345 if (!resource) { in kasan_update_kunit_status()350 status = (struct kunit_kasan_status *)resource->data; in kasan_update_kunit_status()353 kunit_put_resource(resource); in kasan_update_kunit_status()
178 static struct resource *register_memory_resource(u64 start, u64 size, in register_memory_resource()181 struct resource *res; in register_memory_resource()215 static void release_memory_resource(struct resource *res) in release_memory_resource()1357 int __ref add_memory_resource(int nid, struct resource *res, mhp_t mhp_flags) in add_memory_resource()1472 struct resource *res; in __add_memory()1500 struct resource *res; in add_memory_subsection()1566 struct resource *res; in add_memory_driver_managed()
541 struct kunit_resource *resource; in slab_add_kunit_errors() local546 resource = kunit_find_named_resource(current->kunit_test, "slab_errors"); in slab_add_kunit_errors()547 if (!resource) in slab_add_kunit_errors()550 (*(int *)resource->data)++; in slab_add_kunit_errors()551 kunit_put_resource(resource); in slab_add_kunit_errors()
26 system in terms of performance and resource consumption
225 static int walk_system_ram(struct resource *res, void *arg) in walk_system_ram()