Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/rust/alloc/
Dalloc.rs219 let new_ptr = self.alloc_impl(new_layout, zeroed)?; in grow_impl() localVariable
220 ptr::copy_nonoverlapping(ptr.as_ptr(), new_ptr.as_mut_ptr(), old_size); in grow_impl()
222 Ok(new_ptr) in grow_impl()
307 let new_ptr = self.allocate(new_layout)?; in shrink() localVariable
308 ptr::copy_nonoverlapping(ptr.as_ptr(), new_ptr.as_mut_ptr(), new_size); in shrink()
310 Ok(new_ptr) in shrink()
/linux-6.1.9/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.1.9/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()
1170 struct ntfs_run *new_ptr = kvmalloc(bytes, GFP_KERNEL); in run_clone() local
1172 if (!new_ptr) in run_clone()
1176 new_run->runs = new_ptr; in run_clone()
/linux-6.1.9/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.1.9/kernel/bpf/
Darraymap.c831 void *new_ptr, *old_ptr; in bpf_fd_array_map_update_elem() local
841 new_ptr = map->ops->map_fd_get_ptr(map, map_file, ufd); in bpf_fd_array_map_update_elem()
842 if (IS_ERR(new_ptr)) in bpf_fd_array_map_update_elem()
843 return PTR_ERR(new_ptr); in bpf_fd_array_map_update_elem()
847 old_ptr = xchg(array->ptrs + index, new_ptr); in bpf_fd_array_map_update_elem()
848 map->ops->map_poke_run(map, index, old_ptr, new_ptr); in bpf_fd_array_map_update_elem()
851 old_ptr = xchg(array->ptrs + index, new_ptr); in bpf_fd_array_map_update_elem()
/linux-6.1.9/fs/xfs/
Dxfs_trace.h3631 xfs_agino_t old_ptr, xfs_agino_t new_ptr),
3632 TP_ARGS(mp, agno, bucket, old_ptr, new_ptr),
3638 __field(xfs_agino_t, new_ptr)
3645 __entry->new_ptr = new_ptr;
3652 __entry->new_ptr)
3657 xfs_agino_t old_ptr, xfs_agino_t new_ptr),
3658 TP_ARGS(mp, agno, agino, old_ptr, new_ptr),
3664 __field(xfs_agino_t, new_ptr)
3671 __entry->new_ptr = new_ptr;
3678 __entry->new_ptr)