vendor_class 191 drivers/infiniband/core/mad.c struct ib_mad_mgmt_vendor_class *vendor_class, vendor_class 198 drivers/infiniband/core/mad.c if (!memcmp(vendor_class->oui[i], mad_reg_req->oui, 3)) { vendor_class 199 drivers/infiniband/core/mad.c method = vendor_class->method_table[i]; vendor_class 241 drivers/infiniband/core/mad.c struct ib_mad_mgmt_vendor_class *vendor_class; vendor_class 453 drivers/infiniband/core/mad.c vendor_class = vendor->vendor_class[vclass]; vendor_class 454 drivers/infiniband/core/mad.c if (vendor_class) { vendor_class 456 drivers/infiniband/core/mad.c vendor_class, vendor_class 1466 drivers/infiniband/core/mad.c static int check_vendor_class(struct ib_mad_mgmt_vendor_class *vendor_class) vendor_class 1471 drivers/infiniband/core/mad.c if (vendor_class->method_table[i]) vendor_class 1476 drivers/infiniband/core/mad.c static int find_vendor_oui(struct ib_mad_mgmt_vendor_class *vendor_class, vendor_class 1483 drivers/infiniband/core/mad.c if (!memcmp(vendor_class->oui[i], oui, 3)) vendor_class 1494 drivers/infiniband/core/mad.c if (vendor->vendor_class[i]) vendor_class 1579 drivers/infiniband/core/mad.c struct ib_mad_mgmt_vendor_class *vendor_class = NULL; vendor_class 1597 drivers/infiniband/core/mad.c if (!(*vendor_table)->vendor_class[vclass]) { vendor_class 1599 drivers/infiniband/core/mad.c vendor_class = kzalloc(sizeof *vendor_class, GFP_ATOMIC); vendor_class 1600 drivers/infiniband/core/mad.c if (!vendor_class) vendor_class 1603 drivers/infiniband/core/mad.c (*vendor_table)->vendor_class[vclass] = vendor_class; vendor_class 1607 drivers/infiniband/core/mad.c if (!memcmp((*vendor_table)->vendor_class[vclass]->oui[i], vendor_class 1609 drivers/infiniband/core/mad.c method = &(*vendor_table)->vendor_class[ vendor_class 1618 drivers/infiniband/core/mad.c if (!is_vendor_oui((*vendor_table)->vendor_class[ vendor_class 1620 drivers/infiniband/core/mad.c method = &(*vendor_table)->vendor_class[ vendor_class 1628 drivers/infiniband/core/mad.c memcpy((*vendor_table)->vendor_class[vclass]->oui[i], vendor_class 1658 drivers/infiniband/core/mad.c if (vendor_class) { vendor_class 1659 drivers/infiniband/core/mad.c (*vendor_table)->vendor_class[vclass] = NULL; vendor_class 1660 drivers/infiniband/core/mad.c kfree(vendor_class); vendor_class 1677 drivers/infiniband/core/mad.c struct ib_mad_mgmt_vendor_class *vendor_class; vendor_class 1728 drivers/infiniband/core/mad.c vendor_class = vendor->vendor_class[mgmt_class]; vendor_class 1729 drivers/infiniband/core/mad.c if (vendor_class) { vendor_class 1730 drivers/infiniband/core/mad.c index = find_vendor_oui(vendor_class, agent_priv->reg_req->oui); vendor_class 1733 drivers/infiniband/core/mad.c method = vendor_class->method_table[index]; vendor_class 1744 drivers/infiniband/core/mad.c vendor_class->method_table[index] = NULL; vendor_class 1745 drivers/infiniband/core/mad.c memset(vendor_class->oui[index], 0, 3); vendor_class 1747 drivers/infiniband/core/mad.c if (!check_vendor_class(vendor_class)) { vendor_class 1749 drivers/infiniband/core/mad.c kfree(vendor_class); vendor_class 1750 drivers/infiniband/core/mad.c vendor->vendor_class[mgmt_class] = NULL; vendor_class 1792 drivers/infiniband/core/mad.c struct ib_mad_mgmt_vendor_class *vendor_class; vendor_class 1821 drivers/infiniband/core/mad.c vendor_class = vendor->vendor_class[vendor_class_index( vendor_class 1823 drivers/infiniband/core/mad.c if (!vendor_class) vendor_class 1827 drivers/infiniband/core/mad.c index = find_vendor_oui(vendor_class, vendor_mad->oui); vendor_class 1830 drivers/infiniband/core/mad.c method = vendor_class->method_table[index]; vendor_class 171 drivers/infiniband/core/mad_priv.h struct ib_mad_mgmt_vendor_class *vendor_class[MAX_MGMT_VENDOR_RANGE2];