Lines Matching full:information
213 * This function will return the specified type of object information.
216 * @return the object type information or RT_NULL
243 struct rt_object_information *information; in rt_object_init() local
248 /* get object information */ in rt_object_init()
249 information = rt_object_get_information(type); in rt_object_init()
250 RT_ASSERT(information != RT_NULL); in rt_object_init()
274 /* insert object into information object list */ in rt_object_init()
275 rt_list_insert_after(&(information->object_list), &(object->list)); in rt_object_init()
323 struct rt_object_information *information; in rt_object_allocate() local
330 /* get object information */ in rt_object_allocate()
331 information = rt_object_get_information(type); in rt_object_allocate()
332 RT_ASSERT(information != RT_NULL); in rt_object_allocate()
334 object = (struct rt_object *)RT_KERNEL_MALLOC(information->object_size); in rt_object_allocate()
342 rt_memset(object, 0x0, information->object_size); in rt_object_allocate()
369 /* insert object into information object list */ in rt_object_allocate()
370 rt_list_insert_after(&(information->object_list), &(object->list)); in rt_object_allocate()
464 struct rt_object_information *information = RT_NULL; in rt_object_find() local
477 if (information == RT_NULL) in rt_object_find()
479 information = rt_object_get_information((enum rt_object_class_type)type); in rt_object_find()
480 RT_ASSERT(information != RT_NULL); in rt_object_find()
482 for (node = information->object_list.next; in rt_object_find()
483 node != &(information->object_list); in rt_object_find()