Searched refs:loopsize (Results 1 – 2 of 2) sorted by relevance
31 __maybe_unused int loopsize; in snd_emu10k1_sample_new() local66 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 …]
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()