Searched refs:prev_pos (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/lib/xz/ |
D | xz_dec_bcj.c | 96 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/ |
D | compress.c | 17 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/ |
D | core.c | 226 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/ |
D | hda-stream.c | 716 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/ |
D | readahead.c | 143 ra->prev_pos = -1; in file_ra_state_init() 639 prev_index = (unsigned long long)ra->prev_pos >> PAGE_SHIFT; in ondemand_readahead()
|
D | filemap.c | 2702 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/ |
D | splice.c | 863 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/ |
D | dir.c | 198 file->f_ra.prev_pos = (loff_t)index << PAGE_SHIFT; in ext4_readdir()
|
/linux-6.1.9/drivers/scsi/aic7xxx/ |
D | aic7xxx_core.c | 5752 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()
|
D | aic79xx_core.c | 8010 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/ |
D | fs.h | 928 loff_t prev_pos; member
|