Searched refs:reg_elem (Results 1 – 1 of 1) sorted by relevance
1734 struct bnx2x_vlan_mac_registry_elem *reg_elem; in bnx2x_vlan_mac_get_registry_elem() local1739 reg_elem = kzalloc(sizeof(*reg_elem), GFP_ATOMIC); in bnx2x_vlan_mac_get_registry_elem()1740 if (!reg_elem) in bnx2x_vlan_mac_get_registry_elem()1744 if (!o->get_cam_offset(o, ®_elem->cam_offset)) { in bnx2x_vlan_mac_get_registry_elem()1749 kfree(reg_elem); in bnx2x_vlan_mac_get_registry_elem()1753 DP(BNX2X_MSG_SP, "Got cam offset %d\n", reg_elem->cam_offset); in bnx2x_vlan_mac_get_registry_elem()1756 memcpy(®_elem->u, &elem->cmd_data.vlan_mac.u, in bnx2x_vlan_mac_get_registry_elem()1757 sizeof(reg_elem->u)); in bnx2x_vlan_mac_get_registry_elem()1760 reg_elem->vlan_mac_flags = in bnx2x_vlan_mac_get_registry_elem()1763 reg_elem = o->check_del(bp, o, &elem->cmd_data.vlan_mac.u); in bnx2x_vlan_mac_get_registry_elem()[all …]