Home
last modified time | relevance | path

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

/linux-3.4.99/sound/pci/emu10k1/
Demu10k1_patch.c43 int truesize, size, loopsize, blocksize; in snd_emu10k1_sample_new() local
80 loopsize = 0; in snd_emu10k1_sample_new()
83 loopsize = sp->v.loopend - sp->v.loopstart; in snd_emu10k1_sample_new()
84 truesize += loopsize; in snd_emu10k1_sample_new()
134 if (offset + loopsize * 2 > blocksize) in snd_emu10k1_sample_new()
136 for (i = 0; i < loopsize; i++) in snd_emu10k1_sample_new()
138 offset += loopsize * 2; in snd_emu10k1_sample_new()
140 if (offset + loopsize > blocksize) in snd_emu10k1_sample_new()
142 for (i = 0; i < loopsize; i++) in snd_emu10k1_sample_new()
144 offset += loopsize; in snd_emu10k1_sample_new()
[all …]
/linux-3.4.99/drivers/block/
Dloop.c165 loff_t size, loopsize; in get_size() local
169 loopsize = size - offset; in get_size()
171 if (loopsize < 0) in get_size()
174 if (sizelimit > 0 && sizelimit < loopsize) in get_size()
175 loopsize = sizelimit; in get_size()
180 return loopsize >> 9; in get_size()