Lines Matching defs:header
307 struct snd_ctl_tlv header;
310 * The beginning of bytes data contains a header from where
314 if (copy_from_user(&header, tlvd, sizeof(struct snd_ctl_tlv)))
318 if (header.length + sizeof(struct snd_ctl_tlv) > size) {
320 "Inconsistent TLV, data %d + header %zu > %d\n",
321 header.length, sizeof(struct snd_ctl_tlv), size);
326 if (header.length > scontrol->max_size) {
329 header.length, scontrol->max_size);
333 /* Verify the ABI header first */
358 /* Copy the whole binary data which includes the ABI header and the payload */
359 if (copy_from_user(data, tlvd->tlv, header.length)) {
378 struct snd_ctl_tlv header;
382 * Decrement the limit by ext bytes header size to ensure the user space
415 header.numid = scontrol->comp_id;
416 header.length = data_size;
418 if (copy_to_user(tlvd, &header, sizeof(struct snd_ctl_tlv)))