| /components/mm/ |
| A D | avl_adpt.c | 71 static struct rt_varea *search(struct util_avl_root *root, in search() argument 76 struct util_avl_struct *node = root->root_node; in search() 101 struct util_avl_root *root = &aspace->tree.tree; in _aspace_bst_search() local 103 return search(root, range, compare_overlap); in _aspace_bst_search() 108 struct util_avl_root *root = &aspace->tree.tree; in _aspace_bst_search_exceed() local 109 struct util_avl_struct *node = root->root_node; in _aspace_bst_search_exceed() 145 struct util_avl_root *root = &aspace->tree.tree; in _aspace_bst_search_overlap() local 146 return search(root, range, compare_overlap); in _aspace_bst_search_overlap() 151 struct util_avl_root *root = &aspace->tree.tree; in _aspace_bst_insert() local 153 struct util_avl_struct **next = &(root->root_node); in _aspace_bst_insert() [all …]
|
| /components/utilities/libadt/avl/ |
| A D | avl.h | 34 struct util_avl_root *root); 36 void util_avl_remove(struct util_avl_struct *node, struct util_avl_root *root); 94 static inline struct util_avl_struct *util_avl_first(struct util_avl_root *root) in util_avl_first() argument 96 struct util_avl_struct *first = root->root_node; in util_avl_first() 105 static inline struct util_avl_struct *util_avl_last(struct util_avl_root *root) in util_avl_last() argument 107 struct util_avl_struct *last = root->root_node; in util_avl_last()
|
| A D | avl.c | 121 struct util_avl_root *root) in util_avl_rebalance() argument 132 nodeplace = axis->parent ? NODE_PLACE(axis) : &root->root_node; in util_avl_rebalance() 176 void util_avl_remove(struct util_avl_struct *node, struct util_avl_root *root) in util_avl_remove() argument 180 if (root->root_node == NULL) in util_avl_remove() 189 nodeplace = &root->root_node; in util_avl_remove() 210 util_avl_rebalance(rchild, root); in util_avl_remove() 234 util_avl_rebalance(sparent, root); in util_avl_remove() 240 util_avl_rebalance(node, root); in util_avl_remove()
|
| /components/dfs/dfs_v1/filesystems/ramfs/ |
| A D | dfs_ramfs.c | 76 return &(ramfs->root); in dfs_ramfs_lookup() 80 dirent != &(ramfs->root); in dfs_ramfs_lookup() 214 if (dirent == &(ramfs->root)) /* it's root directory */ in dfs_ramfs_open() 226 if (dirent == &(ramfs->root)) /* it's root directory */ in dfs_ramfs_open() 333 if (dirent != &(ramfs->root)) in dfs_ramfs_getdents() 345 dirent != &(ramfs->root) && index < end; in dfs_ramfs_getdents() 471 rt_memset(&(ramfs->root), 0x00, sizeof(ramfs->root)); in dfs_ramfs_create() 472 rt_list_init(&(ramfs->root.list)); in dfs_ramfs_create() 473 ramfs->root.size = 0; in dfs_ramfs_create() 474 strcpy(ramfs->root.name, "."); in dfs_ramfs_create() [all …]
|
| A D | dfs_ramfs.h | 40 struct ramfs_dirent root; member
|
| /components/dfs/dfs_v2/filesystems/ramfs/ |
| A D | dfs_ramfs.c | 76 return &(ramfs->root); in dfs_ramfs_lookup() 80 dirent != &(ramfs->root); in dfs_ramfs_lookup() 214 if (dirent == &(ramfs->root)) /* it's root directory */ in dfs_ramfs_open() 226 if (dirent == &(ramfs->root)) /* it's root directory */ in dfs_ramfs_open() 333 if (dirent != &(ramfs->root)) in dfs_ramfs_getdents() 345 dirent != &(ramfs->root) && index < end; in dfs_ramfs_getdents() 471 rt_memset(&(ramfs->root), 0x00, sizeof(ramfs->root)); in dfs_ramfs_create() 472 rt_list_init(&(ramfs->root.list)); in dfs_ramfs_create() 473 ramfs->root.size = 0; in dfs_ramfs_create() 474 strcpy(ramfs->root.name, "."); in dfs_ramfs_create() [all …]
|
| A D | dfs_ramfs.h | 40 struct ramfs_dirent root; member
|
| /components/drivers/ofw/ |
| A D | fdt.c | 172 int root = fdt_path_offset(_fdt, "/"); in rt_fdt_scan_root() local 174 if (root >= 0) in rt_fdt_scan_root() 509 int root = fdt_path_offset(_fdt, "/"); in rt_fdt_model_dump() local 511 if (root >= 0) in rt_fdt_model_dump() 1040 struct rt_ofw_node *root = RT_NULL; in rt_fdt_unflatten_single() local 1047 if (root) in rt_fdt_unflatten_single() 1058 if (!fdt_unflatten_single(root, root_off)) in rt_fdt_unflatten_single() 1060 root->name = (const char *)header; in rt_fdt_unflatten_single() 1064 rt_ofw_node_destroy(root); in rt_fdt_unflatten_single() 1066 root = RT_NULL; in rt_fdt_unflatten_single() [all …]
|
| /components/dfs/dfs_v2/filesystems/devfs/ |
| A D | devtmpfs.c | 49 struct devtmpfs_file root; /* root dir */ member 153 superblock->root.name[0] = '/'; in devtmpfs_mount() 154 superblock->root.sb = superblock; in devtmpfs_mount() 155 superblock->root.type = TMPFS_TYPE_DIR; in devtmpfs_mount() 156 … superblock->root.mode = S_IFDIR | (S_IRUSR | S_IRGRP | S_IROTH) | (S_IXUSR | S_IXGRP | S_IXOTH); in devtmpfs_mount() 157 dfs_vfs_init_node(&superblock->root.node); in devtmpfs_mount() 181 _free_subdir(&(superblock->root)); in devtmpfs_unmount() 199 return &(superblock->root); in devtmpfs_file_lookup() 203 curfile = &superblock->root; in devtmpfs_file_lookup()
|
| /components/net/lwip/lwip-1.4.1/src/core/snmp/ |
| A D | msg_out.c | 69 static u16_t snmp_varbind_list_sum(struct snmp_varbind_root *root); 73 static u16_t snmp_varbind_list_enc(struct snmp_varbind_root *root, struct pbuf *p, u16_t ofs); 414 snmp_varbind_list_sum(struct snmp_varbind_root *root) in snmp_varbind_list_sum() argument 422 vb = root->tail; in snmp_varbind_list_sum() 469 root->seqlen = tot_len; in snmp_varbind_list_sum() 470 snmp_asn1_enc_length_cnt(root->seqlen, &root->seqlenlen); in snmp_varbind_list_sum() 471 tot_len += 1 + root->seqlenlen; in snmp_varbind_list_sum() 608 snmp_varbind_list_enc(struct snmp_varbind_root *root, struct pbuf *p, u16_t ofs) in snmp_varbind_list_enc() argument 617 snmp_asn1_enc_length(p, ofs, root->seqlen); in snmp_varbind_list_enc() 618 ofs += root->seqlenlen; in snmp_varbind_list_enc() [all …]
|
| A D | msg_in.c | 1401 vb = root->tail; in snmp_varbind_list_free() 1408 root->count = 0; in snmp_varbind_list_free() 1409 root->head = NULL; in snmp_varbind_list_free() 1410 root->tail = NULL; in snmp_varbind_list_free() 1419 root->head = vb; in snmp_varbind_tail_add() 1420 root->tail = vb; in snmp_varbind_tail_add() 1427 root->tail = vb; in snmp_varbind_tail_add() 1429 root->count += 1; in snmp_varbind_tail_add() 1437 if (root->count > 0) in snmp_varbind_tail_remove() 1440 vb = root->tail; in snmp_varbind_tail_remove() [all …]
|
| /components/net/lwip/lwip-1.4.1/src/include/lwip/ |
| A D | snmp_msg.h | 298 void snmp_varbind_list_free(struct snmp_varbind_root *root); 299 void snmp_varbind_tail_add(struct snmp_varbind_root *root, struct snmp_varbind *vb); 300 struct snmp_varbind* snmp_varbind_tail_remove(struct snmp_varbind_root *root);
|
| /components/dfs/dfs_v1/filesystems/tmpfs/ |
| A D | dfs_tmpfs.c | 129 superblock->root.name[0] = '/'; in dfs_tmpfs_mount() 130 superblock->root.sb = superblock; in dfs_tmpfs_mount() 131 superblock->root.type = TMPFS_TYPE_DIR; in dfs_tmpfs_mount() 132 rt_list_init(&superblock->root.sibling); in dfs_tmpfs_mount() 133 rt_list_init(&superblock->root.subdirs); in dfs_tmpfs_mount() 154 _free_subdir(&(superblock->root)); in dfs_tmpfs_unmount() 232 return &(superblock->root); in dfs_tmpfs_lookup() 236 curfile = &superblock->root; in dfs_tmpfs_lookup()
|
| A D | dfs_tmpfs.h | 39 struct tmpfs_file root; /* root dir */ member
|
| /components/dfs/dfs_v2/filesystems/tmpfs/ |
| A D | dfs_tmpfs.h | 40 struct tmpfs_file root; /* root dir */ member
|
| A D | dfs_tmpfs.c | 143 superblock->root.name[0] = '/'; in dfs_tmpfs_mount() 144 superblock->root.sb = superblock; in dfs_tmpfs_mount() 145 superblock->root.type = TMPFS_TYPE_DIR; in dfs_tmpfs_mount() 146 dfs_vfs_init_node(&superblock->root.node); in dfs_tmpfs_mount() 169 _free_subdir(&(superblock->root)); in dfs_tmpfs_unmount() 243 return &(superblock->root); in dfs_tmpfs_lookup() 247 curfile = &superblock->root; in dfs_tmpfs_lookup()
|
| /components/dfs/dfs_v2/filesystems/ptyfs/ |
| A D | README.md | 5 … id system. But generally speaking, you have to mount the ptyfs on `/dev` root, since all the file…
|
| /components/net/lwip/lwip-2.1.2/test/unit/ |
| A D | Filelists.cmake | 4 # root path of lwIP sources.
|
| /components/dfs/dfs_v1/filesystems/elmfat/ |
| A D | 00history.txt | 225 Fixed null pointer dereference on attempting to delete the root direcotry. (appeared at R0.08) 274 Fixed creating a file in the root directory of exFAT volume can fail. (appeared at R0.12) 320 …Fixed accesing any object on the exFAT root directory beyond the cluster boundary can fail. (appea…
|
| /components/dfs/dfs_v2/filesystems/elmfat/ |
| A D | 00history.txt | 225 Fixed null pointer dereference on attempting to delete the root direcotry. (appeared at R0.08) 274 Fixed creating a file in the root directory of exFAT volume can fail. (appeared at R0.12) 320 …Fixed accesing any object on the exFAT root directory beyond the cluster boundary can fail. (appea…
|
| /components/legacy/fdt/inc/ |
| A D | dtb_node.h | 54 char root, zero; /* "/" */ member
|
| /components/dfs/ |
| A D | Kconfig | 178 bool "Use user's romfs root"
|
| /components/drivers/usb/cherryusb/ |
| A D | README_zh.md | 99 CherryUSB Host 协议栈对挂载在 root hub、外部 hub 上的设备规范了一套标准的枚举实现,对不同的 Class 类也规范了一套标准接口,用来指示在枚举后和断开连接后该 Clas…
|
| /components/legacy/fdt/src/ |
| A D | dtb_get.c | 208 ((struct dtb_header *)dtb_node_head->header)->root = '/'; in dtb_node_get_dtb_list()
|
| /components/net/lwip/lwip-2.1.2/src/ |
| A D | Filelists.cmake | 4 # root path of lwIP sources.
|