Defined in 2 files as a macro:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/usb/usbip/vhci_sysfs.c detach_store() -> valid_port()

Type Parameter Key Value
PARAM_VALUE 0 pdev_nr 2278765732228108288
PARAM_VALUE 1 rhport 1364979112017072128
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *rhport 0-7[c]
USER_PTR 1 rhport
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/usb/usbip/vhci_sysfs.c valid_args() -> valid_port()

Type Parameter Key Value
PARAM_VALUE 0 pdev_nr 2910230850586632192
PARAM_VALUE 1 rhport 7750429938285760512
DATA_SOURCE 0 pdev_nr $0
DATA_SOURCE 1 rhport $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex