Searched refs:MAX_SG (Results 1 – 7 of 7) sorted by relevance
72 #define MAX_SG 8 macro177 struct sginfo t_src[MAX_SG];178 struct sginfo t_dst[MAX_SG];242 struct sginfo t_src[MAX_SG];243 struct sginfo t_dst[MAX_SG];
218 for (i = 0; i < MAX_SG; i++) { in sun8i_ss_run_hash_task()264 if (sg_nents(areq->src) > MAX_SG - 1) in sun8i_ss_hash_need_fallback()296 if (nr_sgs > MAX_SG - 1) in sun8i_ss_hash_digest()353 for (i = 0; i < MAX_SG; i++) { in sun8i_ss_hash_run()365 if (nr_sgs <= 0 || nr_sgs > MAX_SG) { in sun8i_ss_hash_run()
98 for (i = 0; i < MAX_SG; i++) { in sun8i_ss_run_task()
104 #define MAX_SG 8 macro174 struct sginfo t_src[MAX_SG];175 struct sginfo t_dst[MAX_SG];
28 if (sg_nents(areq->src) > MAX_SG || sg_nents(areq->dst) > MAX_SG) in sun8i_ce_cipher_need_fallback()183 if (nr_sgs <= 0 || nr_sgs > MAX_SG) { in sun8i_ce_cipher_prepare()192 if (nr_sgs <= 0 || nr_sgs > MAX_SG) { in sun8i_ce_cipher_prepare()199 if (nr_sgd <= 0 || nr_sgd > MAX_SG) { in sun8i_ce_cipher_prepare()
205 if (sg_nents(areq->src) > MAX_SG - 1) in sun8i_ce_hash_need_fallback()231 if (nr_sgs > MAX_SG - 1) in sun8i_ce_hash_digest()316 if (nr_sgs <= 0 || nr_sgs > MAX_SG) { in sun8i_ce_hash_run()
145 #define MAX_SG 64 macro948 blk_queue_max_segments(ubd_dev->queue, MAX_SG); in ubd_add()