Defined in 2 files as a prototype:

Defined in 130 files as a member:

Defined in 4 files as a function:

Referenced in 1218 files:

Smatch caller information:

drivers/usb/gadget/udc/snps_udc_core.c amd5536_udc_stop() -> shutdown()

Type Parameter Key Value
PARAM_VALUE 0 pdev 4096-ptr_max
PARAM_VALUE 0 pdev->regs 4096-ptr_max
PARAM_VALUE 1 driver 0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &udc->connect_lock
LOCK2 flags
LOCK2 0 &pdev->lock
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &g->dev.mutex
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct udc)->lock
TYPE_LOCK (struct usb_udc)->connect_lock

drivers/pci/pci-driver.c pci_device_shutdown() -> (struct pci_driver)->shutdown()

Type Parameter Key Value
PARAM_VALUE 0 pdev 4096-ptr_max
PARAM_VALUE 0 pdev->driver 4096-ptr_max
PARAM_VALUE 0 pdev->driver->shutdown 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->mutex
HALF_LOCKED2 &parent->mutex
HALF_LOCKED2 global &system_transition_mutex
TYPE_LOCK (struct device)->mutex

Smatch assignments to (struct tty_operations)->shutdown:

drivers/char/ttyprintk.c (null)() -> (struct tty_operations)->shutdown [0]

drivers/tty/serial/serial_core.c (null)() -> (struct tty_operations)->shutdown [0]

drivers/usb/serial/usb-serial.c (null)() -> (struct tty_operations)->shutdown [0]

drivers/tty/nozomi.c (null)() -> (struct tty_operations)->shutdown [0]

drivers/tty/n_gsm.c (null)() -> (struct tty_operations)->shutdown [0]

drivers/staging/greybus/uart.c (null)() -> (struct tty_operations)->shutdown [0]

drivers/tty/goldfish.c (null)() -> (struct tty_operations)->shutdown [0]

drivers/tty/hvc/hvc_console.c (null)() -> (struct tty_operations)->shutdown [0]

drivers/usb/host/xhci-dbgtty.c (null)() -> (struct tty_operations)->shutdown [0]

drivers/tty/rpmsg_tty.c (null)() -> (struct tty_operations)->shutdown [0]

drivers/tty/moxa.c (null)() -> (struct tty_operations)->shutdown [0]

drivers/ipack/devices/ipoctal.c (null)() -> (struct tty_operations)->shutdown [0,3518621193109893120]

drivers/tty/pty.c (null)() -> (struct tty_operations)->shutdown [0]

drivers/tty/vt/vt.c (null)() -> (struct tty_operations)->shutdown [5469287042401259520]

drivers/misc/bcm-vk/bcm_vk_tty.c (null)() -> (struct tty_operations)->shutdown [0]

net/bluetooth/rfcomm/tty.c (null)() -> (struct tty_operations)->shutdown [0]

drivers/usb/serial/console.c (null)() -> (struct tty_operations)->shutdown [0]

drivers/usb/class/cdc-acm.c (null)() -> (struct tty_operations)->shutdown [0]

drivers/tty/ttynull.c (null)() -> (struct tty_operations)->shutdown [0]

drivers/usb/gadget/function/u_serial.c (null)() -> (struct tty_operations)->shutdown [0]

drivers/tty/mxser.c (null)() -> (struct tty_operations)->shutdown [0]

drivers/net/usb/hso.c (null)() -> (struct tty_operations)->shutdown [0]

drivers/mmc/core/sdio_uart.c (null)() -> (struct tty_operations)->shutdown [0]