Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/soc/dwc/
Ddwc-pcm.c108 unsigned int new_ptr; in dw_pcm_transfer() local
112 new_ptr = dev->tx_fn(dev, substream->runtime, ptr, in dw_pcm_transfer()
114 cmpxchg(&dev->tx_ptr, ptr, new_ptr); in dw_pcm_transfer()
117 new_ptr = dev->rx_fn(dev, substream->runtime, ptr, in dw_pcm_transfer()
119 cmpxchg(&dev->rx_ptr, ptr, new_ptr); in dw_pcm_transfer()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_btree_staging.c374 union xfs_btree_ptr new_ptr; in xfs_btree_bload_prep_block() local
405 xfs_btree_set_ptr_null(cur, &new_ptr); in xfs_btree_bload_prep_block()
406 ret = bbl->claim_block(cur, &new_ptr, priv); in xfs_btree_bload_prep_block()
410 ASSERT(!xfs_btree_ptr_is_null(cur, &new_ptr)); in xfs_btree_bload_prep_block()
412 ret = xfs_btree_get_buf_block(cur, &new_ptr, &new_block, &new_bp); in xfs_btree_bload_prep_block()
421 xfs_btree_set_sibling(cur, *blockp, &new_ptr, XFS_BB_RIGHTSIB); in xfs_btree_bload_prep_block()
431 xfs_btree_copy_ptrs(cur, ptrp, &new_ptr, 1); in xfs_btree_bload_prep_block()
/kernel/linux/linux-5.10/sound/soc/intel/keembay/
Dkmb_platform.c173 unsigned int new_ptr; in kmb_pcm_operation() local
186 new_ptr = kmb_pcm_tx_fn(kmb_i2s, substream->runtime, in kmb_pcm_operation()
188 cmpxchg(&kmb_i2s->tx_ptr, ptr, new_ptr); in kmb_pcm_operation()
191 new_ptr = kmb_pcm_rx_fn(kmb_i2s, substream->runtime, in kmb_pcm_operation()
193 cmpxchg(&kmb_i2s->rx_ptr, ptr, new_ptr); in kmb_pcm_operation()
/kernel/linux/linux-5.10/kernel/bpf/
Darraymap.c743 void *new_ptr, *old_ptr; in bpf_fd_array_map_update_elem() local
753 new_ptr = map->ops->map_fd_get_ptr(map, map_file, ufd); in bpf_fd_array_map_update_elem()
754 if (IS_ERR(new_ptr)) in bpf_fd_array_map_update_elem()
755 return PTR_ERR(new_ptr); in bpf_fd_array_map_update_elem()
759 old_ptr = xchg(array->ptrs + index, new_ptr); in bpf_fd_array_map_update_elem()
760 map->ops->map_poke_run(map, index, old_ptr, new_ptr); in bpf_fd_array_map_update_elem()
763 old_ptr = xchg(array->ptrs + index, new_ptr); in bpf_fd_array_map_update_elem()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_trace.h3444 xfs_agino_t old_ptr, xfs_agino_t new_ptr),
3445 TP_ARGS(mp, agno, bucket, old_ptr, new_ptr),
3451 __field(xfs_agino_t, new_ptr)
3458 __entry->new_ptr = new_ptr;
3465 __entry->new_ptr)
3470 xfs_agino_t old_ptr, xfs_agino_t new_ptr),
3471 TP_ARGS(mp, agno, agino, old_ptr, new_ptr),
3477 __field(xfs_agino_t, new_ptr)
3484 __entry->new_ptr = new_ptr;
3491 __entry->new_ptr)