Home
last modified time | relevance | path

Searched refs:nr_addrs (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/fs/afs/
Daddr_list.c122 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 …]
Dafs_vl.h143 unsigned int nr_addrs; member
Dproc.c284 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()
Dvlclient.c234 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()
Dserver.c60 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()
Drotate.c398 _debug("iterate %d/%d", fc->ac.index, fc->ac.alist->nr_addrs); in afs_select_fileserver()
Dinternal.h76 unsigned short nr_addrs; member
/Linux-v4.19/drivers/net/wireless/marvell/libertas/
Dmain.c326 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 …]