Home
last modified time | relevance | path

Searched refs:list (Results 1 – 25 of 41) sorted by relevance

12

/lk-master/top/include/lk/
A Dlist.h24 #define LIST_INITIAL_VALUE(list) { &(list), &(list) } argument
28 list->prev = list->next = list; in list_initialize()
44 item->prev = list; in list_add_head()
46 list->next = item; in list_add_head()
53 item->next = list; in list_add_tail()
67 if (list->next != list) { in list_remove_head()
87 if (list->prev != list) { in list_remove_tail()
107 if (list->next != list) { in list_peek_head()
125 if (list->prev != list) { in list_peek_tail()
216 for(node = (list)->next; node != (list); node = node->next)
[all …]
/lk-master/kernel/vm/
A Dpmm.c110 DEBUG_ASSERT(list); in pmm_alloc_pages()
141 struct list_node list = LIST_INITIAL_VALUE(list); in pmm_alloc_page() local
156 DEBUG_ASSERT(list); in pmm_alloc_range()
202 DEBUG_ASSERT(list); in pmm_free()
232 struct list_node list; in pmm_free_page() local
233 list_initialize(&list); in pmm_free_page()
237 return pmm_free(&list); in pmm_free_page()
267 struct list_node list; in pmm_free_kpages() local
268 list_initialize(&list); in pmm_free_kpages()
280 return pmm_free(&list); in pmm_free_kpages()
[all …]
A Dvm.c31 struct list_node list; in mark_pages_in_use() local
32 list_initialize(&list); in mark_pages_in_use()
49 pmm_alloc_range(pa, 1, &list); in mark_pages_in_use()
/lk-master/external/lib/fdt/
A Dfdt_ro.c727 if (!list) in fdt_stringlist_count()
730 end = list + length; in fdt_stringlist_count()
733 length = strnlen(list, end - list) + 1; in fdt_stringlist_count()
739 list += length; in fdt_stringlist_count()
753 if (!list) in fdt_stringlist_search()
760 length = strnlen(list, end - list) + 1; in fdt_stringlist_search()
769 list += length; in fdt_stringlist_search()
784 if (!list) { in fdt_stringlist_get()
794 length = strnlen(list, end - list) + 1; in fdt_stringlist_get()
808 return list; in fdt_stringlist_get()
[all …]
/lk-master/external/platform/pico/boards/
A Dgeneric_board.cmake3 …or <PICO_BOARD>.h in. This is overridable from the user environment, type=list, default="", group=…
10 list(APPEND PICO_BOARD_HEADER_DIRS ${CMAKE_CURRENT_LIST_DIR}/include/boards)
15 list(APPEND PICO_CONFIG_HEADER_FILES ${PICO_BOARD_HEADER_FILE})
18 list(JOIN PICO_BOARD_HEADER_DIRS ", " DIRS)
20 list(JOIN PICO_BOARD_CMAKE_DIRS ", " DIRS)
/lk-master/make/
A Dhelp.mk40 ifeq ($(firstword $(MAKECMDGOALS)),list)
47 .PHONY: list
48 list:
/lk-master/kernel/include/kernel/
A Dwait.h22 struct list_node list; member
29 .list = LIST_INITIAL_VALUE((q).list), \
A Dvm.h134 size_t pmm_alloc_pages(uint count, struct list_node *list) __NONNULL((2));
143 size_t pmm_alloc_range(paddr_t address, uint count, struct list_node *list) __NONNULL((3));
148 size_t pmm_free(struct list_node *list) __NONNULL((1));
157 size_t pmm_alloc_contiguous(uint count, uint8_t align_log2, paddr_t *pa, struct list_node *list);
162 void *pmm_alloc_kpages(uint count, struct list_node *list);
/lk-master/lib/minip/
A Dudp.c26 struct list_node list; member
50 list_for_every_entry_safe(&udp_list, entry, temp, struct udp_listener, list) { in udp_listen()
53 list_delete(&entry->list); in udp_listen()
68 list_add_tail(&udp_list, &entry->list); in udp_listen()
182 list_for_every_entry(&udp_list, e, struct udp_listener, list) { in udp_input()
/lk-master/lib/tftp/
A Dtftp.c52 struct list_node list; member
152 list_for_every_entry(&tftp_list, entry, tftp_job_t, list) { in get_job_by_name()
232 list_for_every_entry(&tftp_list, job, tftp_job_t, list) { in tftp_set_write_client()
234 list_delete(&job->list); in tftp_set_write_client()
252 list_add_tail(&tftp_list, &job->list); in tftp_set_write_client()
/lk-master/platform/qemu-virt-m68k/
A Dplatform.c94 struct list_node list = LIST_INITIAL_VALUE(list); in platform_early_init()
95 pmm_alloc_range(MEMBASE, 0x40000 / PAGE_SIZE, &list); in platform_early_init()
/lk-master/docs/
A Dtodo.md1 # Random TODO list
3 [github issue list](https://github.com/littlekernel/lk/issues)
/lk-master/lib/ptable/
A Dptable.c44 struct list_node list; member
86 list_for_every(&ptable.list, node) { in ptable_write()
114 list_for_every_entry(&ptable.list, mentry, struct ptable_mem_entry, node) { in ptable_write()
162 list_initialize(&ptable.list); in ptable_init()
208 list_for_every_entry(&ptable.list, it_mentry, struct ptable_mem_entry, node) { in ptable_push_entry()
219 list_add_tail(&ptable.list, &mentry->node); in ptable_push_entry()
401 if (list_is_empty(&ptable.list)) { in ptable_allocate()
419 list_for_every_entry(&ptable.list, mentry, struct ptable_mem_entry, node) { in ptable_allocate()
538 list_for_every_entry(&ptable.list, mentry, struct ptable_mem_entry, node) { in ptable_allocate_at()
668 list_for_every_entry(&ptable.list, mentry, struct ptable_mem_entry, node) { in ptable_find()
[all …]
/lk-master/platform/bcm28xx/
A Dplatform.c171 struct list_node list = LIST_INITIAL_VALUE(list); in platform_early_init() local
172 pmm_alloc_range(MEMBASE, 0x80000 / PAGE_SIZE, &list); in platform_early_init()
/lk-master/lib/sysparam/
A Dsysparam.c63 struct list_node list; member
73 list_initialize(&params.list); in sysparam_init()
141 list_for_every_entry(&params.list, param, struct sysparam, node) { in sysparam_find()
219 list_add_tail(&params.list, &param->node); in sysparam_scan()
239 list_for_every_entry_safe(&params.list, param, temp, struct sysparam, node) { in sysparam_reload()
308 list_for_every_entry(&params.list, param, struct sysparam, node) { in sysparam_write()
334 list_for_every_entry(&params.list, param, struct sysparam, node) { in sysparam_write()
391 list_add_tail(&params.list, &param->node); in sysparam_add()
445 list_for_every_entry(&params.list, param, struct sysparam, node) { in sysparam_dump()
529 list_for_every_entry(&params.list, param, struct sysparam, node) { in cmd_sysparam()
/lk-master/platform/qemu-virt-arm/
A Dplatform.c151 struct list_node list = LIST_INITIAL_VALUE(list); in platform_early_init() local
152 pmm_alloc_range(MEMBASE, 0x10000 / PAGE_SIZE, &list); in platform_early_init()
/lk-master/platform/qemu-virt-riscv/
A Dplatform.c142 struct list_node list = LIST_INITIAL_VALUE(list); in platform_early_init() local
143 pmm_alloc_range(MEMBASE, 0x40000 / PAGE_SIZE, &list); in platform_early_init()
/lk-master/tools/moot/
A Dmtldr156 return (retcode, list())
168 return (retcode, list())
193 return (retcode, list())
201 return (retcode, list())
/lk-master/lib/heap/
A Dheap_wrapper.c120 struct list_node list; in heap_free_delayed_list() local
122 list_initialize(&list); in heap_free_delayed_list()
129 list_add_head(&list, node); in heap_free_delayed_list()
133 while ((node = list_remove_head(&list))) { in heap_free_delayed_list()
/lk-master/external/platform/pico/
A DLICENSE.TXT6 1. Redistributions of source code must retain the above copyright notice, this list of conditions a…
9 2. Redistributions in binary form must reproduce the above copyright notice, this list of condition…
/lk-master/external/platform/nrfx/
A DLICENSE8 list of conditions and the following disclaimer.
11 notice, this list of conditions and the following disclaimer in the
/lk-master/external/platform/stellaris/ti-driverlib/
A DTI-BSD-EULA.txt8 notice, this list of conditions and the following disclaimer.
11 notice, this list of conditions and the following disclaimer in the
/lk-master/scripts/
A Ddo-cppcheck23 cppcheck --force --file-list=${PROJ_DIR}/srcfiles.txt --includes-file=${PROJ_DIR}/include_paths.txt…
/lk-master/external/platform/stellaris/ti-driverlib/driverlib/
A Dreadme.txt13 notice, this list of conditions and the following disclaimer.
16 notice, this list of conditions and the following disclaimer in the
/lk-master/lib/bio/
A Dbio.c25 struct list_node list; member
28 .list = LIST_INITIAL_VALUE(bdevs.list),
339 list_for_every_entry(&bdevs.list, entry, bdev_t, node) { in bio_open()
520 list_add_tail(&bdevs.list, &dev->node); in bio_register_device()
541 list_for_every_entry(&bdevs.list, entry, bdev_t, node) { in bio_dump_devices()

Completed in 30 milliseconds

12