Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/usb/usbip/stub_rx.c stub_rx_pdu() -> usbip_header_correct_endian()

Type Parameter Key Value
PARAM_VALUE 0 pdu 5815721568833740800
PARAM_VALUE 1 send 0
MEM_ZERO 0 pdu
RX_PATH
NOCHECK_CALL

drivers/usb/usbip/vudc_tx.c v_send_ret_submit() -> usbip_header_correct_endian()

Type Parameter Key Value
PARAM_VALUE 0 pdu 8941951654605877248
PARAM_VALUE 0 pdu->base.command 3
PARAM_VALUE 0 pdu->base.devid 0
PARAM_VALUE 0 pdu->base.direction 0
PARAM_VALUE 0 pdu->base.ep 0
PARAM_VALUE 1 send 1
MEM_ZERO 0 pdu
NOCHECK_CALL

drivers/usb/usbip/vudc_tx.c v_send_ret_unlink() -> usbip_header_correct_endian()

Type Parameter Key Value
PARAM_VALUE 0 pdu 1151504516153839616
PARAM_VALUE 0 pdu->base.command 4
PARAM_VALUE 0 pdu->base.devid 0
PARAM_VALUE 0 pdu->base.direction 0
PARAM_VALUE 0 pdu->base.ep 0
PARAM_VALUE 1 send 1
MEM_ZERO 0 pdu
NOCHECK_CALL

drivers/usb/usbip/vhci_tx.c vhci_send_cmd_submit() -> usbip_header_correct_endian()

Type Parameter Key Value
PARAM_VALUE 0 pdu 705318835174363136
PARAM_VALUE 0 pdu->base.command 1
PARAM_VALUE 0 pdu->base.direction 0-1
PARAM_VALUE 0 pdu->base.ep 0-15
PARAM_VALUE 0 pdu->u.cmd_submit.transfer_flags 0-16777215
PARAM_VALUE 1 send 1
MEM_ZERO 0 pdu
NOCHECK_CALL

drivers/usb/usbip/vhci_tx.c vhci_send_cmd_unlink() -> usbip_header_correct_endian()

Type Parameter Key Value
PARAM_VALUE 0 pdu 8206962951326248960
PARAM_VALUE 0 pdu->base.command 2
PARAM_VALUE 0 pdu->base.ep 0
PARAM_VALUE 1 send 1
MEM_ZERO 0 pdu
NOCHECK_CALL

drivers/usb/usbip/vhci_rx.c vhci_rx_pdu() -> usbip_header_correct_endian()

Type Parameter Key Value
PARAM_VALUE 0 pdu 4907355085874601984
PARAM_VALUE 1 send 0
MEM_ZERO 0 pdu
RX_PATH
NOCHECK_CALL

drivers/usb/usbip/stub_tx.c stub_send_ret_submit() -> usbip_header_correct_endian()

Type Parameter Key Value
PARAM_VALUE 0 pdu 2113742023298723840
PARAM_VALUE 0 pdu->base.command 3
PARAM_VALUE 0 pdu->base.devid 0
PARAM_VALUE 0 pdu->base.direction 0
PARAM_VALUE 0 pdu->base.ep 0
PARAM_VALUE 1 send 1
MEM_ZERO 0 pdu
NOCHECK_CALL

drivers/usb/usbip/stub_tx.c stub_send_ret_unlink() -> usbip_header_correct_endian()

Type Parameter Key Value
PARAM_VALUE 0 pdu 7657927050882416640
PARAM_VALUE 0 pdu->base.command 4
PARAM_VALUE 0 pdu->base.devid 0
PARAM_VALUE 0 pdu->base.direction 0
PARAM_VALUE 0 pdu->base.ep 0
PARAM_VALUE 1 send 1
MEM_ZERO 0 pdu
NOCHECK_CALL

drivers/usb/usbip/vudc_rx.c v_rx_pdu() -> usbip_header_correct_endian()

Type Parameter Key Value
PARAM_VALUE 0 pdu 5478923351755513856
PARAM_VALUE 1 send 0
MEM_ZERO 0 pdu
RX_PATH
NOCHECK_CALL