Searched refs:loopsize (Results 1 – 2 of 2) sorted by relevance
30 int truesize, size, loopsize, blocksize; in snd_emu10k1_sample_new() local65 loopsize = 0; in snd_emu10k1_sample_new()68 loopsize = sp->v.loopend - sp->v.loopstart; in snd_emu10k1_sample_new()69 truesize += loopsize; in snd_emu10k1_sample_new()120 if (offset + loopsize * 2 > blocksize) in snd_emu10k1_sample_new()122 for (i = 0; i < loopsize; i++) in snd_emu10k1_sample_new()124 offset += loopsize * 2; in snd_emu10k1_sample_new()126 if (offset + loopsize > blocksize) in snd_emu10k1_sample_new()128 for (i = 0; i < loopsize; i++) in snd_emu10k1_sample_new()130 offset += loopsize; in snd_emu10k1_sample_new()[all …]
146 loff_t loopsize; in get_size() local149 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()