reg_elem 1732 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c struct bnx2x_vlan_mac_registry_elem *reg_elem; reg_elem 1737 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c reg_elem = kzalloc(sizeof(*reg_elem), GFP_ATOMIC); reg_elem 1738 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c if (!reg_elem) reg_elem 1742 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c if (!o->get_cam_offset(o, ®_elem->cam_offset)) { reg_elem 1747 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c kfree(reg_elem); reg_elem 1751 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c DP(BNX2X_MSG_SP, "Got cam offset %d\n", reg_elem->cam_offset); reg_elem 1754 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c memcpy(®_elem->u, &elem->cmd_data.vlan_mac.u, reg_elem 1755 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c sizeof(reg_elem->u)); reg_elem 1758 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c reg_elem->vlan_mac_flags = reg_elem 1761 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c reg_elem = o->check_del(bp, o, &elem->cmd_data.vlan_mac.u); reg_elem 1763 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c *re = reg_elem; reg_elem 1788 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c struct bnx2x_vlan_mac_registry_elem *reg_elem; reg_elem 1813 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c ®_elem); reg_elem 1817 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c WARN_ON(!reg_elem); reg_elem 1823 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c list_add(®_elem->link, &cam_obj->head); reg_elem 1827 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c reg_elem->cam_offset); reg_elem 1856 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c reg_elem = o->check_del(bp, o, reg_elem 1859 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c WARN_ON(!reg_elem); reg_elem 1861 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c o->put_cam_offset(o, reg_elem->cam_offset); reg_elem 1862 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c list_del(®_elem->link); reg_elem 1863 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c kfree(reg_elem); reg_elem 1888 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c reg_elem = o->check_del(bp, cam_obj, reg_elem 1890 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c if (reg_elem) { reg_elem 1891 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c list_del(®_elem->link); reg_elem 1892 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c kfree(reg_elem);