/kernel/linux/linux-6.6/drivers/input/serio/ |
H A D | sa1111ps2.c | 52 unsigned int tail; member 97 if (ps2if->head == ps2if->tail) { in ps2_txint() 101 writel_relaxed(ps2if->buf[ps2if->tail], ps2if->base + PS2DATA); in ps2_txint() 102 ps2if->tail = (ps2if->tail + 1) & (sizeof(ps2if->buf) - 1); in ps2_txint() 127 if (ps2if->head == ps2if->tail) in ps2_write() 130 if (head != ps2if->tail) { in ps2_write()
|
/kernel/linux/linux-6.6/mm/kasan/ |
H A D | quarantine.c | 35 struct qlist_node *tail; member 49 q->head = q->tail = NULL; in qlist_init() 59 q->tail->next = qlink; in qlist_put() 60 q->tail = qlink; in qlist_put() 76 to->tail->next = from->head; in qlist_move_all() 77 to->tail = from->tail; in qlist_move_all()
|
/third_party/node/deps/openssl/openssl/crypto/evp/ |
H A D | e_aes_cbc_hmac_sha256.c | 33 SHA256_CTX head, tail, md; member 82 key->tail = key->head; in aesni_cbc_hmac_sha256_init_key() 328 ctx->A[i] = key->tail.h[0]; in tls1_1_multi_block_encrypt() 330 ctx->B[i] = key->tail.h[1]; in tls1_1_multi_block_encrypt() 332 ctx->C[i] = key->tail.h[2]; in tls1_1_multi_block_encrypt() 334 ctx->D[i] = key->tail.h[3]; in tls1_1_multi_block_encrypt() 336 ctx->E[i] = key->tail.h[4]; in tls1_1_multi_block_encrypt() 338 ctx->F[i] = key->tail.h[5]; in tls1_1_multi_block_encrypt() 340 ctx->G[i] = key->tail.h[6]; in tls1_1_multi_block_encrypt() 342 ctx->H[i] = key->tail in tls1_1_multi_block_encrypt() [all...] |
/third_party/openssl/crypto/evp/ |
H A D | e_aes_cbc_hmac_sha256.c | 33 SHA256_CTX head, tail, md; member 82 key->tail = key->head; in aesni_cbc_hmac_sha256_init_key() 328 ctx->A[i] = key->tail.h[0]; in tls1_1_multi_block_encrypt() 330 ctx->B[i] = key->tail.h[1]; in tls1_1_multi_block_encrypt() 332 ctx->C[i] = key->tail.h[2]; in tls1_1_multi_block_encrypt() 334 ctx->D[i] = key->tail.h[3]; in tls1_1_multi_block_encrypt() 336 ctx->E[i] = key->tail.h[4]; in tls1_1_multi_block_encrypt() 338 ctx->F[i] = key->tail.h[5]; in tls1_1_multi_block_encrypt() 340 ctx->G[i] = key->tail.h[6]; in tls1_1_multi_block_encrypt() 342 ctx->H[i] = key->tail in tls1_1_multi_block_encrypt() [all...] |
/third_party/python/Objects/ |
H A D | obmalloc.c | 1520 int32_t tail = (int32_t)(arena_base & ARENA_SIZE_MASK); in arena_map_mark_used() local 1521 if (tail == 0) { in arena_map_mark_used() 1532 n_hi->arenas[i3].tail_hi = is_used ? tail : 0; in arena_map_mark_used() 1546 n_lo->arenas[i3_next].tail_lo = is_used ? tail : 0; in arena_map_mark_used() 1561 /* ARENA_BITS must be < 32 so that the tail is a non-negative int32_t. */ in arena_map_is_used() 1564 int32_t tail = (int32_t)(AS_UINT(p) & ARENA_SIZE_MASK); in arena_map_is_used() local 1565 return (tail < lo) || (tail >= hi && hi != 0); in arena_map_is_used() 2484 uint8_t *tail; /* data + nbytes == pointer to tail pa in _PyMem_DebugRawAlloc() local 2590 uint8_t *tail; /* data + nbytes == pointer to tail pad bytes */ _PyMem_DebugRawRealloc() local 2731 const uint8_t *tail; _PyMem_DebugCheckAddress() local 2771 const uint8_t *tail; _PyObject_DebugDumpAddress() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | metadata.c | 46 if (!CIRC_SPACE(ring->head, ring->tail, in nfp_release_stats_entry() 83 if (ring->head == ring->tail) { in nfp_get_stats_entry() 88 memcpy(&temp_stats_id, &ring->buf[ring->tail], NFP_FL_STATS_ELEM_RS); in nfp_get_stats_entry() 90 memcpy(&ring->buf[ring->tail], &freed_stats_id, NFP_FL_STATS_ELEM_RS); in nfp_get_stats_entry() 91 ring->tail = (ring->tail + NFP_FL_STATS_ELEM_RS) % in nfp_get_stats_entry() 141 if (CIRC_SPACE(ring->head, ring->tail, NFP_FLOWER_MASK_ENTRY_RS) == 0) in nfp_release_mask_id() 170 if (ring->head == ring->tail) in nfp_mask_alloc() 173 memcpy(&temp_id, &ring->buf[ring->tail], NFP_FLOWER_MASK_ELEMENT_RS); in nfp_mask_alloc() 182 memcpy(&ring->buf[ring->tail], in nfp_mask_alloc() [all...] |
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | uhci-debug.c | 146 goto tail; in uhci_show_urbp() 161 tail: in uhci_show_urbp() 217 goto tail; in uhci_show_qh() 234 goto tail; in uhci_show_qh() 252 goto tail; in uhci_show_qh() 258 tail: in uhci_show_qh() 396 goto tail; in uhci_sprint_schedule() 409 goto tail; in uhci_sprint_schedule() 449 goto tail; in uhci_sprint_schedule() 490 goto tail; in uhci_sprint_schedule() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | metadata.c | 47 if (!CIRC_SPACE(ring->head, ring->tail, priv->stats_ring_size)) in nfp_release_stats_entry() 83 if (ring->head == ring->tail) { in nfp_get_stats_entry() 88 /* Each increment of tail represents size of NFP_FL_STATS_ELEM_RS */ in nfp_get_stats_entry() 89 memcpy(&temp_stats_id, &ring->buf[ring->tail * NFP_FL_STATS_ELEM_RS], in nfp_get_stats_entry() 92 memcpy(&ring->buf[ring->tail * NFP_FL_STATS_ELEM_RS], &freed_stats_id, in nfp_get_stats_entry() 95 ring->tail = (ring->tail + 1) & (priv->stats_ring_size - 1); in nfp_get_stats_entry() 146 if (CIRC_SPACE(ring->head, ring->tail, NFP_FLOWER_MASK_ENTRY_RS) == 0) in nfp_release_mask_id() 178 if (ring->head == ring->tail) in nfp_mask_alloc() 181 /* Each increment of tail represent in nfp_mask_alloc() [all...] |
/kernel/linux/linux-6.6/fs/ntfs3/ |
H A D | record.c | 465 size_t tail; in mi_insert_attr() local 495 tail = 8; in mi_insert_attr() 499 tail = used - PtrOffset(rec, attr); in mi_insert_attr() 504 memmove(Add2Ptr(attr, asize), attr, tail); in mi_insert_attr() local 570 int tail = (int)(used - aoff - asize); in mi_resize_attr() local 574 if (tail < 0 || aoff >= used) in mi_resize_attr() 588 /* Move tail */ in mi_resize_attr() 589 memmove(next + dsize, next, tail); in mi_resize_attr() 598 memmove(next - dsize, next, tail); in mi_resize_attr() 631 u32 tail in mi_pack_runs() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | uhci-debug.c | 146 goto tail; in uhci_show_urbp() 161 tail: in uhci_show_urbp() 217 goto tail; in uhci_show_qh() 234 goto tail; in uhci_show_qh() 252 goto tail; in uhci_show_qh() 258 tail: in uhci_show_qh() 396 goto tail; in uhci_sprint_schedule() 409 goto tail; in uhci_sprint_schedule() 449 goto tail; in uhci_sprint_schedule() 490 goto tail; in uhci_sprint_schedule() [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | parseutils.c | 359 char *tail, color_string2[128]; in av_parse_color() local 372 if ((tail = strchr(color_string2, ALPHA_SEP))) in av_parse_color() 373 *tail++ = 0; in av_parse_color() 385 char *tail; in av_parse_color() local 386 unsigned int rgba = strtoul(color_string2, &tail, 16); in av_parse_color() 388 if (*tail || (len != 6 && len != 8)) { in av_parse_color() 412 if (tail) { in av_parse_color() 414 const char *alpha_string = tail; in av_parse_color() 416 alpha = strtoul(alpha_string, &tail, 16); in av_parse_color() 418 double norm_alpha = strtod(alpha_string, &tail); in av_parse_color() [all...] |
/third_party/python/Lib/ |
H A D | ntpath.py | 203 # Split a path in head (everything up to the last '/') and tail (the 205 # join(head, tail) == p holds. 211 Return tuple (head, tail) where tail is everything after the final slash. 220 head, tail = p[:i], p[i:] # now tail has no slashes 223 return d + head, tail 240 # Return the tail (basename) part of a path. 647 tail = path[:0] 651 return join(path, tail) i [all...] |
H A D | os.py | 210 head, tail = path.split(name) 211 if not tail: 212 head, tail = path.split(head) 213 if head and tail and not path.exists(head): 220 if isinstance(tail, bytes): 222 if tail == cdir: # xxx/newdir/. exists if xxx/newdir exists 244 head, tail = path.split(name) 245 if not tail: 246 head, tail = path.split(head) 247 while head and tail [all...] |
/kernel/linux/linux-5.10/drivers/tty/serial/jsm/ |
H A D | jsm_neo.c | 283 u16 tail; in neo_copy_data_from_uart_to_queue() local 285 /* cache head and tail of queue */ in neo_copy_data_from_uart_to_queue() 287 tail = ch->ch_r_tail & RQUEUEMASK; in neo_copy_data_from_uart_to_queue() 294 if ((qleft = tail - head - 1) < 0) in neo_copy_data_from_uart_to_queue() 443 ch->ch_rqueue[tail], ch->ch_equeue[tail]); in neo_copy_data_from_uart_to_queue() 445 ch->ch_r_tail = tail = (tail + 1) & RQUEUEMASK; in neo_copy_data_from_uart_to_queue() 477 u16 tail; in neo_copy_data_from_queue_to_uart() local 506 writeb(circ->buf[circ->tail], in neo_copy_data_from_queue_to_uart() [all...] |
/kernel/linux/linux-5.10/drivers/usb/musb/ |
H A D | cppi_dma.c | 116 c->tail = NULL; in cppi_pool_init() 656 tx->tail = bd; in cppi_next_tx_segment() 767 struct cppi_descriptor *bd, *tail; in cppi_next_rx_segment() local 835 for (i = 0, tail = NULL; bd && i < n_bds; i++, tail = bd) { in cppi_next_rx_segment() 842 tail->next = bd; in cppi_next_rx_segment() 843 tail->hw_next = bd->dma; in cppi_next_rx_segment() 865 if (!tail) { in cppi_next_rx_segment() 871 tail->next = NULL; in cppi_next_rx_segment() 872 tail in cppi_next_rx_segment() [all...] |
/kernel/linux/linux-6.6/drivers/tty/serial/jsm/ |
H A D | jsm_neo.c | 283 u16 tail; in neo_copy_data_from_uart_to_queue() local 285 /* cache head and tail of queue */ in neo_copy_data_from_uart_to_queue() 287 tail = ch->ch_r_tail & RQUEUEMASK; in neo_copy_data_from_uart_to_queue() 294 qleft = tail - head - 1; in neo_copy_data_from_uart_to_queue() 444 ch->ch_rqueue[tail], ch->ch_equeue[tail]); in neo_copy_data_from_uart_to_queue() 446 ch->ch_r_tail = tail = (tail + 1) & RQUEUEMASK; in neo_copy_data_from_uart_to_queue() 478 u16 tail; in neo_copy_data_from_queue_to_uart() local 507 writeb(circ->buf[circ->tail], in neo_copy_data_from_queue_to_uart() [all...] |
/third_party/node/deps/v8/src/execution/ |
H A D | futex-emulation.cc | 56 FutexWaitListNode** tail) { in DeleteNodesForIsolate() 57 // For updating head & tail once we've iterated all nodes. in DeleteNodesForIsolate() 74 *tail = new_tail; in DeleteNodesForIsolate() 80 // list, it must be |head|, and if it's the last node, it must be |tail|. 82 FutexWaitListNode* tail); 91 FutexWaitListNode* tail; member 193 node->prev_ = it->second.tail; in NotifyAsyncWaiter() 194 it->second.tail->next_ = node; in NotifyAsyncWaiter() 195 it->second.tail = node; in NotifyAsyncWaiter() 207 it->second.tail in AddNode() 55 DeleteNodesForIsolate(Isolate* isolate, FutexWaitListNode** head, FutexWaitListNode** tail) DeleteNodesForIsolate() argument 888 FutexWaitListNode*& tail = it->second.tail; IsolateDeinit() local 988 VerifyNode(FutexWaitListNode* node, FutexWaitListNode* head, FutexWaitListNode* tail) VerifyNode() argument [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_cbc_hmac_sha256_hw.c | 60 sctx->tail = sctx->head; in aesni_cbc_hmac_sha256_init_key() 300 mctx->A[i] = sctx->tail.h[0]; in tls1_multi_block_encrypt() 302 mctx->B[i] = sctx->tail.h[1]; in tls1_multi_block_encrypt() 304 mctx->C[i] = sctx->tail.h[2]; in tls1_multi_block_encrypt() 306 mctx->D[i] = sctx->tail.h[3]; in tls1_multi_block_encrypt() 308 mctx->E[i] = sctx->tail.h[4]; in tls1_multi_block_encrypt() 310 mctx->F[i] = sctx->tail.h[5]; in tls1_multi_block_encrypt() 312 mctx->G[i] = sctx->tail.h[6]; in tls1_multi_block_encrypt() 314 mctx->H[i] = sctx->tail.h[7]; in tls1_multi_block_encrypt() 319 mctx->A[i] = sctx->tail in tls1_multi_block_encrypt() [all...] |
H A D | cipher_aes_cbc_hmac_sha1_hw.c | 58 sctx->tail = sctx->head; in aesni_cbc_hmac_sha1_init_key() 292 mctx->A[i] = sctx->tail.h0; in tls1_multi_block_encrypt() 294 mctx->B[i] = sctx->tail.h1; in tls1_multi_block_encrypt() 296 mctx->C[i] = sctx->tail.h2; in tls1_multi_block_encrypt() 298 mctx->D[i] = sctx->tail.h3; in tls1_multi_block_encrypt() 300 mctx->E[i] = sctx->tail.h4; in tls1_multi_block_encrypt() 305 mctx->A[i] = sctx->tail.h0; in tls1_multi_block_encrypt() 307 mctx->B[i] = sctx->tail.h1; in tls1_multi_block_encrypt() 309 mctx->C[i] = sctx->tail.h2; in tls1_multi_block_encrypt() 311 mctx->D[i] = sctx->tail in tls1_multi_block_encrypt() [all...] |
/third_party/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_cbc_hmac_sha256_hw.c | 60 sctx->tail = sctx->head; in aesni_cbc_hmac_sha256_init_key() 300 mctx->A[i] = sctx->tail.h[0]; in tls1_multi_block_encrypt() 302 mctx->B[i] = sctx->tail.h[1]; in tls1_multi_block_encrypt() 304 mctx->C[i] = sctx->tail.h[2]; in tls1_multi_block_encrypt() 306 mctx->D[i] = sctx->tail.h[3]; in tls1_multi_block_encrypt() 308 mctx->E[i] = sctx->tail.h[4]; in tls1_multi_block_encrypt() 310 mctx->F[i] = sctx->tail.h[5]; in tls1_multi_block_encrypt() 312 mctx->G[i] = sctx->tail.h[6]; in tls1_multi_block_encrypt() 314 mctx->H[i] = sctx->tail.h[7]; in tls1_multi_block_encrypt() 319 mctx->A[i] = sctx->tail in tls1_multi_block_encrypt() [all...] |
H A D | cipher_aes_cbc_hmac_sha1_hw.c | 58 sctx->tail = sctx->head; in aesni_cbc_hmac_sha1_init_key() 292 mctx->A[i] = sctx->tail.h0; in tls1_multi_block_encrypt() 294 mctx->B[i] = sctx->tail.h1; in tls1_multi_block_encrypt() 296 mctx->C[i] = sctx->tail.h2; in tls1_multi_block_encrypt() 298 mctx->D[i] = sctx->tail.h3; in tls1_multi_block_encrypt() 300 mctx->E[i] = sctx->tail.h4; in tls1_multi_block_encrypt() 305 mctx->A[i] = sctx->tail.h0; in tls1_multi_block_encrypt() 307 mctx->B[i] = sctx->tail.h1; in tls1_multi_block_encrypt() 309 mctx->C[i] = sctx->tail.h2; in tls1_multi_block_encrypt() 311 mctx->D[i] = sctx->tail in tls1_multi_block_encrypt() [all...] |
/third_party/astc-encoder/Test/testlib/ |
H A D | misc.py | 39 head, tail = os.path.split(path) 41 parts.insert(0, tail)
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/ |
H A D | hisi_femac.c | 105 unsigned int tail; member 163 skb = txq->skb[txq->tail]; in hisi_femac_xmit_reclaim() 169 hisi_femac_tx_dma_unmap(priv, skb, txq->tail); in hisi_femac_xmit_reclaim() 177 txq->skb[txq->tail] = NULL; in hisi_femac_xmit_reclaim() 178 txq->tail = (txq->tail + 1) % txq->num; in hisi_femac_xmit_reclaim() 220 if (!CIRC_SPACE(pos, rxq->tail, rxq->num)) in hisi_femac_rx_refill() 253 pos = rxq->tail; in hisi_femac_rx() 292 rxq->tail = pos; in hisi_femac_rx() 363 queue->tail in hisi_femac_init_queue() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/ |
H A D | hisi_femac.c | 105 unsigned int tail; member 163 skb = txq->skb[txq->tail]; in hisi_femac_xmit_reclaim() 169 hisi_femac_tx_dma_unmap(priv, skb, txq->tail); in hisi_femac_xmit_reclaim() 177 txq->skb[txq->tail] = NULL; in hisi_femac_xmit_reclaim() 178 txq->tail = (txq->tail + 1) % txq->num; in hisi_femac_xmit_reclaim() 220 if (!CIRC_SPACE(pos, rxq->tail, rxq->num)) in hisi_femac_rx_refill() 253 pos = rxq->tail; in hisi_femac_rx() 292 rxq->tail = pos; in hisi_femac_rx() 363 queue->tail in hisi_femac_init_queue() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/x86/ |
H A D | lam.c | 90 unsigned int *tail; member 422 sring->tail = sq_ptr + p.sq_off.tail; in mmap_io_uring() 442 cring->tail = cq_ptr + p.cq_off.tail; in mmap_io_uring() 479 if (head == *cring->tail) in handle_uring_cq() 509 unsigned int index = 0, cur_block = 0, tail = 0, next_tail = 0; in handle_uring_sq() local 532 next_tail = *sring->tail; in handle_uring_sq() 533 tail = next_tail; in handle_uring_sq() 538 index = tail in handle_uring_sq() [all...] |