Lines Matching refs:lwp_avl_struct
66 static struct lwp_avl_struct lwp_pid_ary[RT_LWP_MAX_NR];
67 static struct lwp_avl_struct *lwp_pid_free_head = RT_NULL;
69 static struct lwp_avl_struct *lwp_pid_root = RT_NULL;
119 static int _before_cb(struct lwp_avl_struct *node, void *data) in _before_cb()
142 struct lwp_avl_struct *lwp_get_pid_ary(void) in lwp_get_pid_ary()
149 struct lwp_avl_struct *p; in lwp_pid_get_locked()
155 lwp_pid_free_head = (struct lwp_avl_struct *)p->avl_right; in lwp_pid_get_locked()
195 struct lwp_avl_struct *p; in lwp_pid_put_locked()
249 struct lwp_avl_struct *p; in lwp_pid_set_lwp_locked()
327 struct lwp_avl_struct *node; in lwp_user_object_add()
329 node = (struct lwp_avl_struct *)rt_malloc(sizeof(struct lwp_avl_struct)); in lwp_user_object_add()
343 static rt_err_t _object_node_delete(struct rt_lwp *lwp, struct lwp_avl_struct *node) in _object_node_delete()
400 struct lwp_avl_struct *node; in lwp_user_object_delete()
412 struct lwp_avl_struct *node; in lwp_user_object_clear()
422 static int _object_dup(struct lwp_avl_struct *node, void *arg) in _object_dup()
755 struct lwp_avl_struct *p; in lwp_from_pid_raw_locked()