Lines Matching refs:offset
156 static loff_t snd_info_entry_llseek(struct file *file, loff_t offset, int orig) in snd_info_entry_llseek() argument
167 offset = entry->c.ops->llseek(entry, in snd_info_entry_llseek()
169 file, offset, orig); in snd_info_entry_llseek()
180 offset += file->f_pos; in snd_info_entry_llseek()
185 offset += size; in snd_info_entry_llseek()
190 if (offset < 0) in snd_info_entry_llseek()
192 if (size && offset > size) in snd_info_entry_llseek()
193 offset = size; in snd_info_entry_llseek()
194 file->f_pos = offset; in snd_info_entry_llseek()
195 ret = offset; in snd_info_entry_llseek()
202 size_t count, loff_t * offset) in snd_info_entry_read() argument
213 pos = *offset; in snd_info_entry_read()
244 *offset = pos + size; in snd_info_entry_read()
249 size_t count, loff_t * offset) in snd_info_entry_write() argument
261 pos = *offset; in snd_info_entry_write()
297 *offset = pos + size; in snd_info_entry_write()