Searched refs:dpaa2_eth_trap_data (Results 1 – 2 of 2) sorted by relevance
48 struct dpaa2_eth_trap_data *dpaa2_eth_trap_data = priv->trap_data; in dpaa2_eth_dl_trap_item_lookup() local53 return &dpaa2_eth_trap_data->trap_items_arr[i]; in dpaa2_eth_dl_trap_item_lookup()235 struct dpaa2_eth_trap_data *dpaa2_eth_trap_data; in dpaa2_eth_dl_traps_register() local240 dpaa2_eth_trap_data = kzalloc(sizeof(*dpaa2_eth_trap_data), GFP_KERNEL); in dpaa2_eth_dl_traps_register()241 if (!dpaa2_eth_trap_data) in dpaa2_eth_dl_traps_register()243 priv->trap_data = dpaa2_eth_trap_data; in dpaa2_eth_dl_traps_register()245 dpaa2_eth_trap_data->trap_items_arr = kcalloc(ARRAY_SIZE(dpaa2_eth_traps_arr), in dpaa2_eth_dl_traps_register()248 if (!dpaa2_eth_trap_data->trap_items_arr) { in dpaa2_eth_dl_traps_register()273 kfree(dpaa2_eth_trap_data->trap_items_arr); in dpaa2_eth_dl_traps_register()275 kfree(dpaa2_eth_trap_data); in dpaa2_eth_dl_traps_register()
534 struct dpaa2_eth_trap_data { struct633 struct dpaa2_eth_trap_data *trap_data;