Searched refs:prev_pos (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/lib/xz/ |
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-6.12.1/sound/soc/sof/ |
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-6.12.1/sound/soc/intel/avs/ |
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-6.12.1/sound/soc/sof/intel/ |
D | hda-stream.c | 744 u64 prev_pos, pos, num_bytes; in hda_dsp_compr_bytes_transferred() local 746 div64_u64_rem(hstream->curr_pos, buffer_size, &prev_pos); in hda_dsp_compr_bytes_transferred() 749 if (pos < prev_pos) in hda_dsp_compr_bytes_transferred() 750 num_bytes = (buffer_size - prev_pos) + pos; in hda_dsp_compr_bytes_transferred() 752 num_bytes = pos - prev_pos; in hda_dsp_compr_bytes_transferred()
|
/linux-6.12.1/mm/ |
D | readahead.c | 142 ra->prev_pos = -1; in file_ra_state_init() 567 prev_index = (unsigned long long)ra->prev_pos >> PAGE_SHIFT; in page_cache_sync_ra()
|
D | filemap.c | 2621 loff_t last_pos = ra->prev_pos; in filemap_read() 2714 ra->prev_pos = last_pos; in filemap_read() 2967 in->f_ra.prev_pos = *ppos; in filemap_splice_read()
|
D | shmem.c | 3340 in->f_ra.prev_pos = *ppos; in shmem_file_splice_read()
|
/linux-6.12.1/fs/ |
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-6.12.1/fs/ext4/ |
D | dir.c | 199 file->f_ra.prev_pos = (loff_t)index << PAGE_SHIFT; in ext4_readdir()
|
/linux-6.12.1/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.12.1/include/linux/ |
D | fs.h | 994 loff_t prev_pos; member
|