Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 19 files:

Smatch caller information:

sound/usb/card.c snd_usb_create_stream() -> usb_driver_claim_interface()

Type Parameter Key Value
PARAM_VALUE 0 driver 3308584548048875520
PARAM_VALUE 1 iface 4096-ptr_max
PARAM_VALUE 2 data (-1)
DATA_SOURCE 1 iface r usb_ifnum_to_if
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

sound/usb/card.c snd_usb_create_stream() -> usb_driver_claim_interface()

Type Parameter Key Value
PARAM_VALUE 0 driver 3308584548048875520
PARAM_VALUE 1 iface 4096-ptr_max
PARAM_VALUE 1 iface->altsetting 4096-ptr_max
PARAM_VALUE 1 iface->dev.driver 0
PARAM_VALUE 2 data (-1)
DATA_SOURCE 1 iface r usb_ifnum_to_if
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/usb/core/devio.c claimintf() -> usb_driver_claim_interface()

Type Parameter Key Value
PARAM_VALUE 0 driver 3209413791313743872
PARAM_VALUE 1 iface 4096-ptr_max
PARAM_VALUE 1 iface->dev.kobj.uevent_suppress 1
PARAM_VALUE 2 data 4096-ptr_max
BUF_SIZE 2 data s32min-(-2),1-s32max
DATA_SOURCE 1 iface r usb_ifnum_to_if
DATA_SOURCE 2 data $0
LOCK2 &dev->dev.mutex
TYPE_LOCK (struct device)->mutex

drivers/input/misc/ims-pcu.c ims_pcu_probe() -> usb_driver_claim_interface()

Type Parameter Key Value
PARAM_VALUE 0 driver 2104194132140810240
PARAM_VALUE 1 iface 4096-ptr_max
PARAM_VALUE 2 data 4096-ptr_max
BUF_SIZE 2 data 1784
DATA_SOURCE 2 data r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING

drivers/usb/serial/usb-serial.c usb_serial_claim_interface() -> usb_driver_claim_interface()

Type Parameter Key Value
PARAM_VALUE 1 iface 4096-ptr_max
PARAM_VALUE 2 data 4096-ptr_max
BUF_SIZE 2 data 344
DATA_SOURCE 1 iface $1
DATA_SOURCE 2 data $0
RX_PATH
TASK_NOT_RUNNING

drivers/media/usb/uvc/uvc_driver.c uvc_parse_streaming() -> usb_driver_claim_interface()

Type Parameter Key Value
PARAM_VALUE 0 driver 2704232698972008448
PARAM_VALUE 1 iface 4096-ptr_max
PARAM_VALUE 1 iface->altsetting 4096-ptr_max
PARAM_VALUE 1 iface->cur_altsetting 4096-ptr_max
PARAM_VALUE 1 iface->cur_altsetting->desc.bInterfaceSubClass 2
PARAM_VALUE 1 iface->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 1 iface->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 2 data 4096-ptr_max
DATA_SOURCE 1 iface $1
DATA_SOURCE 2 data $0
RX_PATH
TASK_NOT_RUNNING

sound/usb/quirks.c create_composite_quirk() -> usb_driver_claim_interface()

Type Parameter Key Value
PARAM_VALUE 0 driver->reset_resume 0,4096-ptr_max
PARAM_VALUE 0 driver->resume 0,4096-ptr_max
PARAM_VALUE 0 driver->shutdown 0,3050277014165180416,3422327667313766400
PARAM_VALUE 0 driver->suspend 0,4096-ptr_max
PARAM_VALUE 1 iface 4096-ptr_max
PARAM_VALUE 1 iface->dev.driver 0
PARAM_VALUE 1 iface->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 2 data (-1)
DATA_SOURCE 0 driver $2
DATA_SOURCE 1 iface r usb_ifnum_to_if
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/bluetooth/btusb.c btusb_mtk_claim_iso_intf() -> usb_driver_claim_interface()

Type Parameter Key Value
PARAM_VALUE 0 driver 7782911462903402496
PARAM_VALUE 1 iface 1-u64max
PARAM_VALUE 2 data 4096-ptr_max
BUF_SIZE 2 data s32min-(-2),1-s32max
DATA_SOURCE 2 data $0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 data unit_byte
LOCK2 &hdev->req_lock
LOCK2 1 &iface->dev.mutex
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct hci_dev)->req_lock

drivers/bluetooth/btusb.c btusb_probe() -> usb_driver_claim_interface()

Type Parameter Key Value
PARAM_VALUE 0 driver 7782911462903402496
PARAM_VALUE 1 iface 4096-ptr_max
PARAM_VALUE 2 data 4096-ptr_max
BUF_SIZE 2 data 2128
DATA_SOURCE 1 iface r usb_ifnum_to_if
DATA_SOURCE 2 data r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING

drivers/bluetooth/btusb.c btusb_probe() -> usb_driver_claim_interface()

Type Parameter Key Value
PARAM_VALUE 0 driver 7782911462903402496
PARAM_VALUE 1 iface 1-u64max
PARAM_VALUE 2 data 4096-ptr_max
BUF_SIZE 2 data 2128
DATA_SOURCE 2 data r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING

drivers/usb/atm/ueagle-atm.c claim_interface() -> usb_driver_claim_interface()

Type Parameter Key Value
PARAM_VALUE 0 driver 6493663760641863680
PARAM_VALUE 1 iface 4096-ptr_max
PARAM_VALUE 2 data 4096-ptr_max
BUF_SIZE 2 data 1128-s32max
DATA_SOURCE 1 iface r usb_ifnum_to_if
DATA_SOURCE 2 data $1
RX_PATH
TASK_NOT_RUNNING

drivers/input/misc/ati_remote2.c ati_remote2_probe() -> usb_driver_claim_interface()

Type Parameter Key Value
PARAM_VALUE 0 driver 7252948161242890240
PARAM_VALUE 1 iface 4096-ptr_max
PARAM_VALUE 2 data 4096-ptr_max
BUF_SIZE 2 data 712
DATA_SOURCE 2 data r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING

sound/usb/line6/podhd.c podhd_init() -> usb_driver_claim_interface()

Type Parameter Key Value
PARAM_VALUE 0 driver 3769600836468883456
PARAM_VALUE 1 iface 4096-ptr_max
PARAM_VALUE 2 data 0
DATA_SOURCE 1 iface r usb_ifnum_to_if
RX_PATH
TASK_NOT_RUNNING

drivers/usb/class/cdc-acm.c acm_probe() -> usb_driver_claim_interface()

Type Parameter Key Value
PARAM_VALUE 0 driver 8671891654675021824
PARAM_VALUE 1 iface 4096-ptr_max
PARAM_VALUE 1 iface->cur_altsetting 4096-ptr_max
PARAM_VALUE 1 iface->cur_altsetting->desc.bNumEndpoints 2-255
PARAM_VALUE 1 iface->cur_altsetting->endpoint 4096-ptr_max
PARAM_VALUE 2 data 4096-ptr_max
BUF_SIZE 2 data 3552
CAPPED_DATA 1 iface 1
CAPPED_DATA 1 iface->cur_altsetting->desc.bNumEndpoints 1
DATA_SOURCE 2 data r _kzalloc_noprof
FUZZY_MAX 1 iface->cur_altsetting->desc.bNumEndpoints 2
RX_PATH
TASK_NOT_RUNNING

drivers/usb/atm/xusbatm.c xusbatm_capture_intf() -> usb_driver_claim_interface()

Type Parameter Key Value
PARAM_VALUE 0 driver 5087139266055446528
PARAM_VALUE 1 iface 4096-ptr_max
PARAM_VALUE 1 iface->altsetting 4096-ptr_max
PARAM_VALUE 1 iface->num_altsetting 1-u32max
PARAM_VALUE 2 data 4096-ptr_max
BUF_SIZE 2 data 1128-s32max
CAPPED_DATA 1 iface 1
CAPPED_DATA 1 iface->num_altsetting 1
DATA_SOURCE 1 iface $2
DATA_SOURCE 2 data $0
RX_PATH
TASK_NOT_RUNNING

drivers/usb/atm/speedtch.c speedtch_bind() -> usb_driver_claim_interface()

Type Parameter Key Value
PARAM_VALUE 0 driver 5240276999090245632
PARAM_VALUE 1 iface 4096-ptr_max
PARAM_VALUE 1 iface->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 2 data 4096-ptr_max
BUF_SIZE 2 data 1128-s32max
DATA_SOURCE 1 iface r usb_ifnum_to_if
DATA_SOURCE 2 data $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/usb/qmi_wwan.c qmi_wwan_bind() -> usb_driver_claim_interface()

Type Parameter Key Value
PARAM_VALUE 1 iface 4096-ptr_max
PARAM_VALUE 2 data 4096-ptr_max
DATA_SOURCE 0 driver r driver_of
DATA_SOURCE 1 iface r usb_ifnum_to_if
DATA_SOURCE 2 data $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/usb/cdc-phonet.c usbpn_probe() -> usb_driver_claim_interface()

Type Parameter Key Value
PARAM_VALUE 0 driver 7651591665779048448
PARAM_VALUE 1 iface 4096-ptr_max
PARAM_VALUE 1 iface->altsetting 4096-ptr_max
PARAM_VALUE 1 iface->num_altsetting 2
PARAM_VALUE 2 data 4096-ptr_max
DATA_SOURCE 1 iface r usb_ifnum_to_if
RX_PATH
TASK_NOT_RUNNING

drivers/net/usb/cdc_ncm.c cdc_ncm_bind_common() -> usb_driver_claim_interface()

Type Parameter Key Value
PARAM_VALUE 1 iface 1-u64max
PARAM_VALUE 2 data 4096-ptr_max
DATA_SOURCE 0 driver r driver_of
DATA_SOURCE 2 data $0
RX_PATH
TASK_NOT_RUNNING

sound/usb/misc/ua101.c ua101_probe() -> usb_driver_claim_interface()

Type Parameter Key Value
PARAM_VALUE 0 driver 2259010567264591872
PARAM_VALUE 1 iface 4096-ptr_max
PARAM_VALUE 2 data 4096-ptr_max
BUF_SIZE 2 data 72,104,256,376,448,2728,3960
RX_PATH
TASK_NOT_RUNNING
UNITS 2 data unit_byte
LOCK2 _T->lock