aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/caching/netfs-api.rst
diff options
context:
space:
mode:
authorLogan Gunthorpe <[email protected]>2021-11-17 21:53:48 +0000
committerChristoph Hellwig <[email protected]>2021-12-22 08:21:43 +0000
commitf857acfc457ea63fa5b862d77f055665d863acfe (patch)
tree9695549233e2146de982e347f5493098e3b96c2d /Documentation/filesystems/caching/netfs-api.rst
parentdma-direct: add a dma_direct_use_pool helper (diff)
downloadkernel-f857acfc457ea63fa5b862d77f055665d863acfe.tar.gz
kernel-f857acfc457ea63fa5b862d77f055665d863acfe.zip
lib/scatterlist: cleanup macros into static inline functions
Convert the sg_is_chain(), sg_is_last() and sg_chain_ptr() macros into static inline functions. There's no reason for these to be macros and static inline are generally preferred these days. Also introduce the SG_PAGE_LINK_MASK define so the P2PDMA work, which is adding another bit to this mask, can do so more easily. Suggested-by: Jason Gunthorpe <[email protected]> Signed-off-by: Logan Gunthorpe <[email protected]> Reviewed-by: Chaitanya Kulkarni <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'Documentation/filesystems/caching/netfs-api.rst')
0 files changed, 0 insertions, 0 deletions