Home
last modified time | relevance | path

Searched refs:end_addr (Results 1 – 25 of 103) sorted by relevance

12345

/linux-6.6.21/arch/sparc/kernel/
Dadi_64.c163 unsigned long end_addr, hole_start, hole_end; in alloc_tag_store() local
169 end_addr = addr + PAGE_SIZE - 1; in alloc_tag_store()
194 if ((tag_desc->start > end_addr) && in alloc_tag_store()
239 end_addr = addr + (size*2*adi_blksize()) - 1; in alloc_tag_store()
241 if (end_addr < addr) { in alloc_tag_store()
243 end_addr = addr + (size*2*adi_blksize()) - 1; in alloc_tag_store()
248 if (end_addr < addr) in alloc_tag_store()
249 end_addr = ULONG_MAX; in alloc_tag_store()
251 if (hole_end < end_addr) { in alloc_tag_store()
258 end_addr = hole_end - 1; in alloc_tag_store()
[all …]
/linux-6.6.21/arch/s390/mm/
Dextmem.c297 unsigned long start_addr, end_addr, dummy; in __segment_load() local
301 start_addr = end_addr = 0; in __segment_load()
348 &start_addr, &end_addr); in __segment_load()
351 &start_addr, &end_addr); in __segment_load()
359 pr_warn("Loading DCSS %s failed with rc=%ld\n", name, end_addr); in __segment_load()
360 rc = dcss_diag_translate_rc(end_addr); in __segment_load()
366 seg->end = end_addr; in __segment_load()
458 unsigned long start_addr, end_addr, dummy; in segment_modify_shared() local
461 start_addr = end_addr = 0; in segment_modify_shared()
498 &start_addr, &end_addr); in segment_modify_shared()
[all …]
/linux-6.6.21/drivers/gpu/drm/msm/disp/
Dmsm_disp_snapshot_util.c19 void __iomem *end_addr; in msm_disp_state_dump_regs() local
26 end_addr = base_addr + aligned_len; in msm_disp_state_dump_regs()
35 x0 = (addr < end_addr) ? readl_relaxed(addr + 0x0) : 0; in msm_disp_state_dump_regs()
36 x4 = (addr + 0x4 < end_addr) ? readl_relaxed(addr + 0x4) : 0; in msm_disp_state_dump_regs()
37 x8 = (addr + 0x8 < end_addr) ? readl_relaxed(addr + 0x8) : 0; in msm_disp_state_dump_regs()
38 xc = (addr + 0xc < end_addr) ? readl_relaxed(addr + 0xc) : 0; in msm_disp_state_dump_regs()
/linux-6.6.21/tools/testing/selftests/mm/
Dmlock2-tests.c24 char *end_addr; in get_vm_area() local
41 end_addr = strchr(line, '-'); in get_vm_area()
42 if (!end_addr) { in get_vm_area()
46 *end_addr = '\0'; in get_vm_area()
47 end_addr++; in get_vm_area()
48 stop = strchr(end_addr, ' '); in get_vm_area()
55 sscanf(end_addr, "%lx", &end); in get_vm_area()
/linux-6.6.21/lib/
Derror-inject.c19 unsigned long end_addr; member
31 if (addr >= ent->start_addr && addr < ent->end_addr) { in within_error_injection_list()
47 if (addr >= ent->start_addr && addr < ent->end_addr) { in get_injectable_error_type()
87 ent->end_addr = entry + size; in populate_error_injection_list()
Dgenalloc.c42 return chunk->end_addr - chunk->start_addr + 1; in chunk_size()
198 chunk->end_addr = virt + size - 1; in gen_pool_add_owner()
224 if (addr >= chunk->start_addr && addr <= chunk->end_addr) { in gen_pool_virt_to_phys()
504 if (addr >= chunk->start_addr && addr <= chunk->end_addr) { in gen_pool_free_owner()
505 BUG_ON(addr + size - 1 > chunk->end_addr); in gen_pool_free_owner()
562 if (start >= chunk->start_addr && start <= chunk->end_addr) { in gen_pool_has_addr()
563 if (end <= chunk->end_addr) { in gen_pool_has_addr()
/linux-6.6.21/drivers/misc/sgi-xp/
Dxpnet.c364 u64 start_addr, u64 end_addr, u16 embedded_bytes, int dest_partid) in xpnet_send() argument
383 msg->size = end_addr - start_addr; in xpnet_send()
385 msg->tailout_ignore = end_addr - (u64)skb_tail_pointer(skb); in xpnet_send()
415 u64 start_addr, end_addr; in xpnet_dev_hard_start_xmit() local
446 end_addr = L1_CACHE_ALIGN((u64)skb_tail_pointer(skb)); in xpnet_dev_hard_start_xmit()
469 xpnet_send(skb, queued_msg, start_addr, end_addr, in xpnet_dev_hard_start_xmit()
480 xpnet_send(skb, queued_msg, start_addr, end_addr, in xpnet_dev_hard_start_xmit()
/linux-6.6.21/drivers/soc/fsl/
Ddpaa2-console.c56 void __iomem *end_addr; member
98 size = (cd->end_addr - cd->cur_ptr) + in dpaa2_console_size()
145 cd->end_addr = cd->start_addr + buf_length; in dpaa2_generic_console_open()
150 if (wrapped && cd->end_of_data != cd->end_addr) in dpaa2_generic_console_open()
197 size_t bytes_end = cd->end_addr - cd->cur_ptr; in dpaa2_console_read()
/linux-6.6.21/drivers/pcmcia/
Drsrc_nonstatic.c1102 unsigned long start_addr, end_addr; local
1106 ret = sscanf(buf, "+ 0x%lx - 0x%lx", &start_addr, &end_addr);
1108 ret = sscanf(buf, "- 0x%lx - 0x%lx", &start_addr, &end_addr);
1112 &end_addr);
1118 if (end_addr < start_addr)
1122 ret = adjust_io(s, add, start_addr, end_addr);
1168 unsigned long start_addr, end_addr; local
1172 ret = sscanf(buf, "+ 0x%lx - 0x%lx", &start_addr, &end_addr);
1174 ret = sscanf(buf, "- 0x%lx - 0x%lx", &start_addr, &end_addr);
1178 &end_addr);
[all …]
/linux-6.6.21/tools/testing/selftests/sparc64/drivers/
Dadi-test.c84 static unsigned long long int end_addr[MAX_RANGES_SUPPORTED]; variable
160 end_addr[range_count] = strtoull(end_ptr, NULL, 16); in build_memory_map()
170 i, start_addr[i], end_addr[i]); in build_memory_map()
317 (end_addr[range_count - 1] - 0x1000) & ~(ADI_BLKSZ - 1); in test0_prpw_aligned_1byte()
351 (end_addr[range_count - 1] - 0x6000) & ~(ADI_BLKSZ - 1); in test1_prpw_aligned_4096bytes()
519 (end_addr[range_count - 1] - 0xF000) & ~(ADI_BLKSZ - 1); in test5_rw_aligned_1byte()
564 (end_addr[range_count - 1] - 0x5F000) & ~(ADI_BLKSZ - 1); in test6_rw_aligned_9434bytes()
/linux-6.6.21/tools/testing/selftests/prctl/
Dset-anon-vma-name-test.c41 unsigned long start_addr, end_addr, offset; in was_renaming_successful() local
58 &end_addr, mode, &offset, &major_id, in was_renaming_successful()
/linux-6.6.21/drivers/ntb/
Dmsi.c11 u64 end_addr; member
151 ntb->msi->end_addr = addr + mw_min_size; in ntb_msi_setup_mws()
203 if (addr < ntb->msi->base_addr || addr >= ntb->msi->end_addr) { in ntb_msi_set_desc()
207 ntb->msi->end_addr); in ntb_msi_set_desc()
/linux-6.6.21/drivers/net/wireless/ath/carl9170/
Dfw.c43 unsigned long pos_addr, end_addr; in carl9170_fw_verify_descs() local
53 end_addr = pos_addr + max_len; in carl9170_fw_verify_descs()
55 while (pos_addr < end_addr) { in carl9170_fw_verify_descs()
56 if (pos_addr + sizeof(*head) > end_addr) in carl9170_fw_verify_descs()
67 if (pos_addr + pos_length > end_addr) in carl9170_fw_verify_descs()
/linux-6.6.21/drivers/staging/media/atomisp/pci/css_2401_system/host/
Disys_stream2mmio_private.h76 state->end_addr = in stream2mmio_get_sid_state()
99 ia_css_print("\t \t Endaddr 0x%x\n", state->end_addr); in stream2mmio_print_sid_state()
/linux-6.6.21/drivers/scsi/aic7xxx/aicasm/
Daicasm_symbol.h153 int end_addr; member
175 int end_addr; member
/linux-6.6.21/arch/powerpc/kernel/
Dhw_breakpoint.c160 unsigned long start_addr, end_addr; in hw_breakpoint_validate_len() local
163 end_addr = ALIGN(hw->address + hw->len, HW_BREAKPOINT_SIZE); in hw_breakpoint_validate_len()
164 hw_len = end_addr - start_addr; in hw_breakpoint_validate_len()
170 (ALIGN_DOWN(start_addr, SZ_512) != ALIGN_DOWN(end_addr - 1, SZ_512))) in hw_breakpoint_validate_len()
/linux-6.6.21/arch/sh/mm/
Dcache-sh4.c161 unsigned long addr, end_addr, entry_offset; in flush_dcache_all() local
163 end_addr = CACHE_OC_ADDRESS_ARRAY + in flush_dcache_all()
170 for (addr = CACHE_OC_ADDRESS_ARRAY; addr < end_addr; ) { in flush_dcache_all()
/linux-6.6.21/drivers/accel/habanalabs/common/mmu/
Dmmu.c34 prop->dmmu.end_addr); in hl_is_dram_va()
392 prop->dmmu.start_addr, prop->dmmu.end_addr)) in hl_mmu_map_contiguous()
395 prop->pmmu.start_addr, prop->pmmu.end_addr)) in hl_mmu_map_contiguous()
398 prop->pmmu_huge.start_addr, prop->pmmu_huge.end_addr)) in hl_mmu_map_contiguous()
452 prop->dmmu.start_addr, prop->dmmu.end_addr)) in hl_mmu_unmap_contiguous()
455 prop->pmmu.start_addr, prop->pmmu.end_addr)) in hl_mmu_unmap_contiguous()
458 prop->pmmu_huge.start_addr, prop->pmmu_huge.end_addr)) in hl_mmu_unmap_contiguous()
565 prop->dmmu.end_addr); in hl_mmu_get_tlb_info()
751 hl_asic_dma_free_coherent(hdev, (chunk->end_addr - chunk->start_addr) + 1, in mmu_dma_mem_free_from_chunk()
/linux-6.6.21/arch/s390/include/asm/
Ddiag.h52 unsigned long start_addr, end_addr; in diag10_range() local
55 end_addr = pfn_to_phys(start_pfn + num_pfn - 1); in diag10_range()
63 : : "a" (start_addr), "a" (end_addr)); in diag10_range()
/linux-6.6.21/drivers/media/platform/chips-media/
Dcoda-jpeg.c487 u32 bbc_base_addr, end_addr; in coda9_jpeg_dec_bbc_gbu_setup() local
492 end_addr = bbc_base_addr + vb2_get_plane_payload(buf, 0); in coda9_jpeg_dec_bbc_gbu_setup()
503 coda_write(dev, end_addr, CODA9_REG_JPEG_BBC_WR_PTR); in coda9_jpeg_dec_bbc_gbu_setup()
507 coda_write(dev, end_addr + 256 * 3 + 256, CODA9_REG_JPEG_BBC_END_ADDR); in coda9_jpeg_dec_bbc_gbu_setup()
1075 u32 start_addr, end_addr; in coda9_jpeg_prepare_encode() local
1101 end_addr = start_addr + vb2_plane_size(&dst_buf->vb2_buf, 0); in coda9_jpeg_prepare_encode()
1124 coda_write(dev, end_addr, CODA9_REG_JPEG_BBC_END_ADDR); in coda9_jpeg_prepare_encode()
1136 coda_write(dev, BIT(31) | ((end_addr - start_addr - header_len) / 256), in coda9_jpeg_prepare_encode()
1270 u32 end_addr, wr_ptr; in coda9_jpeg_encode_timeout() local
1273 end_addr = coda_read(dev, CODA9_REG_JPEG_BBC_END_ADDR); in coda9_jpeg_encode_timeout()
[all …]
/linux-6.6.21/arch/sh/boot/compressed/
Dhead_32.S67 mov.l end_addr, r1
92 end_addr: label
/linux-6.6.21/arch/arm/mach-tegra/
Dpm.h15 void *end_addr; member
Dpm-tegra20.c17 tegra_lp1_iram.end_addr = &tegra20_iram_end; in tegra20_lp1_iram_hook()
Dpm-tegra30.c17 tegra_lp1_iram.end_addr = &tegra30_iram_end; in tegra30_lp1_iram_hook()
/linux-6.6.21/arch/microblaze/include/asm/
Dunwind.h15 unsigned long end_addr; member

12345