mem_array 45 arch/mips/generic/yamon-dt.c __be32 *mem_array, mem_array 65 arch/mips/generic/yamon-dt.c *(mem_array++) = cpu_to_be32(mr->start); mem_array 66 arch/mips/generic/yamon-dt.c *(mem_array++) = cpu_to_be32(size); mem_array 79 arch/mips/generic/yamon-dt.c __be32 mem_array[2 * MAX_MEM_ARRAY_ENTRIES]; mem_array 136 arch/mips/generic/yamon-dt.c mem_entries = gen_fdt_mem_array(regions, mem_array, mem_array 139 arch/mips/generic/yamon-dt.c mem_array, mem_entries * 2 * sizeof(mem_array[0])); mem_array 145 arch/mips/generic/yamon-dt.c mem_entries = gen_fdt_mem_array(regions, mem_array, mem_array 148 arch/mips/generic/yamon-dt.c mem_array, mem_entries * 2 * sizeof(mem_array[0])); mem_array 70 arch/mips/mti-malta/malta-dtshim.c static unsigned __init gen_fdt_mem_array(__be32 *mem_array, unsigned long size, mem_array 77 arch/mips/mti-malta/malta-dtshim.c mem_array[0] = cpu_to_be32(PHYS_OFFSET); mem_array 85 arch/mips/mti-malta/malta-dtshim.c mem_array[1] = cpu_to_be32(size); mem_array 90 arch/mips/mti-malta/malta-dtshim.c mem_array[1] = cpu_to_be32(size_preio); mem_array 109 arch/mips/mti-malta/malta-dtshim.c mem_array[2] = cpu_to_be32(PHYS_OFFSET + SZ_512M); mem_array 110 arch/mips/mti-malta/malta-dtshim.c mem_array[3] = cpu_to_be32(size); mem_array 122 arch/mips/mti-malta/malta-dtshim.c mem_array[2] = cpu_to_be32(PHYS_OFFSET + SZ_2G + SZ_256M); mem_array 123 arch/mips/mti-malta/malta-dtshim.c mem_array[3] = cpu_to_be32(size); mem_array 133 arch/mips/mti-malta/malta-dtshim.c __be32 mem_array[2 * MAX_MEM_ARRAY_ENTRIES]; mem_array 214 arch/mips/mti-malta/malta-dtshim.c mem_entries = gen_fdt_mem_array(mem_array, physical_memsize, mem_map); mem_array 215 arch/mips/mti-malta/malta-dtshim.c err = fdt_setprop(fdt, mem_off, "reg", mem_array, mem_array 216 arch/mips/mti-malta/malta-dtshim.c mem_entries * 2 * sizeof(mem_array[0])); mem_array 220 arch/mips/mti-malta/malta-dtshim.c mem_entries = gen_fdt_mem_array(mem_array, memsize, mem_map); mem_array 221 arch/mips/mti-malta/malta-dtshim.c err = fdt_setprop(fdt, mem_off, "linux,usable-memory", mem_array, mem_array 222 arch/mips/mti-malta/malta-dtshim.c mem_entries * 2 * sizeof(mem_array[0])); mem_array 2454 drivers/scsi/be2iscsi/be_main.c struct mem_array *mem_arr, *mem_arr_orig; mem_array 2492 drivers/scsi/be2iscsi/be_main.c mem_descr->mem_array = NULL; mem_array 2500 drivers/scsi/be2iscsi/be_main.c memset(mem_arr, 0, sizeof(struct mem_array) * mem_array 2529 drivers/scsi/be2iscsi/be_main.c mem_descr->mem_array = kmalloc_array(j, sizeof(*mem_arr), mem_array 2531 drivers/scsi/be2iscsi/be_main.c if (!mem_descr->mem_array) mem_array 2534 drivers/scsi/be2iscsi/be_main.c memcpy(mem_descr->mem_array, mem_arr_orig, mem_array 2535 drivers/scsi/be2iscsi/be_main.c sizeof(struct mem_array) * j); mem_array 2545 drivers/scsi/be2iscsi/be_main.c mem_descr->mem_array[j - 1].size, mem_array 2546 drivers/scsi/be2iscsi/be_main.c mem_descr->mem_array[j - 1]. mem_array 2549 drivers/scsi/be2iscsi/be_main.c mem_array[j - 1]. mem_array 2554 drivers/scsi/be2iscsi/be_main.c kfree(mem_descr->mem_array); mem_array 2580 drivers/scsi/be2iscsi/be_main.c (struct pdu_data_out *)mem_descr->mem_array[0].virtual_address; mem_array 2587 drivers/scsi/be2iscsi/be_main.c (struct pdu_nop_out *)((unsigned char *)mem_descr->mem_array[0]. mem_array 2647 drivers/scsi/be2iscsi/be_main.c mem_descr_wrbh->mem_array[idx].virtual_address; mem_array 2648 drivers/scsi/be2iscsi/be_main.c num_cxn_wrbh = ((mem_descr_wrbh->mem_array[idx].size) / mem_array 2674 drivers/scsi/be2iscsi/be_main.c pwrb = mem_descr_wrb->mem_array[idx].virtual_address; mem_array 2675 drivers/scsi/be2iscsi/be_main.c num_cxn_wrb = (mem_descr_wrb->mem_array[idx].size) / mem_array 2720 drivers/scsi/be2iscsi/be_main.c mem_descr->mem_array[0].virtual_address; mem_array 2736 drivers/scsi/be2iscsi/be_main.c if (mem_descr->mem_array[0].virtual_address) { mem_array 2741 drivers/scsi/be2iscsi/be_main.c mem_descr->mem_array[0]. mem_array 2752 drivers/scsi/be2iscsi/be_main.c mem_descr->mem_array[0].virtual_address; mem_array 2755 drivers/scsi/be2iscsi/be_main.c mem_descr->mem_array[0]. mem_array 2762 drivers/scsi/be2iscsi/be_main.c if (mem_descr->mem_array[0].virtual_address) { mem_array 2767 drivers/scsi/be2iscsi/be_main.c mem_descr->mem_array[0]. mem_array 2776 drivers/scsi/be2iscsi/be_main.c mem_descr->mem_array[0].virtual_address; mem_array 2782 drivers/scsi/be2iscsi/be_main.c if (mem_descr->mem_array[0].virtual_address) { mem_array 2787 drivers/scsi/be2iscsi/be_main.c mem_descr->mem_array[0]. mem_array 2796 drivers/scsi/be2iscsi/be_main.c mem_descr->mem_array[0].virtual_address; mem_array 2802 drivers/scsi/be2iscsi/be_main.c if (mem_descr->mem_array[0].virtual_address) { mem_array 2807 drivers/scsi/be2iscsi/be_main.c mem_descr->mem_array[0]. mem_array 2816 drivers/scsi/be2iscsi/be_main.c mem_descr->mem_array[0].virtual_address; mem_array 2822 drivers/scsi/be2iscsi/be_main.c if (!mem_descr->mem_array[0].virtual_address) mem_array 2829 drivers/scsi/be2iscsi/be_main.c mem_descr->mem_array[0].virtual_address; mem_array 2842 drivers/scsi/be2iscsi/be_main.c if (mem_descr->mem_array[0].virtual_address) { mem_array 2847 drivers/scsi/be2iscsi/be_main.c mem_descr->mem_array[0]. mem_array 2859 drivers/scsi/be2iscsi/be_main.c mem_descr->mem_array[idx].virtual_address; mem_array 2861 drivers/scsi/be2iscsi/be_main.c mem_descr->mem_array[idx]. mem_array 2864 drivers/scsi/be2iscsi/be_main.c num_async_data = ((mem_descr->mem_array[idx].size) / mem_array 2899 drivers/scsi/be2iscsi/be_main.c mem_descr->mem_array[idx]. mem_array 2903 drivers/scsi/be2iscsi/be_main.c mem_descr->mem_array[idx]. mem_array 2906 drivers/scsi/be2iscsi/be_main.c ((mem_descr->mem_array[idx]. mem_array 2956 drivers/scsi/be2iscsi/be_main.c struct mem_array *pmem, struct be_dma_mem *sgl) mem_array 2968 drivers/scsi/be2iscsi/be_main.c struct mem_array *pmem, struct be_dma_mem *sgl) mem_array 3145 drivers/scsi/be2iscsi/be_main.c dq_vaddress = mem_descr->mem_array[idx].virtual_address; mem_array 3146 drivers/scsi/be2iscsi/be_main.c ret = be_fill_queue(dq, mem_descr->mem_array[0].size / mem_array 3156 drivers/scsi/be2iscsi/be_main.c mem->dma = (unsigned long)mem_descr->mem_array[idx]. mem_array 3197 drivers/scsi/be2iscsi/be_main.c dq_vaddress = mem_descr->mem_array[idx].virtual_address; mem_array 3198 drivers/scsi/be2iscsi/be_main.c ret = be_fill_queue(dataq, mem_descr->mem_array[0].size / mem_array 3209 drivers/scsi/be2iscsi/be_main.c mem->dma = (unsigned long)mem_descr->mem_array[idx]. mem_array 3239 drivers/scsi/be2iscsi/be_main.c struct mem_array *pm_arr; mem_array 3248 drivers/scsi/be2iscsi/be_main.c pm_arr = mem_descr->mem_array; mem_array 3273 drivers/scsi/be2iscsi/be_main.c struct mem_array *pm_arr; mem_array 3280 drivers/scsi/be2iscsi/be_main.c pm_arr = mem_descr->mem_array; mem_array 3340 drivers/scsi/be2iscsi/be_main.c struct mem_array *pwrb_arr; mem_array 3360 drivers/scsi/be2iscsi/be_main.c wrb_vaddr = mem_descr->mem_array[idx].virtual_address; mem_array 3361 drivers/scsi/be2iscsi/be_main.c pa_addr_lo = mem_descr->mem_array[idx].bus_address.u.a64.address; mem_array 3362 drivers/scsi/be2iscsi/be_main.c num_wrb_rings = mem_descr->mem_array[idx].size / mem_array 3376 drivers/scsi/be2iscsi/be_main.c wrb_vaddr = mem_descr->mem_array[idx].virtual_address; mem_array 3377 drivers/scsi/be2iscsi/be_main.c pa_addr_lo = mem_descr->mem_array[idx].\ mem_array 3379 drivers/scsi/be2iscsi/be_main.c num_wrb_rings = mem_descr->mem_array[idx].size / mem_array 3825 drivers/scsi/be2iscsi/be_main.c init_mem[HWI_MEM_ADDN_CONTEXT].mem_array[0].virtual_address; mem_array 3866 drivers/scsi/be2iscsi/be_main.c mem_descr->mem_array[j - 1].size, mem_array 3867 drivers/scsi/be2iscsi/be_main.c mem_descr->mem_array[j - 1].virtual_address, mem_array 3868 drivers/scsi/be2iscsi/be_main.c (unsigned long)mem_descr->mem_array[j - 1]. mem_array 3872 drivers/scsi/be2iscsi/be_main.c kfree(mem_descr->mem_array); mem_array 3922 drivers/scsi/be2iscsi/be_main.c psgl_handle = mem_descr_sglh->mem_array[idx].virtual_address; mem_array 3924 drivers/scsi/be2iscsi/be_main.c for (i = 0; i < (mem_descr_sglh->mem_array[idx].size / mem_array 3962 drivers/scsi/be2iscsi/be_main.c pfrag = mem_descr_sg->mem_array[idx].virtual_address; mem_array 3965 drivers/scsi/be2iscsi/be_main.c i < (mem_descr_sg->mem_array[idx].size) / mem_array 205 drivers/scsi/be2iscsi/be_main.h struct mem_array *mem_array; mem_array 1347 drivers/scsi/be2iscsi/be_mgmt.c mem_descr->mem_array[0].bus_address.u.a32.address_hi); mem_array 1350 drivers/scsi/be2iscsi/be_mgmt.c mem_descr->mem_array[0].bus_address.u.a32.address_lo); mem_array 144 drivers/scsi/be2iscsi/be_mgmt.h pa->lo = phba->init_mem[ISCSI_MEM_GLOBAL_HEADER].mem_array[0].\ mem_array 146 drivers/scsi/be2iscsi/be_mgmt.h pa->hi = phba->init_mem[ISCSI_MEM_GLOBAL_HEADER].mem_array[0].\