Searched refs:t_sdu (Results 1 – 1 of 1) sorted by relevance
126 struct usb_tx_sdu *t_sdu; in alloc_tx_sdu_struct() local128 t_sdu = kzalloc(sizeof(struct usb_tx_sdu), GFP_KERNEL); in alloc_tx_sdu_struct()129 if (!t_sdu) in alloc_tx_sdu_struct()132 t_sdu->buf = kmalloc(SDU_BUF_SIZE, GFP_KERNEL); in alloc_tx_sdu_struct()133 if (!t_sdu->buf) { in alloc_tx_sdu_struct()134 kfree(t_sdu); in alloc_tx_sdu_struct()138 return t_sdu; in alloc_tx_sdu_struct()150 static void free_tx_sdu_struct(struct usb_tx_sdu *t_sdu) in free_tx_sdu_struct() argument152 if (t_sdu) { in free_tx_sdu_struct()153 kfree(t_sdu->buf); in free_tx_sdu_struct()[all …]