/third_party/musl/porting/liteos_m/kernel/src/stdio/ |
H A D | fclose.c | 26 FILE **head = __ofl_lock();
in __fclose() 29 if (*head == f) *head = f->next;
in __fclose()
|
/third_party/skia/third_party/externals/zlib/contrib/optimizations/ |
H A D | slide_hash_neon.h | 44 inline static void ZLIB_INTERNAL neon_slide_hash(Posf *head, Posf *prev, in neon_slide_hash() argument 55 const size_t size = hash_size * sizeof(head[0]); in neon_slide_hash() 59 neon_slide_hash_update(head, hash_size, w_size); in neon_slide_hash()
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/ |
H A D | adf_transport_debug.c | 48 int head, tail, empty; in adf_ring_show() local 50 head = READ_CSR_RING_HEAD(csr, bank->bank_number, in adf_ring_show() 61 seq_printf(sfile, "head %x, tail %x, empty: %d\n", in adf_ring_show() 62 head, tail, (empty & 1 << ring->ring_number) in adf_ring_show() 149 int head, tail, empty; in adf_bank_show() local 154 head = READ_CSR_RING_HEAD(csr, bank->bank_number, in adf_bank_show() 161 "ring num %02d, head %04x, tail %04x, empty: %d\n", in adf_bank_show() 162 ring->ring_number, head, tail, in adf_bank_show()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | mkregtable.c | 76 * @head: list head to add it before 78 * Insert a new entry before the specified head. 81 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument 83 __list_add(new, head->prev, head); in list_add_tail() 98 * @head: the head for your list. 101 #define list_for_each_entry(pos, head, member) \ 102 for (pos = list_entry((head) [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/ |
H A D | nv44.c | 47 struct list_head head; member 90 list_del(&chan->head); in nv44_mpeg_chan_dtor() 119 list_add(&chan->head, &mpeg->chan); in nv44_mpeg_chan_new() 158 list_for_each_entry(temp, &mpeg->chan, head) { in nv44_mpeg_intr() 161 list_del(&chan->head); in nv44_mpeg_intr() 162 list_add(&chan->head, &mpeg->chan); in nv44_mpeg_intr()
|
/kernel/linux/linux-6.6/drivers/net/can/c_can/ |
H A D | c_can.h | 181 unsigned int head; member 230 return ring->head & (ring->obj_num - 1); in c_can_get_tx_head() 241 u8 head = c_can_get_tx_head(ring); in c_can_get_tx_free() local 245 return ring->obj_num - (ring->head - ring->tail); in c_can_get_tx_free() 250 if (head < tail) in c_can_get_tx_free() 253 return ring->obj_num - head; in c_can_get_tx_free()
|
/kernel/linux/linux-6.6/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-tef.c | 80 seq, priv->tef->tail, priv->tef->head, tx_ring->head); in mcp251xfd_handle_tefif_recover() 135 * The new TEF head must be >= the old head, ... in mcp251xfd_tef_ring_update() 137 new_head = round_down(priv->tef->head, tx_ring->obj_num) + chip_tx_tail; in mcp251xfd_tef_ring_update() 138 if (new_head <= priv->tef->head) in mcp251xfd_tef_ring_update() 141 /* ... but it cannot exceed the TX head. */ in mcp251xfd_tef_ring_update() 142 priv->tef->head = min(new_head, tx_ring->head); in mcp251xfd_tef_ring_update()
|
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_transport_debug.c | 49 int head, tail, empty; in adf_ring_show() local 51 head = csr_ops->read_csr_ring_head(csr, bank->bank_number, in adf_ring_show() 62 seq_printf(sfile, "head %x, tail %x, empty: %d\n", in adf_ring_show() 63 head, tail, (empty & 1 << ring->ring_number) in adf_ring_show() 157 int head, tail, empty; in adf_bank_show() local 162 head = csr_ops->read_csr_ring_head(csr, bank->bank_number, in adf_bank_show() 169 "ring num %02d, head %04x, tail %04x, empty: %d\n", in adf_bank_show() 170 ring->ring_number, head, tail, in adf_bank_show()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | mkregtable.c | 76 * @head: list head to add it before 78 * Insert a new entry before the specified head. 81 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument 83 __list_add(new, head->prev, head); in list_add_tail() 98 * @head: the head for your list. 101 #define list_for_each_entry(pos, head, member) \ 102 for (pos = list_entry((head) [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/ |
H A D | nv44.c | 47 struct list_head head; member 90 list_del(&chan->head); in nv44_mpeg_chan_dtor() 118 list_add(&chan->head, &mpeg->chan); in nv44_mpeg_chan_new() 157 list_for_each_entry(temp, &mpeg->chan, head) { in nv44_mpeg_intr() 160 list_del(&chan->head); in nv44_mpeg_intr() 161 list_add(&chan->head, &mpeg->chan); in nv44_mpeg_intr()
|
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | rethook.c | 36 static void rethook_free_rcu(struct rcu_head *head) in rethook_free_rcu() argument 38 struct rethook *rh = container_of(head, struct rethook, rcu); in rethook_free_rcu() 43 node = rh->pool.head; in rethook_free_rcu() 112 rh->pool.head = NULL; in rethook_alloc() 133 static void free_rethook_node_rcu(struct rcu_head *head) in free_rethook_node_rcu() argument 135 struct rethook_node *node = container_of(head, struct rethook_node, rcu); in free_rethook_node_rcu()
|
/third_party/skia/third_party/externals/microhttpd/src/microspdy/ |
H A D | structures.h | 1052 * Insert an element at the head of a DLL. Assumes that head, tail and 1055 * @param head pointer to the head of the DLL (struct ? *) 1059 #define DLL_insert(head,tail,element) do { \ 1060 (element)->next = (head); \ 1065 (head)->prev = element; \ 1066 (head) = (element); } while (0) 1071 * that head, tail and element are structs 1074 * @param head pointe [all...] |
/kernel/linux/linux-5.10/tools/virtio/ |
H A D | vringh_test.c | 111 static inline int vringh_get_head(struct vringh *vrh, u16 *head) in vringh_get_head() argument 128 err = get_user(*head, &vrh->vring.avail->ring[i]); in vringh_get_head() 198 u16 head, written; in parallel_test() local 202 err = vringh_get_head(&vrh, &head); in parallel_test() 227 getrange, &head); in parallel_test() 273 err = vringh_complete_user(&vrh, head, written); in parallel_test() 449 u16 head; in main() local 499 err = vringh_getdesc_user(&vrh, &riov, &wiov, getrange, &head); in main() 523 err = vringh_getdesc_user(&vrh, &riov, &wiov, getrange, &head); in main() 558 err = vringh_complete_user(&vrh, head, er in main() [all...] |
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_fq_codel.c | 37 * head drops only. 43 struct sk_buff *head; member 115 /* remove one skb from head of slot queue */ 118 struct sk_buff *skb = flow->head; in dequeue_head() 120 flow->head = skb->next; in dequeue_head() 129 if (flow->head == NULL) in flow_queue_add() 130 flow->head = skb; in flow_queue_add() 263 if (flow->head) { in dequeue_func() 286 struct list_head *head; in fq_codel_dequeue() local 289 head in fq_codel_dequeue() [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | netlink.h | 57 * nlmsg_data(nlh) head of message payload 59 * nlmsg_attrdata(nlh, hdrlen) head of attributes data 127 * nla_data(nla) head of attribute payload 501 int __nla_validate(const struct nlattr *head, int len, int maxtype, 504 int __nla_parse(struct nlattr **tb, int maxtype, const struct nlattr *head, 508 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype); 565 * nlmsg_data - head of message payload 583 * nlmsg_attrdata - head of attributes data 638 * @head: head o 650 nla_parse(struct nlattr **tb, int maxtype, const struct nlattr *head, int len, const struct nla_policy *policy, struct netlink_ext_ack *extack) nla_parse() argument 675 nla_parse_deprecated(struct nlattr **tb, int maxtype, const struct nlattr *head, int len, const struct nla_policy *policy, struct netlink_ext_ack *extack) nla_parse_deprecated() argument 700 nla_parse_deprecated_strict(struct nlattr **tb, int maxtype, const struct nlattr *head, int len, const struct nla_policy *policy, struct netlink_ext_ack *extack) nla_parse_deprecated_strict() argument 826 nla_validate_deprecated(const struct nlattr *head, int len, int maxtype, const struct nla_policy *policy, struct netlink_ext_ack *extack) nla_validate_deprecated() argument 849 nla_validate(const struct nlattr *head, int len, int maxtype, const struct nla_policy *policy, struct netlink_ext_ack *extack) nla_validate() argument [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | netlink.h | 57 * nlmsg_data(nlh) head of message payload 59 * nlmsg_attrdata(nlh, hdrlen) head of attributes data 127 * nla_data(nla) head of attribute payload 513 int __nla_validate(const struct nlattr *head, int len, int maxtype, 516 int __nla_parse(struct nlattr **tb, int maxtype, const struct nlattr *head, 520 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype); 577 * nlmsg_data - head of message payload 595 * nlmsg_attrdata - head of attributes data 650 * @head: head o 662 nla_parse(struct nlattr **tb, int maxtype, const struct nlattr *head, int len, const struct nla_policy *policy, struct netlink_ext_ack *extack) nla_parse() argument 687 nla_parse_deprecated(struct nlattr **tb, int maxtype, const struct nlattr *head, int len, const struct nla_policy *policy, struct netlink_ext_ack *extack) nla_parse_deprecated() argument 712 nla_parse_deprecated_strict(struct nlattr **tb, int maxtype, const struct nlattr *head, int len, const struct nla_policy *policy, struct netlink_ext_ack *extack) nla_parse_deprecated_strict() argument 840 nla_validate_deprecated(const struct nlattr *head, int len, int maxtype, const struct nla_policy *policy, struct netlink_ext_ack *extack) nla_validate_deprecated() argument 863 nla_validate(const struct nlattr *head, int len, int maxtype, const struct nla_policy *policy, struct netlink_ext_ack *extack) nla_validate() argument [all...] |
/kernel/linux/linux-6.6/net/sched/ |
H A D | sch_fq_codel.c | 37 * head drops only. 43 struct sk_buff *head; member 115 /* remove one skb from head of slot queue */ 118 struct sk_buff *skb = flow->head; in dequeue_head() 120 flow->head = skb->next; in dequeue_head() 129 if (flow->head == NULL) in flow_queue_add() 130 flow->head = skb; in flow_queue_add() 263 if (flow->head) { in dequeue_func() 286 struct list_head *head; in fq_codel_dequeue() local 289 head in fq_codel_dequeue() [all...] |
/kernel/linux/linux-6.6/tools/virtio/ |
H A D | vringh_test.c | 111 static inline int vringh_get_head(struct vringh *vrh, u16 *head) in vringh_get_head() argument 128 err = get_user(*head, &vrh->vring.avail->ring[i]); in vringh_get_head() 198 u16 head, written; in parallel_test() local 202 err = vringh_get_head(&vrh, &head); in parallel_test() 227 getrange, &head); in parallel_test() 273 err = vringh_complete_user(&vrh, head, written); in parallel_test() 449 u16 head; in main() local 499 err = vringh_getdesc_user(&vrh, &riov, &wiov, getrange, &head); in main() 523 err = vringh_getdesc_user(&vrh, &riov, &wiov, getrange, &head); in main() 558 err = vringh_complete_user(&vrh, head, er in main() [all...] |
/kernel/linux/linux-5.10/drivers/dma-buf/ |
H A D | dma-fence-chain.c | 146 struct dma_fence_chain *head = to_dma_fence_chain(fence); in dma_fence_chain_enable_signaling() local 148 dma_fence_get(&head->base); in dma_fence_chain_enable_signaling() 149 dma_fence_chain_for_each(fence, &head->base) { in dma_fence_chain_enable_signaling() 154 if (!dma_fence_add_callback(f, &head->cb, dma_fence_chain_cb)) { in dma_fence_chain_enable_signaling() 160 dma_fence_put(&head->base); in dma_fence_chain_enable_signaling()
|
/kernel/linux/linux-6.6/arch/arm/boot/compressed/ |
H A D | Makefile | 10 HEAD = head.o 40 OBJS += head-sa1100.o 44 OBJS += head-xscale.o 48 OBJS += head-sharpsl.o 99 head.o $(OBJS)
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/ |
H A D | response_manager.c | 36 INIT_LIST_HEAD(&oct->response_list[i].head); in octeon_setup_response_list() 79 if (list_empty(&ordered_sc_list->head)) { in lio_process_ordered_list() 84 sc = list_first_entry(&ordered_sc_list->head, in lio_process_ordered_list() 148 [OCTEON_DONE_SC_LIST].head); in lio_process_ordered_list() 189 head); in lio_process_ordered_list()
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | file_root.c | 34 struct list_head *head, *node; in get_next_con() local 37 head = &sbi->connections.node_list; in get_next_con() 39 node = head->next; in get_next_con() 40 if (node == head) in get_next_con() 52 if (node == head) in get_next_con()
|
/kernel/linux/linux-5.10/drivers/power/reset/ |
H A D | reboot-mode.c | 32 list_for_each_entry(info, &reboot->head, list) { in get_reboot_mode_magic() 70 INIT_LIST_HEAD(&reboot->head); in reboot_mode_register() 101 list_add_tail(&info->list, &reboot->head); in reboot_mode_register() 110 list_for_each_entry(info, &reboot->head, list) in reboot_mode_register() 127 list_for_each_entry(info, &reboot->head, list) in reboot_mode_unregister()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/liquidio/ |
H A D | response_manager.c | 36 INIT_LIST_HEAD(&oct->response_list[i].head); in octeon_setup_response_list() 81 if (list_empty(&ordered_sc_list->head)) { in lio_process_ordered_list() 86 sc = list_first_entry(&ordered_sc_list->head, in lio_process_ordered_list() 150 [OCTEON_DONE_SC_LIST].head); in lio_process_ordered_list() 191 head); in lio_process_ordered_list()
|
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | file_root.c | 34 struct list_head *head, *node; in get_next_con() local 37 head = &sbi->connections.node_list; in get_next_con() 39 node = head->next; in get_next_con() 40 if (node == head) in get_next_con() 52 if (node == head) in get_next_con()
|