Searched refs:buf_len (Results 1 – 3 of 3) sorted by relevance
97 const unsigned char *buf, unsigned int buf_len) in bcd2000_midi_handle_input() argument106 bcd2000_dump_buffer(PREFIX "received from device: ", buf, buf_len); in bcd2000_midi_handle_input()108 if (buf_len < 2) in bcd2000_midi_handle_input()117 tocopy = min(payload_length, buf_len-1); in bcd2000_midi_handle_input()
1538 size_t buf_len, name_len; in snd_ctl_elem_init_enum_names() local1542 buf_len = ue->info.value.enumerated.names_length; in snd_ctl_elem_init_enum_names()1543 if (buf_len > 64 * 1024) in snd_ctl_elem_init_enum_names()1546 if (check_user_elem_overflow(ue->card, buf_len)) in snd_ctl_elem_init_enum_names()1548 names = vmemdup_user((const void __user *)user_ptrval, buf_len); in snd_ctl_elem_init_enum_names()1555 name_len = strnlen(p, buf_len); in snd_ctl_elem_init_enum_names()1556 if (name_len == 0 || name_len >= 64 || name_len == buf_len) { in snd_ctl_elem_init_enum_names()1561 buf_len -= name_len + 1; in snd_ctl_elem_init_enum_names()
245 u32 buf_len:20; member