/third_party/mesa3d/src/compiler/glsl/glcpp/ |
H A D | glcpp-parse.y | 106 _token_list_append_list(token_list_t *list, token_list_t *tail); 879 list->tail = NULL; 898 list->tail->next = node; 901 list->tail = node; 990 list->tail = NULL; 1009 list->tail->next = node; 1012 list->tail = node; 1085 list->tail = NULL; 1103 list->tail->next = node; 1106 list->tail [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_cq.c | 289 int tail = pvrdma_idx(&cq->ring_state->rx.prod_tail, in _pvrdma_flush_cqe() local 294 items = (tail > head) ? (tail - head) : in _pvrdma_flush_cqe() 295 (cq->ibcq.cqe - head + tail); in _pvrdma_flush_cqe() 296 curr = --tail; in _pvrdma_flush_cqe() 300 if (tail < 0) in _pvrdma_flush_cqe() 301 tail = cq->ibcq.cqe - 1; in _pvrdma_flush_cqe() 304 if (curr != tail) { in _pvrdma_flush_cqe() 305 cqe = get_cqe(cq, tail); in _pvrdma_flush_cqe() 308 tail in _pvrdma_flush_cqe() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/r128/ |
H A D | r128_drv.h | 81 u32 tail; member 97 drm_r128_freelist_t *tail; member 430 ring->space = (GET_RING_HEAD(dev_priv) - ring->tail) * sizeof(u32); in r128_update_ring_snapshot() 499 write = dev_priv->ring.tail; \ 512 DRM_INFO("ADVANCE_RING() wr=0x%06x tail=0x%06x\n", \ 513 write, dev_priv->ring.tail); \ 518 if (((dev_priv->ring.tail + _nr) & tail_mask) != write) \ 521 ((dev_priv->ring.tail + _nr) & tail_mask), \ 524 dev_priv->ring.tail = write; \ 529 DRM_INFO("COMMIT_RING() tail [all...] |
/kernel/linux/linux-5.10/drivers/tty/ |
H A D | ehv_bytechan.c | 54 unsigned int tail; /* circular buffer tail */ member 416 CIRC_CNT_TO_END(bc->head, bc->tail, BUF_SIZE), in ehv_bc_tx_dequeue() 419 ret = local_ev_byte_channel_send(bc->handle, &len, bc->buf + bc->tail); in ehv_bc_tx_dequeue() 423 bc->tail = (bc->tail + len) & (BUF_SIZE - 1); in ehv_bc_tx_dequeue() 425 count = CIRC_CNT(bc->head, bc->tail, BUF_SIZE); in ehv_bc_tx_dequeue() 430 if (CIRC_CNT(bc->head, bc->tail, BUF_SIZE)) in ehv_bc_tx_dequeue() 479 len = CIRC_SPACE_TO_END(bc->head, bc->tail, BUF_SIZE); in ehv_bc_tty_write() 546 count = CIRC_SPACE(bc->head, bc->tail, BUF_SIZ in ehv_bc_tty_write_room() [all...] |
/kernel/linux/linux-6.6/drivers/tty/ |
H A D | ehv_bytechan.c | 54 unsigned int tail; /* circular buffer tail */ member 416 CIRC_CNT_TO_END(bc->head, bc->tail, BUF_SIZE), in ehv_bc_tx_dequeue() 419 ret = local_ev_byte_channel_send(bc->handle, &len, bc->buf + bc->tail); in ehv_bc_tx_dequeue() 423 bc->tail = (bc->tail + len) & (BUF_SIZE - 1); in ehv_bc_tx_dequeue() 425 count = CIRC_CNT(bc->head, bc->tail, BUF_SIZE); in ehv_bc_tx_dequeue() 430 if (CIRC_CNT(bc->head, bc->tail, BUF_SIZE)) in ehv_bc_tx_dequeue() 479 len = CIRC_SPACE_TO_END(bc->head, bc->tail, BUF_SIZE); in ehv_bc_tty_write() 546 count = CIRC_SPACE(bc->head, bc->tail, BUF_SIZ in ehv_bc_tty_write_room() [all...] |
/kernel/linux/linux-6.6/drivers/hid/bpf/ |
H A D | hid_bpf_jmp_table.c | 43 int tail, head; member 84 FOR_ENTRIES(i, jmp_table.tail, jmp_table.head) { in hid_bpf_program_count() 177 FOR_ENTRIES(i, jmp_table.tail, jmp_table.head) { in hid_bpf_populate_hdev() 212 FOR_ENTRIES(i, jmp_table.tail, jmp_table.head) { in hid_bpf_release_progs() 260 FOR_ENTRIES(i, jmp_table.tail, jmp_table.head) { in hid_bpf_release_progs() 271 n = jmp_table.tail; in hid_bpf_release_progs() 272 FOR_ENTRIES(i, jmp_table.tail, jmp_table.head) { in hid_bpf_release_progs() 437 jmp_table.tail = PREV(jmp_table.tail); in __hid_bpf_attach_prog() 438 prog_entry = &jmp_table.entries[jmp_table.tail]; in __hid_bpf_attach_prog() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_cq.c | 292 int tail = pvrdma_idx(&cq->ring_state->rx.prod_tail, in _pvrdma_flush_cqe() local 297 items = (tail > head) ? (tail - head) : in _pvrdma_flush_cqe() 298 (cq->ibcq.cqe - head + tail); in _pvrdma_flush_cqe() 299 curr = --tail; in _pvrdma_flush_cqe() 303 if (tail < 0) in _pvrdma_flush_cqe() 304 tail = cq->ibcq.cqe - 1; in _pvrdma_flush_cqe() 307 if (curr != tail) { in _pvrdma_flush_cqe() 308 cqe = get_cqe(cq, tail); in _pvrdma_flush_cqe() 311 tail in _pvrdma_flush_cqe() [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | merge_return_pass.cpp | 45 bool endsWithReturn = return_blocks[0] == function->tail(); in Process() 220 SpvOp tail_opcode = block->tail()->opcode(); in ProcessStructuredBlock() 237 if (block->tail()->opcode() == SpvOpReturn || in BranchToBlock() 238 block->tail()->opcode() == SpvOpReturnValue) { in BranchToBlock() 533 if (block->tail()->opcode() != SpvOpReturn && in RecordReturned() 534 block->tail()->opcode() != SpvOpReturnValue) in RecordReturned() 558 &*block->tail().InsertBefore(std::move(return_store)); in RecordReturned() 564 auto terminator = *block->tail(); in RecordReturnValue() 579 &*block->tail().InsertBefore(std::move(value_store)); in RecordReturnValue() 649 Instruction& terminator = *block.tail(); in CollectReturnBlocks() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | merge_return_pass.cpp | 45 bool endsWithReturn = return_blocks[0] == function->tail(); in Process() 220 SpvOp tail_opcode = block->tail()->opcode(); in ProcessStructuredBlock() 237 if (block->tail()->opcode() == SpvOpReturn || in BranchToBlock() 238 block->tail()->opcode() == SpvOpReturnValue) { in BranchToBlock() 533 if (block->tail()->opcode() != SpvOpReturn && in RecordReturned() 534 block->tail()->opcode() != SpvOpReturnValue) in RecordReturned() 558 &*block->tail().InsertBefore(std::move(return_store)); in RecordReturned() 564 auto terminator = *block->tail(); in RecordReturnValue() 579 &*block->tail().InsertBefore(std::move(value_store)); in RecordReturnValue() 649 Instruction& terminator = *block.tail(); in CollectReturnBlocks() [all...] |
/third_party/skia/third_party/externals/freetype/src/sfnt/ |
H A D | sfdriver.c | 365 const FT_Byte* tail = (const FT_Byte*)( data + nblocks * 16 ); in murmur_hash_3_128() local 376 k4 ^= (FT_UInt32)tail[14] << 16; in murmur_hash_3_128() 379 k4 ^= (FT_UInt32)tail[13] << 8; in murmur_hash_3_128() 382 k4 ^= (FT_UInt32)tail[12]; in murmur_hash_3_128() 390 k3 ^= (FT_UInt32)tail[11] << 24; in murmur_hash_3_128() 393 k3 ^= (FT_UInt32)tail[10] << 16; in murmur_hash_3_128() 396 k3 ^= (FT_UInt32)tail[9] << 8; in murmur_hash_3_128() 399 k3 ^= (FT_UInt32)tail[8]; in murmur_hash_3_128() 407 k2 ^= (FT_UInt32)tail[7] << 24; in murmur_hash_3_128() 410 k2 ^= (FT_UInt32)tail[ in murmur_hash_3_128() [all...] |
/third_party/spirv-tools/source/opt/ |
H A D | merge_return_pass.cpp | 45 bool endsWithReturn = return_blocks[0] == function->tail(); in Process() 222 spv::Op tail_opcode = block->tail()->opcode(); in ProcessStructuredBlock() 241 if (block->tail()->opcode() == spv::Op::OpReturn || in BranchToBlock() 242 block->tail()->opcode() == spv::Op::OpReturnValue) { in BranchToBlock() 539 if (block->tail()->opcode() != spv::Op::OpReturn && in RecordReturned() 540 block->tail()->opcode() != spv::Op::OpReturnValue) in RecordReturned() 564 &*block->tail().InsertBefore(std::move(return_store)); in RecordReturned() 570 auto terminator = *block->tail(); in RecordReturnValue() 585 &*block->tail().InsertBefore(std::move(value_store)); in RecordReturnValue() 657 Instruction& terminator = *block.tail(); in CollectReturnBlocks() [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...] |
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/test/ |
H A D | test_differential_fuzz_library.js | 58 const tail = new Array(10).join('a'); 61 `${head}[...]${tail}`); 66 `${head}[...]${tail}`);
|
/third_party/musl/libc-test/src/functional/ |
H A D | string_memmem.c | 7 #define N(s, tail, sub) { \ 8 char *p = s tail; \ 11 t_error("memmem("#s" "#tail", %d, "#sub", %d) returned str+%d, wanted 0\n",\
|
/kernel/linux/linux-5.10/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-5.10/drivers/gpu/drm/i915/gt/ |
H A D | intel_ring.c | 77 void intel_ring_reset(struct intel_ring *ring, u32 tail) in intel_ring_reset() argument 79 tail = intel_ring_wrap(ring, tail); in intel_ring_reset() 80 ring->tail = tail; in intel_ring_reset() 81 ring->head = tail; in intel_ring_reset() 82 ring->emit = tail; in intel_ring_reset() 285 /* Fill the tail with MI_NOOP */ in intel_ring_begin() 301 /* Align the ring tail to a cacheline boundary */
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A D | hclgevf_mbx.c | 148 u32 tail = hclgevf_read_dev(hw, HCLGEVF_NIC_CRQ_TAIL_REG); in hclgevf_cmd_crq_empty() local 150 return tail == hw->cmq.crq.next_to_use; in hclgevf_cmd_crq_empty() 239 /* tail the async message in arq */ in hclgevf_mbx_handler() 240 msg_q = hdev->arq.msg_q[hdev->arq.tail]; in hclgevf_mbx_handler() 279 u32 tail; in hclgevf_mbx_async_handler() local 287 tail = hdev->arq.tail; in hclgevf_mbx_async_handler() 290 while (tail != hdev->arq.head) { in hclgevf_mbx_async_handler()
|
/kernel/linux/linux-5.10/drivers/visorbus/ |
H A D | visorchannel.c | 42 /* protect tail writes in chan_hdr */ 220 if (sig_hdr.head == sig_hdr.tail) in signalremove_inner() 222 sig_hdr.tail = (sig_hdr.tail + 1) % sig_hdr.max_slots; in signalremove_inner() 223 error = sig_read_data(channel, queue, &sig_hdr, sig_hdr.tail, msg); in signalremove_inner() 232 error = SIG_WRITE_FIELD(channel, queue, &sig_hdr, tail); in signalremove_inner() 274 return (sig_hdr.head == sig_hdr.tail); in queue_empty() 310 if (sig_hdr.head == sig_hdr.tail) { in signalinsert_inner()
|
/kernel/linux/linux-5.10/fs/adfs/ |
H A D | dir_f.c | 107 * The directory tail is in the final bh in adfs_dir_checkbyte() 127 struct adfs_newdirtail *tail = dir->newtail; in adfs_f_validate() local 129 if (head->startmasseq != tail->endmasseq || in adfs_f_validate() 130 tail->dirlastmask || tail->reserved[0] || tail->reserved[1] || in adfs_f_validate() 133 memcmp(&head->startname, &tail->endname, 4) || in adfs_f_validate() 134 adfs_dir_checkbyte(dir) != tail->dircheckbyte) in adfs_f_validate()
|
/kernel/linux/linux-5.10/mm/kasan/ |
H A D | quarantine.c | 45 struct qlist_node *tail; member 59 q->head = q->tail = NULL; in qlist_init() 69 q->tail->next = qlink; in qlist_put() 70 q->tail = qlink; in qlist_put() 86 to->tail->next = from->head; in qlist_move_all() 87 to->tail = from->tail; in qlist_move_all()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A D | hclgevf_mbx.c | 160 u32 tail = hclgevf_read_dev(hw, HCLGE_COMM_NIC_CRQ_TAIL_REG); in hclgevf_cmd_crq_empty() local 162 return tail == hw->hw.cmq.crq.next_to_use; in hclgevf_cmd_crq_empty() 215 /* tail the async message in arq */ in hclgevf_handle_mbx_msg() 216 memcpy(hdev->arq.msg_q[hdev->arq.tail], &req->msg, in hclgevf_handle_mbx_msg() 310 u32 tail; in hclgevf_mbx_async_handler() local 314 tail = hdev->arq.tail; in hclgevf_mbx_async_handler() 317 while (tail != hdev->arq.head) { in hclgevf_mbx_async_handler()
|
/kernel/linux/linux-6.6/fs/adfs/ |
H A D | dir_f.c | 107 * The directory tail is in the final bh in adfs_dir_checkbyte() 127 struct adfs_newdirtail *tail = dir->newtail; in adfs_f_validate() local 129 if (head->startmasseq != tail->endmasseq || in adfs_f_validate() 130 tail->dirlastmask || tail->reserved[0] || tail->reserved[1] || in adfs_f_validate() 133 memcmp(&head->startname, &tail->endname, 4) || in adfs_f_validate() 134 adfs_dir_checkbyte(dir) != tail->dircheckbyte) in adfs_f_validate()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | intel_ring.c | 85 void intel_ring_reset(struct intel_ring *ring, u32 tail) in intel_ring_reset() argument 87 tail = intel_ring_wrap(ring, tail); in intel_ring_reset() 88 ring->tail = tail; in intel_ring_reset() 89 ring->head = tail; in intel_ring_reset() 90 ring->emit = tail; in intel_ring_reset() 294 /* Fill the tail with MI_NOOP */ in intel_ring_begin() 311 /* Align the ring tail to a cacheline boundary */
|