Searched refs:walk (Results 1 - 12 of 12) sorted by relevance

/drivers/staging/rtl8192u/ieee80211/
H A Dscatterwalk.c24 void *scatterwalk_whichbuf(struct scatter_walk *walk, unsigned int nbytes, void *scratch) argument
26 if (nbytes <= walk->len_this_page &&
27 (((unsigned long)walk->data) & (PAGE_CACHE_SIZE - 1)) + nbytes <=
29 return walk->data;
42 void scatterwalk_start(struct scatter_walk *walk, struct scatterlist *sg) argument
46 walk->sg = sg;
48 walk->page = sg->page;
49 walk->len_this_segment = sg->length;
52 walk->len_this_page = min(sg->length, rest_of_page);
53 walk
56 scatterwalk_map(struct scatter_walk *walk) argument
61 scatterwalk_pagedone(struct scatter_walk *walk, int out, unsigned int more) argument
85 scatterwalk_done(struct scatter_walk *walk, int out, int more) argument
96 scatterwalk_copychunks(void *buf, struct scatter_walk *walk, size_t nbytes) argument
[all...]
H A Dscatterwalk.h45 void *scatterwalk_whichbuf(struct scatter_walk *walk, unsigned int nbytes, void *scratch);
46 void scatterwalk_start(struct scatter_walk *walk, struct scatterlist *sg);
47 int scatterwalk_copychunks(void *buf, struct scatter_walk *walk, size_t nbytes, int out);
48 void scatterwalk_map(struct scatter_walk *walk, int out);
49 void scatterwalk_done(struct scatter_walk *walk, int out, int more);
/drivers/atm/
H A Didt77105.c85 struct idt77105_priv *walk; local
90 for (walk = idt77105_all; walk; walk = walk->next) {
91 dev = walk->dev;
93 stats = &walk->stats;
114 struct idt77105_priv *walk; local
119 for (walk = idt77105_all; walk; wal
326 struct idt77105_priv *walk, *prev; local
[all...]
H A Dsuni.c58 struct suni_priv *walk; local
62 for (walk = sunis; walk; walk = walk->next) {
63 dev = walk->dev;
64 stats = &walk->sonet_stats;
344 struct suni_priv **walk; local
349 for (walk = &sunis; *walk !
[all...]
/drivers/crypto/
H A Dpadlock-aes.c348 struct blkcipher_walk walk; local
354 blkcipher_walk_init(&walk, dst, src, nbytes);
355 err = blkcipher_walk_virt(desc, &walk);
358 while ((nbytes = walk.nbytes)) {
359 padlock_xcrypt_ecb(walk.src.virt.addr, walk.dst.virt.addr,
363 err = blkcipher_walk_done(desc, &walk, nbytes);
377 struct blkcipher_walk walk; local
383 blkcipher_walk_init(&walk, dst, src, nbytes);
384 err = blkcipher_walk_virt(desc, &walk);
428 struct blkcipher_walk walk; local
459 struct blkcipher_walk walk; local
[all...]
H A Dgeode-aes.c310 struct blkcipher_walk walk; local
316 blkcipher_walk_init(&walk, dst, src, nbytes);
317 err = blkcipher_walk_virt(desc, &walk);
318 op->iv = walk.iv;
320 while ((nbytes = walk.nbytes)) {
321 op->src = walk.src.virt.addr,
322 op->dst = walk.dst.virt.addr;
330 err = blkcipher_walk_done(desc, &walk, nbytes);
342 struct blkcipher_walk walk; local
348 blkcipher_walk_init(&walk, ds
424 struct blkcipher_walk walk; local
454 struct blkcipher_walk walk; local
[all...]
H A Dn2_core.c516 struct crypto_hash_walk walk; local
539 nbytes = crypto_hash_walk_first(req, &walk);
549 * XXX walk, etc.
558 ent->src_addr = __pa(walk.data);
566 nbytes = crypto_hash_walk_done(&walk, 0);
571 ent->src_addr = __pa(walk.data);
579 nbytes = crypto_hash_walk_done(&walk, 0);
675 struct ablkcipher_walk walk; member in struct:n2_request_context
714 struct ablkcipher_walk walk; member in struct:n2_cipher_request_context
879 struct ablkcipher_walk *walk local
[all...]
H A Domap-aes.c383 struct scatter_walk walk; local
388 scatterwalk_start(&walk, sg);
389 scatterwalk_advance(&walk, start);
390 scatterwalk_copychunks(buf, &walk, nbytes, out);
391 scatterwalk_done(&walk, out, 0);
H A Dhifn_795x.c660 struct hifn_cipher_walk walk; member in struct:hifn_request_context
1392 t = &rctx->walk.cache[0];
1395 if (t->length && rctx->walk.flags & ASYNC_FLAGS_MISALIGNED) {
1588 rctx->walk.flags = 0;
1596 rctx->walk.flags |= ASYNC_FLAGS_MISALIGNED;
1602 if (rctx->walk.flags & ASYNC_FLAGS_MISALIGNED) {
1603 err = hifn_cipher_walk_init(&rctx->walk, idx, GFP_ATOMIC);
1608 sg_num = hifn_cipher_walk(req, &rctx->walk);
1668 rctx.walk.cache[0].length = 0;
1774 if (rctx->walk
[all...]
/drivers/staging/sep/
H A Dsep_crypto.c570 /* print walk */
572 "sep - walk from kernel crypto iv for DES\n");
573 cptr = (unsigned char *)ta_ctx->walk.iv;
590 /* print walk */
592 "sep - walk from kernel crypto iv for AES\n");
593 cptr = (unsigned char *)ta_ctx->walk.iv;
1189 /* start the walk on scatterlists */
1190 ablkcipher_walk_init(&ta_ctx->walk, req->src, req->dst, req->nbytes);
1194 int_error = ablkcipher_walk_phys(req, &ta_ctx->walk);
1196 dev_warn(&ta_ctx->sep_used->pdev->dev, "walk phy
[all...]
H A Dsep_crypto.h303 struct ablkcipher_walk walk; member in struct:this_task_ctx
/drivers/net/ethernet/sun/
H A Dsungem.c664 int walk = entry; local
669 walk = NEXT_TX(walk);
670 if (walk == limit)
672 if (walk == last)

Completed in 198 milliseconds