Lines Matching refs:alist
186 struct afs_addr_list *alist; in afs_deliver_vl_get_addrs_u() local
213 alist = afs_alloc_addrlist(nentries, FS_SERVICE, AFS_FS_PORT); in afs_deliver_vl_get_addrs_u()
214 if (!alist) in afs_deliver_vl_get_addrs_u()
216 alist->version = uniquifier; in afs_deliver_vl_get_addrs_u()
217 call->reply[0] = alist; in afs_deliver_vl_get_addrs_u()
232 alist = call->reply[0]; in afs_deliver_vl_get_addrs_u()
235 if (alist->nr_addrs < call->count2) in afs_deliver_vl_get_addrs_u()
236 afs_merge_fs_addr4(alist, *bp++, AFS_FS_PORT); in afs_deliver_vl_get_addrs_u()
425 struct afs_addr_list *alist; in afs_deliver_yfsvl_get_endpoints() local
457 alist = afs_alloc_addrlist(call->count, FS_SERVICE, AFS_FS_PORT); in afs_deliver_yfsvl_get_endpoints()
458 if (!alist) in afs_deliver_yfsvl_get_endpoints()
460 alist->version = uniquifier; in afs_deliver_yfsvl_get_endpoints()
461 call->reply[0] = alist; in afs_deliver_yfsvl_get_endpoints()
487 alist = call->reply[0]; in afs_deliver_yfsvl_get_endpoints()
493 afs_merge_fs_addr4(alist, bp[1], ntohl(bp[2])); in afs_deliver_yfsvl_get_endpoints()
499 afs_merge_fs_addr6(alist, bp + 1, ntohl(bp[5])); in afs_deliver_yfsvl_get_endpoints()
599 alist = call->reply[0]; in afs_deliver_yfsvl_get_endpoints()
602 if (alist->nr_ipv4 < alist->nr_addrs) in afs_deliver_yfsvl_get_endpoints()
603 alist->index = alist->nr_ipv4; in afs_deliver_yfsvl_get_endpoints()