/Linux-v6.6/include/linux/ |
D | scatterlist.h | 31 #define sg_dma_address(sg) ((sg)->dma_address) argument 34 #define sg_dma_len(sg) ((sg)->dma_length) argument 36 #define sg_dma_len(sg) ((sg)->length) argument 77 static inline unsigned int __sg_flags(struct scatterlist *sg) in __sg_flags() 82 static inline struct scatterlist *sg_chain_ptr(struct scatterlist *sg) in sg_chain_ptr() 87 static inline bool sg_is_chain(struct scatterlist *sg) in sg_is_chain() 92 static inline bool sg_is_last(struct scatterlist *sg) in sg_is_last() 107 static inline void sg_assign_page(struct scatterlist *sg, struct page *page) in sg_assign_page() 136 static inline void sg_set_page(struct scatterlist *sg, struct page *page, in sg_set_page() 158 static inline void sg_set_folio(struct scatterlist *sg, struct folio *folio, in sg_set_folio() [all …]
|
/Linux-v6.6/tools/virtio/linux/ |
D | scatterlist.h | 15 #define sg_is_chain(sg) ((sg)->page_link & 0x01) argument 16 #define sg_is_last(sg) ((sg)->page_link & 0x02) argument 17 #define sg_chain_ptr(sg) \ argument 30 static inline void sg_assign_page(struct scatterlist *sg, struct page *page) in sg_assign_page() 59 static inline void sg_set_page(struct scatterlist *sg, struct page *page, in sg_set_page() 67 static inline struct page *sg_page(struct scatterlist *sg) in sg_page() 78 #define for_each_sg(sglist, sg, nr, __i) \ argument 116 static inline void sg_mark_end(struct scatterlist *sg) in sg_mark_end() 133 static inline void sg_unmark_end(struct scatterlist *sg) in sg_unmark_end() 138 static inline struct scatterlist *sg_next(struct scatterlist *sg) in sg_next() [all …]
|
/Linux-v6.6/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 85 struct sprd_gate *sg = hw_to_sprd_gate(hw); in sprd_pll_sc_gate_prepare() local 95 struct sprd_gate *sg = hw_to_sprd_gate(hw); in sprd_gate_is_enabled() local
|
/Linux-v6.6/drivers/ata/ |
D | sata_gemini.c | 125 bool gemini_sata_bridge_enabled(struct sata_gemini *sg, bool is_ata1) in gemini_sata_bridge_enabled() 144 enum gemini_muxmode gemini_sata_get_muxmode(struct sata_gemini *sg) in gemini_sata_get_muxmode() 150 static int gemini_sata_setup_bridge(struct sata_gemini *sg, in gemini_sata_setup_bridge() 194 int gemini_sata_start_bridge(struct sata_gemini *sg, unsigned int bridge) in gemini_sata_start_bridge() 215 void gemini_sata_stop_bridge(struct sata_gemini *sg, unsigned int bridge) in gemini_sata_stop_bridge() 224 int gemini_sata_reset_bridge(struct sata_gemini *sg, in gemini_sata_reset_bridge() 236 static int gemini_sata_bridge_init(struct sata_gemini *sg) in gemini_sata_bridge_init() 318 struct sata_gemini *sg; in gemini_sata_probe() local 404 struct sata_gemini *sg = platform_get_drvdata(pdev); in gemini_sata_remove() local
|
/Linux-v6.6/include/soc/fsl/ |
D | dpaa2-fd.h | 310 static inline dma_addr_t dpaa2_sg_get_addr(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_addr() 320 static inline void dpaa2_sg_set_addr(struct dpaa2_sg_entry *sg, dma_addr_t addr) in dpaa2_sg_set_addr() 325 static inline bool dpaa2_sg_short_len(const struct dpaa2_sg_entry *sg) in dpaa2_sg_short_len() 337 static inline u32 dpaa2_sg_get_len(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_len() 350 static inline void dpaa2_sg_set_len(struct dpaa2_sg_entry *sg, u32 len) in dpaa2_sg_set_len() 361 static inline u16 dpaa2_sg_get_offset(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_offset() 371 static inline void dpaa2_sg_set_offset(struct dpaa2_sg_entry *sg, in dpaa2_sg_set_offset() 385 dpaa2_sg_get_format(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_format() 396 static inline void dpaa2_sg_set_format(struct dpaa2_sg_entry *sg, in dpaa2_sg_set_format() 409 static inline u16 dpaa2_sg_get_bpid(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_bpid() [all …]
|
/Linux-v6.6/lib/ |
D | scatterlist.c | 25 struct scatterlist *sg_next(struct scatterlist *sg) in sg_next() 47 int sg_nents(struct scatterlist *sg) in sg_nents() 70 int sg_nents_for_len(struct scatterlist *sg, u64 len) in sg_nents_for_len() 105 struct scatterlist *sg, *ret = NULL; in sg_last() local 140 void sg_init_one(struct scatterlist *sg, const void *buf, unsigned int buflen) in sg_init_one() 171 static void sg_kfree(struct scatterlist *sg, unsigned int nents) in sg_kfree() 290 struct scatterlist *sg, *prv; in __sg_alloc_table() local 615 struct scatterlist *sgl, *sg; in sgl_alloc_order() local 687 struct scatterlist *sg; in sgl_free_n_order() local 737 static int sg_page_count(struct scatterlist *sg) in sg_page_count() [all …]
|
/Linux-v6.6/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() 197 void omap_crypto_cleanup(struct scatterlist *sg, struct scatterlist *orig, in omap_crypto_cleanup()
|
/Linux-v6.6/drivers/gpu/drm/i915/ |
D | i915_scatterlist.h | 50 static inline int __sg_page_count(const struct scatterlist *sg) in __sg_page_count() 55 static inline int __sg_dma_page_count(const struct scatterlist *sg) in __sg_dma_page_count() 60 static inline struct scatterlist *____sg_next(struct scatterlist *sg) in ____sg_next() 77 static inline struct scatterlist *__sg_next(struct scatterlist *sg) in __sg_next() 116 static inline unsigned int i915_sg_dma_sizes(struct scatterlist *sg) in i915_sg_dma_sizes()
|
D | i915_scatterlist.c | 18 struct scatterlist *sg, *new_sg; in i915_sg_trim() local 89 struct scatterlist *sg; in i915_rsgt_from_mm_node() local 174 struct scatterlist *sg; in i915_rsgt_from_buddy_resource() local
|
/Linux-v6.6/arch/s390/mm/ |
D | gmap.c | 240 struct gmap *sg, *next; in gmap_remove() local 1182 static inline void gmap_insert_rmap(struct gmap *sg, unsigned long vmaddr, in gmap_insert_rmap() 1217 static int gmap_protect_rmap(struct gmap *sg, unsigned long raddr, in gmap_protect_rmap() 1298 static void gmap_unshadow_page(struct gmap *sg, unsigned long raddr) in gmap_unshadow_page() 1318 static void __gmap_unshadow_pgt(struct gmap *sg, unsigned long raddr, in __gmap_unshadow_pgt() 1335 static void gmap_unshadow_pgt(struct gmap *sg, unsigned long raddr) in gmap_unshadow_pgt() 1365 static void __gmap_unshadow_sgt(struct gmap *sg, unsigned long raddr, in __gmap_unshadow_sgt() 1393 static void gmap_unshadow_sgt(struct gmap *sg, unsigned long raddr) in gmap_unshadow_sgt() 1423 static void __gmap_unshadow_r3t(struct gmap *sg, unsigned long raddr, in __gmap_unshadow_r3t() 1451 static void gmap_unshadow_r3t(struct gmap *sg, unsigned long raddr) in gmap_unshadow_r3t() [all …]
|
/Linux-v6.6/tools/testing/selftests/bpf/progs/ |
D | loop6.c | 35 #define sg_is_chain(sg) ((sg)->page_link & SG_CHAIN) argument 36 #define sg_is_last(sg) ((sg)->page_link & SG_END) argument 37 #define sg_chain_ptr(sg) \ argument 42 struct scatterlist sg; in __sg_next() local
|
/Linux-v6.6/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 478 struct scatterlist sg[2]; in h_msb_write_block() local 860 struct scatterlist *sg, int offset) in msb_read_page() 979 struct scatterlist sg; in msb_verify_block() local 1001 u16 pba, u32 lba, struct scatterlist *sg, int offset) in msb_write_block() 1118 struct scatterlist *sg, int offset) in msb_update_block() 1195 struct scatterlist sg; in msb_read_boot_blocks() local 1258 struct scatterlist sg; in msb_read_bad_block_table() local 1535 struct scatterlist sg; in msb_cache_flush() local [all …]
|
/Linux-v6.6/drivers/infiniband/core/ |
D | rw.c | 92 struct rdma_rw_reg_ctx *reg, struct scatterlist *sg, in rdma_rw_init_one_mr() 125 u32 port_num, struct scatterlist *sg, u32 sg_cnt, u32 offset, in rdma_rw_init_mr_wrs() 196 struct scatterlist *sg, u32 sg_cnt, u32 offset, in rdma_rw_init_map_wrs() 252 struct scatterlist *sg, u32 offset, u64 remote_addr, u32 rkey, in rdma_rw_init_single_wr() 293 struct scatterlist *sg, u32 sg_cnt, u32 sg_offset, in rdma_rw_ctx_init() 365 u32 port_num, struct scatterlist *sg, u32 sg_cnt, in rdma_rw_ctx_signature_init() 575 u32 port_num, struct scatterlist *sg, u32 sg_cnt, in rdma_rw_ctx_destroy() 614 u32 port_num, struct scatterlist *sg, u32 sg_cnt, in rdma_rw_ctx_destroy_signature()
|
/Linux-v6.6/net/rxrpc/ |
D | rxkad.c | 188 struct scatterlist sg; in rxkad_prime_packet_security() local 256 struct scatterlist sg; in rxkad_secure_packet_auth() local 298 struct scatterlist sg; in rxkad_secure_packet_encrypt() local 339 struct scatterlist sg; in rxkad_secure_packet() local 413 struct scatterlist sg[16]; in rxkad_verify_packet_1() local 477 struct scatterlist _sg[4], *sg; in rxkad_verify_packet_2() local 555 struct scatterlist sg; in rxkad_verify_packet() local 763 struct scatterlist sg[1]; in rxkad_encrypt_response() local 866 struct scatterlist sg[1]; in rxkad_decrypt_ticket() local 990 struct scatterlist sg[1]; in rxkad_decrypt_response() local
|
/Linux-v6.6/drivers/mmc/core/ |
D | mmc_test.c | 84 struct scatterlist *sg; member 210 struct mmc_request *mrq, struct scatterlist *sg, unsigned sg_len, in mmc_test_prepare_mrq() 297 struct scatterlist sg; in mmc_test_buffer_transfer() local 413 struct scatterlist *sg = NULL; in mmc_test_map_sg() local 466 struct scatterlist *sg = NULL; in mmc_test_map_sg_max_scatter() local 834 struct scatterlist *sg = t->sg; in mmc_test_nonblock_transfer() local 874 struct scatterlist *sg, unsigned sg_len, unsigned dev_addr, in mmc_test_simple_transfer() 907 struct scatterlist sg; in mmc_test_broken_transfer() local 931 struct scatterlist *sg, unsigned sg_len, unsigned dev_addr, in mmc_test_transfer() 1012 struct scatterlist sg; in mmc_test_basic_write() local [all …]
|
/Linux-v6.6/net/sunrpc/auth_gss/ |
D | gss_krb5_crypto.c | 111 struct scatterlist sg[1]; in krb5_encrypt() local 166 struct scatterlist sg[1]; in krb5_decrypt() local 196 checksummer(struct scatterlist *sg, void *data) in checksummer() 217 struct scatterlist sg[1]; in make_checksum() local 343 struct scatterlist sg[1]; in gss_krb5_checksum() local 381 encryptor(struct scatterlist *sg, void *data) in encryptor() 483 decryptor(struct scatterlist *sg, void *data) in decryptor() 596 struct scatterlist sg[1]; in gss_krb5_cts_crypt() local 935 struct scatterlist sg[1]; in krb5_etm_checksum() local
|
/Linux-v6.6/drivers/infiniband/hw/mlx5/ |
D | umr.c | 491 struct ib_sge *sg) in mlx5r_umr_unmap_free_xlt() 502 static void *mlx5r_umr_create_xlt(struct mlx5_ib_dev *dev, struct ib_sge *sg, in mlx5r_umr_create_xlt() 528 unsigned int flags, struct ib_sge *sg) in mlx5r_umr_set_update_xlt_ctrl_seg() 556 struct ib_sge *sg) in mlx5r_umr_set_update_xlt_data_seg() 575 struct mlx5_ib_mr *mr, struct ib_sge *sg, in mlx5r_umr_final_update_xlt() 621 struct ib_sge sg; in mlx5r_umr_update_mr_pas() local 704 struct ib_sge sg; in mlx5r_umr_update_xlt() local
|
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_txrx.c | 104 static void otx2_dma_unmap_skb_frags(struct otx2_nic *pfvf, struct sg_list *sg) in otx2_dma_unmap_skb_frags() 120 struct sg_list *sg; in otx2_xdp_snd_pkt_handler() local 143 struct sg_list *sg; in otx2_snd_pkt_handler() local 257 struct nix_rx_sg_s *sg = &cqe->sg; in otx2_free_rcv_seg() local 344 struct nix_rx_sg_s *sg = &cqe->sg; in otx2_rcv_pkt_handler() local 617 struct nix_sqe_sg_s *sg = NULL; in otx2_sqe_add_sg() local 803 struct sg_list *sg = &sq->sg[sqe]; in otx2_dma_map_tso_skb() local 835 struct sg_list *sg = &sq->sg[sqe]; in otx2_tso_frag_dma_addr() local 852 struct nix_sqe_sg_s *sg = NULL; in otx2_sqe_tso_add_sg() local 1254 struct sg_list *sg; in otx2_cleanup_tx_cqes() local [all …]
|
/Linux-v6.6/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-v6.6/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-v6.6/drivers/dma-buf/ |
D | udmabuf.c | 29 struct sg_table *sg; member 90 struct sg_table *sg; in get_sg_table() local 112 static void put_sg_table(struct device *dev, struct sg_table *sg, in put_sg_table() 127 struct sg_table *sg, in unmap_udmabuf()
|
/Linux-v6.6/drivers/crypto/bcm/ |
D | util.c | 27 int spu_sg_at_offset(struct scatterlist *sg, unsigned int skip, in spu_sg_at_offset() 95 struct scatterlist *sg; in spu_sg_count() local 137 struct scatterlist *sg; /* an entry in from_sg */ in spu_msg_sg_add() local 273 void __dump_sg(struct scatterlist *sg, unsigned int skip, unsigned int len) in __dump_sg()
|
/Linux-v6.6/arch/powerpc/platforms/powernv/ |
D | opal-sensor-groups.c | 27 struct attribute_group sg; member 129 static int __init add_attr_group(const __be32 *ops, int len, struct sensor_group *sg, in add_attr_group() 162 struct device_node *sg, *node; in opal_sensor_groups_init() local
|
/Linux-v6.6/kernel/dma/ |
D | debug.h | 70 static inline void debug_dma_map_sg(struct device *dev, struct scatterlist *sg, in debug_dma_map_sg() 119 struct scatterlist *sg, in debug_dma_sync_sg_for_cpu() 125 struct scatterlist *sg, in debug_dma_sync_sg_for_device()
|