Home
last modified time | relevance | path

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

12

/linux/drivers/soc/qcom/
A 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
194 if (phdr->p_paddr < min_addr) in __qcom_mdt_load()
195 min_addr = phdr->p_paddr; in __qcom_mdt_load()
204 max_addr - min_addr); in __qcom_mdt_load()
217 mem_reloc = min_addr; in __qcom_mdt_load()
/linux/kernel/
A 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()
/linux/net/netfilter/
A 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()
A 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()
229 plen = sizeof_field(struct nf_nat_range, min_addr.all); in nft_nat_init()
A 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()
A 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()
A Dnf_nat_core.c204 return ntohl(t->src.u3.ip) >= ntohl(range->min_addr.ip) && in nf_nat_inet_in_range()
207 return ipv6_addr_cmp(&t->src.u3.in6, &range->min_addr.in6) >= 0 && in nf_nat_inet_in_range()
330 if (nf_inet_addr_cmp(&range->min_addr, &range->max_addr)) { in find_best_ips_proto()
331 *var_ipp = range->min_addr; in find_best_ips_proto()
357 minip = ntohl((__force __be32)range->min_addr.all[i]); in find_best_ips_proto()
661 .min_addr = ip, in __nf_nat_alloc_null_binding()
900 range->min_addr.ip = nla_get_be32(tb[CTA_NAT_V4_MINIP]); in nf_nat_ipv4_nlattr_to_range()
907 range->max_addr.ip = range->min_addr.ip; in nf_nat_ipv4_nlattr_to_range()
916 nla_memcpy(&range->min_addr.ip6, tb[CTA_NAT_V6_MINIP], in nf_nat_ipv6_nlattr_to_range()
925 range->max_addr = range->min_addr; in nf_nat_ipv6_nlattr_to_range()
A 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()
A 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()
/linux/arch/mips/cavium-octeon/executive/
A 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()
/linux/arch/x86/boot/compressed/
A Dmisc.c184 unsigned long min_addr = (unsigned long)output; in handle_relocations() local
185 unsigned long max_addr = min_addr + (VO___bss_start - VO__text); in handle_relocations()
191 delta = min_addr - LOAD_PHYSICAL_ADDR; in handle_relocations()
240 if (ptr < min_addr || ptr > max_addr) in handle_relocations()
251 if (ptr < min_addr || ptr > max_addr) in handle_relocations()
261 if (ptr < min_addr || ptr > max_addr) in handle_relocations()
A Dkaslr.c832 unsigned long random_addr, min_addr; in choose_random_location() local
854 min_addr = min(*output, 512UL << 20); in choose_random_location()
856 min_addr = ALIGN(min_addr, CONFIG_PHYSICAL_ALIGN); in choose_random_location()
859 random_addr = find_random_phys_addr(min_addr, output_size); in choose_random_location()
/linux/arch/mips/include/asm/octeon/
A 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,
A 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,
/linux/arch/m68k/mm/
A 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()
416 if (m68k_memory[i].addr < min_addr) { in paging_init()
432 m68k_memoffset = min_addr - PAGE_OFFSET; in paging_init()
433 m68k_virt_to_node_shift = fls(max_addr - min_addr - 1) - 6; in paging_init()
/linux/include/uapi/linux/netfilter/
A Dnf_nat.h40 union nf_inet_addr min_addr; member
48 union nf_inet_addr min_addr; member
/linux/include/linux/
A Dmemblock.h416 phys_addr_t min_addr, phys_addr_t max_addr,
419 phys_addr_t min_addr, phys_addr_t max_addr,
422 phys_addr_t min_addr, phys_addr_t max_addr,
441 phys_addr_t min_addr) in memblock_alloc_from() argument
443 return memblock_alloc_try_nid(size, align, min_addr, in memblock_alloc_from()
/linux/drivers/net/phy/
A 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()
/linux/drivers/firmware/efi/libstub/
A Drelocate.c124 unsigned long min_addr) in efi_relocate_kernel() argument
157 min_addr); in efi_relocate_kernel()
/linux/mm/
A Dmemblock.c1471 phys_addr_t min_addr, phys_addr_t max_addr, in memblock_alloc_internal() argument
1491 if (!alloc && min_addr) in memblock_alloc_internal()
1521 phys_addr_t min_addr, phys_addr_t max_addr, in memblock_alloc_exact_nid_raw() argument
1525 __func__, (u64)size, (u64)align, nid, &min_addr, in memblock_alloc_exact_nid_raw()
1528 return memblock_alloc_internal(size, align, min_addr, max_addr, nid, in memblock_alloc_exact_nid_raw()
1553 phys_addr_t min_addr, phys_addr_t max_addr, in memblock_alloc_try_nid_raw() argument
1557 __func__, (u64)size, (u64)align, nid, &min_addr, in memblock_alloc_try_nid_raw()
1560 return memblock_alloc_internal(size, align, min_addr, max_addr, nid, in memblock_alloc_try_nid_raw()
1583 phys_addr_t min_addr, phys_addr_t max_addr, in memblock_alloc_try_nid() argument
1589 __func__, (u64)size, (u64)align, nid, &min_addr, in memblock_alloc_try_nid()
[all …]
/linux/arch/powerpc/mm/
A 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()
/linux/security/
A D.min_addr.o.cmd1min_addr.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bin…
3 source_security/min_addr.o := security/min_addr.c
5 deps_security/min_addr.o := \
921 security/min_addr.o: $(deps_security/min_addr.o)
923 $(deps_security/min_addr.o):
A DMakefile10 obj-$(CONFIG_MMU) += min_addr.o
A D.built-in.a.cmd1 …urity/built-in.a security/keys/built-in.a security/commoncap.o security/min_addr.o security/securi…
/linux/net/ipv4/netfilter/
A 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()

Completed in 47 milliseconds

12