Home
last modified time | relevance | path

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

/Linux-v5.10/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-v5.10/drivers/block/
Dloop.c146 loff_t loopsize; in get_size() local
149 loopsize = i_size_read(file->f_mapping->host); in get_size()
151 loopsize -= offset; in get_size()
153 if (loopsize < 0) in get_size()
156 if (sizelimit > 0 && sizelimit < loopsize) in get_size()
157 loopsize = sizelimit; in get_size()
162 return loopsize >> 9; in get_size()