Home
last modified time | relevance | path

Searched defs:head (Results 1 – 25 of 147) sorted by relevance

123456

/openbmc/openbmc/poky/meta/recipes-core/musl/bsd-headers/
H A Dsys-queue.h111 #define SLIST_HEAD_INITIALIZER(head) \ argument
122 #define SLIST_FIRST(head) ((head)->slh_first) argument
123 #define SLIST_END(head) NULL argument
124 #define SLIST_EMPTY(head) ((head)->slh_first == NULL) argument
127 #define SLIST_FOREACH(var, head, field) \ argument
132 #define SLIST_FOREACH_SAFE(var, head, field, tvar) \ argument
141 #define SLIST_INIT(head) do { \ argument
150 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument
160 #define SLIST_REMOVE_HEAD(head, field) do { \ argument
164 #define SLIST_REMOVE(head, elm, type, field) do { \ argument
[all …]
H A Dsys-tree.h78 #define SPLAY_ROOT(head) (head)->sph_root argument
79 #define SPLAY_EMPTY(head) (SPLAY_ROOT(head) == NULL) argument
82 #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \ argument
88 #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \ argument
94 #define SPLAY_LINKLEFT(head, tmp, field) do { \ argument
100 #define SPLAY_LINKRIGHT(head, tmp, field) do { \ argument
106 #define SPLAY_ASSEMBLE(head, node, left, right, field) do { \ argument
286 #define SPLAY_FOREACH(x, name, head) \ argument
318 #define RB_ROOT(head) (head)->rbh_root argument
319 #define RB_EMPTY(head) (RB_ROOT(head) == NULL) argument
[all …]
/openbmc/qemu/include/qemu/
H A Drcu_queue.h34 #define QLIST_EMPTY_RCU(head) (qatomic_read(&(head)->lh_first) == NULL) argument
35 #define QLIST_FIRST_RCU(head) (qatomic_rcu_read(&(head)->lh_first)) argument
90 #define QLIST_INSERT_HEAD_RCU(head, elm, field) do { \ argument
114 #define QLIST_FOREACH_RCU(var, head, field) \ argument
120 #define QLIST_FOREACH_SAFE_RCU(var, head, field, next_var) \ argument
131 #define QSIMPLEQ_EMPTY_RCU(head) \ argument
133 #define QSIMPLEQ_FIRST_RCU(head) qatomic_rcu_read(&(head)->sqh_first) argument
137 #define QSIMPLEQ_INSERT_HEAD_RCU(head, elm, field) do { \ argument
145 #define QSIMPLEQ_INSERT_TAIL_RCU(head, elm, field) do { \ argument
151 #define QSIMPLEQ_INSERT_AFTER_RCU(head, listelm, elm, field) do { \ argument
[all …]
H A Dqueue.h89 #define QLIST_HEAD_INITIALIZER(head) \ argument
101 #define QLIST_INIT(head) do { \ argument
133 #define QLIST_INSERT_HEAD(head, elm, field) do { \ argument
166 #define QLIST_FOREACH(var, head, field) \ argument
171 #define QLIST_FOREACH_SAFE(var, head, field, next_var) \ argument
179 #define QLIST_EMPTY(head) ((head)->lh_first == NULL) argument
180 #define QLIST_FIRST(head) ((head)->lh_first) argument
192 #define QSLIST_HEAD_INITIALIZER(head) \ argument
203 #define QSLIST_INIT(head) do { \ argument
212 #define QSLIST_INSERT_HEAD(head, elm, field) do { \ argument
[all …]
H A Dnotify.h32 #define NOTIFIER_LIST_INITIALIZER(head) \ argument
65 #define NOTIFIER_WITH_RETURN_LIST_INITIALIZER(head) \ argument
H A Dfifo8.h9 uint32_t head; member
/openbmc/u-boot/include/linux/
H A Dlist.h61 static inline void list_add(struct list_head *new, struct list_head *head) in list_add()
74 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail()
143 static inline void list_move(struct list_head *list, struct list_head *head) in list_move()
155 struct list_head *head) in list_move_tail()
167 const struct list_head *head) in list_is_last()
176 static inline int list_empty(const struct list_head *head) in list_empty()
194 static inline int list_empty_careful(const struct list_head *head) in list_empty_careful()
204 static inline int list_is_singular(const struct list_head *head) in list_is_singular()
210 struct list_head *head, struct list_head *entry) in __list_cut_position()
236 struct list_head *head, struct list_head *entry) in list_cut_position()
[all …]
/openbmc/libpldm/tools/
H A Dpd.c19 static void pd_print_bytes(const char *head, const void *_buf, size_t len, in pd_print_bytes()
39 static void pd_print_variable_field(const char *head, in pd_print_variable_field()
56 static void pd_print_typed_string(const char *head, size_t type, in pd_print_typed_string()
70 static void pd_print_descriptor(const char *head, in pd_print_descriptor()
/openbmc/u-boot/scripts/kconfig/
H A Dlist.h49 #define list_for_each_entry(pos, head, member) \ argument
61 #define list_for_each_entry_safe(pos, n, head, member) \ argument
71 static inline int list_empty(const struct list_head *head) in list_empty()
100 static inline void list_add_tail(struct list_head *_new, struct list_head *head) in list_add_tail()
/openbmc/qemu/hw/pci/
H A Dpci-qmp-cmds.c35 PciMemoryRegionList *head = NULL, **tail = &head; in qmp_query_pci_regions() local
159 PciDeviceInfoList *head = NULL, **tail = &head; in qmp_query_pci_devices() local
189 PciInfoList *head = NULL, **tail = &head; in qmp_query_pci() local
/openbmc/qemu/monitor/
H A Dqemu-config-qmp.c45 static void cleanup_infolist(CommandLineParameterInfoList *head) in cleanup_infolist()
67 static void connect_infolist(CommandLineParameterInfoList *head, in connect_infolist()
82 CommandLineParameterInfoList *head = NULL, *cur; in get_drive_infolist() local
/openbmc/qemu/tests/qtest/libqos/
H A Dlibqos-malloc.c32 static MemBlock *mlist_find_key(MemList *head, uint64_t addr) in mlist_find_key()
43 static MemBlock *mlist_find_space(MemList *head, uint64_t size) in mlist_find_space()
55 static MemBlock *mlist_sort_insert(MemList *head, MemBlock *insr) in mlist_sort_insert()
76 static MemBlock *mlist_join(MemList *head, MemBlock *left, MemBlock *right) in mlist_join()
85 static void mlist_coalesce(MemList *head, MemBlock *node) in mlist_coalesce()
/openbmc/qemu/scripts/
H A Dcocci-macro-file.h50 #define QLIST_HEAD_INITIALIZER(head) \ argument
67 #define QSLIST_HEAD_INITIALIZER(head) \ argument
84 #define QSIMPLEQ_HEAD_INITIALIZER(head) \ argument
101 #define QTAILQ_HEAD_INITIALIZER(head) \ argument
/openbmc/qemu/system/
H A Dtpm.c200 TPMInfoList *head = NULL, **tail = &head; in qmp_query_tpm() local
216 TpmTypeList *head = NULL, **tail = &head; in qmp_query_tpm_types() local
229 TpmModelList *head = NULL, **tail = &head; in qmp_query_tpm_models() local
/openbmc/qemu/plugins/
H A Dloader.c51 QemuPluginList *head; member
78 static struct qemu_plugin_desc *plugin_find_desc(QemuPluginList *head, in plugin_find_desc()
145 void qemu_plugin_opt_parse(const char *optstr, QemuPluginList *head) in qemu_plugin_opt_parse()
292 int qemu_plugin_load_list(QemuPluginList *head, Error **errp) in qemu_plugin_load_list()
/openbmc/qemu/tests/qtest/
H A Dfdc-test.c120 uint8_t head = 0; in send_read_command() local
176 uint8_t head = 0; in send_read_no_dma_command() local
250 int head = 0; in send_seek() local
361 int head = 0; in test_sense_interrupt() local
383 uint8_t head = 0; in test_relative_seek() local
412 uint8_t head = 0; in test_read_id() local
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_iommu.h75 struct virtio_iommu_req_head head; member
84 struct virtio_iommu_req_head head; member
100 struct virtio_iommu_req_head head; member
110 struct virtio_iommu_req_head head; member
132 struct virtio_iommu_probe_property head; member
140 struct virtio_iommu_req_head head; member
/openbmc/u-boot/lib/
H A Dlist_sort.c25 struct list_head head, *tail = &head; in merge() local
52 struct list_head *head, in merge_and_restore_back_links()
103 void list_sort(void *priv, struct list_head *head, in list_sort()
/openbmc/u-boot/drivers/usb/gadget/
H A Dci_udc.c184 struct ept_queue_head *head = ci_get_qh(ep_num, 0); in ci_flush_qh() local
199 struct ept_queue_head *head = ci_get_qh(ep_num, 0); in ci_invalidate_qh() local
319 struct ept_queue_head *head = ci_get_qh(num, in); in ep_enable() local
428 struct ept_queue_head *head; in ci_ep_submit_next_request() local
668 struct ept_queue_head *head; in handle_setup() local
769 struct ept_queue_head *head; in stop_activity() local
920 struct ept_queue_head *head; in ci_udc_probe() local
/openbmc/qemu/hw/acpi/
H A Dacpi-qmp-cmds.c16 ACPIOSTInfoList *head = NULL; in qmp_query_acpi_ospm_status() local
/openbmc/qemu/util/
H A Dfdmon-io_uring.c102 static void enqueue(AioHandlerSList *head, AioHandler *node, unsigned flags) in enqueue()
113 static AioHandler *dequeue(AioHandlerSList *head, unsigned *flags) in dequeue()
261 unsigned head; in process_cq_ring() local
/openbmc/u-boot/include/
H A Dmembuff.h35 char *head; /** current buffer head */ member
/openbmc/u-boot/drivers/core/
H A Dutil.c23 int list_count_items(struct list_head *head) in list_count_items()
/openbmc/qemu/migration/
H A Dthreadinfo.c50 MigrationThreadInfoList *head = NULL; in qmp_query_migrationthreads() local
/openbmc/u-boot/drivers/crypto/fsl/
H A Djr.c18 #define CIRC_CNT(head, tail, size) (((head) - (tail)) & (size - 1)) argument
19 #define CIRC_SPACE(head, tail, size) CIRC_CNT((tail), (head) + 1, (size)) argument
186 int head = jr->head; in jr_enqueue() local
261 int head = jr->head; in jr_dequeue() local

123456