Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/usb/gadget/function/
Duvc_configfs.c537 struct uvcg_control_header *target_hdr; in uvcg_control_class_allow_link() local
559 target_hdr = to_uvcg_control_header(target); in uvcg_control_class_allow_link()
560 ++target_hdr->linked; in uvcg_control_class_allow_link()
561 class_array[0] = (struct uvc_descriptor_header *)&target_hdr->desc; in uvcg_control_class_allow_link()
578 struct uvcg_control_header *target_hdr; in uvcg_control_class_drop_link() local
600 target_hdr = to_uvcg_control_header(target); in uvcg_control_class_drop_link()
601 --target_hdr->linked; in uvcg_control_class_drop_link()
2028 struct uvcg_streaming_header *target_hdr; in uvcg_streaming_class_allow_link() local
2050 target_hdr = to_uvcg_streaming_header(target); in uvcg_streaming_class_allow_link()
2051 ret = __uvcg_iter_strm_cls(target_hdr, &size, &count, __uvcg_cnt_strm); in uvcg_streaming_class_allow_link()
[all …]
/linux-4.4.14/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()