Home
last modified time | relevance | path

Searched refs:lwp_avl_struct (Results 1 – 15 of 15) sorted by relevance

/components/lwp/
A Dlwp_avl.h23 #define AVL_EMPTY (struct lwp_avl_struct *)0
27 struct lwp_avl_struct struct
29 struct lwp_avl_struct *avl_left; argument
30 struct lwp_avl_struct *avl_right; argument
36 void lwp_avl_remove(struct lwp_avl_struct * node_to_delete, struct lwp_avl_struct ** ptree); argument
37 void lwp_avl_insert (struct lwp_avl_struct * new_node, struct lwp_avl_struct ** ptree);
38 struct lwp_avl_struct* lwp_avl_find(avl_key_t key, struct lwp_avl_struct* ptree);
39 int lwp_avl_traversal(struct lwp_avl_struct* ptree, int (*fun)(struct lwp_avl_struct*, void *), voi…
40 struct lwp_avl_struct* lwp_map_find_first(struct lwp_avl_struct* ptree);
A Dlwp_avl.c18 struct lwp_avl_struct *node = *nodeplace; in lwp_avl_rebalance()
79 void lwp_avl_remove(struct lwp_avl_struct *node_to_delete, struct lwp_avl_struct **ptree) in lwp_avl_remove()
82 struct lwp_avl_struct **nodeplace = ptree; in lwp_avl_remove()
115 struct lwp_avl_struct *node; in lwp_avl_remove()
135 void lwp_avl_insert(struct lwp_avl_struct *new_node, struct lwp_avl_struct **ptree) in lwp_avl_insert()
138 struct lwp_avl_struct **nodeplace = ptree; in lwp_avl_insert()
161 struct lwp_avl_struct *lwp_avl_find(avl_key_t key, struct lwp_avl_struct *ptree) in lwp_avl_find()
167 return (struct lwp_avl_struct *)0; in lwp_avl_find()
179 int lwp_avl_traversal(struct lwp_avl_struct *ptree, int (*fun)(struct lwp_avl_struct *, void *), vo… in lwp_avl_traversal() argument
211 rt_weak struct lwp_avl_struct* lwp_map_find_first(struct lwp_avl_struct* ptree) in lwp_map_find_first()
[all …]
A Dlwp_tid.c33 static struct lwp_avl_struct lwp_tid_ary[LWP_TID_MAX_NR];
34 static struct lwp_avl_struct *lwp_tid_free_head = RT_NULL;
36 static struct lwp_avl_struct *lwp_tid_root = RT_NULL;
48 struct lwp_avl_struct *p; in lwp_tid_get()
55 lwp_tid_free_head = (struct lwp_avl_struct *)p->avl_right; in lwp_tid_get()
102 struct lwp_avl_struct *p; in lwp_tid_put()
138 struct lwp_avl_struct *p; in lwp_tid_get_thread_raw()
184 struct lwp_avl_struct *p; in lwp_tid_set_thread()
A Dlwp_shm.c32 static struct lwp_avl_struct *shm_tree_key;
33 static struct lwp_avl_struct *shm_tree_pa;
112 struct lwp_avl_struct *node_key = 0; in _lwp_shmget()
113 struct lwp_avl_struct *node_pa = 0; in _lwp_shmget()
161 node_key = (struct lwp_avl_struct *)rt_malloc(sizeof(struct lwp_avl_struct) * 2); in _lwp_shmget()
206 struct lwp_avl_struct *node_key = 0; in shm_id_to_node()
231 struct lwp_avl_struct *node_key = RT_NULL; in _lwp_shmrm()
232 struct lwp_avl_struct *node_pa = RT_NULL; in _lwp_shmrm()
271 struct lwp_avl_struct *node_key = RT_NULL; in _lwp_shmat()
321 struct lwp_avl_struct *node_pa = RT_NULL; in _lwp_shm_struct_get()
[all …]
A Dlwp_pid.c66 static struct lwp_avl_struct lwp_pid_ary[RT_LWP_MAX_NR];
69 static struct lwp_avl_struct *lwp_pid_root = RT_NULL;
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()
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()
400 struct lwp_avl_struct *node; in lwp_user_object_delete()
412 struct lwp_avl_struct *node; in lwp_user_object_clear()
[all …]
A Dlwp_futex_internal.h39 struct lwp_avl_struct node;
A Dlwp_pid.h27 struct lwp_avl_struct *lwp_get_pid_ary(void);
A Dlwp.h178 struct lwp_avl_struct *object_root;
185 struct lwp_avl_struct *address_search_head; /* for addressed object fast search */
A Dlwp_futex.c86 (struct lwp_avl_struct **)futex->node.data); in _pftx_destroy_locked()
175 struct lwp_avl_struct *node = RT_NULL; in _pftx_get()
A Dlwp_syscall.c8722 struct lwp_avl_struct *pids = lwp_get_pid_ary(); in sys_sysinfo()
/components/dfs/dfs_v2/include/
A Ddfs_file.h34 struct lwp_avl_struct;
51 int (*mmap)(struct dfs_file *file, struct lwp_avl_struct *mmap);
/components/lwp/terminal/
A Dtty_ptmx.c249 static int ptm_fops_mmap(struct dfs_file *file, struct lwp_avl_struct *mmap) in ptm_fops_mmap()
A Dtty_device.c265 static int tty_fops_mmap(struct dfs_file *file, struct lwp_avl_struct *mmap) in tty_fops_mmap()
/components/dfs/dfs_v2/filesystems/devfs/
A Ddevfs.c347 static int dfs_devfs_mmap(struct dfs_file *file, struct lwp_avl_struct *mmap) in dfs_devfs_mmap()
/components/dfs/dfs_v1/src/
A Ddfs.c1053 struct lwp_avl_struct *pids = lwp_get_pid_ary(); in lsof()

Completed in 50 milliseconds