Searched refs:prev_pos (Results 1 – 12 of 12) sorted by relevance
/linux/lib/xz/ |
H A D | xz_dec_bcj.c | 97 size_t prev_pos = (size_t)-1; in bcj_x86() local 112 prev_pos = i - prev_pos; in bcj_x86() 113 if (prev_pos > 3) { in bcj_x86() 116 prev_mask = (prev_mask << (prev_pos - 1)) & 7; in bcj_x86() 121 prev_pos = i; in bcj_x86() 128 prev_pos = i; in bcj_x86() 154 prev_pos = i - prev_pos; in bcj_x86() 155 s->x86_prev_mask = prev_pos > 3 ? 0 : prev_mask << (prev_pos - 1); in bcj_x86()
|
/linux/sound/soc/sof/ |
H A D | compress.c | 18 u64 prev_pos; in sof_set_transferred_bytes() local 21 div64_u64_rem(sstream->copied_total, buffer_size, &prev_pos); in sof_set_transferred_bytes() 23 if (host_pos < prev_pos) in sof_set_transferred_bytes() 24 copied = (buffer_size - prev_pos) + host_pos; in sof_set_transferred_bytes() 26 copied = host_pos - prev_pos; in sof_set_transferred_bytes()
|
/linux/sound/soc/intel/avs/ |
H A D | core.c | 234 u64 prev_pos, pos, num_bytes; in hdac_stream_update_pos() local 236 div64_u64_rem(stream->curr_pos, buffer_size, &prev_pos); in hdac_stream_update_pos() 239 if (pos < prev_pos) in hdac_stream_update_pos() 240 num_bytes = (buffer_size - prev_pos) + pos; in hdac_stream_update_pos() 242 num_bytes = pos - prev_pos; in hdac_stream_update_pos()
|
/linux/sound/soc/sof/intel/ |
H A D | hda-stream.c | 770 u64 prev_pos, pos, num_bytes; in hda_dsp_compr_bytes_transferred() local 772 div64_u64_rem(hstream->curr_pos, buffer_size, &prev_pos); in hda_dsp_compr_bytes_transferred() 775 if (pos < prev_pos) in hda_dsp_compr_bytes_transferred() 776 num_bytes = (buffer_size - prev_pos) + pos; in hda_dsp_compr_bytes_transferred() 778 num_bytes = pos - prev_pos; in hda_dsp_compr_bytes_transferred()
|
/linux/mm/ |
H A D | readahead.c | 142 ra->prev_pos = -1; in file_ra_state_init() 571 prev_index = (unsigned long long)ra->prev_pos >> PAGE_SHIFT; in page_cache_sync_ra()
|
H A D | filemap.c | 2620 loff_t last_pos = ra->prev_pos; in filemap_read() 2715 ra->prev_pos = last_pos; in filemap_read() 2968 in->f_ra.prev_pos = *ppos; in filemap_splice_read()
|
H A D | shmem.c | 3444 in->f_ra.prev_pos = *ppos; in shmem_file_splice_read()
|
/linux/fs/ |
H A D | splice.c | 1087 loff_t pos = sd->pos, prev_pos = pos; in splice_direct_to_actor() local 1110 sd->pos = prev_pos; in splice_direct_to_actor() 1119 sd->pos = prev_pos + ret; in splice_direct_to_actor()
|
/linux/fs/ext4/ |
H A D | dir.c | 199 file->f_ra.prev_pos = (loff_t)index << PAGE_SHIFT; in ext4_readdir()
|
/linux/drivers/scsi/aic7xxx/ |
H A 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()
|
H A 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/include/linux/ |
H A D | fs.h | 997 loff_t prev_pos; member
|