Home
last modified time | relevance | path

Searched refs:last_pos (Results 1 – 19 of 19) sorted by relevance

/linux-4.1.27/drivers/gpu/host1x/hw/
Dcdma_hw.c74 cdma->last_pos = cdma->push_buffer.pos; in cdma_start()
111 cdma->last_pos = cdma->push_buffer.pos; in cdma_timeout_restart()
133 cdma->last_pos); in cdma_timeout_restart()
153 if (cdma->push_buffer.pos != cdma->last_pos) { in cdma_flush()
156 cdma->last_pos = cdma->push_buffer.pos; in cdma_flush()
198 cdma->last_pos); in cdma_freeze()
/linux-4.1.27/fs/9p/
Dvfs_addr.c307 loff_t last_pos = pos + copied; in v9fs_write_end() local
328 if (last_pos > inode->i_size) { in v9fs_write_end()
329 inode_add_bytes(inode, last_pos - inode->i_size); in v9fs_write_end()
330 i_size_write(inode, last_pos); in v9fs_write_end()
/linux-4.1.27/drivers/gpu/host1x/
Dcdma.h75 unsigned int last_pos; /* last value written to DMAPUT */ member
Dcdma.c321 restart_addr = cdma->last_pos; in host1x_cdma_update_sync_queue()
/linux-4.1.27/sound/pci/ymfpci/
Dymfpci_main.c316 if (pos < ypcm->last_pos) in snd_ymfpci_pcm_interrupt()
317 delta = pos + (ypcm->buffer_size - ypcm->last_pos); in snd_ymfpci_pcm_interrupt()
319 delta = pos - ypcm->last_pos; in snd_ymfpci_pcm_interrupt()
321 ypcm->last_pos = pos; in snd_ymfpci_pcm_interrupt()
368 if (pos < ypcm->last_pos) in snd_ymfpci_pcm_capture_interrupt()
369 delta = pos + (ypcm->buffer_size - ypcm->last_pos); in snd_ymfpci_pcm_capture_interrupt()
371 delta = pos - ypcm->last_pos; in snd_ymfpci_pcm_capture_interrupt()
373 ypcm->last_pos = pos; in snd_ymfpci_pcm_capture_interrupt()
687 ypcm->last_pos = 0; in snd_ymfpci_playback_prepare()
727 ypcm->last_pos = 0; in snd_ymfpci_capture_prepare()
Dymfpci.h281 u32 last_pos; member
/linux-4.1.27/fs/ext3/
Ddir.c450 if (info->last_pos != ctx->pos) { in ext3_dx_readdir()
515 info->last_pos = ctx->pos; in ext3_dx_readdir()
Dext3.h965 loff_t last_pos; member
/linux-4.1.27/fs/btrfs/
Dfile.c1377 u64 last_pos; in lock_and_cleanup_extent_if_need() local
1382 last_pos = start_pos + ((u64)num_pages << PAGE_CACHE_SHIFT) - 1; in lock_and_cleanup_extent_if_need()
1387 start_pos, last_pos, 0, cached_state); in lock_and_cleanup_extent_if_need()
1389 last_pos - start_pos + 1); in lock_and_cleanup_extent_if_need()
1392 ordered->file_offset <= last_pos) { in lock_and_cleanup_extent_if_need()
1394 start_pos, last_pos, in lock_and_cleanup_extent_if_need()
1408 last_pos, EXTENT_DIRTY | EXTENT_DELALLOC | in lock_and_cleanup_extent_if_need()
1412 *lockend = last_pos; in lock_and_cleanup_extent_if_need()
/linux-4.1.27/fs/ext4/
Ddir.c532 if (info->last_pos != ctx->pos) { in ext4_dx_readdir()
597 info->last_pos = ctx->pos; in ext4_dx_readdir()
Dext4.h1898 loff_t last_pos; member
/linux-4.1.27/fs/udf/
Dinode.c484 struct extent_position *last_pos, in udf_do_extend_file() argument
539 udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file()
543 udf_write_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file()
560 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file()
569 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file()
579 err = udf_add_aext(inode, last_pos, &prealloc_loc, in udf_do_extend_file()
590 last_pos->offset -= sizeof(struct short_ad); in udf_do_extend_file()
592 last_pos->offset -= sizeof(struct long_ad); in udf_do_extend_file()
/linux-4.1.27/fs/
Dlibfs.c446 loff_t last_pos = pos + copied; in simple_write_end() local
461 if (last_pos > inode->i_size) in simple_write_end()
462 i_size_write(inode, last_pos); in simple_write_end()
/linux-4.1.27/fs/gfs2/
Dglock.c57 loff_t last_pos; /* last position */ member
1885 if (gi->last_pos <= *pos) in gfs2_glock_seq_start()
1886 n = gi->nhash + (*pos - gi->last_pos); in gfs2_glock_seq_start()
1898 gi->last_pos = *pos; in gfs2_glock_seq_start()
1908 gi->last_pos = *pos; in gfs2_glock_seq_next()
/linux-4.1.27/sound/drivers/
Daloop.c455 unsigned long last_pos; in bytepos_delta() local
458 last_pos = byte_pos(dpcm, dpcm->irq_pos); in bytepos_delta()
460 delta = byte_pos(dpcm, dpcm->irq_pos) - last_pos; in bytepos_delta()
/linux-4.1.27/sound/pci/
Dintel8x0.c367 unsigned int last_pos; member
861 ichdev->last_pos = ichdev->position; in snd_intel8x0_pcm_trigger()
1099 ptr = ichdev->last_pos; in snd_intel8x0_pcm_pointer()
1104 if (ptr < ichdev->last_pos) { in snd_intel8x0_pcm_pointer()
1107 last_base = ichdev->last_pos / ichdev->fragsize1; in snd_intel8x0_pcm_pointer()
1112 ptr = ichdev->last_pos; in snd_intel8x0_pcm_pointer()
1115 ichdev->last_pos = ptr; in snd_intel8x0_pcm_pointer()
/linux-4.1.27/net/ipv4/
Dtcp_ipv4.c2052 if (*pos && *pos == st->last_pos) { in tcp_seq_start()
2065 st->last_pos = *pos; in tcp_seq_start()
2096 st->last_pos = *pos; in tcp_seq_next()
2134 s->last_pos = 0; in tcp_seq_open()
/linux-4.1.27/sound/soc/intel/haswell/
Dsst-haswell-ipc.c269 u32 last_pos; member
710 stream->last_pos = stream->curr_pos; in hsw_log_message()
/linux-4.1.27/include/net/
Dtcp.h1576 loff_t last_pos; member