From 17672aa49d3ebefb217d6f2c67f698b3e7e1f86c Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Tue, 29 Dec 2020 16:55:32 -0800 Subject: svm: fifo segment sptr for fifo hdr free list With this there are no more pointers in data structures allocated on fifo segments. Type: improvement Signed-off-by: Florin Coras Change-Id: Ibe584b7b6809fa360a105974655a91674db69ab6 --- src/svm/svm_fifo.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/svm/svm_fifo.h') diff --git a/src/svm/svm_fifo.h b/src/svm/svm_fifo.h index f5b60807c28..560628d2d07 100644 --- a/src/svm/svm_fifo.h +++ b/src/svm/svm_fifo.h @@ -196,19 +196,19 @@ f_tail_cptr (svm_fifo_t *f) } always_inline svm_fifo_chunk_t * -f_cptr (svm_fifo_t *f, svm_fifo_chunk_ptr_t cp) +f_cptr (svm_fifo_t *f, fs_sptr_t cp) { return fs_chunk_ptr (f->fs_hdr, cp); } -always_inline svm_fifo_chunk_ptr_t +always_inline fs_sptr_t f_csptr (svm_fifo_t *f, svm_fifo_chunk_t *c) { return fs_chunk_sptr (f->fs_hdr, c); } always_inline void -f_csptr_link (svm_fifo_t *f, svm_fifo_chunk_ptr_t cp, svm_fifo_chunk_t *c) +f_csptr_link (svm_fifo_t *f, fs_sptr_t cp, svm_fifo_chunk_t *c) { fs_chunk_ptr (f->fs_hdr, cp)->next = fs_chunk_sptr (f->fs_hdr, c); } -- cgit 1.2.3-korg