mirror of
https://github.com/torvalds/linux.git
synced 2026-06-11 08:03:05 +02:00
Add cryptodev_ prefix. Replacements are done by the following command: for i in kcaop_from_user kcaop_to_user adjust_sg_array release_user_pages sg_advance sg_copy; do sed -i "s/$i/cryptodev_$i/g" *.c *.h; done sed -i -e "s/ get_userbuf(/ cryptodev_get_userbuf(/g" -e "s/ __get_userbuf(/ __cryptodev_get_userbuf(/g" *.c *.h Signed-off-by: Tao Huang <huangtao@rock-chips.com> Change-Id: I7a3aee655427faffac6baad0e155bd76638ae040
9 lines
249 B
C
9 lines
249 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
|
|
#ifndef UTILS_H
|
|
#define UTILS_H
|
|
int cryptodev_sg_copy(struct scatterlist *sg_from, struct scatterlist *sg_to, int len);
|
|
struct scatterlist *cryptodev_sg_advance(struct scatterlist *sg, int consumed);
|
|
#endif
|
|
|