Home
last modified time | relevance | path

Searched refs:target_hdr (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/usb/gadget/function/
Duvc_configfs.c576 struct uvcg_control_header *target_hdr; in uvcg_control_class_allow_link() local
598 target_hdr = to_uvcg_control_header(target); in uvcg_control_class_allow_link()
599 ++target_hdr->linked; in uvcg_control_class_allow_link()
600 class_array[0] = (struct uvc_descriptor_header *)&target_hdr->desc; in uvcg_control_class_allow_link()
617 struct uvcg_control_header *target_hdr; in uvcg_control_class_drop_link() local
639 target_hdr = to_uvcg_control_header(target); in uvcg_control_class_drop_link()
640 --target_hdr->linked; in uvcg_control_class_drop_link()
2122 struct uvcg_streaming_header *target_hdr; in uvcg_streaming_class_allow_link() local
2144 target_hdr = to_uvcg_streaming_header(target); in uvcg_streaming_class_allow_link()
2145 ret = __uvcg_iter_strm_cls(target_hdr, &size, &count, __uvcg_cnt_strm); in uvcg_streaming_class_allow_link()
[all …]
/linux-4.1.27/fs/cifs/
Dsmb1ops.c286 coalesce_t2(char *second_buf, struct smb_hdr *target_hdr) in coalesce_t2() argument
289 struct smb_t2_rsp *pSMBt = (struct smb_t2_rsp *)target_hdr; in coalesce_t2()
343 byte_count = get_bcc(target_hdr); in coalesce_t2()
350 put_bcc(byte_count, target_hdr); in coalesce_t2()
352 byte_count = be32_to_cpu(target_hdr->smb_buf_length); in coalesce_t2()
360 target_hdr->smb_buf_length = cpu_to_be32(byte_count); in coalesce_t2()