Home
last modified time | relevance | path

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

/linux-6.6.21/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()
/linux-6.6.21/rust/alloc/
Dalloc.rs229 let new_ptr = self.alloc_impl(new_layout, zeroed)?; in grow_impl() localVariable
230 ptr::copy_nonoverlapping(ptr.as_ptr(), new_ptr.as_mut_ptr(), old_size); in grow_impl()
232 Ok(new_ptr) in grow_impl()
317 let new_ptr = self.allocate(new_layout)?; in shrink() localVariable
318 ptr::copy_nonoverlapping(ptr.as_ptr(), new_ptr.as_mut_ptr(), new_size); in shrink()
320 Ok(new_ptr) in shrink()
/linux-6.6.21/fs/xfs/libxfs/
Dxfs_btree_staging.c374 union xfs_btree_ptr new_ptr; in xfs_btree_bload_prep_block() local
404 xfs_btree_set_ptr_null(cur, &new_ptr); in xfs_btree_bload_prep_block()
405 ret = bbl->claim_block(cur, &new_ptr, priv); in xfs_btree_bload_prep_block()
409 ASSERT(!xfs_btree_ptr_is_null(cur, &new_ptr)); in xfs_btree_bload_prep_block()
411 ret = xfs_btree_get_buf_block(cur, &new_ptr, &new_block, &new_bp); in xfs_btree_bload_prep_block()
420 xfs_btree_set_sibling(cur, *blockp, &new_ptr, XFS_BB_RIGHTSIB); in xfs_btree_bload_prep_block()
430 xfs_btree_copy_ptrs(cur, ptrp, &new_ptr, 1); in xfs_btree_bload_prep_block()
/linux-6.6.21/fs/ntfs3/
Drun.c372 struct ntfs_run *new_ptr; in run_add_entry() local
389 new_ptr = kvmalloc(bytes, GFP_KERNEL); in run_add_entry()
391 if (!new_ptr) in run_add_entry()
394 r = new_ptr + index; in run_add_entry()
395 memcpy(new_ptr, run->runs, in run_add_entry()
401 run->runs = new_ptr; in run_add_entry()
1156 struct ntfs_run *new_ptr = kvmalloc(bytes, GFP_KERNEL); in run_clone() local
1158 if (!new_ptr) in run_clone()
1162 new_run->runs = new_ptr; in run_clone()
/linux-6.6.21/sound/soc/intel/keembay/
Dkmb_platform.c224 unsigned int new_ptr; in kmb_pcm_operation() local
237 new_ptr = kmb_pcm_tx_fn(kmb_i2s, substream->runtime, in kmb_pcm_operation()
239 cmpxchg(&kmb_i2s->tx_ptr, ptr, new_ptr); in kmb_pcm_operation()
242 new_ptr = kmb_pcm_rx_fn(kmb_i2s, substream->runtime, in kmb_pcm_operation()
244 cmpxchg(&kmb_i2s->rx_ptr, ptr, new_ptr); in kmb_pcm_operation()
/linux-6.6.21/kernel/bpf/
Darraymap.c846 void *new_ptr, *old_ptr; in bpf_fd_array_map_update_elem() local
856 new_ptr = map->ops->map_fd_get_ptr(map, map_file, ufd); in bpf_fd_array_map_update_elem()
857 if (IS_ERR(new_ptr)) in bpf_fd_array_map_update_elem()
858 return PTR_ERR(new_ptr); in bpf_fd_array_map_update_elem()
862 old_ptr = xchg(array->ptrs + index, new_ptr); in bpf_fd_array_map_update_elem()
863 map->ops->map_poke_run(map, index, old_ptr, new_ptr); in bpf_fd_array_map_update_elem()
866 old_ptr = xchg(array->ptrs + index, new_ptr); in bpf_fd_array_map_update_elem()
/linux-6.6.21/fs/xfs/
Dxfs_trace.h3777 xfs_agino_t old_ptr, xfs_agino_t new_ptr),
3778 TP_ARGS(mp, agno, bucket, old_ptr, new_ptr),
3784 __field(xfs_agino_t, new_ptr)
3791 __entry->new_ptr = new_ptr;
3798 __entry->new_ptr)
3803 xfs_agino_t old_ptr, xfs_agino_t new_ptr),
3804 TP_ARGS(mp, agno, agino, old_ptr, new_ptr),
3810 __field(xfs_agino_t, new_ptr)
3817 __entry->new_ptr = new_ptr;
3824 __entry->new_ptr)
/linux-6.6.21/sound/core/
Dpcm_lib.c39 snd_pcm_uframes_t new_ptr) in update_silence_vars() argument
43 delta = new_ptr - ptr; in update_silence_vars()
52 runtime->silence_start = new_ptr; in update_silence_vars()