Searched refs:pnetids (Results 1 – 1 of 1) sorted by relevance
/linux/arch/s390/net/ |
H A D | pnet.c | 41 static int pnet_ids_by_device(struct device *dev, u8 *pnetids) in pnet_ids_by_device() argument 43 memset(pnetids, 0, PNETIDS_LEN); in pnet_ids_by_device() 51 memcpy(pnetids, util_str, PNETIDS_LEN); in pnet_ids_by_device() 52 EBCASC(pnetids, PNETIDS_LEN); in pnet_ids_by_device() 59 memcpy(pnetids, zdev->util_str, sizeof(zdev->util_str)); in pnet_ids_by_device() 60 EBCASC(pnetids, sizeof(zdev->util_str)); in pnet_ids_by_device() 73 u8 pnetids[MAX_PNETID_PORTS][MAX_PNETID_LEN]; in pnet_id_by_dev_port() local 80 if (!pnet_ids_by_device(dev, (u8 *)pnetids) && in pnet_id_by_dev_port() 81 memcmp(pnetids[port], zero, MAX_PNETID_LEN)) in pnet_id_by_dev_port() 82 memcpy(pnetid, pnetids[port], MAX_PNETID_LEN); in pnet_id_by_dev_port()
|