Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/usb/gadget/function/
Duvc_configfs.c574 struct uvcg_control_header *target_hdr; in uvcg_control_class_allow_link() local
596 target_hdr = to_uvcg_control_header(target); in uvcg_control_class_allow_link()
597 ++target_hdr->linked; in uvcg_control_class_allow_link()
598 class_array[0] = (struct uvc_descriptor_header *)&target_hdr->desc; in uvcg_control_class_allow_link()
616 struct uvcg_control_header *target_hdr; in uvcg_control_class_drop_link() local
633 target_hdr = to_uvcg_control_header(target); in uvcg_control_class_drop_link()
634 --target_hdr->linked; in uvcg_control_class_drop_link()
2085 struct uvcg_streaming_header *target_hdr; in uvcg_streaming_class_allow_link() local
2107 target_hdr = to_uvcg_streaming_header(target); in uvcg_streaming_class_allow_link()
2108 ret = __uvcg_iter_strm_cls(target_hdr, &size, &count, __uvcg_cnt_strm); in uvcg_streaming_class_allow_link()
[all …]
/linux-5.19.10/fs/cifs/
Dsmb1ops.c287 coalesce_t2(char *second_buf, struct smb_hdr *target_hdr) in coalesce_t2() argument
290 struct smb_t2_rsp *pSMBt = (struct smb_t2_rsp *)target_hdr; in coalesce_t2()
344 byte_count = get_bcc(target_hdr); in coalesce_t2()
351 put_bcc(byte_count, target_hdr); in coalesce_t2()
353 byte_count = be32_to_cpu(target_hdr->smb_buf_length); in coalesce_t2()
361 target_hdr->smb_buf_length = cpu_to_be32(byte_count); in coalesce_t2()