Home
last modified time | relevance | path

Searched refs:head (Results 1701 - 1725 of 6137) sorted by relevance

1...<<61626364656667686970>>...246

/third_party/openssl/providers/implementations/ciphers/
H A Dcipher_aes_cbc_hmac_sha1_hw.c57 SHA1_Init(&sctx->head); /* handy when benchmarking */ in aesni_cbc_hmac_sha1_init_key()
58 sctx->tail = sctx->head; in aesni_cbc_hmac_sha1_init_key()
59 sctx->md = sctx->head; in aesni_cbc_hmac_sha1_init_key()
496 sctx->md = sctx->head; in aesni_cbc_hmac_sha1_cipher()
642 SHA1_Init(&ctx->head); in aesni_cbc_hmac_sha1_set_mac_key()
643 sha1_update(&ctx->head, mac, len); in aesni_cbc_hmac_sha1_set_mac_key()
644 SHA1_Final(hmac_key, &ctx->head); in aesni_cbc_hmac_sha1_set_mac_key()
651 SHA1_Init(&ctx->head); in aesni_cbc_hmac_sha1_set_mac_key()
652 sha1_update(&ctx->head, hmac_key, sizeof(hmac_key)); in aesni_cbc_hmac_sha1_set_mac_key()
686 sctx->md = sctx->head; in aesni_cbc_hmac_sha1_set_tls1_aad()
[all...]
/foundation/communication/dsoftbus/tests/core/connection/tcp/
H A Dtcp_manager_test.cpp313 ConnPktHead head = {0}; in HWTEST_F() local
314 head.len = strlen(g_data); in HWTEST_F()
322 char *data = (char *)SoftBusCalloc(sizeof(head) + head.len); in HWTEST_F()
326 (void)memcpy_s(data, sizeof(head), (void*)&head, sizeof(head)); in HWTEST_F()
327 (void)memcpy_s(data + sizeof(head), (unsigned int)head.len, g_data, (unsigned int)head in HWTEST_F()
410 ConnPktHead head = {0}; HWTEST_F() local
[all...]
/kernel/linux/linux-5.10/drivers/tty/
H A Dmoxa.c1872 u16 head, tail, tx_mask, spage, epage; in MoxaPortWriteData() local
1881 head = readw(ofsAddr + TXrptr); in MoxaPortWriteData()
1882 c = (head > tail) ? (head - tail - 1) : (head - tail + tx_mask); in MoxaPortWriteData()
1891 if (head > tail) in MoxaPortWriteData()
1892 len = head - tail - 1; in MoxaPortWriteData()
1932 u16 pageno, pageofs, bufhead, head; in MoxaPortReadData() local
1936 head = readw(ofsAddr + RXrptr); in MoxaPortReadData()
1941 count = (tail >= head) in MoxaPortReadData()
[all...]
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_log_recover.c194 xlog_rec_header_t *head) in xlog_header_check_dump()
199 &head->h_fs_uuid, be32_to_cpu(head->h_fmt)); in xlog_header_check_dump()
202 #define xlog_header_check_dump(mp, head)
211 xlog_rec_header_t *head) in xlog_header_check_recover()
213 ASSERT(head->h_magicno == cpu_to_be32(XLOG_HEADER_MAGIC_NUM)); in xlog_header_check_recover()
220 if (XFS_IS_CORRUPT(mp, head->h_fmt != cpu_to_be32(XLOG_FMT))) { in xlog_header_check_recover()
223 xlog_header_check_dump(mp, head); in xlog_header_check_recover()
227 &head->h_fs_uuid))) { in xlog_header_check_recover()
230 xlog_header_check_dump(mp, head); in xlog_header_check_recover()
192 xlog_header_check_dump( xfs_mount_t *mp, xlog_rec_header_t *head) xlog_header_check_dump() argument
209 xlog_header_check_recover( xfs_mount_t *mp, xlog_rec_header_t *head) xlog_header_check_recover() argument
240 xlog_header_check_mount( xfs_mount_t *mp, xlog_rec_header_t *head) xlog_header_check_mount() argument
403 xlog_rec_header_t *head = NULL; xlog_find_verify_log_record() local
2038 xlog_recover_add_item( struct list_head *head) xlog_recover_add_item() argument
[all...]
/kernel/linux/linux-6.6/drivers/tty/
H A Dmoxa.c2171 u16 head, tail, tx_mask, spage, epage; in MoxaPortWriteData() local
2180 head = readw(ofsAddr + TXrptr); in MoxaPortWriteData()
2181 c = (head > tail) ? (head - tail - 1) : (head - tail + tx_mask); in MoxaPortWriteData()
2190 if (head > tail) in MoxaPortWriteData()
2191 len = head - tail - 1; in MoxaPortWriteData()
2231 u16 pageno, pageofs, bufhead, head; in MoxaPortReadData() local
2235 head = readw(ofsAddr + RXrptr); in MoxaPortReadData()
2240 count = (tail >= head) in MoxaPortReadData()
[all...]
/kernel/linux/linux-6.6/kernel/bpf/
H A Dhelpers.c1828 struct list_head *head = list_head, *orig_head = list_head; in bpf_list_head_free() local
1840 if (!head->next || list_empty(head)) in bpf_list_head_free()
1842 head = head->next; in bpf_list_head_free()
1847 while (head != orig_head) { in bpf_list_head_free()
1848 void *obj = head; in bpf_list_head_free()
1851 head = head->next; in bpf_list_head_free()
1965 struct bpf_list_head *head, in __bpf_list_add()
1964 __bpf_list_add(struct bpf_list_node_kern *node, struct bpf_list_head *head, bool tail, struct btf_record *rec, u64 off) __bpf_list_add() argument
1991 bpf_list_push_front_impl(struct bpf_list_head *head, struct bpf_list_node *node, void *meta__ign, u64 off) bpf_list_push_front_impl() argument
2001 bpf_list_push_back_impl(struct bpf_list_head *head, struct bpf_list_node *node, void *meta__ign, u64 off) bpf_list_push_back_impl() argument
2011 __bpf_list_del(struct bpf_list_head *head, bool tail) __bpf_list_del() argument
2034 bpf_list_pop_front(struct bpf_list_head *head) bpf_list_pop_front() argument
2039 bpf_list_pop_back(struct bpf_list_head *head) bpf_list_pop_back() argument
[all...]
/kernel/linux/linux-6.6/drivers/s390/crypto/
H A Dzcrypt_ep11misc.c372 if (kb->head.type != TOKTYPE_NON_CCA) { in ep11_check_aes_key()
375 __func__, (int)kb->head.type, TOKTYPE_NON_CCA); in ep11_check_aes_key()
378 if (kb->head.version != TOKVER_EP11_AES) { in ep11_check_aes_key()
381 __func__, (int)kb->head.version, TOKVER_EP11_AES); in ep11_check_aes_key()
384 if (kb->head.len > keylen) { in ep11_check_aes_key()
387 __func__, (int)kb->head.len, keylen); in ep11_check_aes_key()
390 if (kb->head.len < sizeof(*kb)) { in ep11_check_aes_key()
393 __func__, (int)kb->head.len, sizeof(*kb)); in ep11_check_aes_key()
477 /* prep ep11 payload head helper function */
577 struct pl_head head; in ep11_query_info() member
586 struct pl_head head; ep11_query_info() member
777 struct pl_head head; _ep11_genaeskey() member
797 struct pl_head head; _ep11_genaeskey() member
958 struct pl_head head; ep11_cryptsingle() member
972 struct pl_head head; ep11_cryptsingle() member
1086 struct pl_head head; _ep11_unwrapkey() member
1108 struct pl_head head; _ep11_unwrapkey() member
1265 struct pl_head head; _ep11_wrapkey() member
1280 struct pl_head head; _ep11_wrapkey() member
[all...]
/third_party/selinux/checkpolicy/
H A Dpolicy_define.c289 ocontext_t *newc = 0, *c, *head; in define_initial_sid() local
310 head = policydbp->ocontexts[OCON_ISID]; in define_initial_sid()
312 for (c = head; c; c = c->next) { in define_initial_sid()
319 if (head) { in define_initial_sid()
320 newc->sid[0] = head->sid[0] + 1; in define_initial_sid()
324 newc->next = head; in define_initial_sid()
1857 /* range is the new head */ in avrule_sort_ioctls()
4570 ocontext_t *c, *head; in define_initial_sid_context() local
4584 head = policydbp->ocontexts[OCON_ISID]; in define_initial_sid_context()
4585 for (c = head; in define_initial_sid_context()
4611 ocontext_t *newc, *c, *head; define_fs_context() local
4672 ocontext_t *newc, *c, *l, *head; define_pirq_context() local
4726 ocontext_t *newc, *c, *l, *head; define_iomem_context() local
4790 ocontext_t *newc, *c, *l, *head; define_ioport_context() local
4854 ocontext_t *newc, *c, *l, *head; define_pcidevice_context() local
4909 ocontext_t *newc, *c, *l, *head; define_devicetree_context() local
4964 ocontext_t *newc, *c, *l, *head; define_port_context() local
5056 ocontext_t *newc, *c, *l, *head; define_ibpkey_context() local
5162 ocontext_t *newc, *c, *l, *head; define_ibendport_context() local
5242 ocontext_t *newc, *c, *head; define_netif_context() local
5303 ocontext_t *newc, *c, *l, *head; define_ipv4_node_context() local
5431 ocontext_t *newc, *c, *l, *head; define_ipv6_node_context() local
5524 ocontext_t *newc, *c, *head; define_fs_use() local
5577 ocontext_t *newc, *c, *head, *p; define_genfs_context_helper() local
[all...]
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
H A D8250_core.c88 struct list_head *head; member
119 l = i->head; in serial8250_interrupt()
135 if (l == i->head && pass_counter++ > PASS_LIMIT) in serial8250_interrupt()
157 if (!list_empty(i->head)) { in serial_do_unlink()
158 if (i->head == &up->list) in serial_do_unlink()
159 i->head = i->head->next; in serial_do_unlink()
162 BUG_ON(i->head != &up->list); in serial_do_unlink()
163 i->head = NULL; in serial_do_unlink()
167 if (i->head in serial_do_unlink()
[all...]
/kernel/linux/linux-5.10/net/sctp/
H A Dinput.c725 struct sctp_hashbucket *head; in __sctp_hash_endpoint() local
730 head = &sctp_ep_hashtable[epb->hashent]; in __sctp_hash_endpoint()
741 sctp_for_each_hentry(epb2, &head->chain) { in __sctp_hash_endpoint()
768 write_lock(&head->lock); in __sctp_hash_endpoint()
769 hlist_add_head(&epb->node, &head->chain); in __sctp_hash_endpoint()
770 write_unlock(&head->lock); in __sctp_hash_endpoint()
790 struct sctp_hashbucket *head; in __sctp_unhash_endpoint() local
797 head = &sctp_ep_hashtable[epb->hashent]; in __sctp_unhash_endpoint()
802 write_lock(&head->lock); in __sctp_unhash_endpoint()
804 write_unlock(&head in __sctp_unhash_endpoint()
835 struct sctp_hashbucket *head; __sctp_rcv_lookup_endpoint() local
[all...]
/kernel/linux/linux-5.10/fs/erofs/
H A Dzdata.c97 * | tail (partial) page | head (partial) page |
111 * | tail (partial) page | head (partial) page |
500 static void z_erofs_rcu_callback(struct rcu_head *head) in z_erofs_rcu_callback() argument
503 container_of(head, struct z_erofs_collection, rcu); in z_erofs_rcu_callback()
845 * only if non-head page can be selected in z_erofs_decompress_pcluster()
945 z_erofs_next_pcluster_t owned = io->head; in z_erofs_decompress_queue()
969 DBG_BUGON(bgq->head == Z_EROFS_PCLUSTER_TAIL_CLOSED); in z_erofs_decompressqueue_work()
1111 q->head = Z_EROFS_PCLUSTER_TAIL_CLOSED; in jobqueue_init()
1172 qtail[JQ_BYPASS] = &q[JQ_BYPASS]->head; in z_erofs_submit_queue()
1173 qtail[JQ_SUBMIT] = &q[JQ_SUBMIT]->head; in z_erofs_submit_queue()
1313 struct page *page, *head = NULL; z_erofs_readahead() local
[all...]
/kernel/linux/linux-5.10/net/batman-adv/
H A Dnetwork-coding.c404 struct hlist_head *head; in batadv_nc_purge_orig_hash() local
413 head = &hash->table[i]; in batadv_nc_purge_orig_hash()
416 hlist_for_each_entry_rcu(orig_node, head, hash_entry) in batadv_nc_purge_orig_hash()
438 struct hlist_head *head; in batadv_nc_purge_paths() local
445 head = &hash->table[i]; in batadv_nc_purge_paths()
450 hlist_for_each_entry_safe(nc_path, node_tmp, head, hash_entry) { in batadv_nc_purge_paths()
550 struct hlist_head *head; in batadv_nc_hash_find() local
558 head = &hash->table[index]; in batadv_nc_hash_find()
561 hlist_for_each_entry_rcu(nc_path, head, hash_entry) { in batadv_nc_hash_find()
680 struct hlist_head *head; in batadv_nc_process_nc_paths() local
1902 struct hlist_head *head; batadv_nc_nodes_seq_print_text() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dgk104.c193 list_for_each_entry(chan, &fifo->runlist[runl].chan, head) { in gk104_fifo_runlist_update()
197 list_for_each_entry(cgrp, &fifo->runlist[runl].cgrp, head) { in gk104_fifo_runlist_update()
199 list_for_each_entry(chan, &cgrp->chan, head) { in gk104_fifo_runlist_update()
214 if (!list_empty(&chan->head)) { in gk104_fifo_runlist_remove()
215 list_del_init(&chan->head); in gk104_fifo_runlist_remove()
217 list_del_init(&cgrp->head); in gk104_fifo_runlist_remove()
229 list_add_tail(&cgrp->head, &fifo->runlist[chan->runl].cgrp); in gk104_fifo_runlist_insert()
230 list_add_tail(&chan->head, &cgrp->chan); in gk104_fifo_runlist_insert()
232 list_add_tail(&chan->head, &fifo->runlist[chan->runl].chan); in gk104_fifo_runlist_insert()
335 list_for_each_entry(chan, &fifo->runlist[runl].chan, head) { in gk104_fifo_recover_chid()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/google/gve/
H A Dgve_tx_dqo.c308 tx->dqo_compl.miss_completions.head = -1; in gve_tx_alloc_ring_dqo()
310 tx->dqo_compl.timed_out_completions.head = -1; in gve_tx_alloc_ring_dqo()
390 u32 num_used = (tx->dqo_tx.tail - tx->dqo_tx.head) & tx->mask; in num_avail_tx_slots()
412 /* Update cached TX head pointer */ in gve_maybe_stop_tx_dqo()
413 tx->dqo_tx.head = atomic_read_acquire(&tx->dqo_compl.hw_tx_head); in gve_maybe_stop_tx_dqo()
428 tx->dqo_tx.head = atomic_read_acquire(&tx->dqo_compl.hw_tx_head); in gve_maybe_stop_tx_dqo()
951 list->head = index; in add_to_list()
969 /* Node is head */ in remove_from_list()
970 list->head = next_index; in remove_from_list()
1106 next_index = tx->dqo_compl.miss_completions.head; in remove_miss_completions()
[all...]
/kernel/linux/linux-6.6/drivers/tty/serial/8250/
H A D8250_core.c88 struct list_head *head; member
119 l = i->head; in serial8250_interrupt()
135 if (l == i->head && pass_counter++ > PASS_LIMIT) in serial8250_interrupt()
157 if (!list_empty(i->head)) { in serial_do_unlink()
158 if (i->head == &up->list) in serial_do_unlink()
159 i->head = i->head->next; in serial_do_unlink()
162 BUG_ON(i->head != &up->list); in serial_do_unlink()
163 i->head = NULL; in serial_do_unlink()
167 if (i->head in serial_do_unlink()
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/
H A Ddefs.h954 (_ring).head = 0; \
959 #define IRDMA_RING_CURRENT_HEAD(_ring) ((_ring).head)
967 (_ring).head = ((_ring).head + 1) % size; \
978 (_ring).head = ((_ring).head + (_count)) % size; \
989 (_ring).head = ((_ring).head + 1) % size; \
1000 (_ring).head = ((_ring).head
[all...]
/kernel/linux/linux-6.6/net/sctp/
H A Dinput.c737 struct sctp_hashbucket *head; in __sctp_hash_endpoint() local
740 head = &sctp_ep_hashtable[ep->hashent]; in __sctp_hash_endpoint()
751 sctp_for_each_hentry(ep2, &head->chain) { in __sctp_hash_endpoint()
778 write_lock(&head->lock); in __sctp_hash_endpoint()
779 hlist_add_head(&ep->node, &head->chain); in __sctp_hash_endpoint()
780 write_unlock(&head->lock); in __sctp_hash_endpoint()
800 struct sctp_hashbucket *head; in __sctp_unhash_endpoint() local
804 head = &sctp_ep_hashtable[ep->hashent]; in __sctp_unhash_endpoint()
809 write_lock(&head->lock); in __sctp_unhash_endpoint()
811 write_unlock(&head in __sctp_unhash_endpoint()
843 struct sctp_hashbucket *head; __sctp_rcv_lookup_endpoint() local
[all...]
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
H A DCollationDataBuilder.java208 // pointing to a new ConditionalCE32 list head. in addCE32()
387 * The result is cached in the list head. It is reset when the contexts are modified.
586 ConditionalCE32 head = new ConditionalCE32("", 0); in copyFromBaseCE32()
590 index = copyContractionsFromBaseCE32(context, c, ce32, head); in copyFromBaseCE32()
593 head.next = index = addConditionalCE32(context.toString(), ce32); in copyFromBaseCE32()
610 ce32 = makeBuilderContextCE32(head.next); in copyFromBaseCE32()
620 ConditionalCE32 head = new ConditionalCE32("", 0); in copyFromBaseCE32()
622 copyContractionsFromBaseCE32(context, c, ce32, head); in copyFromBaseCE32()
623 ce32 = makeBuilderContextCE32(head.next); in copyFromBaseCE32()
1028 protected int buildContext(ConditionalCE32 head) { in buildContext() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
H A DCollationDataBuilder.java209 // pointing to a new ConditionalCE32 list head. in addCE32()
388 * The result is cached in the list head. It is reset when the contexts are modified.
575 ConditionalCE32 head = new ConditionalCE32("", 0); in copyFromBaseCE32()
579 index = copyContractionsFromBaseCE32(context, c, ce32, head); in copyFromBaseCE32()
582 head.next = index = addConditionalCE32(context.toString(), ce32); in copyFromBaseCE32()
599 ce32 = makeBuilderContextCE32(head.next); in copyFromBaseCE32()
609 ConditionalCE32 head = new ConditionalCE32("", 0); in copyFromBaseCE32()
611 copyContractionsFromBaseCE32(context, c, ce32, head); in copyFromBaseCE32()
612 ce32 = makeBuilderContextCE32(head.next); in copyFromBaseCE32()
1020 protected int buildContext(ConditionalCE32 head) { in buildContext() argument
[all...]
/foundation/multimedia/image_framework/frameworks/kits/cj/src/
H A Dimage_ffi.cpp269 CArrString ret = { .head = nullptr, .size = 0 }; in FfiOHOSGetSupportedFormats()
306 ret.head = arr; in FfiOHOSGetSupportedFormats()
438 CArrI64 ret = {.head = nullptr, .size = 0 }; in FfiOHOSImageSourceCreatePixelMapList()
464 ret.head = arr; in FfiOHOSImageSourceCreatePixelMapList()
474 CArrI32 ret = {.head = nullptr, .size = 0 }; in FfiOHOSImageSourceGetDelayTime()
498 ret.head = arr; in FfiOHOSImageSourceGetDelayTime()
508 CArrI32 ret = {.head = nullptr, .size = 0 }; in FfiImageImageSourceImplGetDisposalTypeList()
530 ret.head = arr; in FfiImageImageSourceImplGetDisposalTypeList()
547 keyStrArray.push_back(key.head[i]); in FfiImageImageSourceImplGetImageProperties()
570 return instance->ModifyImageProperties(key.head, valu in FfiImageImageSourceImplModifyImageProperties()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/
H A Dpci.c95 return tx_ring->r.head + offset; in rtw_pci_get_tx_desc()
121 u8 *head = tx_ring->r.head; in rtw_pci_free_tx_ring() local
128 dma_free_coherent(&pdev->dev, ring_sz, head, tx_ring->r.dma); in rtw_pci_free_tx_ring()
129 tx_ring->r.head = NULL; in rtw_pci_free_tx_ring()
157 u8 *head = rx_ring->r.head; in rtw_pci_free_rx_ring() local
162 dma_free_coherent(&pdev->dev, ring_sz, head, rx_ring->r.dma); in rtw_pci_free_rx_ring()
190 u8 *head; in rtw_pci_init_tx_ring() local
197 head in rtw_pci_init_tx_ring()
264 u8 *head; rtw_pci_init_rx_ring() local
[all...]
/kernel/linux/linux-5.10/mm/
H A Dksm.c118 * @rmap_list: head for this mm_slot's singly-linked list of rmap_items
147 * @head: (overlaying parent) &migrate_nodes indicates temporarily on that list
150 * @hlist: hlist head of rmap_items using this ksm page
160 struct list_head *head; member
193 * @head: pointer to stable_node heading this list in the stable tree
210 struct stable_node *head; member
346 return dup->head == STABLE_NODE_DUP_HEAD; in is_stable_node_dup()
353 dup->head = STABLE_NODE_DUP_HEAD; in stable_node_chain_add_dup()
374 dup->head = NULL; in stable_node_dup_del()
664 if (stable_node->head in remove_node_from_stable_tree()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/prestera/
H A Dprestera_switchdev.c38 struct list_head head; member
50 struct list_head head; member
62 struct list_head head; member
102 list_for_each_entry(bridge, &sw->swdev->bridge_list, head) in prestera_bridge_find()
115 list_for_each_entry(br_port, &bridge->port_list, head) in __prestera_bridge_port_find()
189 list_add(&br_vlan->head, &br_port->vlan_list); in prestera_bridge_vlan_create()
196 list_del(&br_vlan->head); in prestera_bridge_vlan_destroy()
206 list_for_each_entry(br_vlan, &br_port->vlan_list, head) { in prestera_bridge_vlan_by_vid()
221 list_for_each_entry(br_port, &bridge->port_list, head) { in prestera_bridge_vlan_port_count()
222 list_for_each_entry(br_vlan, &br_port->vlan_list, head) { in prestera_bridge_vlan_port_count()
[all...]
/third_party/python/Modules/
H A Dgcmodule.c71 /* Get an object's GC head */
74 /* Get the object given the GC head */
128 #define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head)
144 GEN.head._gc_next = (uintptr_t)&GEN.head; \ in _PyGC_InitState()
145 GEN.head._gc_prev = (uintptr_t)&GEN.head; \ in _PyGC_InitState()
365 // `head` must be a doubly-linked gc list, although it's fine (expected!) if
368 // - The `head` pointers are not polluted.
373 validate_list(PyGC_Head *head, enu argument
632 untrack_tuples(PyGC_Head *head) untrack_tuples() argument
647 untrack_dicts(PyGC_Head *head) untrack_dicts() argument
[all...]
/foundation/ability/ability_runtime/frameworks/native/ability/native/child_process_manager/
H A Dnative_args_child_process.cpp74 args.fdList.head = nullptr; in ParseToNativeArgs()
108 if (!args.fdList.head) { in ParseToNativeArgs()
109 args.fdList.head = node; in ParseToNativeArgs()

Completed in 49 milliseconds

1...<<61626364656667686970>>...246