Searched refs:pabufs (Results 1 – 3 of 3) sorted by relevance
242 struct caambuf *pabufs = NULL; in caam_mem_get_pa_area() local261 pabufs = caam_calloc(nb_pa_area * sizeof(*pabufs)); in caam_mem_get_pa_area()262 if (!pabufs) in caam_mem_get_pa_area()278 if (pabufs) { in caam_mem_get_pa_area()280 pabufs[nb_pa_area].paddr = pa; in caam_mem_get_pa_area()281 pabufs[nb_pa_area].length = 0; in caam_mem_get_pa_area()291 if (pabufs) in caam_mem_get_pa_area()308 if (pabufs) { in caam_mem_get_pa_area()310 pabufs[nb_pa_area].paddr = next_pa; in caam_mem_get_pa_area()311 pabufs[nb_pa_area].length = 0; in caam_mem_get_pa_area()[all …]
521 struct caambuf *pabufs = NULL; in check_buffer_boundary() local532 nb_pa_area = caam_mem_get_pa_area(orig, &pabufs); in check_buffer_boundary()540 if (ADD_OVERFLOW(pabufs[idx].paddr, pabufs[idx].length, in check_buffer_boundary()545 pabufs[idx].paddr, pabufs[idx].length); in check_buffer_boundary()547 entry = dmalist_add_entry(priv, &pabufs[idx]); in check_buffer_boundary()554 pabufs[idx].length, &tmp)) in check_buffer_boundary()560 if (remlen > pabufs[idx].length) in check_buffer_boundary()561 remlen -= pabufs[idx].length; in check_buffer_boundary()580 caam_free(pabufs); in check_buffer_boundary()
119 int caam_mem_get_pa_area(struct caambuf *buf, struct caambuf **pabufs);
Completed in 5 milliseconds