Lines Matching refs:kfifo
242 struct kfifo kfifo; member
431 outs = kfifo_out(&eq->kfifo, pd->eh, in scmi_process_event_header()
437 kfifo_reset_out(&eq->kfifo); in scmi_process_event_header()
470 outs = kfifo_out(&eq->kfifo, pd->eh->payld, pd->eh->payld_sz); in scmi_process_event_payload()
479 kfifo_reset_out(&eq->kfifo); in scmi_process_event_payload()
597 if (kfifo_avail(&r_evt->proto->equeue.kfifo) < sizeof(eh) + len) { in scmi_notify()
612 kfifo_in(&r_evt->proto->equeue.kfifo, &eh, sizeof(eh)); in scmi_notify()
613 kfifo_in(&r_evt->proto->equeue.kfifo, buf, len); in scmi_notify()
636 static void scmi_kfifo_free(void *kfifo) in scmi_kfifo_free() argument
638 kfifo_free((struct kfifo *)kfifo); in scmi_kfifo_free()
656 if (kfifo_alloc(&equeue->kfifo, sz, GFP_KERNEL)) in scmi_initialize_events_queue()
659 equeue->sz = kfifo_size(&equeue->kfifo); in scmi_initialize_events_queue()
662 &equeue->kfifo); in scmi_initialize_events_queue()