Searched refs:list (Results 1 - 25 of 287) sorted by relevance

1234567891011>>

/u-boot/fs/jffs2/
H A Dmergesort.c13 int sort_list(struct b_list *list) argument
18 if (!list->listHead)
21 for (k = 1; k < list->listCount; k *= 2) {
22 tail = &list->listHead;
23 for (p = q = list->listHead; p; p = q) {
34 list->listCompare(p, q))) {
/u-boot/include/
H A Dextension_board.h11 struct list_head list; member in struct:extension
25 * Needs to fill the list extension_list with elements.
H A Devent_internal.h13 #include <linux/list.h>
H A Dcyclic.h14 #include <linux/list.h>
28 * @list: List node
40 struct hlist_node list; member in struct:cyclic_info
76 * cyclic_get_list() - Get cyclic list pointer
78 * Return the cyclic list pointer
/u-boot/test/hush/
H A DMakefile9 obj-y += list.o
/u-boot/drivers/misc/
H A Dsocfpga_dtreg.c15 const fdt32_t *list; local
44 list = ofnode_read_prop(node, "intel,offset-settings", &size);
45 if (!list)
50 size /= sizeof(*list) * NUMBER_OF_ELEMENTS;
58 offset = fdt32_to_cpu(*list++);
59 val = fdt32_to_cpu(*list++);
61 /* Reads the masking bit value from the list */
62 mask = fdt32_to_cpu(*list++);
/u-boot/cmd/
H A Dconsole.c20 struct list_head *list = stdio_get_list(); local
28 list_for_each(pos, list) {
29 dev = list_entry(pos, struct stdio_dev, list);
H A Devent.c22 "list - list event spies");
25 U_BOOT_SUBCMD_MKENT(list, 1, 1, do_event_list));
H A Dbloblist.c34 "bloblist list - list blobs in the bloblist");
38 U_BOOT_SUBCMD_MKENT(list, 1, 1, do_bloblist_list));
H A Dextension_board.c75 list_for_each_entry(extension, &extension_list, list) {
90 list_for_each_entry_safe(extension, next, &extension_list, list) {
91 list_del(&extension->list);
127 list_for_each_entry(extension, &extension_list, list) {
136 extension = list_entry(entry, struct extension, list);
155 U_BOOT_CMD_MKENT(list, 1, 0, do_extension_list, "", ""),
178 "extension list - lists available extension(s) board(s)\n"
H A Dbootdev.c115 bool list = false; local
120 list = true;
128 if (list) {
143 "list [-p] - list all available bootdevs (-p to probe)\n"
149 U_BOOT_SUBCMD_MKENT(list, 2, 1, do_bootdev_list),
/u-boot/drivers/usb/dwc3/
H A Dgadget.h21 #include <linux/list.h>
62 static inline struct dwc3_request *next_request(struct list_head *list) argument
64 if (list_empty(list))
67 return list_first_entry(list, struct dwc3_request, list);
75 list_move_tail(&req->list, &dep->req_queued);
/u-boot/scripts/kconfig/lxdialog/
H A Dchecklist.c16 * Print list item
101 * Display a dialog box with a list of options that can be turned on or off
109 WINDOW *dialog, *list; local
156 /* create new window for the list */
157 list = subwin(dialog, list_height, list_width, y + box_y + 1,
160 keypad(list, TRUE);
162 /* draw a box around the list items */
180 /* Print the list */
183 print_item(list, i, i == choice);
192 wnoutrefresh(list);
[all...]
/u-boot/lib/
H A Dlist_sort.c12 #include <linux/list.h>
18 * Returns a list organized in an intermediate format suited
45 * Combine final list merge with restoration of standard doubly-linked
46 * list structure. This approach duplicates code from merge(), but
92 * list_sort - sort a list
94 * @head: the list to sort
113 struct list_head *list; local
121 list = head->next;
123 while (list) {
124 struct list_head *cur = list;
167 struct list_head list; member in struct:debug_el
[all...]
/u-boot/include/linux/
H A Dlist.h13 * Simple doubly linked list implementation.
31 static inline void INIT_LIST_HEAD(struct list_head *list) argument
33 list->next = list;
34 list->prev = list;
40 * This is only for internal list manipulation where we know
56 * @head: list head to add it after
69 * @head: list head to add it before
80 * Delete a list entr
143 list_move(struct list_head *list, struct list_head *head) argument
154 list_move_tail(struct list_head *list, struct list_head *head) argument
166 list_is_last(const struct list_head *list, const struct list_head *head) argument
209 __list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) argument
235 list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) argument
249 __list_splice(const struct list_head *list, struct list_head *prev, struct list_head *next) argument
268 list_splice(const struct list_head *list, struct list_head *head) argument
280 list_splice_tail(struct list_head *list, struct list_head *head) argument
294 list_splice_init(struct list_head *list, struct list_head *head) argument
311 list_splice_tail_init(struct list_head *list, struct list_head *head) argument
[all...]
/u-boot/drivers/usb/musb-new/
H A Dlinux-compat.h6 #include <linux/list.h>
H A Dmusb_gadget.h13 #include <linux/list.h>
29 struct list_head list; member in struct:musb_request
87 return container_of(queue->next, struct musb_request, list);
/u-boot/common/
H A Dcyclic.c16 #include <linux/list.h>
46 hlist_add_head(&cyclic->list, cyclic_get_list());
53 hlist_del(&cyclic->list);
70 hlist_for_each_entry_safe(cyclic, tmp, cyclic_get_list(), list) {
121 hlist_for_each_entry_safe(cyclic, tmp, cyclic_get_list(), list)
H A Dstdio.c136 return &devs.list;
178 sdev = list_empty(&devs.list) ? NULL :
179 list_last_entry(&devs.list, struct stdio_dev, list);
198 list_for_each(pos, &devs.list) {
199 sdev = list_entry(pos, struct stdio_dev, list);
211 * 'stdout', which may include a list of devices separate by
247 list_add_tail(&_dev->list, &devs.list);
265 /* get stdio devices (ListRemoveItem changes the dev list) */
[all...]
/u-boot/drivers/fastboot/
H A Dfb_getvar.c32 bool list; member in struct:__anon222
38 .list = true,
42 .list = true
46 .list = true
50 .list = true
54 .list = true
58 .list = true
62 .list = true
66 .list = true
70 .list
[all...]
/u-boot/drivers/thermal/
H A Dthermal-uclass.c15 #include <linux/list.h>
/u-boot/scripts/dtc/libfdt/
H A Dfdt_ro.c724 const char *list, *end; local
727 list = fdt_getprop(fdt, nodeoffset, property, &length);
728 if (!list)
731 end = list + length;
733 while (list < end) {
734 length = strnlen(list, end - list) + 1;
737 if (list + length > end)
740 list += length;
751 const char *list, *en local
781 const char *list, *end; local
[all...]
/u-boot/scripts/kconfig/
H A Dqconf.cc54 * Reads a list of integer values from the application settings.
77 * Writes a list of integer values to the application settings.
105 ConfigList* list; local
112 list = listView();
114 setPixmap(promptColIdx, list->menuBackPix);
125 if (list->mode == singleMode || list->mode == symbolMode) {
129 if (sym && list->rootEntry == menu)
131 setPixmap(promptColIdx, list->menuPix);
155 if (!sym_is_changable(sym) && list
240 ConfigList* list = listView(); local
1567 ConfigList* list = NULL; local
[all...]
/u-boot/drivers/crypto/rsa_mod_exp/
H A Dmod_exp_uclass.c17 #include <linux/list.h>
/u-boot/fs/ubifs/
H A Dgc.c127 sa = list_entry(a, struct ubifs_scan_node, list);
128 sb = list_entry(b, struct ubifs_scan_node, list);
171 sa = list_entry(a, struct ubifs_scan_node, list);
172 sb = list_entry(b, struct ubifs_scan_node, list);
219 * This function sorts the list of inodes to garbage collect. First of all, it
248 list_for_each_entry_safe(snod, tmp, &sleb->nodes, list) {
260 list_del(&snod->list);
276 /* The node is obsolete, remove it from the list */
277 list_del(&snod->list);
286 list_move_tail(&snod->list, nondat
[all...]

Completed in 162 milliseconds

1234567891011>>