Searched refs:um_info (Results 1 – 2 of 2) sorted by relevance
442 static u64 *check_realloc_usable_mem(struct umem_info *um_info, int cnt) in check_realloc_usable_mem() argument447 if ((um_info->idx + cnt) <= um_info->max_entries) in check_realloc_usable_mem()448 return um_info->buf; in check_realloc_usable_mem()450 new_size = um_info->size + MEM_RANGE_CHUNK_SZ; in check_realloc_usable_mem()451 tbuf = krealloc(um_info->buf, new_size, GFP_KERNEL); in check_realloc_usable_mem()453 um_info->buf = tbuf; in check_realloc_usable_mem()454 um_info->size = new_size; in check_realloc_usable_mem()455 um_info->max_entries = (um_info->size / sizeof(u64)); in check_realloc_usable_mem()470 static int add_usable_mem(struct umem_info *um_info, u64 base, u64 end) in add_usable_mem() argument476 for (i = 0; i < um_info->nr_ranges; i++) { in add_usable_mem()[all …]
2941 static struct usbtest_info um_info = { variable3009 .driver_info = (unsigned long) &um_info,