Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/isa/sb/
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()
/kernel/linux/linux-5.10/fs/btrfs/
Dextent-tree.c3493 struct btrfs_free_cluster *last_ptr; member
3552 struct btrfs_free_cluster *last_ptr = ffe_ctl->last_ptr; in find_free_extent_clustered() local
3557 cluster_bg = btrfs_lock_cluster(bg, last_ptr, ffe_ctl->delalloc); in find_free_extent_clustered()
3564 offset = btrfs_alloc_from_cluster(cluster_bg, last_ptr, in find_free_extent_clustered()
3569 spin_unlock(&last_ptr->refill_lock); in find_free_extent_clustered()
3576 WARN_ON(last_ptr->block_group != cluster_bg); in find_free_extent_clustered()
3591 spin_unlock(&last_ptr->refill_lock); in find_free_extent_clustered()
3597 btrfs_return_cluster_to_free_space(NULL, last_ptr); in find_free_extent_clustered()
3604 spin_unlock(&last_ptr->refill_lock); in find_free_extent_clustered()
3611 ret = btrfs_find_space_cluster(bg, last_ptr, ffe_ctl->search_start, in find_free_extent_clustered()
[all …]
/kernel/linux/linux-5.10/arch/arm64/kvm/vgic/
Dvgic-v3.c367 gpa_t last_ptr = ~(gpa_t)0; in vgic_v3_save_pending_tables() local
387 if (ptr != last_ptr) { in vgic_v3_save_pending_tables()
391 last_ptr = ptr; in vgic_v3_save_pending_tables()
/kernel/linux/linux-5.10/drivers/rapidio/devices/
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()
/kernel/linux/linux-5.10/Documentation/sound/kernel-api/
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;