Lines Matching refs:cmd_buff
124 u8 *cmd_buff; in dpaa2_switch_acl_entry_add() local
127 cmd_buff = kzalloc(DPAA2_ETHSW_PORT_ACL_CMD_BUF_SIZE, GFP_KERNEL); in dpaa2_switch_acl_entry_add()
128 if (!cmd_buff) in dpaa2_switch_acl_entry_add()
131 dpsw_acl_prepare_entry_cfg(acl_key, cmd_buff); in dpaa2_switch_acl_entry_add()
133 acl_entry_cfg->key_iova = dma_map_single(dev, cmd_buff, in dpaa2_switch_acl_entry_add()
138 kfree(cmd_buff); in dpaa2_switch_acl_entry_add()
150 kfree(cmd_buff); in dpaa2_switch_acl_entry_add()
154 kfree(cmd_buff); in dpaa2_switch_acl_entry_add()
167 u8 *cmd_buff; in dpaa2_switch_acl_entry_remove() local
170 cmd_buff = kzalloc(DPAA2_ETHSW_PORT_ACL_CMD_BUF_SIZE, GFP_KERNEL); in dpaa2_switch_acl_entry_remove()
171 if (!cmd_buff) in dpaa2_switch_acl_entry_remove()
174 dpsw_acl_prepare_entry_cfg(acl_key, cmd_buff); in dpaa2_switch_acl_entry_remove()
176 acl_entry_cfg->key_iova = dma_map_single(dev, cmd_buff, in dpaa2_switch_acl_entry_remove()
181 kfree(cmd_buff); in dpaa2_switch_acl_entry_remove()
192 kfree(cmd_buff); in dpaa2_switch_acl_entry_remove()
196 kfree(cmd_buff); in dpaa2_switch_acl_entry_remove()