Searched refs:my_obj (Results 1 – 2 of 2) sorted by relevance
| /xnu-11215/osfmk/tests/ |
| H A D | kernel_tests.c | 2150 int my_obj; in thread_use_cache() local 2153 my_obj = ((info->value--) % (CACHE_SIZE + 1)) + 1; in thread_use_cache() 2156 T_LOG("Thread %p started and it is going to use obj %d", current_thread(), my_obj); in thread_use_cache() 2162 int my_string_size = snprintf(my_string, OBJ_BUFF_SIZE, "I am %d", my_obj); in thread_use_cache() 2172 while (get_obj_cache(my_obj, info, &buff) == -1) { in thread_use_cache() 2178 …ing, my_string_size) == 0, "reflock: thread %p obj_id %d value in buff", current_thread(), my_obj); in thread_use_cache() 2180 …ing, my_string_size) == 0, "reflock: thread %p obj_id %d value in buff", current_thread(), my_obj); in thread_use_cache() 2181 put_obj_cache(my_obj, info, (i % 2 == 0)); in thread_use_cache()
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOUserClient.cpp | 2412 const OSMetaClass* my_obj = NULL; in is_io_object_get_class() local 2418 my_obj = object->getMetaClass(); in is_io_object_get_class() 2419 if (!my_obj) { in is_io_object_get_class() 2423 strlcpy( className, my_obj->getClassName(), sizeof(io_name_t)); in is_io_object_get_class()
|