Searched refs:mem_arr (Results 1 – 1 of 1) sorted by relevance
2699 struct mem_array *mem_arr, *mem_arr_orig; in beiscsi_alloc_mem() local2740 mem_arr = mem_arr_orig; in beiscsi_alloc_mem()2742 memset(mem_arr, 0, sizeof(struct mem_array) * in beiscsi_alloc_mem()2746 mem_arr->virtual_address = pci_alloc_consistent( in beiscsi_alloc_mem()2750 if (!mem_arr->virtual_address) { in beiscsi_alloc_mem()2760 mem_arr->bus_address.u. in beiscsi_alloc_mem()2762 mem_arr->size = curr_alloc_size; in beiscsi_alloc_mem()2767 mem_arr++; in beiscsi_alloc_mem()2772 mem_descr->mem_array = kmalloc(sizeof(*mem_arr) * j, in beiscsi_alloc_mem()