Home
last modified time | relevance | path

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

/Linux-v5.15/fs/overlayfs/
Dcopy_up.c178 loff_t old_pos = 0; in ovl_copy_up_data() local
238 if (skip_hole && data_pos < old_pos) { in ovl_copy_up_data()
239 data_pos = vfs_llseek(old_file, old_pos, SEEK_DATA); in ovl_copy_up_data()
240 if (data_pos > old_pos) { in ovl_copy_up_data()
241 hole_len = data_pos - old_pos; in ovl_copy_up_data()
243 old_pos = new_pos = data_pos; in ovl_copy_up_data()
252 bytes = do_splice_direct(old_file, &old_pos, in ovl_copy_up_data()
259 WARN_ON(old_pos != new_pos); in ovl_copy_up_data()
/Linux-v5.15/sound/soc/stm/
Dstm32_adfsdm.c172 unsigned int old_pos = priv->pos; in stm32_afsdm_pcm_cb() local
205 if (cur_size != src_size || (old_pos && (old_pos % period_size < size))) in stm32_afsdm_pcm_cb()
/Linux-v5.15/drivers/iio/adc/
Dstm32-dfsdm-adc.c856 size_t old_pos; in stm32_dfsdm_dma_buffer_done() local
869 old_pos = adc->bufi; in stm32_dfsdm_dma_buffer_done()
880 adc->cb(&adc->rx_buf[old_pos], in stm32_dfsdm_dma_buffer_done()
881 adc->buf_sz - old_pos, adc->cb_priv); in stm32_dfsdm_dma_buffer_done()
883 old_pos = 0; in stm32_dfsdm_dma_buffer_done()
898 adc->cb(&adc->rx_buf[old_pos], adc->bufi - old_pos, in stm32_dfsdm_dma_buffer_done()
/Linux-v5.15/drivers/block/paride/
Dpd.c401 int old_pos = pd_queue; in set_next_request() local
421 } while (pd_queue != old_pos); in set_next_request()
Dpcd.c774 int old_pos = pcd_queue; in set_next_request() local
787 } while (pcd_queue != old_pos); in set_next_request()
Dpf.c806 int old_pos = pf_queue; in set_next_request() local
819 } while (pf_queue != old_pos); in set_next_request()
/Linux-v5.15/drivers/net/wireless/ath/ath9k/
Dchannel.c33 int old_pos = -1; in ath_set_channel() local
40 old_pos = ah->curchan - &ah->channels[0]; in ath_set_channel()
78 if (old_pos >= 0) in ath_set_channel()
79 ath_update_survey_nf(sc, old_pos); in ath_set_channel()
/Linux-v5.15/tools/perf/util/
Dcallchain.c1003 int old_pos = cursor->nr; in merge_chain_branch() local
1033 cursor->nr = old_pos; in merge_chain_branch()
/Linux-v5.15/net/mac80211/
Dutil.c2000 size_t pos = 0, old_pos = 0, custom_ie_offset = 0; in ieee80211_build_preq_ies() local
2015 ie_desc->ies[i] = buffer + old_pos; in ieee80211_build_preq_ies()
2016 ie_desc->len[i] = pos - old_pos; in ieee80211_build_preq_ies()
2017 old_pos = pos; in ieee80211_build_preq_ies()