Searched refs:desc_max (Results 1 – 2 of 2) sorted by relevance
115 size_t desc_max; in hyp_ffa_proxy_pages() local121 desc_max = sizeof(struct ffa_mem_region) + in hyp_ffa_proxy_pages()127 return (2 * KVM_FFA_MBOX_NR_PAGES) + DIV_ROUND_UP(desc_max, PAGE_SIZE); in hyp_ffa_proxy_pages()
189 struct vring_desc **descs, int *desc_max) in move_to_indirect() argument211 *desc_max = len / sizeof(struct vring_desc); in move_to_indirect()246 struct vring_desc **descs, int *desc_max) in return_from_indirect() argument252 *desc_max = vrh->vring.num; in return_from_indirect()305 int err, count = 0, indirect_count = 0, up_next, desc_max; in __vringh_iov() local312 desc_max = vrh->vring.num; in __vringh_iov()356 &descs, &desc_max); in __vringh_iov()367 if (count > vrh->vring.num || indirect_count > desc_max) { in __vringh_iov()427 &descs, &desc_max); in __vringh_iov()434 if (i >= desc_max) { in __vringh_iov()[all …]