Searched refs:lwp_avl_struct (Results 1 – 15 of 15) sorted by relevance
/components/lwp/ |
A D | lwp_avl.h | 23 #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 D | lwp_avl.c | 18 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 D | lwp_tid.c | 33 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 D | lwp_shm.c | 32 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 D | lwp_pid.c | 66 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 D | lwp_futex_internal.h | 39 struct lwp_avl_struct node;
|
A D | lwp_pid.h | 27 struct lwp_avl_struct *lwp_get_pid_ary(void);
|
A D | lwp.h | 178 struct lwp_avl_struct *object_root; 185 struct lwp_avl_struct *address_search_head; /* for addressed object fast search */
|
A D | lwp_futex.c | 86 (struct lwp_avl_struct **)futex->node.data); in _pftx_destroy_locked() 175 struct lwp_avl_struct *node = RT_NULL; in _pftx_get()
|
A D | lwp_syscall.c | 8722 struct lwp_avl_struct *pids = lwp_get_pid_ary(); in sys_sysinfo()
|
/components/dfs/dfs_v2/include/ |
A D | dfs_file.h | 34 struct lwp_avl_struct; 51 int (*mmap)(struct dfs_file *file, struct lwp_avl_struct *mmap);
|
/components/lwp/terminal/ |
A D | tty_ptmx.c | 249 static int ptm_fops_mmap(struct dfs_file *file, struct lwp_avl_struct *mmap) in ptm_fops_mmap()
|
A D | tty_device.c | 265 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 D | devfs.c | 347 static int dfs_devfs_mmap(struct dfs_file *file, struct lwp_avl_struct *mmap) in dfs_devfs_mmap()
|
/components/dfs/dfs_v1/src/ |
A D | dfs.c | 1053 struct lwp_avl_struct *pids = lwp_get_pid_ary(); in lsof()
|
Completed in 50 milliseconds