Home
last modified time | relevance | path

Searched refs:loopsize (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/sound/pci/emu10k1/
Demu10k1_patch.c31 __maybe_unused int loopsize; in snd_emu10k1_sample_new() local
66 loopsize = 0; in snd_emu10k1_sample_new()
69 loopsize = sp->v.loopend - sp->v.loopstart; in snd_emu10k1_sample_new()
70 truesize += loopsize; in snd_emu10k1_sample_new()
121 if (offset + loopsize * 2 > blocksize) in snd_emu10k1_sample_new()
123 for (i = 0; i < loopsize; i++) in snd_emu10k1_sample_new()
125 offset += loopsize * 2; in snd_emu10k1_sample_new()
127 if (offset + loopsize > blocksize) in snd_emu10k1_sample_new()
129 for (i = 0; i < loopsize; i++) in snd_emu10k1_sample_new()
131 offset += loopsize; in snd_emu10k1_sample_new()
[all …]
/linux-6.1.9/drivers/block/
Dloop.c144 loff_t loopsize; in get_size() local
147 loopsize = i_size_read(file->f_mapping->host); in get_size()
149 loopsize -= offset; in get_size()
151 if (loopsize < 0) in get_size()
154 if (sizelimit > 0 && sizelimit < loopsize) in get_size()
155 loopsize = sizelimit; in get_size()
160 return loopsize >> 9; in get_size()