Searched refs:tmp_addrs (Results 1 – 2 of 2) sorted by relevance
200 u8 *tmp_addrs; in mctp_rtm_newaddr() local233 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()
552 unsigned long *addr, *addrs, *tmp_addrs; in get_addrs() local591 tmp_addrs = realloc(addrs, max_cnt); in get_addrs()592 if (!tmp_addrs) { in get_addrs()596 addrs = tmp_addrs; in get_addrs()