ipatoe            111 drivers/s390/net/qeth_l3_main.c 	struct qeth_ipato_entry *ipatoe;
ipatoe            123 drivers/s390/net/qeth_l3_main.c 	list_for_each_entry(ipatoe, &card->ipato.entries, entry) {
ipatoe            124 drivers/s390/net/qeth_l3_main.c 		if (addr->proto != ipatoe->proto)
ipatoe            126 drivers/s390/net/qeth_l3_main.c 		qeth_l3_convert_addr_to_bits(ipatoe->addr, ipatoe_bits,
ipatoe            127 drivers/s390/net/qeth_l3_main.c 					  (ipatoe->proto == QETH_PROT_IPV4) ?
ipatoe            131 drivers/s390/net/qeth_l3_main.c 				     min(32, ipatoe->mask_bits));
ipatoe            134 drivers/s390/net/qeth_l3_main.c 				     min(128, ipatoe->mask_bits));
ipatoe            575 drivers/s390/net/qeth_l3_main.c 	struct qeth_ipato_entry *ipatoe, *tmp;
ipatoe            579 drivers/s390/net/qeth_l3_main.c 	list_for_each_entry_safe(ipatoe, tmp, &card->ipato.entries, entry) {
ipatoe            580 drivers/s390/net/qeth_l3_main.c 		list_del(&ipatoe->entry);
ipatoe            581 drivers/s390/net/qeth_l3_main.c 		kfree(ipatoe);
ipatoe            591 drivers/s390/net/qeth_l3_main.c 	struct qeth_ipato_entry *ipatoe;
ipatoe            598 drivers/s390/net/qeth_l3_main.c 	list_for_each_entry(ipatoe, &card->ipato.entries, entry) {
ipatoe            599 drivers/s390/net/qeth_l3_main.c 		if (ipatoe->proto != new->proto)
ipatoe            601 drivers/s390/net/qeth_l3_main.c 		if (!memcmp(ipatoe->addr, new->addr,
ipatoe            602 drivers/s390/net/qeth_l3_main.c 			    (ipatoe->proto == QETH_PROT_IPV4)? 4:16) &&
ipatoe            603 drivers/s390/net/qeth_l3_main.c 		    (ipatoe->mask_bits == new->mask_bits)) {
ipatoe            623 drivers/s390/net/qeth_l3_main.c 	struct qeth_ipato_entry *ipatoe, *tmp;
ipatoe            630 drivers/s390/net/qeth_l3_main.c 	list_for_each_entry_safe(ipatoe, tmp, &card->ipato.entries, entry) {
ipatoe            631 drivers/s390/net/qeth_l3_main.c 		if (ipatoe->proto != proto)
ipatoe            633 drivers/s390/net/qeth_l3_main.c 		if (!memcmp(ipatoe->addr, addr,
ipatoe            635 drivers/s390/net/qeth_l3_main.c 		    (ipatoe->mask_bits == mask_bits)) {
ipatoe            636 drivers/s390/net/qeth_l3_main.c 			list_del(&ipatoe->entry);
ipatoe            638 drivers/s390/net/qeth_l3_main.c 			kfree(ipatoe);
ipatoe            447 drivers/s390/net/qeth_l3_sys.c 	struct qeth_ipato_entry *ipatoe;
ipatoe            456 drivers/s390/net/qeth_l3_sys.c 	list_for_each_entry(ipatoe, &card->ipato.entries, entry) {
ipatoe            457 drivers/s390/net/qeth_l3_sys.c 		if (ipatoe->proto != proto)
ipatoe            464 drivers/s390/net/qeth_l3_sys.c 		qeth_l3_ipaddr_to_string(proto, ipatoe->addr, addr_str);
ipatoe            466 drivers/s390/net/qeth_l3_sys.c 			      "%s/%i\n", addr_str, ipatoe->mask_bits);
ipatoe            515 drivers/s390/net/qeth_l3_sys.c 	struct qeth_ipato_entry *ipatoe;
ipatoe            525 drivers/s390/net/qeth_l3_sys.c 	ipatoe = kzalloc(sizeof(struct qeth_ipato_entry), GFP_KERNEL);
ipatoe            526 drivers/s390/net/qeth_l3_sys.c 	if (!ipatoe) {
ipatoe            530 drivers/s390/net/qeth_l3_sys.c 	ipatoe->proto = proto;
ipatoe            531 drivers/s390/net/qeth_l3_sys.c 	memcpy(ipatoe->addr, addr, (proto == QETH_PROT_IPV4)? 4:16);
ipatoe            532 drivers/s390/net/qeth_l3_sys.c 	ipatoe->mask_bits = mask_bits;
ipatoe            534 drivers/s390/net/qeth_l3_sys.c 	rc = qeth_l3_add_ipato_entry(card, ipatoe);
ipatoe            536 drivers/s390/net/qeth_l3_sys.c 		kfree(ipatoe);