Home
last modified time | relevance | path

Searched refs:tail (Results 426 - 450 of 2296) sorted by relevance

1...<<11121314151617181920>>...92

/kernel/linux/linux-6.6/net/sunrpc/xprtrdma/
H A Drpc_rdma.c174 return (buf->head[0].iov_len + buf->tail[0].iov_len) < in rpcrdma_nonpayload_inline()
257 if (xdrbuf->tail[0].iov_len) in rpcrdma_convert_iovs()
258 rpcrdma_convert_kvec(&xdrbuf->tail[0], seg, &n); in rpcrdma_convert_iovs()
632 /* The tail iovec may include an XDR pad for the page list,
643 struct page *page = virt_to_page(xdr->tail[0].iov_base); in rpcrdma_prepare_tail_iov()
660 /* Copy the tail to the end of the head buffer.
670 memmove(dst, xdr->tail[0].iov_base, xdr->tail[0].iov_len); in rpcrdma_pullup_tail_iov()
671 r_xprt->rx_stats.pullup_copy_count += xdr->tail[0].iov_len; in rpcrdma_pullup_tail_iov()
704 * When the head, pagelist, and tail ar
730 struct kvec *tail = &xdr->tail[0]; rpcrdma_prepare_noch_mapped() local
[all...]
/kernel/linux/linux-5.10/arch/arm/crypto/
H A Daes-ce-glue.c401 u8 __aligned(8) tail[AES_BLOCK_SIZE]; in ctr_encrypt()
407 * Tell aes_ctr_encrypt() to process a tail block. in ctr_encrypt()
412 ce_aes_ctr_encrypt(tail, NULL, ctx->key_enc, num_rounds(ctx), in ctr_encrypt()
415 crypto_xor_cpy(tdst, tsrc, tail, nbytes); in ctr_encrypt()
449 int tail = req->cryptlen % AES_BLOCK_SIZE; in xts_encrypt() local
460 if (unlikely(tail > 0 && walk.nbytes < walk.total)) { in xts_encrypt()
476 tail = 0; in xts_encrypt()
493 if (err || likely(!tail)) in xts_encrypt()
500 skcipher_request_set_crypt(req, src, dst, AES_BLOCK_SIZE + tail, in xts_encrypt()
521 int tail in xts_decrypt() local
[all...]
/kernel/linux/linux-6.6/arch/arm/crypto/
H A Daes-ce-glue.c401 u8 __aligned(8) tail[AES_BLOCK_SIZE]; in ctr_encrypt()
407 * Tell aes_ctr_encrypt() to process a tail block. in ctr_encrypt()
412 ce_aes_ctr_encrypt(tail, NULL, ctx->key_enc, num_rounds(ctx), in ctr_encrypt()
415 crypto_xor_cpy(tdst, tsrc, tail, nbytes); in ctr_encrypt()
449 int tail = req->cryptlen % AES_BLOCK_SIZE; in xts_encrypt() local
460 if (unlikely(tail > 0 && walk.nbytes < walk.total)) { in xts_encrypt()
476 tail = 0; in xts_encrypt()
493 if (err || likely(!tail)) in xts_encrypt()
500 skcipher_request_set_crypt(req, src, dst, AES_BLOCK_SIZE + tail, in xts_encrypt()
521 int tail in xts_decrypt() local
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Dipoib_tx.c150 unsigned long tail; in hfi1_ipoib_drain_tx_ring() local
159 tail = tx_ring->tail; in hfi1_ipoib_drain_tx_ring()
162 work_done = min_t(int, CIRC_CNT(head, tail, max_tx), budget); in hfi1_ipoib_drain_tx_ring()
165 hfi1_ipoib_free_tx(tx_ring->items[tail], budget); in hfi1_ipoib_drain_tx_ring()
166 tail = CIRC_NEXT(tail, max_tx); in hfi1_ipoib_drain_tx_ring()
171 /* Finished freeing tx items so store the tail value. */ in hfi1_ipoib_drain_tx_ring()
172 smp_store_release(&tx_ring->tail, tail); in hfi1_ipoib_drain_tx_ring()
198 unsigned long tail; hfi1_ipoib_add_tx() local
[all...]
/device/qemu/riscv32_virt/liteos_m/board/driver/
H A Dvirtnet.c126 uint16_t tail; /* tail pbuf's index to Tx vq[1].desc[] */ member
205 uint16_t count, idx, tail; in FreeTxEntry() local
212 tail = nic->tbufRec[idx].tail; in FreeTxEntry()
216 q->desc[tail].next = nic->tFreeHdr; in FreeTxEntry()
217 q->desc[tail].flag = VIRTQ_DESC_F_NEXT; in FreeTxEntry()
321 uint16_t head, tail, idx; in GetTxFreeEntry() local
335 tail = idx; in GetTxFreeEntry()
340 nic->dev.vq[1].desc[tail] in GetTxFreeEntry()
[all...]
/kernel/linux/linux-5.10/drivers/firewire/
H A Dnosy.c63 struct packet *head, *tail; member
121 buffer->tail = (struct packet *) buffer->data; in packet_buffer_init()
194 buffer->tail->length = length; in packet_buffer_put()
196 if (&buffer->tail->data[length] < end) { in packet_buffer_put()
197 memcpy(buffer->tail->data, data, length); in packet_buffer_put()
198 buffer->tail = (struct packet *) &buffer->tail->data[length]; in packet_buffer_put()
200 size_t split = end - buffer->tail->data; in packet_buffer_put()
202 memcpy(buffer->tail->data, data, split); in packet_buffer_put()
204 buffer->tail in packet_buffer_put()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtdls.c398 struct iwl_tdls_channel_switch_cmd_tail *tail = in iwl_mvm_tdls_config_channel_switch() local
416 tail->timing.frame_timestamp = cpu_to_le32(timestamp); in iwl_mvm_tdls_config_channel_switch()
417 tail->timing.switch_time = cpu_to_le32(switch_time); in iwl_mvm_tdls_config_channel_switch()
418 tail->timing.switch_timeout = cpu_to_le32(switch_timeout); in iwl_mvm_tdls_config_channel_switch()
454 tail->timing.max_offchan_duration = in iwl_mvm_tdls_config_channel_switch()
459 tail->frame.switch_time_offset = cpu_to_le32(ch_sw_tm_ie + 2); in iwl_mvm_tdls_config_channel_switch()
469 iwl_mvm_set_tx_cmd_ccmp(info, &tail->frame.tx_cmd); in iwl_mvm_tdls_config_channel_switch()
472 iwl_mvm_set_tx_cmd(mvm, skb, &tail->frame.tx_cmd, info, in iwl_mvm_tdls_config_channel_switch()
475 iwl_mvm_set_tx_cmd_rate(mvm, &tail->frame.tx_cmd, info, sta, in iwl_mvm_tdls_config_channel_switch()
479 memcpy(tail in iwl_mvm_tdls_config_channel_switch()
[all...]
/kernel/linux/linux-6.6/drivers/accel/ivpu/
H A Divpu_job.c58 jobq_header->tail = 0; in ivpu_cmdq_alloc()
147 cmdq->jobq->header.tail = 0; in ivpu_cmdq_reset_locked()
185 u32 tail = READ_ONCE(header->tail); in ivpu_cmdq_push_job() local
186 u32 next_entry = (tail + 1) % cmdq->entry_count; in ivpu_cmdq_push_job()
190 ivpu_dbg(vdev, JOB, "Job queue full: ctx %d engine %d db %d head %d tail %d\n", in ivpu_cmdq_push_job()
191 job->file_priv->ctx.id, job->engine_idx, cmdq->db_id, header->head, tail); in ivpu_cmdq_push_job()
195 entry = &cmdq->jobq->job[tail]; in ivpu_cmdq_push_job()
199 wmb(); /* Ensure that tail is updated after filling entry */ in ivpu_cmdq_push_job()
200 header->tail in ivpu_cmdq_push_job()
[all...]
/kernel/linux/linux-6.6/drivers/firewire/
H A Dnosy.c63 struct packet *head, *tail; member
121 buffer->tail = (struct packet *) buffer->data; in packet_buffer_init()
194 buffer->tail->length = length; in packet_buffer_put()
196 if (&buffer->tail->data[length] < end) { in packet_buffer_put()
197 memcpy(buffer->tail->data, data, length); in packet_buffer_put()
198 buffer->tail = (struct packet *) &buffer->tail->data[length]; in packet_buffer_put()
200 size_t split = end - buffer->tail->data; in packet_buffer_put()
202 memcpy(buffer->tail->data, data, split); in packet_buffer_put()
204 buffer->tail in packet_buffer_put()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtdls.c342 struct iwl_tdls_channel_switch_cmd_tail *tail = in iwl_mvm_tdls_config_channel_switch() local
360 tail->timing.frame_timestamp = cpu_to_le32(timestamp); in iwl_mvm_tdls_config_channel_switch()
361 tail->timing.switch_time = cpu_to_le32(switch_time); in iwl_mvm_tdls_config_channel_switch()
362 tail->timing.switch_timeout = cpu_to_le32(switch_timeout); in iwl_mvm_tdls_config_channel_switch()
398 tail->timing.max_offchan_duration = in iwl_mvm_tdls_config_channel_switch()
403 tail->frame.switch_time_offset = cpu_to_le32(ch_sw_tm_ie + 2); in iwl_mvm_tdls_config_channel_switch()
413 iwl_mvm_set_tx_cmd_ccmp(info, &tail->frame.tx_cmd); in iwl_mvm_tdls_config_channel_switch()
416 iwl_mvm_set_tx_cmd(mvm, skb, &tail->frame.tx_cmd, info, in iwl_mvm_tdls_config_channel_switch()
419 iwl_mvm_set_tx_cmd_rate(mvm, &tail->frame.tx_cmd, info, sta, in iwl_mvm_tdls_config_channel_switch()
423 memcpy(tail in iwl_mvm_tdls_config_channel_switch()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/cadence/
H A Dmacb_ptp.c305 unsigned long tail = READ_ONCE(queue->tx_ts_tail); in gem_ptp_txstamp() local
313 if (CIRC_SPACE(head, tail, PTP_TS_BUFFER_SIZE) == 0) in gem_ptp_txstamp()
339 unsigned long head, tail; in gem_tx_timestamp_flush() local
344 tail = queue->tx_ts_tail; in gem_tx_timestamp_flush()
346 while (CIRC_CNT(head, tail, PTP_TS_BUFFER_SIZE)) { in gem_tx_timestamp_flush()
347 tx_ts = &queue->tx_timestamps[tail]; in gem_tx_timestamp_flush()
351 /* remove old tail */ in gem_tx_timestamp_flush()
353 (tail + 1) & (PTP_TS_BUFFER_SIZE - 1)); in gem_tx_timestamp_flush()
354 tail = queue->tx_ts_tail; in gem_tx_timestamp_flush()
/kernel/linux/linux-6.6/tools/perf/tests/shell/
H A Ddaemon.sh129 tail --pid=${pid} -f /dev/null
191 line=`perf daemon --config ${config} -x: | head -2 | tail -1`
199 line=`perf daemon --config ${config} -x: | head -3 | tail -1`
240 line=`perf daemon --config ${config} -x: | head -3 | tail -1`
265 tail --pid=${pid} -f /dev/null
276 line=`perf daemon --config ${config} -x: | head -3 | tail -1`
363 pid_size=`perf daemon --config ${config} -x: | head -2 | tail -1 |
366 pid_time=`perf daemon --config ${config} -x: | head -3 | tail -1 |
/kernel/liteos_a/testsuites/unittest/container/
H A DIt_container_test.cpp127 char *tail = buf; in GetLine() local
132 while (*tail != '\0') { in GetLine()
133 if (*tail != '\n') { in GetLine()
134 tail++; in GetLine()
143 *tail = '\0'; in GetLine()
147 tail++; in GetLine()
148 head = tail; in GetLine()
149 tail++; in GetLine()
/kernel/liteos_a/testsuites/unittest/process/plimits/
H A Dprocess_plimits_test.cpp590 char *tail = buf; in GetLine() local
595 while (*tail != '\0') { in GetLine()
596 if (*tail != '\n') { in GetLine()
597 tail++; in GetLine()
606 *tail = '\0'; in GetLine()
610 tail++; in GetLine()
611 head = tail; in GetLine()
612 tail++; in GetLine()
/third_party/node/lib/internal/
H A Dtimers.js270 this.tail = null;
273 // Appends an item to the end of the linked list, adjusting the current tail's
276 if (this.tail !== null) {
277 this.tail._idleNext = item;
278 item._idlePrev = this.tail;
282 this.tail = item;
286 // items and the linked list's head or tail pointers as necessary
298 if (item === this.tail)
299 this.tail = item._idlePrev;
439 queue.head = queue.tail
[all...]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_scene.c152 bin->head = bin->tail; in lp_scene_bin_reset()
153 if (bin->tail) { in lp_scene_bin_reset()
154 bin->tail->next = NULL; in lp_scene_bin_reset()
155 bin->tail->count = 0; in lp_scene_bin_reset()
344 if (bin->tail) { in lp_scene_new_cmd_block()
345 bin->tail->next = block; in lp_scene_new_cmd_block()
346 bin->tail = block; in lp_scene_new_cmd_block()
350 bin->tail = block; in lp_scene_new_cmd_block()
/third_party/mesa3d/src/intel/common/
H A Dintel_measure.c430 if (rb->head == rb->tail) { in intel_measure_push_result()
464 if (head < rb->tail) in ringbuffer_size()
466 return head - rb->tail; in ringbuffer_size()
472 if (rb->tail == rb->head) { in ringbuffer_pop()
477 if (++rb->tail == config.buffer_size) in ringbuffer_pop()
478 rb->tail = 0; in ringbuffer_pop()
479 return &rb->results[rb->tail]; in ringbuffer_pop()
485 int result_offset = rb->tail + index + 1; in ringbuffer_peek()
/third_party/spirv-tools/source/opt/
H A Dinvocation_interlock_placement_pass.cpp50 switch (block->tail()->opcode()) { in hasSingleNextBlock()
54 return block->tail()->NumInOperandWords() == 1; in hasSingleNextBlock()
56 return !block->tail()->IsReturnOrAbort(); in hasSingleNextBlock()
86 begin_inst->InsertAfter(&*--block->tail()); in addInstructionAtBlockBoundary()
310 assert(block->tail()->opcode() == spv::Op::OpBranchConditional ||
311 block->tail()->opcode() == spv::Op::OpSwitch);
317 block->tail()->WhileEachInId([new_succ, succ_id](uint32_t* branch_id) {
376 inst->InsertBefore(&*new_branch->tail());
/kernel/linux/linux-5.10/tools/include/linux/
H A Dring_buffer.h32 * READ from the tail WRITE.
69 u64 tail) in ring_buffer_write_tail()
71 smp_store_release(&base->data_tail, tail); in ring_buffer_write_tail()
68 ring_buffer_write_tail(struct perf_event_mmap_page *base, u64 tail) ring_buffer_write_tail() argument
/kernel/linux/linux-6.6/tools/include/linux/
H A Dring_buffer.h32 * READ from the tail WRITE.
69 u64 tail) in ring_buffer_write_tail()
71 smp_store_release(&base->data_tail, tail); in ring_buffer_write_tail()
68 ring_buffer_write_tail(struct perf_event_mmap_page *base, u64 tail) ring_buffer_write_tail() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
H A Di915_perf.c214 #define OA_TAKEN(tail, head) ((tail - head) & (OA_BUFFER_SIZE - 1))
219 * There's a HW race condition between OA unit tail pointer register updates and
220 * writes to memory whereby the tail pointer can sometimes get ahead of what's
225 * by checking for a zeroed report-id field in tail reports, we want to account
230 * in the OA buffer, starting from the tail reported by the HW until we find a
241 * Note for posterity: previously the driver used to define an effective tail
242 * pointer that lagged the real pointer by a 'tail margin' measured in bytes
300 * be used as a mask to align the OA tail pointer.
438 * oa_buffer_check_unlocked - check for data and update tail pt
493 u32 head, tail, aged_tail; oa_buffer_check_unlocked() local
656 u32 head, tail; gen8_append_oa_reports() local
953 u32 head, tail; gen7_append_oa_reports() local
[all...]
/kernel/linux/linux-5.10/net/mac80211/
H A Dwpa.c38 int tail; in ieee80211_tx_h_michael_mic_add() local
66 tail = MICHAEL_MIC_LEN; in ieee80211_tx_h_michael_mic_add()
68 tail += IEEE80211_TKIP_ICV_LEN; in ieee80211_tx_h_michael_mic_add()
70 if (WARN(skb_tailroom(skb) < tail || in ieee80211_tx_h_michael_mic_add()
72 "mmic: not enough head/tail (%d/%d,%d/%d)\n", in ieee80211_tx_h_michael_mic_add()
74 skb_tailroom(skb), tail)) in ieee80211_tx_h_michael_mic_add()
200 int len, tail; in tkip_encrypt_skb() local
215 tail = 0; in tkip_encrypt_skb()
217 tail = IEEE80211_TKIP_ICV_LEN; in tkip_encrypt_skb()
219 if (WARN_ON(skb_tailroom(skb) < tail || in tkip_encrypt_skb()
412 int hdrlen, len, tail; ccmp_encrypt_skb() local
648 int hdrlen, len, tail; gcmp_encrypt_skb() local
[all...]
/kernel/linux/linux-6.6/net/mac80211/
H A Dwpa.c38 int tail; in ieee80211_tx_h_michael_mic_add() local
66 tail = MICHAEL_MIC_LEN; in ieee80211_tx_h_michael_mic_add()
68 tail += IEEE80211_TKIP_ICV_LEN; in ieee80211_tx_h_michael_mic_add()
70 if (WARN(skb_tailroom(skb) < tail || in ieee80211_tx_h_michael_mic_add()
72 "mmic: not enough head/tail (%d/%d,%d/%d)\n", in ieee80211_tx_h_michael_mic_add()
74 skb_tailroom(skb), tail)) in ieee80211_tx_h_michael_mic_add()
200 int len, tail; in tkip_encrypt_skb() local
215 tail = 0; in tkip_encrypt_skb()
217 tail = IEEE80211_TKIP_ICV_LEN; in tkip_encrypt_skb()
219 if (WARN_ON(skb_tailroom(skb) < tail || in tkip_encrypt_skb()
424 int hdrlen, len, tail; ccmp_encrypt_skb() local
624 int hdrlen, len, tail; gcmp_encrypt_skb() local
[all...]
/third_party/node/deps/npm/node_modules/lru-cache/dist/commonjs/
H A Dindex.js217 #tail;
249 get tail() {
250 return c.#tail;
338 this.#tail = 0;
547 for (let i = this.#tail; true;) {
572 if (i === this.#tail) {
854 ? this.#tail
863 this.#next[this.#tail] = index;
864 this.#prev[index] = this.#tail;
865 this.#tail
[all...]
/third_party/node/deps/npm/node_modules/lru-cache/dist/esm/
H A Dindex.js214 #tail;
246 get tail() {
247 return c.#tail;
335 this.#tail = 0;
544 for (let i = this.#tail; true;) {
569 if (i === this.#tail) {
851 ? this.#tail
860 this.#next[this.#tail] = index;
861 this.#prev[index] = this.#tail;
862 this.#tail
[all...]

Completed in 22 milliseconds

1...<<11121314151617181920>>...92