Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/s390/mm/
Dextmem.c296 unsigned long start_addr, end_addr, dummy; in __segment_load() local
300 start_addr = end_addr = 0; in __segment_load()
346 &start_addr, &end_addr); in __segment_load()
349 &start_addr, &end_addr); in __segment_load()
357 pr_warn("Loading DCSS %s failed with rc=%ld\n", name, end_addr); in __segment_load()
358 rc = dcss_diag_translate_rc(end_addr); in __segment_load()
364 seg->end = end_addr; in __segment_load()
456 unsigned long start_addr, end_addr, dummy; in segment_modify_shared() local
459 start_addr = end_addr = 0; in segment_modify_shared()
496 &start_addr, &end_addr); in segment_modify_shared()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
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()
56 sscanf(end_addr, "%lx", &end); in get_vm_area()
/kernel/linux/linux-5.10/lib/
Derror-inject.c18 unsigned long end_addr; member
30 if (addr >= ent->start_addr && addr < ent->end_addr) { in within_error_injection_list()
44 if (addr >= ent->start_addr && addr < ent->end_addr) in get_injectable_error_type()
80 ent->end_addr = entry + size; in populate_error_injection_list()
Dgenalloc.c40 return chunk->end_addr - chunk->start_addr + 1; in chunk_size()
197 chunk->end_addr = virt + size - 1; in gen_pool_add_owner()
223 if (addr >= chunk->start_addr && addr <= chunk->end_addr) { in gen_pool_virt_to_phys()
503 if (addr >= chunk->start_addr && addr <= chunk->end_addr) { in gen_pool_free_owner()
504 BUG_ON(addr + size - 1 > chunk->end_addr); in gen_pool_free_owner()
561 if (start >= chunk->start_addr && start <= chunk->end_addr) { in gen_pool_has_addr()
562 if (end <= chunk->end_addr) { in gen_pool_has_addr()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/soc/fsl/
Ddpaa2-console.c55 void __iomem *end_addr; member
97 size = (cd->end_addr - cd->cur_ptr) + in dpaa2_console_size()
144 cd->end_addr = cd->start_addr + buf_length; in dpaa2_generic_console_open()
149 if (wrapped && cd->end_of_data != cd->end_addr) in dpaa2_generic_console_open()
196 size_t bytes_end = cd->end_addr - cd->cur_ptr; in dpaa2_console_read()
/kernel/linux/linux-5.10/drivers/pcmcia/
Drsrc_nonstatic.c1100 unsigned long start_addr, end_addr; local
1104 ret = sscanf(buf, "+ 0x%lx - 0x%lx", &start_addr, &end_addr);
1106 ret = sscanf(buf, "- 0x%lx - 0x%lx", &start_addr, &end_addr);
1110 &end_addr);
1116 if (end_addr < start_addr)
1120 ret = adjust_io(s, add, start_addr, end_addr);
1166 unsigned long start_addr, end_addr; local
1170 ret = sscanf(buf, "+ 0x%lx - 0x%lx", &start_addr, &end_addr);
1172 ret = sscanf(buf, "- 0x%lx - 0x%lx", &start_addr, &end_addr);
1176 &end_addr);
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/sparc64/drivers/
Dadi-test.c88 static unsigned long long int end_addr[MAX_RANGES_SUPPORTED]; variable
164 end_addr[range_count] = strtoull(end_ptr, NULL, 16); in build_memory_map()
174 i, start_addr[i], end_addr[i]); in build_memory_map()
321 (end_addr[range_count - 1] - 0x1000) & ~(ADI_BLKSZ - 1); in test0_prpw_aligned_1byte()
355 (end_addr[range_count - 1] - 0x6000) & ~(ADI_BLKSZ - 1); in test1_prpw_aligned_4096bytes()
523 (end_addr[range_count - 1] - 0xF000) & ~(ADI_BLKSZ - 1); in test5_rw_aligned_1byte()
568 (end_addr[range_count - 1] - 0x5F000) & ~(ADI_BLKSZ - 1); in test6_rw_aligned_9434bytes()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/mm/
Dmadvise.c508 unsigned long start_addr, unsigned long end_addr) in madvise_cold() argument
518 tlb_gather_mmu(&tlb, mm, start_addr, end_addr); in madvise_cold()
519 madvise_cold_page_range(&tlb, vma, start_addr, end_addr); in madvise_cold()
520 tlb_finish_mmu(&tlb, start_addr, end_addr); in madvise_cold()
557 unsigned long start_addr, unsigned long end_addr) in madvise_pageout() argument
570 tlb_gather_mmu(&tlb, mm, start_addr, end_addr); in madvise_pageout()
571 madvise_pageout_page_range(&tlb, vma, start_addr, end_addr); in madvise_pageout()
572 tlb_finish_mmu(&tlb, start_addr, end_addr); in madvise_pageout()
715 unsigned long start_addr, unsigned long end_addr) in madvise_free_single_vma() argument
728 range.end = min(vma->vm_end, end_addr); in madvise_free_single_vma()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/sh/mm/
Dcache-sh4.c150 unsigned long addr, end_addr, entry_offset; in flush_dcache_all() local
152 end_addr = CACHE_OC_ADDRESS_ARRAY + in flush_dcache_all()
159 for (addr = CACHE_OC_ADDRESS_ARRAY; addr < end_addr; ) { in flush_dcache_all()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Ddiag.h48 unsigned long start_addr, end_addr; in diag10_range() local
51 end_addr = (start_pfn + num_pfn - 1) << PAGE_SHIFT; in diag10_range()
59 : : "a" (start_addr), "a" (end_addr)); in diag10_range()
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/aicasm/
Daicasm_symbol.h153 int end_addr; member
175 int end_addr; member
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvfw/
Dacr.h104 u32 end_addr; member
133 u32 end_addr; member
/kernel/linux/linux-5.10/sound/pci/emu10k1/
Demupcm.c272 unsigned int end_addr, in snd_emu10k1_pcm_init_voice() argument
291 end_addr >>= 1; in snd_emu10k1_pcm_init_voice()
295 end_addr >>= 1; in snd_emu10k1_pcm_init_voice()
321 end_addr += ccis + emu->delay_pcm_irq; in snd_emu10k1_pcm_init_voice()
348 snd_emu10k1_ptr_write(emu, DSL, voice, end_addr | (send_amount[3] << 24)); in snd_emu10k1_pcm_init_voice()
493 unsigned int start_addr, end_addr; in snd_emu10k1_playback_prepare() local
496 end_addr = snd_pcm_lib_period_bytes(substream); in snd_emu10k1_playback_prepare()
499 end_addr >>= 1; in snd_emu10k1_playback_prepare()
501 end_addr += start_addr; in snd_emu10k1_playback_prepare()
503 start_addr, end_addr, NULL); in snd_emu10k1_playback_prepare()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-tegra/
Dpm-tegra30.c17 tegra_lp1_iram.end_addr = &tegra30_iram_end; in tegra30_lp1_iram_hook()
Dpm-tegra20.c17 tegra_lp1_iram.end_addr = &tegra20_iram_end; in tegra20_lp1_iram_hook()
Dpm.h15 void *end_addr; member
/kernel/liteos_a/net/lwip-2.1/enhancement/src/
Ddhcps.c91 ip4_addr_t end_addr; member
264 … if ((client_ip.addr >= dhcps->start_addr.addr) && (client_ip.addr <= dhcps->end_addr.addr)) { in validate_discover()
905 …dhcps->end_addr.addr = ntohl(ip_2_ip4(&netif->ip_addr)->addr | (~ip_2_ip4(&netif->netmask)->addr))… in dhcps_start()
906 dhcps->lease_num = (u8_t)(dhcps->end_addr.addr - dhcps->start_addr.addr + 1); in dhcps_start()
909 dhcps->end_addr.addr = dhcps->start_addr.addr + LWIP_DHCPS_MAX_LEASE - 1; in dhcps_start()
913 dhcps->end_addr.addr = (u32_t)(dhcps->start_addr.addr + in dhcps_start()
926 ip4_addr_set_hton(&address_in_hton, &dhcps->end_addr); in dhcps_start()
930 …dhcps->end_addr.addr = ntohl(ip_2_ip4(&netif->ip_addr)->addr | (~ip_2_ip4(&netif->netmask)->addr))… in dhcps_start()
932 dhcps->lease_num = (u8_t)(dhcps->end_addr.addr - dhcps->start_addr.addr + 1); in dhcps_start()
955 ip_2_ip4(&netif->ip_addr)->addr, dhcps->start_addr.addr, dhcps->end_addr.addr)); in dhcps_start()
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
Dunwind.h15 unsigned long end_addr; member
/kernel/linux/linux-5.10/arch/sh/boot/compressed/
Dhead_32.S67 mov.l end_addr, r1
92 end_addr: label
/kernel/linux/linux-5.10/drivers/media/platform/coda/
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 …]

1234