• Home
  • Raw
  • Download

Lines Matching refs:flags

80 	return walk->flags & SKCIPHER_WALK_SLEEP ? GFP_KERNEL : GFP_ATOMIC;  in skcipher_walk_gfp()
100 (walk->flags & SKCIPHER_WALK_PHYS) ? 2 : 1); in skcipher_done_slow()
117 if (likely(!(walk->flags & (SKCIPHER_WALK_PHYS | in skcipher_walk_done()
123 } else if (walk->flags & SKCIPHER_WALK_DIFF) { in skcipher_walk_done()
126 } else if (walk->flags & SKCIPHER_WALK_COPY) { in skcipher_walk_done()
130 } else if (unlikely(walk->flags & SKCIPHER_WALK_SLOW)) { in skcipher_walk_done()
156 crypto_yield(walk->flags & SKCIPHER_WALK_SLEEP ? in skcipher_walk_done()
166 if (walk->flags & SKCIPHER_WALK_PHYS) in skcipher_walk_done()
226 bool phys = walk->flags & SKCIPHER_WALK_PHYS; in skcipher_next_slow()
280 walk->flags |= SKCIPHER_WALK_SLOW; in skcipher_next_slow()
297 if (!(walk->flags & SKCIPHER_WALK_PHYS)) in skcipher_next_copy()
326 if (walk->flags & SKCIPHER_WALK_PHYS) in skcipher_next_fast()
336 walk->flags |= SKCIPHER_WALK_DIFF; in skcipher_next_fast()
349 walk->flags &= ~(SKCIPHER_WALK_SLOW | SKCIPHER_WALK_COPY | in skcipher_walk_next()
377 walk->flags |= SKCIPHER_WALK_COPY; in skcipher_walk_next()
387 if (!err && (walk->flags & SKCIPHER_WALK_PHYS)) { in skcipher_walk_next()
411 if (walk->flags & SKCIPHER_WALK_PHYS) in skcipher_copy_iv()
464 walk->flags &= ~SKCIPHER_WALK_SLEEP; in skcipher_walk_skcipher()
465 walk->flags |= req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP ? in skcipher_walk_skcipher()
481 might_sleep_if(req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP); in skcipher_walk_virt()
483 walk->flags &= ~SKCIPHER_WALK_PHYS; in skcipher_walk_virt()
487 walk->flags &= atomic ? ~SKCIPHER_WALK_SLEEP : ~0; in skcipher_walk_virt()
495 walk->flags &= ~SKCIPHER_WALK_SLEEP; in skcipher_walk_atomise()
502 walk->flags |= SKCIPHER_WALK_PHYS; in skcipher_walk_async()
523 walk->flags &= ~SKCIPHER_WALK_PHYS; in skcipher_walk_aead_common()
534 if (req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP) in skcipher_walk_aead_common()
535 walk->flags |= SKCIPHER_WALK_SLEEP; in skcipher_walk_aead_common()
537 walk->flags &= ~SKCIPHER_WALK_SLEEP; in skcipher_walk_aead_common()
547 walk->flags &= ~SKCIPHER_WALK_SLEEP; in skcipher_walk_aead_common()
631 .flags = req->base.flags, in skcipher_crypt_blkcipher()