Searched refs:t_sdu (Results 1 – 1 of 1) sorted by relevance
113 struct usb_tx_sdu *t_sdu; in alloc_tx_sdu_struct() local115 t_sdu = kzalloc(sizeof(*t_sdu), GFP_KERNEL); in alloc_tx_sdu_struct()116 if (!t_sdu) in alloc_tx_sdu_struct()119 t_sdu->buf = kmalloc(SDU_BUF_SIZE, GFP_KERNEL); in alloc_tx_sdu_struct()120 if (!t_sdu->buf) { in alloc_tx_sdu_struct()121 kfree(t_sdu); in alloc_tx_sdu_struct()125 return t_sdu; in alloc_tx_sdu_struct()137 static void free_tx_sdu_struct(struct usb_tx_sdu *t_sdu) in free_tx_sdu_struct() argument139 if (t_sdu) { in free_tx_sdu_struct()140 kfree(t_sdu->buf); in free_tx_sdu_struct()[all …]