Home
last modified time | relevance | path

Searched refs:old_addr (Results 1 – 14 of 14) sorted by relevance

/third_party/ltp/testcases/kernel/mem/thp/
Dthp02.c57 unsigned char *p1, *p2, *ret, *old_addr, *new_addr; in do_child() local
65 old_addr = p1 + ps * (i >> 1); in do_child()
70 old_addr, old_addr + remap_size, in do_child()
73 ret = mremap(old_addr, remap_size, remap_size, in do_child()
/third_party/lwip/src/core/
Dnetif.c445 netif_do_ip_addr_changed(const ip_addr_t *old_addr, const ip_addr_t *new_addr) in netif_do_ip_addr_changed() argument
448 tcp_netif_ip_addr_changed(old_addr, new_addr); in netif_do_ip_addr_changed()
451 udp_netif_ip_addr_changed(old_addr, new_addr); in netif_do_ip_addr_changed()
454 raw_netif_ip_addr_changed(old_addr, new_addr); in netif_do_ip_addr_changed()
460 netif_do_set_ipaddr(struct netif *netif, const ip4_addr_t *ipaddr, ip_addr_t *old_addr) in netif_do_set_ipaddr() argument
463 LWIP_ASSERT("invalid pointer", old_addr != NULL); in netif_do_set_ipaddr()
471 ip_addr_copy(*old_addr, *netif_ip_addr4(netif)); in netif_do_set_ipaddr()
474 netif_do_ip_addr_changed(old_addr, &new_addr); in netif_do_set_ipaddr()
505 ip_addr_t old_addr; in netif_set_ipaddr() local
516 if (netif_do_set_ipaddr(netif, ipaddr, &old_addr)) { in netif_set_ipaddr()
[all …]
Draw.c655 void raw_netif_ip_addr_changed(const ip_addr_t *old_addr, const ip_addr_t *new_addr) in raw_netif_ip_addr_changed() argument
659 if (!ip_addr_isany(old_addr) && !ip_addr_isany(new_addr)) { in raw_netif_ip_addr_changed()
662 if (ip_addr_cmp(&rpcb->local_ip, old_addr)) { in raw_netif_ip_addr_changed()
Dtcp.c2303 tcp_netif_ip_addr_changed_pcblist(const ip_addr_t *old_addr, struct tcp_pcb *pcb_list) in tcp_netif_ip_addr_changed_pcblist() argument
2308 LWIP_ASSERT("tcp_netif_ip_addr_changed_pcblist: invalid old_addr", old_addr != NULL); in tcp_netif_ip_addr_changed_pcblist()
2312 if (ip_addr_cmp(&pcb->local_ip, old_addr) in tcp_netif_ip_addr_changed_pcblist()
2335 tcp_netif_ip_addr_changed(const ip_addr_t *old_addr, const ip_addr_t *new_addr) in tcp_netif_ip_addr_changed() argument
2339 if (!ip_addr_isany(old_addr)) { in tcp_netif_ip_addr_changed()
2340 tcp_netif_ip_addr_changed_pcblist(old_addr, tcp_active_pcbs); in tcp_netif_ip_addr_changed()
2341 tcp_netif_ip_addr_changed_pcblist(old_addr, tcp_bound_pcbs); in tcp_netif_ip_addr_changed()
2347 if (ip_addr_cmp(&lpcb->local_ip, old_addr)) { in tcp_netif_ip_addr_changed()
Dudp.c1288 void udp_netif_ip_addr_changed(const ip_addr_t *old_addr, const ip_addr_t *new_addr) in udp_netif_ip_addr_changed() argument
1292 if (!ip_addr_isany(old_addr) && !ip_addr_isany(new_addr)) { in udp_netif_ip_addr_changed()
1295 if (ip_addr_cmp(&upcb->local_ip, old_addr)) { in udp_netif_ip_addr_changed()
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/
Dgpu_memory_manager.cc53 auto old_addr = addr_list[i]->ptr_; in MallocContinuousMemFromMemPool() local
56 if (old_addr != nullptr) { in MallocContinuousMemFromMemPool()
59 …GPUDeviceManager::GetInstance().CopyDeviceMemToDeviceAsync(new_addr, old_addr, size_list[i], strea… in MallocContinuousMemFromMemPool()
61 FreeMemFromMemPool(old_addr); in MallocContinuousMemFromMemPool()
/third_party/musl/src/mman/
Dmremap.c12 void *__mremap(void *old_addr, size_t old_len, size_t new_len, int flags, ...) in __mremap() argument
29 return (void *)syscall(SYS_mremap, old_addr, old_len, new_len, flags, new_addr); in __mremap()
/third_party/mindspore/mindspore/ccsrc/runtime/device/
Dbucket.cc120 for (auto old_addr : tensor_old_addr_list_) { in LazyDeleteOldAddr() local
121 FreeDeviceMem(old_addr); in LazyDeleteOldAddr()
/third_party/lwip/src/include/lwip/priv/
Draw_priv.h61 void raw_netif_ip_addr_changed(const ip_addr_t* old_addr, const ip_addr_t* new_addr);
Dtcp_priv.h507 void tcp_netif_ip_addr_changed(const ip_addr_t* old_addr, const ip_addr_t* new_addr);
/third_party/FreeBSD/sys/dev/usb/
Dusb_request.c1985 uint8_t old_addr; in usbd_req_re_enumerate() local
1992 old_addr = udev->address; in usbd_req_re_enumerate()
2015 udev->hs_port_no, old_addr, UE_CONTROL, 0); in usbd_req_re_enumerate()
2032 old_addr, usbd_errstr(err)); in usbd_req_re_enumerate()
2051 err = usbd_req_set_address(udev, mtx, old_addr); in usbd_req_re_enumerate()
2055 old_addr, usbd_errstr(err)); in usbd_req_re_enumerate()
2062 udev->address = old_addr; in usbd_req_re_enumerate()
2078 udev->address = old_addr; in usbd_req_re_enumerate()
/third_party/lwip/src/include/lwip/
Dudp.h187 void udp_netif_ip_addr_changed(const ip_addr_t* old_addr, const ip_addr_t* new_addr);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/fst/
Dfst_session.c1316 const u8 *old_addr, *new_addr; in get_group_fill_session() local
1333 old_addr = fst_iface_get_peer_first(s->data.old_iface, &ctx, true); in get_group_fill_session()
1334 if (!old_addr) in get_group_fill_session()
1341 os_memcpy(s->data.old_peer_addr, old_addr, ETH_ALEN); in get_group_fill_session()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/fst/
Dfst_session.c1316 const u8 *old_addr, *new_addr; in get_group_fill_session() local
1333 old_addr = fst_iface_get_peer_first(s->data.old_iface, &ctx, TRUE); in get_group_fill_session()
1334 if (!old_addr) in get_group_fill_session()
1341 os_memcpy(s->data.old_peer_addr, old_addr, ETH_ALEN); in get_group_fill_session()