Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/gadget/function/
Duvc_configfs.c517 struct uvcg_control_header *target_hdr; in uvcg_control_class_allow_link() local
539 target_hdr = to_uvcg_control_header(target); in uvcg_control_class_allow_link()
540 ++target_hdr->linked; in uvcg_control_class_allow_link()
541 class_array[0] = (struct uvc_descriptor_header *)&target_hdr->desc; in uvcg_control_class_allow_link()
558 struct uvcg_control_header *target_hdr; in uvcg_control_class_drop_link() local
575 target_hdr = to_uvcg_control_header(target); in uvcg_control_class_drop_link()
576 --target_hdr->linked; in uvcg_control_class_drop_link()
1979 struct uvcg_streaming_header *target_hdr; in uvcg_streaming_class_allow_link() local
2001 target_hdr = to_uvcg_streaming_header(target); in uvcg_streaming_class_allow_link()
2002 ret = __uvcg_iter_strm_cls(target_hdr, &size, &count, __uvcg_cnt_strm); in uvcg_streaming_class_allow_link()
[all …]
/Linux-v4.19/fs/cifs/
Dsmb1ops.c289 coalesce_t2(char *second_buf, struct smb_hdr *target_hdr) in coalesce_t2() argument
292 struct smb_t2_rsp *pSMBt = (struct smb_t2_rsp *)target_hdr; in coalesce_t2()
346 byte_count = get_bcc(target_hdr); in coalesce_t2()
353 put_bcc(byte_count, target_hdr); in coalesce_t2()
355 byte_count = be32_to_cpu(target_hdr->smb_buf_length); in coalesce_t2()
363 target_hdr->smb_buf_length = cpu_to_be32(byte_count); in coalesce_t2()