Home
last modified time | relevance | path

Searched defs:sg (Results 1 – 25 of 442) sorted by relevance

12345678910>>...18

/linux-3.3/include/linux/
Dscatterlist.h40 #define sg_is_chain(sg) ((sg)->page_link & 0x01) argument
41 #define sg_is_last(sg) ((sg)->page_link & 0x02) argument
42 #define sg_chain_ptr(sg) \ argument
55 static inline void sg_assign_page(struct scatterlist *sg, struct page *page) in sg_assign_page()
85 static inline void sg_set_page(struct scatterlist *sg, struct page *page, in sg_set_page()
93 static inline struct page *sg_page(struct scatterlist *sg) in sg_page()
109 static inline void sg_set_buf(struct scatterlist *sg, const void *buf, in sg_set_buf()
118 #define for_each_sg(sglist, sg, nr, __i) \ argument
160 static inline void sg_mark_end(struct scatterlist *sg) in sg_mark_end()
182 static inline dma_addr_t sg_phys(struct scatterlist *sg) in sg_phys()
[all …]
/linux-3.3/include/asm-generic/
Dscatterlist.h26 #define sg_dma_address(sg) ((sg)->dma_address) argument
29 #define sg_dma_len(sg) ((sg)->dma_length) argument
31 #define sg_dma_len(sg) ((sg)->length) argument
Dpci-dma-compat.h57 pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_map_sg()
64 pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_unmap_sg()
85 pci_dma_sync_sg_for_cpu(struct pci_dev *hwdev, struct scatterlist *sg, in pci_dma_sync_sg_for_cpu()
92 pci_dma_sync_sg_for_device(struct pci_dev *hwdev, struct scatterlist *sg, in pci_dma_sync_sg_for_device()
/linux-3.3/drivers/infiniband/ulp/iser/
Diser_memory.c70 struct scatterlist *sg; in iser_start_rdma_unaligned_sg() local
123 struct scatterlist *sgl, *sg; in iser_finalize_rdma_unaligned_sg() local
175 struct scatterlist *sg, *sgl = (struct scatterlist *)data->buf; in iser_sg_to_page_vec() local
226 struct scatterlist *sgl, *sg, *next_sg = NULL; in iser_data_buf_aligned_len() local
266 struct scatterlist *sg; in iser_data_buf_dump() local
367 struct scatterlist *sg; in iser_reg_rdma_mem() local
/linux-3.3/net/sunrpc/auth_gss/
Dgss_krb5_crypto.c61 struct scatterlist sg[1]; in krb5_encrypt() local
95 struct scatterlist sg[1]; in krb5_decrypt() local
120 checksummer(struct scatterlist *sg, void *data) in checksummer()
156 struct scatterlist sg[1]; in make_checksum_hmac_md5() local
246 struct scatterlist sg[1]; in make_checksum() local
327 struct scatterlist sg[1]; in make_checksum_v2() local
401 encryptor(struct scatterlist *sg, void *data) in encryptor()
496 decryptor(struct scatterlist *sg, void *data) in decryptor()
601 struct scatterlist sg[1]; in gss_krb5_cts_crypt() local
860 struct scatterlist sg[1]; in krb5_rc4_setup_seq_key() local
[all …]
/linux-3.3/security/integrity/ima/
Dima_crypto.c48 struct scatterlist sg[1]; in ima_calc_hash() local
94 struct scatterlist sg[1]; in ima_calc_template_hash() local
124 struct scatterlist sg; in ima_calc_boot_aggregate() local
/linux-3.3/crypto/
Dtcrypt.c71 struct scatterlist *sg, int blen, int sec) in test_cipher_jiffies()
94 struct scatterlist *sg, int blen) in test_cipher_cycles()
178 struct scatterlist sg[TVMEMSIZE]; in test_cipher_speed() local
244 struct scatterlist *sg, int blen, in test_hash_jiffies_digest()
264 static int test_hash_jiffies(struct hash_desc *desc, struct scatterlist *sg, in test_hash_jiffies()
297 struct scatterlist *sg, int blen, char *out) in test_hash_cycles_digest()
341 static int test_hash_cycles(struct hash_desc *desc, struct scatterlist *sg, in test_hash_cycles()
405 static void test_hash_sg_init(struct scatterlist *sg) in test_hash_sg_init()
419 struct scatterlist sg[TVMEMSIZE]; in test_hash_speed() local
657 struct scatterlist sg[TVMEMSIZE]; in test_ahash_speed() local
[all …]
/linux-3.3/arch/c6x/kernel/
Ddma.c67 struct scatterlist *sg; in dma_map_sg() local
84 struct scatterlist *sg; in dma_unmap_sg() local
117 struct scatterlist *sg; in dma_sync_sg_for_cpu() local
132 struct scatterlist *sg; in dma_sync_sg_for_device() local
/linux-3.3/net/rxrpc/
Drxkad.c117 struct scatterlist sg[2]; in rxkad_prime_packet_security() local
161 struct scatterlist sg[2]; in rxkad_secure_packet_auth() local
208 struct scatterlist sg[16]; in rxkad_secure_packet_encrypt() local
261 struct scatterlist sg[2]; in rxkad_secure_packet() local
335 struct scatterlist sg[16]; in rxkad_verify_packet_auth() local
410 struct scatterlist _sg[4], *sg; in rxkad_verify_packet_encrypt() local
493 struct scatterlist sg[2]; in rxkad_verify_packet() local
723 struct scatterlist sg[2]; in rxkad_encrypt_response() local
827 struct scatterlist sg[1]; in rxkad_decrypt_ticket() local
970 struct scatterlist sg[2]; in rxkad_decrypt_response() local
/linux-3.3/drivers/mmc/card/
Dmmc_test.c82 struct scatterlist *sg; member
189 struct mmc_request *mrq, struct scatterlist *sg, unsigned sg_len, in mmc_test_prepare_mrq()
276 struct scatterlist sg; in mmc_test_buffer_transfer() local
397 struct scatterlist *sg = NULL; in mmc_test_map_sg() local
450 struct scatterlist *sg = NULL; in mmc_test_map_sg_max_scatter() local
779 struct scatterlist *sg, unsigned sg_len, in mmc_test_nonblock_transfer()
844 struct scatterlist *sg, unsigned sg_len, unsigned dev_addr, in mmc_test_simple_transfer()
877 struct scatterlist sg; in mmc_test_broken_transfer() local
901 struct scatterlist *sg, unsigned sg_len, unsigned dev_addr, in mmc_test_transfer()
987 struct scatterlist sg; in mmc_test_basic_write() local
[all …]
/linux-3.3/drivers/infiniband/hw/qib/
Dqib_dma.c97 struct scatterlist *sg; in qib_map_sg() local
116 struct scatterlist *sg, int nents, in qib_unmap_sg()
122 static u64 qib_sg_dma_address(struct ib_device *dev, struct scatterlist *sg) in qib_sg_dma_address()
132 struct scatterlist *sg) in qib_sg_dma_len()
/linux-3.3/arch/microblaze/kernel/
Ddma.c73 struct scatterlist *sg; in dma_direct_map_sg() local
86 static void dma_direct_unmap_sg(struct device *dev, struct scatterlist *sg, in dma_direct_unmap_sg()
155 struct scatterlist *sg; in dma_direct_sync_sg_for_cpu() local
169 struct scatterlist *sg; in dma_direct_sync_sg_for_device() local
/linux-3.3/drivers/infiniband/hw/ipath/
Dipath_dma.c104 struct scatterlist *sg; in ipath_map_sg() local
123 struct scatterlist *sg, int nents, in ipath_unmap_sg()
129 static u64 ipath_sg_dma_address(struct ib_device *dev, struct scatterlist *sg) in ipath_sg_dma_address()
139 struct scatterlist *sg) in ipath_sg_dma_len()
/linux-3.3/tools/virtio/linux/
Dvirtio.h36 #define sg_phys(sg) ((sg->page_link & ~0x3) / sizeof(struct page) * 4096 + \ argument
38 static inline void sg_mark_end(struct scatterlist *sg) in sg_mark_end()
51 static inline void sg_assign_page(struct scatterlist *sg, struct page *page) in sg_assign_page()
63 static inline void sg_set_page(struct scatterlist *sg, struct page *page, in sg_set_page()
71 static inline void sg_set_buf(struct scatterlist *sg, const void *buf, in sg_set_buf()
77 static inline void sg_init_one(struct scatterlist *sg, const void *buf, unsigned int buflen) in sg_init_one()
/linux-3.3/lib/
Dscatterlist.c25 struct scatterlist *sg_next(struct scatterlist *sg) in sg_next()
106 void sg_init_one(struct scatterlist *sg, const void *buf, unsigned int buflen) in sg_init_one()
136 static void sg_kfree(struct scatterlist *sg, unsigned int nents) in sg_kfree()
228 struct scatterlist *sg, *prv; in __sg_alloc_table() local
/linux-3.3/drivers/staging/rtl8192u/ieee80211/
Dscatterwalk.h21 struct scatterlist *sg; member
31 static inline struct scatterlist *sg_next(struct scatterlist *sg) in sg_next()
/linux-3.3/drivers/scsi/arm/
Dscsi.h27 static inline int copy_SCp_to_sg(struct scatterlist *sg, struct scsi_pointer *SCp, int max) in copy_SCp_to_sg()
100 struct scatterlist *sg; in init_SCp() local
/linux-3.3/arch/sparc/kernel/
Dioport.c379 static int sbus_map_sg(struct device *dev, struct scatterlist *sg, int n, in sbus_map_sg()
391 static void sbus_unmap_sg(struct device *dev, struct scatterlist *sg, int n, in sbus_unmap_sg()
397 static void sbus_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, in sbus_sync_sg_for_cpu()
403 static void sbus_sync_sg_for_device(struct device *dev, struct scatterlist *sg, in sbus_sync_sg_for_device()
560 struct scatterlist *sg; in pci32_map_sg() local
579 struct scatterlist *sg; in pci32_unmap_sg() local
624 struct scatterlist *sg; in pci32_sync_sg_for_cpu() local
637 struct scatterlist *sg; in pci32_sync_sg_for_device() local
/linux-3.3/arch/avr32/include/asm/
Ddma-mapping.h212 dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, in dma_map_sg()
240 dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nhwentries, in dma_unmap_sg()
313 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, in dma_sync_sg_for_cpu()
324 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, in dma_sync_sg_for_device()
/linux-3.3/arch/xtensa/include/asm/
Ddma-mapping.h53 dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, in dma_map_sg()
87 dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nhwentries, in dma_unmap_sg()
125 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, in dma_sync_sg_for_cpu()
134 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, in dma_sync_sg_for_device()
/linux-3.3/arch/mn10300/include/asm/
Ddma-mapping.h54 struct scatterlist *sg; in dma_map_sg() local
71 void dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nhwentries, in dma_unmap_sg()
123 void dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, in dma_sync_sg_for_cpu()
129 void dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, in dma_sync_sg_for_device()
/linux-3.3/arch/ia64/sn/pci/
Dpci_dma.c21 #define SG_ENT_VIRT_ADDRESS(sg) (sg_virt((sg))) argument
247 struct scatterlist *sg; in sn_dma_unmap_sg() local
278 struct scatterlist *saved_sg = sgl, *sg; in sn_dma_map_sg() local
335 static void sn_dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, in sn_dma_sync_sg_for_cpu()
341 static void sn_dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, in sn_dma_sync_sg_for_device()
/linux-3.3/drivers/usb/storage/
Dprotocol.c139 struct scatterlist *sg = *sgptr; in usb_stor_access_xfer_buf() local
212 struct scatterlist *sg = NULL; in usb_stor_set_xfer_buf() local
/linux-3.3/arch/tile/kernel/
Dpci-dma.c137 struct scatterlist *sg; in dma_map_sg() local
153 void dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nhwentries, in dma_unmap_sg()
200 void dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, in dma_sync_sg_for_cpu()
214 struct scatterlist *sg; in dma_sync_sg_for_device() local
/linux-3.3/arch/cris/include/asm/
Ddma-mapping.h56 dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, in dma_map_sg()
80 dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nhwentries, in dma_unmap_sg()
113 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, in dma_sync_sg_for_cpu()
119 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, in dma_sync_sg_for_device()

12345678910>>...18