Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 27 files:

Smatch caller information:

drivers/usb/gadget/function/u_ether.c eth_stop() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->lock
LOCK2 flags
HALF_LOCKED2 &net->lock
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct eth_dev)->lock

drivers/usb/gadget/function/u_ether.c eth_stop() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->lock
LOCK2 flags
HALF_LOCKED2 &net->lock
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct eth_dev)->lock

drivers/usb/gadget/function/u_ether.c gether_connect() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->driver_data 1-u64max
PARAM_VALUE 0 ep->enabled 1

drivers/usb/gadget/function/u_ether.c gether_connect() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->driver_data 1-u64max
PARAM_VALUE 0 ep->enabled 1

drivers/usb/gadget/function/u_ether.c gether_disconnect() -> usb_ep_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/u_ether.c gether_disconnect() -> usb_ep_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/f_mass_storage.c do_set_interface() -> usb_ep_disable()

Type Parameter Key Value
NOCHECK_CALL

drivers/usb/gadget/function/f_mass_storage.c do_set_interface() -> usb_ep_disable()

Type Parameter Key Value
NOCHECK_CALL

drivers/usb/gadget/function/f_mass_storage.c fsg_disable() -> usb_ep_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/f_mass_storage.c fsg_disable() -> usb_ep_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/f_rndis.c rndis_disable() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->enabled 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/f_rndis.c rndis_set_alt() -> usb_ep_disable()

Type Parameter Key Value
NOCHECK_CALL

drivers/usb/gadget/legacy/inode.c destroy_ep_files() -> usb_ep_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ep->lock
TYPE_LOCK (struct ep_data)->lock

drivers/usb/gadget/legacy/inode.c ep_release() -> usb_ep_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &data->lock
TYPE_LOCK (struct ep_data)->lock

drivers/usb/gadget/legacy/raw_gadget.c dev_free() -> usb_ep_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/legacy/raw_gadget.c raw_ioctl_ep_disable() -> usb_ep_disable()

Type Parameter Key Value
NOCHECK_CALL

drivers/usb/gadget/legacy/raw_gadget.c raw_ioctl_ep_enable() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->claimed 0
PARAM_VALUE 0 ep->desc 4096-ptr_max
PARAM_VALUE 0 ep->ops 4096-ptr_max
PARAM_VALUE 0 ep->ops->alloc_request 4096-ptr_max
BUF_SIZE 0 ep->desc 9
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
USER_DATA 0 ep->desc->bDescriptorType 0-255
USER_DATA 0 ep->desc->bEndpointAddress 0-255
USER_DATA 0 ep->desc->bInterval 0-255
USER_DATA 0 ep->desc->bLength 0-255
USER_DATA 0 ep->desc->bRefresh 0-255
USER_DATA 0 ep->desc->bSynchAddress 0-255
USER_DATA 0 ep->desc->bmAttributes 0-255
USER_DATA 0 ep->desc->wMaxPacketSize 0-u16max
USER_PTR 0 ep->desc
LOCK2 &dev->lock
LOCK2 flags
TYPE_LOCK (struct raw_dev)->lock

drivers/usb/chipidea/udc.c _gadget_stop_activity() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
CAPPED_DATA 0 &ep->ep_list 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &udc->connect_lock

drivers/usb/gadget/function/f_loopback.c enable_loopback() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->comp_desc 0,4096-ptr_max
PARAM_VALUE 0 ep->comp_desc->bDescriptorType 48
PARAM_VALUE 0 ep->desc 4096-ptr_max
PARAM_VALUE 0 ep->driver_data 4096-ptr_max
PARAM_VALUE 0 ep->maxpacket 0-2047
CAPPED_DATA 0 ep->address 1
NOCHECK_CALL

drivers/usb/gadget/function/f_loopback.c enable_loopback() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->comp_desc 0,4096-ptr_max
PARAM_VALUE 0 ep->comp_desc->bDescriptorType 48
PARAM_VALUE 0 ep->desc 4096-ptr_max
PARAM_VALUE 0 ep->driver_data 4096-ptr_max
PARAM_VALUE 0 ep->maxpacket 0-2047
CAPPED_DATA 0 ep->address 1
NOCHECK_CALL

drivers/usb/gadget/function/f_phonet.c __pn_reset() -> usb_ep_disable()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &port->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct phonet_port)->lock

drivers/usb/gadget/function/f_phonet.c __pn_reset() -> usb_ep_disable()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &port->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct phonet_port)->lock

drivers/usb/gadget/function/f_ecm.c ecm_disable() -> usb_ep_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/f_ecm.c ecm_set_alt() -> usb_ep_disable()

Type Parameter Key Value
NOCHECK_CALL

drivers/usb/gadget/function/f_printer.c printer_reset_interface() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->desc 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/f_printer.c printer_reset_interface() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->desc 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/f_printer.c printer_soft_reset() -> usb_ep_disable()

Type Parameter Key Value

drivers/usb/gadget/function/f_printer.c printer_soft_reset() -> usb_ep_disable()

Type Parameter Key Value

drivers/usb/gadget/function/f_printer.c set_printer_interface() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->desc 3604546295599771648,7274583725419487232,7604582477574479872
PARAM_VALUE 0 ep->driver_data 4096-ptr_max

drivers/usb/gadget/function/f_printer.c set_printer_interface() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->desc 1147619764736618496,5412955438554107904,8398072537970405376
PARAM_VALUE 0 ep->driver_data 4096-ptr_max

drivers/usb/gadget/function/u_audio.c free_ep() -> usb_ep_disable()

Type Parameter Key Value
DATA_SOURCE 0 ep $1
RX_PATH
TASK_NOT_RUNNING

drivers/usb/gadget/function/u_audio.c free_ep_fback() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 1-u64max
DATA_SOURCE 0 ep $1
RX_PATH
TASK_NOT_RUNNING

drivers/usb/gadget/function/f_uac1.c f_audio_disable() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/f_uac1.c f_audio_set_alt() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 1-u64max
NOCHECK_CALL

drivers/usb/gadget/function/f_uac2.c afunc_disable() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/f_uac2.c afunc_set_alt() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 1-u64max
NOCHECK_CALL

drivers/usb/gadget/function/f_tcm.c bot_cleanup_old_alt() -> usb_ep_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/f_tcm.c bot_cleanup_old_alt() -> usb_ep_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/f_tcm.c bot_set_alt() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/usb/gadget/function/f_tcm.c bot_set_alt() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->ops 4096-ptr_max
PARAM_VALUE 0 ep->ops->alloc_request 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/usb/gadget/function/f_tcm.c uasp_cleanup_old_alt() -> usb_ep_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/f_tcm.c uasp_cleanup_old_alt() -> usb_ep_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/f_tcm.c uasp_cleanup_old_alt() -> usb_ep_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/f_tcm.c uasp_cleanup_old_alt() -> usb_ep_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/f_tcm.c uasp_set_alt() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/usb/gadget/function/f_tcm.c uasp_set_alt() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/usb/gadget/function/f_tcm.c uasp_set_alt() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/usb/gadget/function/f_tcm.c uasp_set_alt() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->ops 4096-ptr_max
PARAM_VALUE 0 ep->ops->alloc_request 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/usb/gadget/function/f_acm.c acm_disable() -> usb_ep_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/f_acm.c acm_set_alt() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->enabled 1
NOCHECK_CALL

drivers/usb/gadget/function/f_ncm.c ncm_disable() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->enabled 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/f_ncm.c ncm_set_alt() -> usb_ep_disable()

Type Parameter Key Value
NOCHECK_CALL

drivers/usb/gadget/function/f_hid.c hidg_disable() -> usb_ep_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/f_hid.c hidg_disable() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/f_hid.c hidg_set_alt() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 1-u64max
NOCHECK_CALL

drivers/usb/gadget/function/f_hid.c hidg_set_alt() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 1-u64max
NOCHECK_CALL

drivers/usb/gadget/function/f_hid.c hidg_set_alt() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->comp_desc 0,4096-ptr_max
PARAM_VALUE 0 ep->comp_desc->bDescriptorType 48
PARAM_VALUE 0 ep->desc 4096-ptr_max
PARAM_VALUE 0 ep->driver_data 4096-ptr_max
PARAM_VALUE 0 ep->maxpacket 0-2047
PARAM_VALUE 0 ep->ops 4096-ptr_max
PARAM_VALUE 0 ep->ops->alloc_request 4096-ptr_max
CAPPED_DATA 0 ep->address 1
NOCHECK_CALL

drivers/usb/gadget/function/f_hid.c hidg_set_alt() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->comp_desc 0,4096-ptr_max
PARAM_VALUE 0 ep->comp_desc->bDescriptorType 48
PARAM_VALUE 0 ep->desc 4096-ptr_max
PARAM_VALUE 0 ep->driver_data 4096-ptr_max
PARAM_VALUE 0 ep->maxpacket 0-2047
PARAM_VALUE 0 ep->ops 4096-ptr_max
PARAM_VALUE 0 ep->ops->alloc_request 4096-ptr_max
PARAM_VALUE 0 ep->ops->free_request 4096-ptr_max
CAPPED_DATA 0 ep->address 1
NOCHECK_CALL

drivers/usb/gadget/function/f_midi.c f_midi_disable() -> usb_ep_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/f_midi.c f_midi_disable() -> usb_ep_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/f_midi.c f_midi_start_ep() -> usb_ep_disable()

Type Parameter Key Value
DATA_SOURCE 0 ep $2
NOCHECK_CALL

drivers/usb/gadget/function/u_serial.c gserial_connect() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->driver_data 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/u_serial.c gserial_disconnect() -> usb_ep_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/u_serial.c gserial_disconnect() -> usb_ep_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/f_fs.c ffs_func_eps_disable() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 1-u64max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &func->ffs->eps_lock
LOCK2 flags
TYPE_LOCK (struct ffs_data)->eps_lock

drivers/usb/gadget/function/f_uvc.c uvc_function_disable() -> usb_ep_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/f_uvc.c uvc_function_disable() -> usb_ep_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/function/f_uvc.c uvc_function_set_alt() -> usb_ep_disable()

Type Parameter Key Value
NOCHECK_CALL

drivers/usb/gadget/function/f_uvc.c uvc_function_set_alt() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 1-u64max
NOCHECK_CALL

drivers/usb/gadget/function/f_uvc.c uvc_function_setup_continue() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 1-u64max
NOCHECK_CALL
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/usb/gadget/function/f_sourcesink.c disable_ep() -> usb_ep_disable()

Type Parameter Key Value
DATA_SOURCE 0 ep $1
RX_PATH
TASK_NOT_RUNNING

drivers/usb/gadget/function/f_sourcesink.c enable_source_sink() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->comp_desc->bDescriptorType 48
NOCHECK_CALL

drivers/usb/gadget/function/f_sourcesink.c enable_source_sink() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->comp_desc->bDescriptorType 48
NOCHECK_CALL

drivers/usb/gadget/function/f_sourcesink.c enable_source_sink() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->comp_desc->bDescriptorType 48
NOCHECK_CALL

drivers/usb/gadget/function/f_sourcesink.c enable_source_sink() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->comp_desc 0,4096-ptr_max
PARAM_VALUE 0 ep->comp_desc->bDescriptorType 48
PARAM_VALUE 0 ep->desc 4096-ptr_max
PARAM_VALUE 0 ep->driver_data 4096-ptr_max
PARAM_VALUE 0 ep->maxpacket 0-2047
CAPPED_DATA 0 ep->address 1
NOCHECK_CALL

net/9p/trans_usbg.c disable_ep() -> usb_ep_disable()

Type Parameter Key Value
DATA_SOURCE 0 ep $1
RX_PATH
TASK_NOT_RUNNING

net/9p/trans_usbg.c enable_usb9pfs() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->comp_desc 0,4096-ptr_max
PARAM_VALUE 0 ep->comp_desc->bDescriptorType 48
PARAM_VALUE 0 ep->desc 4096-ptr_max
PARAM_VALUE 0 ep->driver_data 4096-ptr_max
PARAM_VALUE 0 ep->enabled 1
PARAM_VALUE 0 ep->maxpacket 0-2047
CAPPED_DATA 0 ep->address 1
NOCHECK_CALL

net/9p/trans_usbg.c enable_usb9pfs() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->comp_desc 0,4096-ptr_max
PARAM_VALUE 0 ep->comp_desc->bDescriptorType 48
PARAM_VALUE 0 ep->desc 4096-ptr_max
PARAM_VALUE 0 ep->driver_data 4096-ptr_max
PARAM_VALUE 0 ep->enabled 1
PARAM_VALUE 0 ep->maxpacket 0-2047
PARAM_VALUE 0 ep->ops 4096-ptr_max
PARAM_VALUE 0 ep->ops->alloc_request 4096-ptr_max
CAPPED_DATA 0 ep->address 1
NOCHECK_CALL

drivers/usb/gadget/function/f_midi2.c f_midi2_start_ep() -> usb_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 1-u64max
NOCHECK_CALL