Searched refs:mem_array (Results  1 – 5 of 5) sorted by relevance
| /linux-4.4.14/arch/mips/mti-malta/ | 
| D | malta-dtshim.c | 27 static unsigned __init gen_fdt_mem_array(__be32 *mem_array, unsigned long size)  in gen_fdt_mem_array()  argument 33 	mem_array[0] = cpu_to_be32(PHYS_OFFSET);  in gen_fdt_mem_array() 41 		mem_array[1] = cpu_to_be32(size);  in gen_fdt_mem_array() 44 		mem_array[1] = cpu_to_be32(size_preio);  in gen_fdt_mem_array() 53 	__be32 mem_array[2 * MAX_MEM_ARRAY_ENTRIES];  in append_memory()  local 118 	mem_entries = gen_fdt_mem_array(mem_array, physical_memsize);  in append_memory() 119 	err = fdt_setprop(fdt, mem_off, "reg", mem_array,  in append_memory() 120 			  mem_entries * 2 * sizeof(mem_array[0]));  in append_memory() 124 	mem_entries = gen_fdt_mem_array(mem_array, memsize);  in append_memory() 125 	err = fdt_setprop(fdt, mem_off, "linux,usable-memory", mem_array,  in append_memory() [all …] 
 | 
| /linux-4.4.14/drivers/scsi/be2iscsi/ | 
| D | be_main.c | 2699 	struct mem_array *mem_arr, *mem_arr_orig;  in beiscsi_alloc_mem() 2734 			mem_descr->mem_array = NULL;  in beiscsi_alloc_mem() 2742 		memset(mem_arr, 0, sizeof(struct mem_array) *  in beiscsi_alloc_mem() 2772 		mem_descr->mem_array = kmalloc(sizeof(*mem_arr) * j,  in beiscsi_alloc_mem() 2774 		if (!mem_descr->mem_array)  in beiscsi_alloc_mem() 2777 		memcpy(mem_descr->mem_array, mem_arr_orig,  in beiscsi_alloc_mem() 2778 		       sizeof(struct mem_array) * j);  in beiscsi_alloc_mem() 2788 					    mem_descr->mem_array[j - 1].size,  in beiscsi_alloc_mem() 2789 					    mem_descr->mem_array[j - 1].  in beiscsi_alloc_mem() 2792 					    mem_array[j - 1].  in beiscsi_alloc_mem() [all …] 
 | 
| D | be_mgmt.h | 246 	pa->lo = phba->init_mem[ISCSI_MEM_GLOBAL_HEADER].mem_array[0].\ 248 	pa->hi = phba->init_mem[ISCSI_MEM_GLOBAL_HEADER].mem_array[0].\
  | 
| D | be_main.h | 230 struct mem_array {  struct 244 	struct mem_array *mem_array;  member
  | 
| D | be_mgmt.c | 1641 		      mem_descr->mem_array[0].bus_address.u.a32.address_hi);  in beiscsi_offload_cxn_v0() 1644 		      mem_descr->mem_array[0].bus_address.u.a32.address_lo);  in beiscsi_offload_cxn_v0()
  |