Searched refs:netid (Results 1 – 2 of 2) sorted by relevance
/drivers/s390/char/ |
D | sclp_ocf.c | 45 struct gds_subvector *sv, *netid, *cpc; in sclp_ocf_handler() local 62 netid = sclp_find_gds_subvector(sv + 1, (void *) sv + sv->length, 1); in sclp_ocf_handler() 67 if (netid) { in sclp_ocf_handler() 68 size = min(OCF_LENGTH_HMC_NETWORK, (size_t) netid->length); in sclp_ocf_handler() 69 memcpy(hmc_network, netid + 1, size); in sclp_ocf_handler()
|
/drivers/net/ |
D | rionet.c | 402 unsigned char netid = rdev->net->hport->id; in rionet_remove_dev() local 406 list_for_each_entry_safe(peer, tmp, &nets[netid].peers, node) { in rionet_remove_dev() 408 if (nets[netid].active[rdev->destid]) { in rionet_remove_dev() 409 nets[netid].active[rdev->destid] = NULL; in rionet_remove_dev() 410 nets[netid].nact--; in rionet_remove_dev() 527 unsigned char netid = rdev->net->hport->id; in rionet_add_dev() local 530 if (netid >= RIONET_MAX_NETS) in rionet_add_dev() 533 oldnet = test_and_set_bit(netid, net_table); in rionet_add_dev() 558 nets[netid].ndev = ndev; in rionet_add_dev() 566 INIT_LIST_HEAD(&nets[netid].peers); in rionet_add_dev() [all …]
|