Home
last modified time | relevance | path

Searched refs:context_array (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/can/usb/
H A Ducan.c303 struct ucan_urb_context *context_array; member
316 if (!up->context_array) in ucan_release_context_array()
322 kfree(up->context_array); in ucan_release_context_array()
323 up->context_array = NULL; in ucan_release_context_array()
333 up->context_array = kcalloc(up->device_info.tx_fifo, in ucan_alloc_context_array()
334 sizeof(*up->context_array), in ucan_alloc_context_array()
336 if (!up->context_array) { in ucan_alloc_context_array()
343 up->context_array[i].allocated = false; in ucan_alloc_context_array()
344 up->context_array[i].up = up; in ucan_alloc_context_array()
359 if (WARN_ON_ONCE(!up->context_array)) in ucan_alloc_context()
[all …]