/Linux-v5.4/drivers/target/tcm_fc/ |
D | tfc_io.c | 51 u32 mem_off = 0; in ft_queue_data_in() local 84 mem_off = sg->offset; in ft_queue_data_in() 102 mem_off = sg->offset; in ft_queue_data_in() 131 off_in_page = mem_off; in ft_queue_data_in() 142 from = kmap_atomic(page + (mem_off >> PAGE_SHIFT)); in ft_queue_data_in() 144 from += offset_in_page(mem_off); in ft_queue_data_in() 146 offset_in_page(mem_off))); in ft_queue_data_in() 152 mem_off += tlen; in ft_queue_data_in() 204 u32 mem_off = 0; in ft_recv_write_data() local 280 mem_off = sg->offset; in ft_recv_write_data() [all …]
|
/Linux-v5.4/arch/mips/generic/ |
D | yamon-dt.c | 81 int i, err, mem_off; in yamon_dt_append_memory() local 122 mem_off = fdt_path_offset(fdt, "/memory"); in yamon_dt_append_memory() 123 if (mem_off == -FDT_ERR_NOTFOUND) in yamon_dt_append_memory() 124 mem_off = fdt_add_subnode(fdt, 0, "memory"); in yamon_dt_append_memory() 125 if (mem_off < 0) { in yamon_dt_append_memory() 126 pr_err("Unable to find or add memory DT node: %d\n", mem_off); in yamon_dt_append_memory() 127 return mem_off; in yamon_dt_append_memory() 130 err = fdt_setprop_string(fdt, mem_off, "device_type", "memory"); in yamon_dt_append_memory() 138 err = fdt_setprop(fdt, mem_off, "reg", in yamon_dt_append_memory() 147 err = fdt_setprop(fdt, mem_off, "linux,usable-memory", in yamon_dt_append_memory()
|
/Linux-v5.4/arch/mips/mti-malta/ |
D | malta-dtshim.c | 136 int i, err, mem_off; in append_memory() local 144 mem_off = fdt_path_offset(fdt, "/memory"); in append_memory() 145 if (mem_off >= 0) in append_memory() 206 mem_off = fdt_add_subnode(fdt, root_off, "memory"); in append_memory() 207 if (mem_off < 0) in append_memory() 208 panic("Unable to add memory node to DT: %d", mem_off); in append_memory() 210 err = fdt_setprop_string(fdt, mem_off, "device_type", "memory"); in append_memory() 215 err = fdt_setprop(fdt, mem_off, "reg", mem_array, in append_memory() 221 err = fdt_setprop(fdt, mem_off, "linux,usable-memory", mem_array, in append_memory()
|
/Linux-v5.4/arch/mips/net/ |
D | ebpf_jit.c | 661 int src, dst, r, td, ts, mem_off, b_off; in build_one_insn() local 1364 mem_off = insn->off + MAX_BPF_STACK; in build_one_insn() 1369 mem_off = insn->off; in build_one_insn() 1374 emit_instr(ctx, sb, MIPS_R_AT, mem_off, dst); in build_one_insn() 1377 emit_instr(ctx, sh, MIPS_R_AT, mem_off, dst); in build_one_insn() 1380 emit_instr(ctx, sw, MIPS_R_AT, mem_off, dst); in build_one_insn() 1383 emit_instr(ctx, sd, MIPS_R_AT, mem_off, dst); in build_one_insn() 1395 mem_off = insn->off + MAX_BPF_STACK; in build_one_insn() 1400 mem_off = insn->off; in build_one_insn() 1407 emit_instr(ctx, lbu, dst, mem_off, src); in build_one_insn() [all …]
|
/Linux-v5.4/drivers/staging/android/ |
D | vsoc.c | 1123 phys_addr_t mem_off; in vsoc_mmap() local 1136 mem_off = shm_off_to_phys_addr(area_off); in vsoc_mmap() 1137 if (io_remap_pfn_range(vma, vma->vm_start, mem_off >> PAGE_SHIFT, in vsoc_mmap()
|
/Linux-v5.4/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 | 1613 int t4_memory_rw_init(struct adapter *adap, int win, int mtype, u32 *mem_off,
|