Searched refs:mem_off (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/arch/mips/mti-malta/
H A Dmalta-dtshim.c56 int i, err, mem_off; append_memory() local
62 mem_off = fdt_path_offset(fdt, "/memory"); append_memory()
63 if (mem_off >= 0) append_memory()
110 mem_off = fdt_add_subnode(fdt, root_off, "memory"); append_memory()
111 if (mem_off < 0) append_memory()
112 panic("Unable to add memory node to DT: %d", mem_off); append_memory()
114 err = fdt_setprop_string(fdt, mem_off, "device_type", "memory"); append_memory()
119 err = fdt_setprop(fdt, mem_off, "reg", mem_array, append_memory()
125 err = fdt_setprop(fdt, mem_off, "linux,usable-memory", mem_array, append_memory()
/linux-4.4.14/drivers/target/tcm_fc/
H A Dtfc_io.c63 u32 mem_off = 0; ft_queue_data_in() local
96 mem_off = sg->offset; ft_queue_data_in()
114 mem_off = sg->offset; ft_queue_data_in()
143 off_in_page = mem_off; ft_queue_data_in()
155 from = kmap_atomic(page + (mem_off >> PAGE_SHIFT)); ft_queue_data_in()
157 from += mem_off & ~PAGE_MASK; ft_queue_data_in()
159 (mem_off & ~PAGE_MASK))); ft_queue_data_in()
165 mem_off += tlen; ft_queue_data_in()
217 u32 mem_off = 0; ft_recv_write_data() local
293 mem_off = sg->offset; ft_recv_write_data()
301 mem_off = sg->offset; ft_recv_write_data()
309 mem_off += rel_off; ft_recv_write_data()
315 to = kmap_atomic(page + (mem_off >> PAGE_SHIFT)); ft_recv_write_data()
317 to += mem_off & ~PAGE_MASK; ft_recv_write_data()
319 (mem_off & ~PAGE_MASK))); ft_recv_write_data()
325 mem_off += tlen; ft_recv_write_data()

Completed in 160 milliseconds