iio_root_ports_list_insert
if (!rp || iio_root_ports_list_insert(list, rp)) {
ret = iio_root_ports_list_insert(tmp_list, rp);