Home
last modified time | relevance | path

Searched refs:max_addr (Results 1 – 10 of 10) sorted by relevance

/third_party/iptables/extensions/
Dlibip6t_SNAT.c142 range->max_addr.in6 = *ip; in parse_to()
144 range->max_addr = range->min_addr; in parse_to()
199 if (memcmp(&range->min_addr, &range->max_addr, in print_range()
201 printf("-%s", xtables_ip6addr_to_numeric(&range->max_addr.in6)); in print_range()
253 if (memcmp(&range->min_addr, &range->max_addr, in print_range_xlate()
257 xtables_ip6addr_to_numeric(&range->max_addr.in6), in print_range_xlate()
Dlibip6t_DNAT.c162 range->max_addr.in6 = *ip; in parse_to()
164 range->max_addr = range->min_addr; in parse_to()
240 if (memcmp(&range->min_addr, &range->max_addr, in print_range()
242 printf("-%s", xtables_ip6addr_to_numeric(&range->max_addr.in6)); in print_range()
317 if (memcmp(&range->min_addr, &range->max_addr, in print_range_xlate()
321 xtables_ip6addr_to_numeric(&range->max_addr.in6), in print_range_xlate()
Dlibip6t_NETMAP.c47 range->max_addr.ip6[i] = range->min_addr.ip6[i] | in NETMAP_parse()
63 a.s6_addr32[i] = ~(r->min_addr.ip6[i] ^ r->max_addr.ip6[i]); in __NETMAP_print()
Dlibipt_DNAT.c387 range->max_addr.in = *ip; in parse_to_v2()
389 range->max_addr = range->min_addr; in parse_to_v2()
439 if (memcmp(&range->min_addr, &range->max_addr, in print_range_v2()
441 printf("-%s", xtables_ipaddr_to_numeric(&range->max_addr.in)); in print_range_v2()
483 if (memcmp(&range->min_addr, &range->max_addr, in print_range_xlate_v2()
485 xt_xlate_add(xl, "-%s", xtables_ipaddr_to_numeric(&range->max_addr.in)); in print_range_xlate_v2()
/third_party/iptables/include/linux/netfilter/
Dnf_nat.h38 union nf_inet_addr max_addr; member
46 union nf_inet_addr max_addr; member
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/
Dbuddy.cc130 auto max_addr = static_cast<rel_addr_t>(BitLeftShift(1, s.num_lvl_ - 1)); in operator <<() local
132 while (addr < max_addr) { in operator <<()
326 auto max_addr = static_cast<rel_addr_t>(BitLeftShift(1, num_lvl_ - 1)); in AllocBuddySeg() local
336 while (ask_addr < max_addr && !found) { in AllocBuddySeg()
/third_party/musl/ldso/
Ddynlink.c1352 size_t min_addr = -1, max_addr = 0, cnt; in kernel_mapped_dso() local
1370 if (ph->p_vaddr+ph->p_memsz > max_addr) in kernel_mapped_dso()
1371 max_addr = ph->p_vaddr+ph->p_memsz; in kernel_mapped_dso()
1374 max_addr = (max_addr + PAGE_SIZE-1) & -PAGE_SIZE; in kernel_mapped_dso()
1376 p->map_len = max_addr - min_addr; in kernel_mapped_dso()
/third_party/musl/porting/liteos_a/user/ldso/
Ddynlink.c1368 size_t min_addr = -1, max_addr = 0, cnt; in kernel_mapped_dso() local
1386 if (ph->p_vaddr+ph->p_memsz > max_addr) in kernel_mapped_dso()
1387 max_addr = ph->p_vaddr+ph->p_memsz; in kernel_mapped_dso()
1390 max_addr = (max_addr + PAGE_SIZE-1) & -PAGE_SIZE; in kernel_mapped_dso()
1392 p->map_len = max_addr - min_addr; in kernel_mapped_dso()
/third_party/musl/porting/liteos_a/user_debug/ldso/
Ddynlink.c1368 size_t min_addr = -1, max_addr = 0, cnt; in kernel_mapped_dso() local
1386 if (ph->p_vaddr+ph->p_memsz > max_addr) in kernel_mapped_dso()
1387 max_addr = ph->p_vaddr+ph->p_memsz; in kernel_mapped_dso()
1390 max_addr = (max_addr + PAGE_SIZE-1) & -PAGE_SIZE; in kernel_mapped_dso()
1392 p->map_len = max_addr - min_addr; in kernel_mapped_dso()
/third_party/musl/porting/linux/user/ldso/
Ddynlink.c2314 size_t min_addr = -1, max_addr = 0, cnt; in kernel_mapped_dso() local
2332 if (ph->p_vaddr+ph->p_memsz > max_addr) in kernel_mapped_dso()
2333 max_addr = ph->p_vaddr+ph->p_memsz; in kernel_mapped_dso()
2336 max_addr = (max_addr + PAGE_SIZE-1) & -PAGE_SIZE; in kernel_mapped_dso()
2338 p->map_len = max_addr - min_addr; in kernel_mapped_dso()