Home
last modified time | relevance | path

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

/Linux-v5.10/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-v5.10/sound/soc/sof/intel/
Dhda-stream.c648 u64 prev_pos, pos, num_bytes; in hda_dsp_set_bytes_transferred() local
650 div64_u64_rem(hstream->curr_pos, buffer_size, &prev_pos); in hda_dsp_set_bytes_transferred()
653 if (pos < prev_pos) in hda_dsp_set_bytes_transferred()
654 num_bytes = (buffer_size - prev_pos) + pos; in hda_dsp_set_bytes_transferred()
656 num_bytes = pos - prev_pos; in hda_dsp_set_bytes_transferred()
/Linux-v5.10/mm/
Dreadahead.c37 ra->prev_pos = -1; in file_ra_state_init()
506 prev_index = (unsigned long long)ra->prev_pos >> PAGE_SHIFT; in ondemand_readahead()
Dfilemap.c2205 prev_index = ra->prev_pos >> PAGE_SHIFT; in generic_file_buffered_read()
2206 prev_offset = ra->prev_pos & (PAGE_SIZE-1); in generic_file_buffered_read()
2471 ra->prev_pos = prev_index; in generic_file_buffered_read()
2472 ra->prev_pos <<= PAGE_SHIFT; in generic_file_buffered_read()
2473 ra->prev_pos |= prev_offset; in generic_file_buffered_read()
/Linux-v5.10/fs/
Dsplice.c861 loff_t pos = sd->pos, prev_pos = pos; in splice_direct_to_actor() local
890 sd->pos = prev_pos; in splice_direct_to_actor()
899 sd->pos = prev_pos + ret; in splice_direct_to_actor()
/Linux-v5.10/fs/ext4/
Ddir.c184 file->f_ra.prev_pos = (loff_t)index << PAGE_SHIFT; in ext4_readdir()
/Linux-v5.10/drivers/scsi/aic7xxx/
Daic7xxx_core.c5755 uint8_t prev_pos; in ahc_qinfifo_requeue_tail() local
5757 prev_pos = ahc->qinfifonext - 1; in ahc_qinfifo_requeue_tail()
5758 prev_tag = ahc->qinfifo[prev_pos]; in ahc_qinfifo_requeue_tail()
Daic79xx_core.c8015 u_int prev_pos; in ahd_qinfifo_requeue_tail() local
8017 prev_pos = AHD_QIN_WRAP(ahd->qinfifonext - 1); in ahd_qinfifo_requeue_tail()
8018 prev_tag = ahd->qinfifo[prev_pos]; in ahd_qinfifo_requeue_tail()
/Linux-v5.10/include/linux/
Dfs.h904 loff_t prev_pos; /* Cache last read() position */ member