/Linux-v5.4/tools/virtio/linux/ |
D | scatterlist.h | 14 #define sg_is_chain(sg) ((sg)->page_link & 0x01) argument 15 #define sg_is_last(sg) ((sg)->page_link & 0x02) argument 16 #define sg_chain_ptr(sg) \ argument 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() 77 #define for_each_sg(sglist, sg, nr, __i) \ argument 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 …]
|
/Linux-v5.4/include/linux/ |
D | scatterlist.h | 34 #define sg_dma_address(sg) ((sg)->dma_address) argument 37 #define sg_dma_len(sg) ((sg)->dma_length) argument 39 #define sg_dma_len(sg) ((sg)->length) argument 72 #define sg_is_chain(sg) ((sg)->page_link & SG_CHAIN) argument 73 #define sg_is_last(sg) ((sg)->page_link & SG_END) argument 74 #define sg_chain_ptr(sg) \ argument 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() [all …]
|
D | pci-p2pdma.h | 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() 129 struct scatterlist *sg, int nents, enum dma_data_direction dir) in pci_p2pdma_unmap_sg()
|
D | pci-dma-compat.h | 65 pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_map_sg() 72 pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_unmap_sg() 93 pci_dma_sync_sg_for_cpu(struct pci_dev *hwdev, struct scatterlist *sg, in pci_dma_sync_sg_for_cpu() 100 pci_dma_sync_sg_for_device(struct pci_dev *hwdev, struct scatterlist *sg, in pci_dma_sync_sg_for_device()
|
/Linux-v5.4/drivers/clk/sprd/ |
D | gate.c | 13 static void clk_gate_toggle(const struct sprd_gate *sg, bool en) in clk_gate_toggle() 31 static void clk_sc_gate_toggle(const struct sprd_gate *sg, bool en) in clk_sc_gate_toggle() 53 struct sprd_gate *sg = hw_to_sprd_gate(hw); in sprd_gate_disable() local 60 struct sprd_gate *sg = hw_to_sprd_gate(hw); in sprd_gate_enable() local 69 struct sprd_gate *sg = hw_to_sprd_gate(hw); in sprd_sc_gate_disable() local 76 struct sprd_gate *sg = hw_to_sprd_gate(hw); in sprd_sc_gate_enable() local 84 struct sprd_gate *sg = hw_to_sprd_gate(hw); in sprd_gate_is_enabled() local
|
/Linux-v5.4/drivers/ata/ |
D | sata_gemini.c | 126 bool gemini_sata_bridge_enabled(struct sata_gemini *sg, bool is_ata1) in gemini_sata_bridge_enabled() 145 enum gemini_muxmode gemini_sata_get_muxmode(struct sata_gemini *sg) in gemini_sata_get_muxmode() 151 static int gemini_sata_setup_bridge(struct sata_gemini *sg, in gemini_sata_setup_bridge() 195 int gemini_sata_start_bridge(struct sata_gemini *sg, unsigned int bridge) in gemini_sata_start_bridge() 216 void gemini_sata_stop_bridge(struct sata_gemini *sg, unsigned int bridge) in gemini_sata_stop_bridge() 225 int gemini_sata_reset_bridge(struct sata_gemini *sg, in gemini_sata_reset_bridge() 237 static int gemini_sata_bridge_init(struct sata_gemini *sg) in gemini_sata_bridge_init() 319 struct sata_gemini *sg; in gemini_sata_probe() local 410 struct sata_gemini *sg = platform_get_drvdata(pdev); in gemini_sata_remove() local
|
/Linux-v5.4/drivers/crypto/ |
D | omap-crypto.c | 17 struct scatterlist **sg, 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() 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() 157 void omap_crypto_cleanup(struct scatterlist *sg, struct scatterlist *orig, in omap_crypto_cleanup()
|
/Linux-v5.4/include/soc/fsl/ |
D | dpaa2-fd.h | 309 static inline dma_addr_t dpaa2_sg_get_addr(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_addr() 319 static inline void dpaa2_sg_set_addr(struct dpaa2_sg_entry *sg, dma_addr_t addr) in dpaa2_sg_set_addr() 324 static inline bool dpaa2_sg_short_len(const struct dpaa2_sg_entry *sg) in dpaa2_sg_short_len() 336 static inline u32 dpaa2_sg_get_len(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_len() 349 static inline void dpaa2_sg_set_len(struct dpaa2_sg_entry *sg, u32 len) in dpaa2_sg_set_len() 360 static inline u16 dpaa2_sg_get_offset(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_offset() 370 static inline void dpaa2_sg_set_offset(struct dpaa2_sg_entry *sg, in dpaa2_sg_set_offset() 384 dpaa2_sg_get_format(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_format() 395 static inline void dpaa2_sg_set_format(struct dpaa2_sg_entry *sg, in dpaa2_sg_set_format() 408 static inline u16 dpaa2_sg_get_bpid(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_bpid() [all …]
|
/Linux-v5.4/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() 103 struct scatterlist *sg, *ret = NULL; in sg_last() local 138 void sg_init_one(struct scatterlist *sg, const void *buf, unsigned int buflen) in sg_init_one() 169 static void sg_kfree(struct scatterlist *sg, unsigned int nents) in sg_kfree() 271 struct scatterlist *sg, *prv; in __sg_alloc_table() local 490 struct scatterlist *sgl, *sg; in sgl_alloc_order() local 562 struct scatterlist *sg; in sgl_free_n_order() local 612 static int sg_page_count(struct scatterlist *sg) in sg_page_count() [all …]
|
/Linux-v5.4/drivers/gpu/drm/i915/ |
D | i915_scatterlist.h | 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()
|
/Linux-v5.4/arch/s390/mm/ |
D | gmap.c | 241 struct gmap *sg, *next; in gmap_remove() local 1173 static inline void gmap_insert_rmap(struct gmap *sg, unsigned long vmaddr, in gmap_insert_rmap() 1201 static int gmap_protect_rmap(struct gmap *sg, unsigned long raddr, in gmap_protect_rmap() 1282 static void gmap_unshadow_page(struct gmap *sg, unsigned long raddr) in gmap_unshadow_page() 1302 static void __gmap_unshadow_pgt(struct gmap *sg, unsigned long raddr, in __gmap_unshadow_pgt() 1319 static void gmap_unshadow_pgt(struct gmap *sg, unsigned long raddr) in gmap_unshadow_pgt() 1348 static void __gmap_unshadow_sgt(struct gmap *sg, unsigned long raddr, in __gmap_unshadow_sgt() 1376 static void gmap_unshadow_sgt(struct gmap *sg, unsigned long raddr) in gmap_unshadow_sgt() 1405 static void __gmap_unshadow_r3t(struct gmap *sg, unsigned long raddr, in __gmap_unshadow_r3t() 1433 static void gmap_unshadow_r3t(struct gmap *sg, unsigned long raddr) in gmap_unshadow_r3t() [all …]
|
/Linux-v5.4/drivers/infiniband/core/ |
D | rw.c | 86 struct rdma_rw_reg_ctx *reg, struct scatterlist *sg, in rdma_rw_init_one_mr() 119 u8 port_num, struct scatterlist *sg, u32 sg_cnt, u32 offset, in rdma_rw_init_mr_wrs() 190 struct scatterlist *sg, u32 sg_cnt, u32 offset, in rdma_rw_init_map_wrs() 246 struct scatterlist *sg, u32 offset, u64 remote_addr, u32 rkey, in rdma_rw_init_single_wr() 287 struct scatterlist *sg, u32 sg_cnt, u32 sg_offset, in rdma_rw_ctx_init() 359 u8 port_num, struct scatterlist *sg, u32 sg_cnt, in rdma_rw_ctx_signature_init() 565 struct scatterlist *sg, u32 sg_cnt, enum dma_data_direction dir) in rdma_rw_ctx_destroy() 607 u8 port_num, struct scatterlist *sg, u32 sg_cnt, in rdma_rw_ctx_destroy_signature()
|
D | umem.c | 73 static struct scatterlist *ib_umem_add_sg_table(struct scatterlist *sg, in ib_umem_add_sg_table() 148 struct scatterlist *sg; in ib_umem_find_best_pgsz() local 203 struct scatterlist *sg; in ib_umem_get() local 348 struct scatterlist *sg; in ib_umem_page_count() local
|
/Linux-v5.4/drivers/memstick/core/ |
D | ms_block.c | 94 static int msb_sg_compare_to_buffer(struct scatterlist *sg, in msb_sg_compare_to_buffer() 340 struct scatterlist sg[2]; in h_msb_read_page() local 476 struct scatterlist sg[2]; in h_msb_write_block() local 856 struct scatterlist *sg, int offset) in msb_read_page() 975 struct scatterlist sg; in msb_verify_block() local 997 u16 pba, u32 lba, struct scatterlist *sg, int offset) in msb_write_block() 1112 struct scatterlist *sg, int offset) in msb_update_block() 1189 struct scatterlist sg; in msb_read_boot_blocks() local 1252 struct scatterlist sg; in msb_read_bad_block_table() local 1528 struct scatterlist sg; in msb_cache_flush() local [all …]
|
/Linux-v5.4/net/sunrpc/auth_gss/ |
D | gss_krb5_crypto.c | 63 struct scatterlist sg[1]; in krb5_encrypt() local 102 struct scatterlist sg[1]; in krb5_decrypt() local 132 checksummer(struct scatterlist *sg, void *data) in checksummer() 169 struct scatterlist sg[1]; in make_checksum_hmac_md5() local 282 struct scatterlist sg[1]; in make_checksum() local 379 struct scatterlist sg[1]; in make_checksum_v2() local 465 encryptor(struct scatterlist *sg, void *data) in encryptor() 567 decryptor(struct scatterlist *sg, void *data) in decryptor() 681 struct scatterlist sg[1]; in gss_krb5_cts_crypt() local
|
/Linux-v5.4/fs/verity/ |
D | hash_algs.c | 111 struct scatterlist sg; in fsverity_prepare_hash_state() local 188 struct scatterlist sg; in fsverity_hash_page() local 236 struct scatterlist sg; in fsverity_hash_buffer() local
|
/Linux-v5.4/drivers/mmc/core/ |
D | mmc_test.c | 84 struct scatterlist *sg; member 209 struct mmc_request *mrq, struct scatterlist *sg, unsigned sg_len, in mmc_test_prepare_mrq() 296 struct scatterlist sg; in mmc_test_buffer_transfer() local 412 struct scatterlist *sg = NULL; in mmc_test_map_sg() local 465 struct scatterlist *sg = NULL; in mmc_test_map_sg_max_scatter() local 839 struct scatterlist *sg, unsigned sg_len, in mmc_test_nonblock_transfer() 884 struct scatterlist *sg, unsigned sg_len, unsigned dev_addr, in mmc_test_simple_transfer() 917 struct scatterlist sg; in mmc_test_broken_transfer() local 941 struct scatterlist *sg, unsigned sg_len, unsigned dev_addr, in mmc_test_transfer() 1027 struct scatterlist sg; in mmc_test_basic_write() local [all …]
|
D | sd_ops.c | 216 struct scatterlist sg; in mmc_app_send_scr() local 270 struct scatterlist sg; in mmc_sd_switch() local 312 struct scatterlist sg; in mmc_app_sd_status() local
|
/Linux-v5.4/net/rxrpc/ |
D | rxkad.c | 105 struct scatterlist sg; in rxkad_prime_packet_security() local 187 struct scatterlist sg; in rxkad_secure_packet_auth() local 225 struct scatterlist sg[16]; in rxkad_secure_packet_encrypt() local 284 struct scatterlist sg; in rxkad_secure_packet() local 358 struct scatterlist sg[16]; in rxkad_verify_packet_1() local 436 struct scatterlist _sg[4], *sg; in rxkad_verify_packet_2() local 533 struct scatterlist sg; in rxkad_verify_packet() local 786 struct scatterlist sg[1]; in rxkad_encrypt_response() local 904 struct scatterlist sg[1]; in rxkad_decrypt_ticket() local 1057 struct scatterlist sg[1]; in rxkad_decrypt_response() local
|
/Linux-v5.4/drivers/crypto/caam/ |
D | sg_sw_qm2.h | 28 sg_to_qm_sg(struct scatterlist *sg, int len, in sg_to_qm_sg() 49 static inline void sg_to_qm_sg_last(struct scatterlist *sg, int len, in sg_to_qm_sg_last()
|
D | sg_sw_sec4.h | 48 sg_to_sec4_sg(struct scatterlist *sg, int len, in sg_to_sec4_sg() 77 static inline void sg_to_sec4_sg_last(struct scatterlist *sg, int len, in sg_to_sec4_sg_last()
|
/Linux-v5.4/drivers/scsi/qla2xxx/ |
D | qla_dsd.h | 12 static inline void append_dsd32(struct dsd32 **dsd, struct scatterlist *sg) in append_dsd32() 25 static inline void append_dsd64(struct dsd64 **dsd, struct scatterlist *sg) in append_dsd64()
|
/Linux-v5.4/arch/arm/mm/ |
D | dma-mapping-nommu.c | 122 struct scatterlist *sg; in arm_nommu_dma_map_sg() local 137 struct scatterlist *sg; in arm_nommu_dma_unmap_sg() local 159 struct scatterlist *sg; in arm_nommu_dma_sync_sg_for_device() local 169 struct scatterlist *sg; in arm_nommu_dma_sync_sg_for_cpu() local
|
/Linux-v5.4/drivers/scsi/arm/ |
D | scsi.h | 24 static inline int copy_SCp_to_sg(struct scatterlist *sg, struct scsi_pointer *SCp, int max) in copy_SCp_to_sg() 97 struct scatterlist *sg; in init_SCp() local
|
/Linux-v5.4/block/ |
D | blk-merge.c | 381 static inline struct scatterlist *blk_next_sg(struct scatterlist **sg, in blk_next_sg() 400 struct scatterlist **sg) in blk_bvec_map_sg() 433 struct scatterlist *sglist, struct scatterlist **sg) in __blk_bvec_map_sg() 443 struct bio_vec *bvprv, struct scatterlist **sg) in __blk_segment_map_sg_merge() 464 struct scatterlist **sg) in __blk_bios_map_sg() 505 struct scatterlist *sg = NULL; in blk_rq_map_sg() local
|