Searched refs:mem_arr (Results 1 – 1 of 1) sorted by relevance
2472 struct mem_array *mem_arr, *mem_arr_orig; in beiscsi_alloc_mem() local2516 mem_arr = mem_arr_orig; in beiscsi_alloc_mem()2518 memset(mem_arr, 0, sizeof(struct mem_array) * in beiscsi_alloc_mem()2522 mem_arr->virtual_address = pci_alloc_consistent( in beiscsi_alloc_mem()2526 if (!mem_arr->virtual_address) { in beiscsi_alloc_mem()2536 mem_arr->bus_address.u. in beiscsi_alloc_mem()2538 mem_arr->size = curr_alloc_size; in beiscsi_alloc_mem()2543 mem_arr++; in beiscsi_alloc_mem()2548 mem_descr->mem_array = kmalloc_array(j, sizeof(*mem_arr), in beiscsi_alloc_mem()