/Linux-v4.19/drivers/target/tcm_fc/ |
D | tfc_io.c | 63 u32 mem_off = 0; in ft_queue_data_in() local 96 mem_off = sg->offset; in ft_queue_data_in() 114 mem_off = sg->offset; in ft_queue_data_in() 143 off_in_page = mem_off; in ft_queue_data_in() 155 from = kmap_atomic(page + (mem_off >> PAGE_SHIFT)); in ft_queue_data_in() 157 from += offset_in_page(mem_off); in ft_queue_data_in() 159 offset_in_page(mem_off))); in ft_queue_data_in() 165 mem_off += tlen; in ft_queue_data_in() 217 u32 mem_off = 0; in ft_recv_write_data() local 293 mem_off = sg->offset; in ft_recv_write_data() [all …]
|
/Linux-v4.19/arch/mips/generic/ |
D | yamon-dt.c | 85 int i, err, mem_off; in yamon_dt_append_memory() local 126 mem_off = fdt_path_offset(fdt, "/memory"); in yamon_dt_append_memory() 127 if (mem_off == -FDT_ERR_NOTFOUND) in yamon_dt_append_memory() 128 mem_off = fdt_add_subnode(fdt, 0, "memory"); in yamon_dt_append_memory() 129 if (mem_off < 0) { in yamon_dt_append_memory() 130 pr_err("Unable to find or add memory DT node: %d\n", mem_off); in yamon_dt_append_memory() 131 return mem_off; in yamon_dt_append_memory() 134 err = fdt_setprop_string(fdt, mem_off, "device_type", "memory"); in yamon_dt_append_memory() 142 err = fdt_setprop(fdt, mem_off, "reg", in yamon_dt_append_memory() 151 err = fdt_setprop(fdt, mem_off, "linux,usable-memory", in yamon_dt_append_memory()
|
/Linux-v4.19/arch/mips/mti-malta/ |
D | malta-dtshim.c | 140 int i, err, mem_off; in append_memory() local 148 mem_off = fdt_path_offset(fdt, "/memory"); in append_memory() 149 if (mem_off >= 0) in append_memory() 210 mem_off = fdt_add_subnode(fdt, root_off, "memory"); in append_memory() 211 if (mem_off < 0) in append_memory() 212 panic("Unable to add memory node to DT: %d", mem_off); in append_memory() 214 err = fdt_setprop_string(fdt, mem_off, "device_type", "memory"); in append_memory() 219 err = fdt_setprop(fdt, mem_off, "reg", mem_array, in append_memory() 225 err = fdt_setprop(fdt, mem_off, "linux,usable-memory", mem_array, in append_memory()
|
/Linux-v4.19/arch/mips/net/ |
D | ebpf_jit.c | 640 int src, dst, r, td, ts, mem_off, b_off; in build_one_insn() local 1288 mem_off = insn->off + MAX_BPF_STACK; in build_one_insn() 1293 mem_off = insn->off; in build_one_insn() 1298 emit_instr(ctx, sb, MIPS_R_AT, mem_off, dst); in build_one_insn() 1301 emit_instr(ctx, sh, MIPS_R_AT, mem_off, dst); in build_one_insn() 1304 emit_instr(ctx, sw, MIPS_R_AT, mem_off, dst); in build_one_insn() 1307 emit_instr(ctx, sd, MIPS_R_AT, mem_off, dst); in build_one_insn() 1319 mem_off = insn->off + MAX_BPF_STACK; in build_one_insn() 1324 mem_off = insn->off; in build_one_insn() 1331 emit_instr(ctx, lbu, dst, mem_off, src); in build_one_insn() [all …]
|
/Linux-v4.19/drivers/staging/android/ |
D | vsoc.c | 1125 phys_addr_t mem_off; in vsoc_mmap() local 1138 mem_off = shm_off_to_phys_addr(area_off); in vsoc_mmap() 1139 if (io_remap_pfn_range(vma, vma->vm_start, mem_off >> PAGE_SHIFT, in vsoc_mmap()
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 497 int t4_memory_rw_init(struct adapter *adap, int win, int mtype, u32 *mem_off, in t4_memory_rw_init() argument 511 *mem_off = 2 * (edc_size * 1024 * 1024); in t4_memory_rw_init() 513 *mem_off = (mtype * (edc_size * 1024 * 1024)); in t4_memory_rw_init() 517 *mem_off = (MEM_MC0 * edc_size + mc_size) * 1024 * 1024; in t4_memory_rw_init()
|
D | cxgb4.h | 1565 int t4_memory_rw_init(struct adapter *adap, int win, int mtype, u32 *mem_off,
|