Home
last modified time | relevance | path

Searched refs:tmp_addrs (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/net/mctp/
Ddevice.c200 u8 *tmp_addrs; in mctp_rtm_newaddr() local
233 tmp_addrs = kmalloc(mdev->num_addrs + 1, GFP_KERNEL); in mctp_rtm_newaddr()
234 if (!tmp_addrs) in mctp_rtm_newaddr()
236 memcpy(tmp_addrs, mdev->addrs, mdev->num_addrs); in mctp_rtm_newaddr()
237 tmp_addrs[mdev->num_addrs] = addr->s_addr; in mctp_rtm_newaddr()
242 swap(mdev->addrs, tmp_addrs); in mctp_rtm_newaddr()
245 kfree(tmp_addrs); in mctp_rtm_newaddr()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dkprobe_multi_test.c552 unsigned long *addr, *addrs, *tmp_addrs; in get_addrs() local
591 tmp_addrs = realloc(addrs, max_cnt); in get_addrs()
592 if (!tmp_addrs) { in get_addrs()
596 addrs = tmp_addrs; in get_addrs()