Searched refs:nr_addrs (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/fs/afs/ |
D | addr_list.c | 122 struct sockaddr_rxrpc *srx = &alist->addrs[alist->nr_addrs]; in afs_parse_text_addrs() 182 alist->nr_addrs++; in afs_parse_text_addrs() 183 } while (p < end && alist->nr_addrs < AFS_MAX_ADDRESSES); in afs_parse_text_addrs() 185 _leave(" = [nr %u]", alist->nr_addrs); in afs_parse_text_addrs() 256 if (i < alist->nr_addrs) in afs_merge_fs_addr4() 259 sizeof(alist->addrs[0]) * (alist->nr_addrs - i)); in afs_merge_fs_addr4() 268 alist->nr_addrs++; in afs_merge_fs_addr4() 280 for (i = alist->nr_ipv4; i < alist->nr_addrs; i++) { in afs_merge_fs_addr6() 293 if (i < alist->nr_addrs) in afs_merge_fs_addr6() 296 sizeof(alist->addrs[0]) * (alist->nr_addrs - i)); in afs_merge_fs_addr6() [all …]
|
D | afs_vl.h | 143 unsigned int nr_addrs; member
|
D | proc.c | 284 if (!alist || pos >= alist->nr_addrs) in afs_proc_cell_vlservers_start() 301 if (!alist || pos >= alist->nr_addrs) in afs_proc_cell_vlservers_next() 341 for (i = 1; i < alist->nr_addrs; i++) in afs_proc_servers_show()
|
D | vlclient.c | 234 if (alist->nr_addrs < call->count2) in afs_deliver_vl_get_addrs_u() 601 if (alist->nr_ipv4 < alist->nr_addrs) in afs_deliver_yfsvl_get_endpoints()
|
D | server.c | 60 for (i = alist->nr_ipv4; i < alist->nr_addrs; i++) { in afs_find_server() 197 if (alist->nr_addrs > alist->nr_ipv4) in afs_install_server()
|
D | rotate.c | 398 _debug("iterate %d/%d", fc->ac.index, fc->ac.alist->nr_addrs); in afs_select_fileserver()
|
D | internal.h | 76 unsigned short nr_addrs; member
|
/Linux-v4.19/drivers/net/wireless/marvell/libertas/ |
D | main.c | 326 struct net_device *dev, int nr_addrs) in lbs_add_mcast_addrs() argument 328 int i = nr_addrs; in lbs_add_mcast_addrs() 333 return nr_addrs; in lbs_add_mcast_addrs() 338 if (mac_in_list(cmd->maclist, nr_addrs, ha->addr)) { in lbs_add_mcast_addrs() 364 int nr_addrs; in lbs_update_mcast() local 386 nr_addrs = lbs_add_mcast_addrs(&mcast_cmd, priv->dev, 0); in lbs_update_mcast() 387 if (nr_addrs >= 0 && priv->mesh_dev) in lbs_update_mcast() 388 nr_addrs = lbs_add_mcast_addrs(&mcast_cmd, priv->mesh_dev, nr_addrs); in lbs_update_mcast() 389 if (nr_addrs < 0) in lbs_update_mcast() 392 if (nr_addrs) { in lbs_update_mcast() [all …]
|