Home
last modified time | relevance | path

Searched refs:world (Results 1 – 2 of 2) sorted by relevance

/lib/
Dtest_objagg.c29 struct world { struct
46 static struct objagg_obj *world_obj_get(struct world *world, in world_obj_get() argument
60 if (!world->key_refs[key_id_index(key_id)]) { in world_obj_get()
61 world->objagg_objs[key_id_index(key_id)] = objagg_obj; in world_obj_get()
62 } else if (world->objagg_objs[key_id_index(key_id)] != objagg_obj) { in world_obj_get()
68 world->key_refs[key_id_index(key_id)]++; in world_obj_get()
76 static void world_obj_put(struct world *world, struct objagg *objagg, in world_obj_put() argument
81 if (!world->key_refs[key_id_index(key_id)]) in world_obj_put()
83 objagg_obj = world->objagg_objs[key_id_index(key_id)]; in world_obj_put()
85 world->key_refs[key_id_index(key_id)]--; in world_obj_put()
[all …]
DKconfig.debug1862 tristate "Test module loading with 'hello world' module"
1865 This builds the "test_module" module that emits "Hello, world"