Lines Matching refs:up
496 struct uhci_debug *up;
499 up = kmalloc(sizeof(*up), GFP_KERNEL);
500 if (!up)
503 up->data = kmalloc(MAX_OUTPUT, GFP_KERNEL);
504 if (!up->data) {
505 kfree(up);
509 up->size = 0;
512 up->size = uhci_sprint_schedule(uhci, up->data, MAX_OUTPUT);
515 file->private_data = up;
522 struct uhci_debug *up;
525 up = file->private_data;
536 if (new < 0 || new > up->size)
545 struct uhci_debug *up = file->private_data;
546 return simple_read_from_buffer(buf, nbytes, ppos, up->data, up->size);
551 struct uhci_debug *up = file->private_data;
553 kfree(up->data);
554 kfree(up);