Searched refs:t_sdu (Results 1 – 1 of 1) sorted by relevance
117 struct usb_tx_sdu *t_sdu; in alloc_tx_sdu_struct() local119 t_sdu = kzalloc(sizeof(*t_sdu), GFP_KERNEL); in alloc_tx_sdu_struct()120 if (!t_sdu) in alloc_tx_sdu_struct()123 t_sdu->buf = kmalloc(SDU_BUF_SIZE, GFP_KERNEL); in alloc_tx_sdu_struct()124 if (!t_sdu->buf) { in alloc_tx_sdu_struct()125 kfree(t_sdu); in alloc_tx_sdu_struct()129 return t_sdu; in alloc_tx_sdu_struct()141 static void free_tx_sdu_struct(struct usb_tx_sdu *t_sdu) in free_tx_sdu_struct() argument143 if (t_sdu) { in free_tx_sdu_struct()144 kfree(t_sdu->buf); in free_tx_sdu_struct()[all …]