Lines Matching refs:datalen
36 u32 datalen; member
37 u8 data[] __counted_by(datalen);
288 emsg.datalen = be32_to_cpu(emsg_be->datalen); in brcmf_fweh_event_worker()
297 min_t(u32, emsg.datalen, 64), in brcmf_fweh_event_worker()
298 "event payload, len=%d\n", emsg.datalen); in brcmf_fweh_event_worker()
478 u32 datalen; in brcmf_fweh_process_event() local
482 datalen = get_unaligned_be32(&event_packet->msg.datalen); in brcmf_fweh_process_event()
491 if (datalen > BRCMF_DCMD_MAXLEN || in brcmf_fweh_process_event()
492 datalen + sizeof(*event_packet) > packet_len) in brcmf_fweh_process_event()
495 event = kzalloc(struct_size(event, data, datalen), gfp); in brcmf_fweh_process_event()
500 event->datalen = datalen; in brcmf_fweh_process_event()
505 memcpy(event->data, data, datalen); in brcmf_fweh_process_event()