/kernel/linux/linux-5.10/include/linux/ |
D | scatterlist.h | 11 struct scatterlist { struct 43 struct scatterlist *sgl; /* the list */ 75 ((struct scatterlist *) ((sg)->page_link & ~(SG_CHAIN | SG_END))) 87 static inline void sg_assign_page(struct scatterlist *sg, struct page *page) in sg_assign_page() 116 static inline void sg_set_page(struct scatterlist *sg, struct page *page, in sg_set_page() 124 static inline struct page *sg_page(struct scatterlist *sg) in sg_page() 139 static inline void sg_set_buf(struct scatterlist *sg, const void *buf, in sg_set_buf() 168 static inline void __sg_chain(struct scatterlist *chain_sg, in __sg_chain() 169 struct scatterlist *sgl) in __sg_chain() 194 static inline void sg_chain(struct scatterlist *prv, unsigned int prv_nents, in sg_chain() [all …]
|
D | ccp.h | 175 struct scatterlist *key; 178 struct scatterlist *iv; 181 struct scatterlist *src, *dst; 185 struct scatterlist *cmac_key; /* K1/K2 cmac key required for 235 struct scatterlist *key; 238 struct scatterlist *iv; 241 struct scatterlist *src, *dst; 287 struct scatterlist *ctx; 290 struct scatterlist *src; 293 struct scatterlist *opad; [all …]
|
D | pci-p2pdma.h | 17 struct scatterlist; 29 struct scatterlist *pci_p2pmem_alloc_sgl(struct pci_dev *pdev, 31 void pci_p2pmem_free_sgl(struct pci_dev *pdev, struct scatterlist *sgl); 33 int pci_p2pdma_map_sg_attrs(struct device *dev, struct scatterlist *sg, 35 void pci_p2pdma_unmap_sg_attrs(struct device *dev, struct scatterlist *sg, 74 static inline struct scatterlist *pci_p2pmem_alloc_sgl(struct pci_dev *pdev, in pci_p2pmem_alloc_sgl() 80 struct scatterlist *sgl) in pci_p2pmem_free_sgl() 87 struct scatterlist *sg, int nents, enum dma_data_direction dir, in pci_p2pdma_map_sg_attrs() 93 struct scatterlist *sg, int nents, enum dma_data_direction dir, in pci_p2pdma_unmap_sg_attrs() 122 static inline int pci_p2pdma_map_sg(struct device *dev, struct scatterlist *sg, in pci_p2pdma_map_sg() [all …]
|
D | devcoredump.h | 22 static inline void _devcd_free_sgtable(struct scatterlist *table) in _devcd_free_sgtable() 26 struct scatterlist *iter; in _devcd_free_sgtable() 27 struct scatterlist *delete_iter; in _devcd_free_sgtable() 64 void dev_coredumpsg(struct device *dev, struct scatterlist *table, 83 static inline void dev_coredumpsg(struct device *dev, struct scatterlist *table, in dev_coredumpsg()
|
/kernel/linux/linux-5.10/tools/virtio/linux/ |
D | scatterlist.h | 6 struct scatterlist { struct 17 ((struct scatterlist *) ((sg)->page_link & ~0x03)) 29 static inline void sg_assign_page(struct scatterlist *sg, struct page *page) in sg_assign_page() 58 static inline void sg_set_page(struct scatterlist *sg, struct page *page, in sg_set_page() 66 static inline struct page *sg_page(struct scatterlist *sg) in sg_page() 90 static inline void sg_chain(struct scatterlist *prv, unsigned int prv_nents, in sg_chain() 91 struct scatterlist *sgl) in sg_chain() 115 static inline void sg_mark_end(struct scatterlist *sg) in sg_mark_end() 132 static inline void sg_unmark_end(struct scatterlist *sg) in sg_unmark_end() 137 static inline struct scatterlist *sg_next(struct scatterlist *sg) in sg_next() [all …]
|
/kernel/linux/linux-5.10/drivers/crypto/ccp/ |
D | ccp-crypto.h | 98 struct scatterlist key_sg; 105 struct scatterlist k1_sg; 106 struct scatterlist k2_sg; 113 struct scatterlist iv_sg; 116 struct scatterlist tag_sg; 132 struct scatterlist *src; 140 struct scatterlist iv_sg; 143 struct scatterlist buf_sg; 147 struct scatterlist pad_sg; 169 struct scatterlist key_sg; [all …]
|
/kernel/linux/linux-5.10/lib/ |
D | scatterlist.c | 23 struct scatterlist *sg_next(struct scatterlist *sg) in sg_next() 45 int sg_nents(struct scatterlist *sg) in sg_nents() 68 int sg_nents_for_len(struct scatterlist *sg, u64 len) in sg_nents_for_len() 101 struct scatterlist *sg_last(struct scatterlist *sgl, unsigned int nents) in sg_last() 103 struct scatterlist *sg, *ret = NULL; in sg_last() 124 void sg_init_table(struct scatterlist *sgl, unsigned int nents) in sg_init_table() 138 void sg_init_one(struct scatterlist *sg, const void *buf, unsigned int buflen) in sg_init_one() 149 static struct scatterlist *sg_kmalloc(unsigned int nents, gfp_t gfp_mask) in sg_kmalloc() 165 return kmalloc_array(nents, sizeof(struct scatterlist), in sg_kmalloc() 169 static void sg_kfree(struct scatterlist *sg, unsigned int nents) in sg_kfree() [all …]
|
D | sg_split.c | 12 struct scatterlist *in_sg0; 17 struct scatterlist *out_sg; 20 static int sg_calculate_split(struct scatterlist *in, int nents, int nb_splits, in sg_calculate_split() 28 struct scatterlist *sg; in sg_calculate_split() 80 struct scatterlist *in_sg, *out_sg; in sg_split_phys() 106 struct scatterlist *in_sg, *out_sg; in sg_split_mapped() 148 int sg_split(struct scatterlist *in, const int in_mapped_nents, in sg_split() 151 struct scatterlist **out, int *out_mapped_nents, in sg_split() 169 sizeof(struct scatterlist), in sg_split()
|
/kernel/linux/linux-5.10/drivers/crypto/ccree/ |
D | cc_buffer_mgr.h | 46 void *info, struct scatterlist *src, 47 struct scatterlist *dst, gfp_t flags); 50 struct scatterlist *src, struct scatterlist *dst); 57 struct scatterlist *src, unsigned int nbytes, 61 struct scatterlist *src, unsigned int nbytes, 65 struct scatterlist *src, bool do_revert); 67 void cc_copy_sg_portion(struct device *dev, u8 *dest, struct scatterlist *sg,
|
/kernel/linux/linux-5.10/drivers/crypto/cavium/nitrox/ |
D | nitrox_req.h | 79 struct scatterlist *src; 80 struct scatterlist *dst; 243 struct scatterlist *src; 244 struct scatterlist *dst; 257 struct scatterlist src[3]; 258 struct scatterlist dst[3]; 478 struct scatterlist *sg; 555 size = sizeof(struct scatterlist) * nents; in alloc_req_buf() 569 static inline struct scatterlist *create_single_sg(struct scatterlist *sg, in create_single_sg() 586 static inline struct scatterlist *create_multi_sg(struct scatterlist *to_sg, in create_multi_sg() [all …]
|
/kernel/linux/linux-5.10/tools/testing/scatterlist/ |
D | Makefile | 5 OFILES = main.o scatterlist.o 17 …$(RM) $(TARGETS) $(OFILES) scatterlist.c linux/scatterlist.h linux/highmem.h linux/kmemleak.h linu… 20 scatterlist.c: ../../../lib/scatterlist.c 25 include: ../../../include/linux/scatterlist.h 32 @cp $< linux/scatterlist.h
|
/kernel/linux/linux-5.10/drivers/crypto/bcm/ |
D | util.h | 55 void __dump_sg(struct scatterlist *sg, unsigned int skip, unsigned int len); 70 int spu_sg_at_offset(struct scatterlist *sg, unsigned int skip, 71 struct scatterlist **sge, unsigned int *sge_offset); 74 void sg_copy_part_to_buf(struct scatterlist *src, u8 *dest, 77 void sg_copy_part_from_buf(struct scatterlist *dest, u8 *src, 80 int spu_sg_count(struct scatterlist *sg_list, unsigned int skip, int nbytes); 81 u32 spu_msg_sg_add(struct scatterlist **to_sg, 82 struct scatterlist **from_sg, u32 *skip,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
D | i915_scatterlist.h | 20 struct scatterlist *sgp; 27 } __sgt_iter(struct scatterlist *sgl, bool dma) { in __sgt_iter() 42 static inline int __sg_page_count(const struct scatterlist *sg) in __sg_page_count() 47 static inline struct scatterlist *____sg_next(struct scatterlist *sg) in ____sg_next() 64 static inline struct scatterlist *__sg_next(struct scatterlist *sg) in __sg_next() 95 static inline unsigned int i915_sg_page_sizes(struct scatterlist *sg) in i915_sg_page_sizes()
|
/kernel/linux/linux-5.10/drivers/crypto/ |
D | omap-crypto.c | 17 struct scatterlist **sg, in omap_crypto_copy_sg_lists() 18 struct scatterlist *new_sg, u16 flags) in omap_crypto_copy_sg_lists() 21 struct scatterlist *tmp; in omap_crypto_copy_sg_lists() 55 static int omap_crypto_copy_sgs(int total, int bs, struct scatterlist **sg, in omap_crypto_copy_sgs() 56 struct scatterlist *new_sg, u16 flags) in omap_crypto_copy_sgs() 88 static int omap_crypto_check_sg(struct scatterlist *sg, int total, int bs, in omap_crypto_check_sg() 125 int omap_crypto_align_sg(struct scatterlist **sg, int total, int bs, in omap_crypto_align_sg() 126 struct scatterlist *new_sg, u16 flags, in omap_crypto_align_sg() 157 static void omap_crypto_copy_data(struct scatterlist *src, in omap_crypto_copy_data() 158 struct scatterlist *dst, in omap_crypto_copy_data() [all …]
|
D | omap-crypto.h | 27 int omap_crypto_align_sg(struct scatterlist **sg, int total, int bs, 28 struct scatterlist *new_sg, u16 flags, 30 void omap_crypto_cleanup(struct scatterlist *sg, struct scatterlist *orig,
|
/kernel/linux/linux-5.10/kernel/dma/ |
D | debug.h | 19 extern void debug_dma_map_sg(struct device *dev, struct scatterlist *sg, 22 extern void debug_dma_unmap_sg(struct device *dev, struct scatterlist *sglist, 47 struct scatterlist *sg, 51 struct scatterlist *sg, 65 static inline void debug_dma_map_sg(struct device *dev, struct scatterlist *sg, in debug_dma_map_sg() 71 struct scatterlist *sglist, in debug_dma_unmap_sg() 111 struct scatterlist *sg, in debug_dma_sync_sg_for_cpu() 117 struct scatterlist *sg, in debug_dma_sync_sg_for_device()
|
D | direct.h | 20 int dma_direct_map_sg(struct device *dev, struct scatterlist *sgl, int nents, 26 void dma_direct_sync_sg_for_device(struct device *dev, struct scatterlist *sgl, 30 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_device() 38 void dma_direct_unmap_sg(struct device *dev, struct scatterlist *sgl, 41 struct scatterlist *sgl, int nents, enum dma_data_direction dir); 44 struct scatterlist *sgl, int nents, enum dma_data_direction dir, in dma_direct_unmap_sg() 49 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_cpu()
|
/kernel/linux/linux-5.10/include/crypto/ |
D | scatterwalk.h | 19 static inline void scatterwalk_crypto_chain(struct scatterlist *head, in scatterwalk_crypto_chain() 20 struct scatterlist *sg, int num) in scatterwalk_crypto_chain() 65 struct scatterlist *sg) in scatterwalk_start() 108 void scatterwalk_map_and_copy(void *buf, struct scatterlist *sg, 111 struct scatterlist *scatterwalk_ffwd(struct scatterlist dst[2], 112 struct scatterlist *src,
|
/kernel/linux/linux-5.10/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_2835_arm.c | 45 struct scatterlist *scatterlist; member 287 dma_unmap_sg(g_dev, pagelistinfo->scatterlist, in cleanup_pagelistinfo() 317 struct scatterlist *scatterlist, *sg; in create_pagelist() local 333 sizeof(struct scatterlist))) in create_pagelist() 339 (num_pages * sizeof(struct scatterlist))) + in create_pagelist() 355 scatterlist = (struct scatterlist *)(pages + num_pages); in create_pagelist() 357 (scatterlist + num_pages); in create_pagelist() 372 pagelistinfo->scatterlist = scatterlist; in create_pagelist() 424 sg_init_table(scatterlist, num_pages); in create_pagelist() 431 sg_set_page(scatterlist + i, pages[i], len, offset); in create_pagelist() [all …]
|
/kernel/linux/linux-5.10/include/rdma/ |
D | rw.h | 46 struct scatterlist *sg, u32 sg_cnt, u32 sg_offset, 49 struct scatterlist *sg, u32 sg_cnt, 53 u8 port_num, struct scatterlist *sg, u32 sg_cnt, 54 struct scatterlist *prot_sg, u32 prot_sg_cnt, 58 u8 port_num, struct scatterlist *sg, u32 sg_cnt, 59 struct scatterlist *prot_sg, u32 prot_sg_cnt,
|
/kernel/linux/linux-5.10/arch/arm/mm/ |
D | dma-mapping-nommu.c | 118 static int arm_nommu_dma_map_sg(struct device *dev, struct scatterlist *sgl, in arm_nommu_dma_map_sg() 123 struct scatterlist *sg; in arm_nommu_dma_map_sg() 134 static void arm_nommu_dma_unmap_sg(struct device *dev, struct scatterlist *sgl, in arm_nommu_dma_unmap_sg() 138 struct scatterlist *sg; in arm_nommu_dma_unmap_sg() 157 static void arm_nommu_dma_sync_sg_for_device(struct device *dev, struct scatterlist *sgl, in arm_nommu_dma_sync_sg_for_device() 160 struct scatterlist *sg; in arm_nommu_dma_sync_sg_for_device() 167 static void arm_nommu_dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sgl, in arm_nommu_dma_sync_sg_for_cpu() 170 struct scatterlist *sg; in arm_nommu_dma_sync_sg_for_cpu()
|
/kernel/linux/linux-5.10/crypto/ |
D | scatterwalk.c | 55 void scatterwalk_map_and_copy(void *buf, struct scatterlist *sg, in scatterwalk_map_and_copy() 59 struct scatterlist tmp[2]; in scatterwalk_map_and_copy() 72 struct scatterlist *scatterwalk_ffwd(struct scatterlist dst[2], in scatterwalk_ffwd() 73 struct scatterlist *src, in scatterwalk_ffwd()
|
/kernel/linux/linux-5.10/drivers/crypto/qce/ |
D | dma.h | 39 int qce_dma_prep_sgs(struct qce_dma_data *dma, struct scatterlist *sg_in, 40 int in_ents, struct scatterlist *sg_out, int out_ents, 44 struct scatterlist * 45 qce_sgtable_add(struct sg_table *sgt, struct scatterlist *sg_add,
|
D | dma.c | 49 struct scatterlist * 50 qce_sgtable_add(struct sg_table *sgt, struct scatterlist *new_sgl, in qce_sgtable_add() 53 struct scatterlist *sg = sgt->sgl, *sg_last = NULL; in qce_sgtable_add() 77 static int qce_dma_prep_sg(struct dma_chan *chan, struct scatterlist *sg, in qce_dma_prep_sg() 99 int qce_dma_prep_sgs(struct qce_dma_data *dma, struct scatterlist *rx_sg, in qce_dma_prep_sgs() 100 int rx_nents, struct scatterlist *tx_sg, int tx_nents, in qce_dma_prep_sgs()
|
/kernel/linux/linux-5.10/include/target/ |
D | target_core_backend.h | 18 struct scatterlist; 63 sense_reason_t (*execute_rw)(struct se_cmd *cmd, struct scatterlist *, 91 unsigned int, struct scatterlist *, int); 93 struct scatterlist *, int); 108 struct scatterlist *, u32, struct scatterlist *, u32);
|