Home
last modified time | relevance | path

Searched refs:min_addr (Results 1 – 25 of 42) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/soc/qcom/
Dmdt_loader.c45 phys_addr_t min_addr = PHYS_ADDR_MAX; in qcom_mdt_get_size() local
58 if (phdr->p_paddr < min_addr) in qcom_mdt_get_size()
59 min_addr = phdr->p_paddr; in qcom_mdt_get_size()
65 return min_addr < max_addr ? max_addr - min_addr : -EINVAL; in qcom_mdt_get_size()
139 phys_addr_t min_addr = PHYS_ADDR_MAX; in __qcom_mdt_load() local
190 if (phdr->p_paddr < min_addr) in __qcom_mdt_load()
191 min_addr = phdr->p_paddr; in __qcom_mdt_load()
200 max_addr - min_addr); in __qcom_mdt_load()
211 mem_reloc = min_addr; in __qcom_mdt_load()
/kernel/linux/linux-5.10/kernel/
Dcfi.c145 unsigned long min_addr, unsigned long max_addr) in add_module_to_shadow() argument
161 for (ptr = min_addr; ptr <= max_addr; ptr += PAGE_SIZE) { in add_module_to_shadow()
173 unsigned long min_addr, unsigned long max_addr) in remove_module_from_shadow() argument
177 for (ptr = min_addr; ptr <= max_addr; ptr += PAGE_SIZE) { in remove_module_from_shadow()
186 unsigned long min_addr, unsigned long max_addr);
193 unsigned long min_addr, max_addr; in update_shadow() local
205 min_addr = (unsigned long)mod->core_layout.base; in update_shadow()
206 max_addr = min_addr + mod->core_layout.text_size; in update_shadow()
207 fn(next, mod, min_addr & PAGE_MASK, max_addr & PAGE_MASK); in update_shadow()
/kernel/linux/linux-5.10/net/netfilter/
Dxt_NETMAP.c29 for (i = 0; i < ARRAY_SIZE(range->min_addr.ip6); i++) in netmap_tg6()
30 netmask.ip6[i] = ~(range->min_addr.ip6[i] ^ in netmap_tg6()
41 new_addr.ip6[i] |= range->min_addr.ip6[i] & in netmap_tg6()
46 newrange.min_addr = new_addr; in netmap_tg6()
92 memset(&newrange.min_addr, 0, sizeof(newrange.min_addr)); in netmap_tg4()
95 newrange.min_addr.ip = new_ip; in netmap_tg4()
Dnft_nat.c39 range->min_addr.ip = (__force __be32) in nft_nat_setup_addr()
45 memcpy(range->min_addr.ip6, &regs->data[priv->sreg_addr_min], in nft_nat_setup_addr()
46 sizeof(range->min_addr.ip6)); in nft_nat_setup_addr()
94 netmask = ~(range->min_addr.ip6[i] ^ range->max_addr.ip6[i]); in nft_nat_setup_netmap()
96 new_addr.ip6[i] |= range->min_addr.ip6[i] & netmask; in nft_nat_setup_netmap()
99 range->min_addr = new_addr; in nft_nat_setup_netmap()
198 alen = sizeof_field(struct nf_nat_range, min_addr.ip); in nft_nat_init()
201 alen = sizeof_field(struct nf_nat_range, min_addr.ip6); in nft_nat_init()
232 plen = sizeof_field(struct nf_nat_range, min_addr.all); in nft_nat_init()
Dnf_nat_redirect.c65 memset(&newrange.min_addr, 0, sizeof(newrange.min_addr)); in nf_nat_redirect_ipv4()
68 newrange.min_addr.ip = newdst; in nf_nat_redirect_ipv4()
113 newrange.min_addr.in6 = newdst; in nf_nat_redirect_ipv6()
Dnf_nat_masquerade.c64 memset(&newrange.min_addr, 0, sizeof(newrange.min_addr)); in nf_nat_masquerade_ipv4()
67 newrange.min_addr.ip = newsrc; in nf_nat_masquerade_ipv4()
258 newrange.min_addr.in6 = src; in nf_nat_masquerade_ipv6()
Dnf_nat_core.c224 return ntohl(t->src.u3.ip) >= ntohl(range->min_addr.ip) && in nf_nat_inet_in_range()
227 return ipv6_addr_cmp(&t->src.u3.in6, &range->min_addr.in6) >= 0 && in nf_nat_inet_in_range()
350 if (nf_inet_addr_cmp(&range->min_addr, &range->max_addr)) { in find_best_ips_proto()
351 *var_ipp = range->min_addr; in find_best_ips_proto()
377 minip = ntohl((__force __be32)range->min_addr.all[i]); in find_best_ips_proto()
681 .min_addr = ip, in __nf_nat_alloc_null_binding()
910 range->min_addr.ip = nla_get_be32(tb[CTA_NAT_V4_MINIP]); in nf_nat_ipv4_nlattr_to_range()
917 range->max_addr.ip = range->min_addr.ip; in nf_nat_ipv4_nlattr_to_range()
926 nla_memcpy(&range->min_addr.ip6, tb[CTA_NAT_V6_MINIP], in nf_nat_ipv6_nlattr_to_range()
935 range->max_addr = range->min_addr; in nf_nat_ipv6_nlattr_to_range()
Dxt_nat.c40 memset(&dst->min_addr, 0, sizeof(dst->min_addr)); in xt_nat_convert_range()
45 dst->min_addr.ip = src->min_ip; in xt_nat_convert_range()
Dnf_nat_helper.c189 range.min_addr = range.max_addr in nf_nat_follow_master()
196 range.min_addr = range.max_addr in nf_nat_follow_master()
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/
Dcvmx-bootmem.c132 uint64_t min_addr, uint64_t max_addr) in cvmx_bootmem_alloc_range() argument
136 cvmx_bootmem_phy_alloc(size, min_addr, max_addr, alignment, 0); in cvmx_bootmem_alloc_range()
151 void *cvmx_bootmem_alloc_named_range(uint64_t size, uint64_t min_addr, in cvmx_bootmem_alloc_named_range() argument
157 addr = cvmx_bootmem_phy_named_block_alloc(size, min_addr, max_addr, in cvmx_bootmem_alloc_named_range()
618 void *cvmx_bootmem_alloc_named_range_once(uint64_t size, uint64_t min_addr, in cvmx_bootmem_alloc_named_range_once() argument
637 addr = cvmx_bootmem_phy_named_block_alloc(size, min_addr, max_addr, in cvmx_bootmem_alloc_named_range_once()
718 int64_t cvmx_bootmem_phy_named_block_alloc(uint64_t size, uint64_t min_addr, in cvmx_bootmem_phy_named_block_alloc() argument
731 (unsigned long long)min_addr, in cvmx_bootmem_phy_named_block_alloc()
777 addr_allocated = cvmx_bootmem_phy_alloc(size, min_addr, max_addr, in cvmx_bootmem_phy_named_block_alloc()
/kernel/linux/linux-5.10/arch/x86/boot/compressed/
Dmisc.c181 unsigned long min_addr = (unsigned long)output; in handle_relocations() local
182 unsigned long max_addr = min_addr + (VO___bss_start - VO__text); in handle_relocations()
188 delta = min_addr - LOAD_PHYSICAL_ADDR; in handle_relocations()
237 if (ptr < min_addr || ptr > max_addr) in handle_relocations()
248 if (ptr < min_addr || ptr > max_addr) in handle_relocations()
258 if (ptr < min_addr || ptr > max_addr) in handle_relocations()
Dkaslr.c836 unsigned long random_addr, min_addr; in choose_random_location() local
858 min_addr = min(*output, 512UL << 20); in choose_random_location()
860 min_addr = ALIGN(min_addr, CONFIG_PHYSICAL_ALIGN); in choose_random_location()
863 random_addr = find_random_phys_addr(min_addr, output_size); in choose_random_location()
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
Dcvmx-bootmem.h205 extern void *cvmx_bootmem_alloc_named_range(uint64_t size, uint64_t min_addr,
231 uint64_t min_addr,
299 int64_t cvmx_bootmem_phy_named_block_alloc(uint64_t size, uint64_t min_addr,
Docteon.h16 uint64_t min_addr,
22 uint64_t min_addr, uint64_t max_addr,
26 extern void *octeon_bootmem_alloc_named_range(uint64_t size, uint64_t min_addr,
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter/
Dnf_nat.h35 union nf_inet_addr min_addr; member
42 union nf_inet_addr min_addr; member
/kernel/linux/linux-5.10/include/uapi/linux/netfilter/
Dnf_nat.h40 union nf_inet_addr min_addr; member
48 union nf_inet_addr min_addr; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter/
Dnf_nat.h45 union nf_inet_addr min_addr; member
52 union nf_inet_addr min_addr; member
/kernel/linux/linux-5.10/arch/m68k/mm/
Dmotorola.c393 unsigned long min_addr, max_addr; in paging_init() local
411 min_addr = m68k_memory[0].addr; in paging_init()
412 max_addr = min_addr + m68k_memory[0].size; in paging_init()
415 if (m68k_memory[i].addr < min_addr) { in paging_init()
430 m68k_memoffset = min_addr - PAGE_OFFSET; in paging_init()
431 m68k_virt_to_node_shift = fls(max_addr - min_addr - 1) - 6; in paging_init()
/kernel/linux/linux-5.10/include/linux/
Dmemblock.h398 phys_addr_t min_addr, phys_addr_t max_addr,
401 phys_addr_t min_addr, phys_addr_t max_addr,
404 phys_addr_t min_addr, phys_addr_t max_addr,
423 phys_addr_t min_addr) in memblock_alloc_from() argument
425 return memblock_alloc_try_nid(size, align, min_addr, in memblock_alloc_from()
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/
Drelocate.c124 unsigned long min_addr) in efi_relocate_kernel() argument
157 min_addr); in efi_relocate_kernel()
/kernel/linux/linux-5.10/drivers/net/phy/
Dbcm54140.c500 int addr, min_addr, max_addr; in bcm54140_get_base_addr_and_port() local
505 min_addr = phydev->mdio.addr; in bcm54140_get_base_addr_and_port()
526 min_addr = addr; in bcm54140_get_base_addr_and_port()
558 if ((max_addr - min_addr + 1) % 4) { in bcm54140_get_base_addr_and_port()
561 min_addr, max_addr); in bcm54140_get_base_addr_and_port()
565 priv->port = (phydev->mdio.addr - min_addr) % 4; in bcm54140_get_base_addr_and_port()
/kernel/linux/linux-5.10/mm/
Dmemblock.c1433 phys_addr_t min_addr, phys_addr_t max_addr, in memblock_alloc_internal() argument
1449 alloc = memblock_alloc_range_nid(size, align, min_addr, max_addr, nid, in memblock_alloc_internal()
1453 if (!alloc && min_addr) in memblock_alloc_internal()
1483 phys_addr_t min_addr, phys_addr_t max_addr, in memblock_alloc_exact_nid_raw() argument
1489 __func__, (u64)size, (u64)align, nid, &min_addr, in memblock_alloc_exact_nid_raw()
1493 min_addr, max_addr, nid, true); in memblock_alloc_exact_nid_raw()
1521 phys_addr_t min_addr, phys_addr_t max_addr, in memblock_alloc_try_nid_raw() argument
1527 __func__, (u64)size, (u64)align, nid, &min_addr, in memblock_alloc_try_nid_raw()
1531 min_addr, max_addr, nid, false); in memblock_alloc_try_nid_raw()
1557 phys_addr_t min_addr, phys_addr_t max_addr, in memblock_alloc_try_nid() argument
[all …]
/kernel/linux/linux-5.10/security/
DMakefile19 obj-$(CONFIG_MMU) += min_addr.o
/kernel/linux/linux-5.10/arch/powerpc/mm/
Dslice.c332 unsigned long min_addr = max(PAGE_SIZE, mmap_min_addr); in slice_find_area_topdown() local
349 while (addr > min_addr) { in slice_find_area_topdown()
361 if (addr < min_addr) in slice_find_area_topdown()
362 addr = min_addr; in slice_find_area_topdown()
/kernel/linux/linux-5.10/net/ipv4/netfilter/
Dnf_nat_h323.c409 range.min_addr = range.max_addr = in ip_nat_q931_expect()
416 range.min_addr = range.max_addr = in ip_nat_q931_expect()
506 range.min_addr = range.max_addr = in ip_nat_callforwarding_expect()
513 range.min_addr = range.max_addr = this->saved_addr; in ip_nat_callforwarding_expect()

12