Home
last modified time | relevance | path

Searched refs:last_ptr (Results 1 – 6 of 6) sorted by relevance

/linux/sound/isa/sb/
A Demu8000_pcm.c51 int last_ptr; member
191 if (ptr < rec->last_ptr) in emu8k_pcm_timer_func()
192 delta = ptr + rec->buf_size - rec->last_ptr; in emu8k_pcm_timer_func()
194 delta = ptr - rec->last_ptr; in emu8k_pcm_timer_func()
196 rec->last_ptr = ptr; in emu8k_pcm_timer_func()
610 rec->last_ptr = 0; in emu8k_pcm_prepare()
/linux/fs/btrfs/
A Dextent-tree.c3553 struct btrfs_free_cluster *last_ptr = ffe_ctl->last_ptr; in find_free_extent_clustered() local
3655 struct btrfs_free_cluster *last_ptr = ffe_ctl->last_ptr; in find_free_extent_unclustered() local
3663 if (unlikely(last_ptr)) { in find_free_extent_unclustered()
3664 spin_lock(&last_ptr->lock); in find_free_extent_unclustered()
3665 last_ptr->fragmented = 1; in find_free_extent_unclustered()
3926 struct btrfs_free_cluster *last_ptr = ffe_ctl->last_ptr; in found_extent_clustered() local
3929 spin_lock(&last_ptr->lock); in found_extent_clustered()
4113 if (ffe_ctl->last_ptr) { in prepare_allocation_clustered()
4114 struct btrfs_free_cluster *last_ptr = ffe_ctl->last_ptr; in prepare_allocation_clustered() local
4117 if (last_ptr->block_group) in prepare_allocation_clustered()
[all …]
/linux/drivers/i3c/master/mipi-i3c-hci/
A Ddma.c591 int ibi_addr, last_ptr; in hci_dma_process_ibi() local
605 last_ptr = -1; in hci_dma_process_ibi()
634 last_ptr = ptr; in hci_dma_process_ibi()
641 if (last_ptr == -1) { in hci_dma_process_ibi()
646 deq_ptr = last_ptr + 1; in hci_dma_process_ibi()
/linux/arch/arm64/kvm/vgic/
A Dvgic-v3.c383 gpa_t last_ptr = ~(gpa_t)0; in vgic_v3_save_pending_tables() local
418 if (ptr != last_ptr) { in vgic_v3_save_pending_tables()
422 last_ptr = ptr; in vgic_v3_save_pending_tables()
/linux/drivers/rapidio/devices/
A Dtsi721.c1752 u64 *sts_ptr, last_ptr = 0, prev_ptr = 0; in tsi721_omsg_handler() local
1765 prev_ptr = last_ptr; in tsi721_omsg_handler()
1766 last_ptr = le64_to_cpu(sts_ptr[j]); in tsi721_omsg_handler()
1775 if (last_ptr == 0) in tsi721_omsg_handler()
1786 tx_slot = (last_ptr - (u64)priv->omsg_ring[ch].omd_phys)/ in tsi721_omsg_handler()
/linux/Documentation/sound/kernel-api/
A Dwriting-an-alsa-driver.rst2237 unsigned int last_ptr, size;
2239 last_ptr = get_hw_ptr(chip);
2243 if (last_ptr < chip->last_ptr)
2244 size = runtime->buffer_size + last_ptr
2245 - chip->last_ptr;
2247 size = last_ptr - chip->last_ptr;
2249 chip->last_ptr = last_ptr;

Completed in 26 milliseconds