Home
last modified time | relevance | path

Searched refs:prev_pos (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/lib/xz/
Dxz_dec_bcj.c96 size_t prev_pos = (size_t)-1; in bcj_x86() local
111 prev_pos = i - prev_pos; in bcj_x86()
112 if (prev_pos > 3) { in bcj_x86()
115 prev_mask = (prev_mask << (prev_pos - 1)) & 7; in bcj_x86()
120 prev_pos = i; in bcj_x86()
127 prev_pos = i; in bcj_x86()
153 prev_pos = i - prev_pos; in bcj_x86()
154 s->x86_prev_mask = prev_pos > 3 ? 0 : prev_mask << (prev_pos - 1); in bcj_x86()
/linux-6.1.9/sound/soc/sof/
Dcompress.c17 u64 prev_pos; in sof_set_transferred_bytes() local
20 div64_u64_rem(sstream->copied_total, buffer_size, &prev_pos); in sof_set_transferred_bytes()
22 if (host_pos < prev_pos) in sof_set_transferred_bytes()
23 copied = (buffer_size - prev_pos) + host_pos; in sof_set_transferred_bytes()
25 copied = host_pos - prev_pos; in sof_set_transferred_bytes()
/linux-6.1.9/sound/soc/intel/avs/
Dcore.c226 u64 prev_pos, pos, num_bytes; in hdac_stream_update_pos() local
228 div64_u64_rem(stream->curr_pos, buffer_size, &prev_pos); in hdac_stream_update_pos()
231 if (pos < prev_pos) in hdac_stream_update_pos()
232 num_bytes = (buffer_size - prev_pos) + pos; in hdac_stream_update_pos()
234 num_bytes = pos - prev_pos; in hdac_stream_update_pos()
/linux-6.1.9/sound/soc/sof/intel/
Dhda-stream.c716 u64 prev_pos, pos, num_bytes; in hda_dsp_compr_bytes_transferred() local
718 div64_u64_rem(hstream->curr_pos, buffer_size, &prev_pos); in hda_dsp_compr_bytes_transferred()
721 if (pos < prev_pos) in hda_dsp_compr_bytes_transferred()
722 num_bytes = (buffer_size - prev_pos) + pos; in hda_dsp_compr_bytes_transferred()
724 num_bytes = pos - prev_pos; in hda_dsp_compr_bytes_transferred()
/linux-6.1.9/mm/
Dreadahead.c143 ra->prev_pos = -1; in file_ra_state_init()
639 prev_index = (unsigned long long)ra->prev_pos >> PAGE_SHIFT; in ondemand_readahead()
Dfilemap.c2702 if (!pos_same_folio(iocb->ki_pos, ra->prev_pos - 1, in filemap_read()
2730 ra->prev_pos = iocb->ki_pos; in filemap_read()
/linux-6.1.9/fs/
Dsplice.c863 loff_t pos = sd->pos, prev_pos = pos; in splice_direct_to_actor() local
888 sd->pos = prev_pos; in splice_direct_to_actor()
897 sd->pos = prev_pos + ret; in splice_direct_to_actor()
/linux-6.1.9/fs/ext4/
Ddir.c198 file->f_ra.prev_pos = (loff_t)index << PAGE_SHIFT; in ext4_readdir()
/linux-6.1.9/drivers/scsi/aic7xxx/
Daic7xxx_core.c5752 uint8_t prev_pos; in ahc_qinfifo_requeue_tail() local
5754 prev_pos = ahc->qinfifonext - 1; in ahc_qinfifo_requeue_tail()
5755 prev_tag = ahc->qinfifo[prev_pos]; in ahc_qinfifo_requeue_tail()
Daic79xx_core.c8010 u_int prev_pos; in ahd_qinfifo_requeue_tail() local
8012 prev_pos = AHD_QIN_WRAP(ahd->qinfifonext - 1); in ahd_qinfifo_requeue_tail()
8013 prev_tag = ahd->qinfifo[prev_pos]; in ahd_qinfifo_requeue_tail()
/linux-6.1.9/include/linux/
Dfs.h928 loff_t prev_pos; member