Searched refs:old_pos (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/fs/overlayfs/ |
D | copy_up.c | 238 loff_t old_pos = 0; in ovl_copy_up_file() local 292 if (skip_hole && data_pos < old_pos) { in ovl_copy_up_file() 293 data_pos = vfs_llseek(old_file, old_pos, SEEK_DATA); in ovl_copy_up_file() 294 if (data_pos > old_pos) { in ovl_copy_up_file() 295 hole_len = data_pos - old_pos; in ovl_copy_up_file() 297 old_pos = new_pos = data_pos; in ovl_copy_up_file() 306 bytes = do_splice_direct(old_file, &old_pos, in ovl_copy_up_file() 313 WARN_ON(old_pos != new_pos); in ovl_copy_up_file()
|
/linux-6.6.21/sound/soc/stm/ |
D | stm32_adfsdm.c | 173 unsigned int old_pos = priv->pos; in stm32_afsdm_pcm_cb() local 206 if (cur_size != src_size || (old_pos && (old_pos % period_size < size))) in stm32_afsdm_pcm_cb()
|
/linux-6.6.21/drivers/iio/adc/ |
D | stm32-dfsdm-adc.c | 856 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-6.6.21/drivers/net/wireless/ath/ath9k/ |
D | channel.c | 33 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-6.6.21/tools/perf/util/ |
D | callchain.c | 1015 int old_pos = cursor->nr; in merge_chain_branch() local 1051 cursor->nr = old_pos; in merge_chain_branch()
|
/linux-6.6.21/net/mac80211/ |
D | util.c | 2175 size_t pos = 0, old_pos = 0, custom_ie_offset = 0; in ieee80211_build_preq_ies() local 2190 ie_desc->ies[i] = buffer + old_pos; in ieee80211_build_preq_ies() 2191 ie_desc->len[i] = pos - old_pos; in ieee80211_build_preq_ies() 2192 old_pos = pos; in ieee80211_build_preq_ies()
|