Searched refs:loopsize (Results 1 – 2 of 2) sorted by relevance
43 int truesize, size, loopsize, blocksize; in snd_emu10k1_sample_new() local80 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 …]
165 loff_t size, loopsize; in get_size() local169 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()