Defined in 1 files as a prototype:
Defined in 9 files as a member:
- drivers/hid/hid-ft260.c, line 245 (as a member)
- drivers/hwmon/pmbus/adm1266.c, line 66 (as a member)
- drivers/input/misc/ims-pcu.c, line 93 (as a member)
- drivers/input/touchscreen/st1232.c, line 67 (as a member)
- drivers/tty/n_tty.c, line 106 (as a member)
- drivers/usb/typec/ucsi/ucsi_glink.c, line 81 (as a member)
- include/linux/iio/iio-opaque.h, line 76 (as a member)
- include/linux/mtd/platnand.h, line 60 (as a member)
- include/linux/mtd/rawnand.h, line 1170 (as a member)
Defined in 2 files as a function:
Referenced in 68 files:
- arch/arm/mach-orion5x/ts78xx-setup.c, line 244
- drivers/gpu/drm/amd/display/dc/inc/link_service.h, line 183
- drivers/gpu/drm/amd/display/dc/link/protocols/link_ddc.c
- drivers/gpu/drm/amd/display/dc/link/protocols/link_ddc.h
- drivers/gpu/drm/bridge/ite-it6505.c
- drivers/hid/hid-cp2112.c
- drivers/hid/hid-ft260.c
- drivers/hid/intel-thc-hid/intel-quickspi/quickspi-protocol.c
- drivers/hwmon/pmbus/adm1266.c
- drivers/hwmon/pmbus/tda38640.c
- drivers/i2c/busses/i2c-mlxbf.c
- drivers/iio/adc/versal-sysmon-i2c.c
- drivers/iio/industrialio-backend.c
- drivers/iio/industrialio-core.c
- drivers/input/joystick/adafruit-seesaw.c
- drivers/input/misc/aw86927.c
- drivers/input/misc/drv2665.c
- drivers/input/misc/drv2667.c
- drivers/input/misc/ims-pcu.c
- drivers/input/touchscreen/melfas_mip4.c
- drivers/input/touchscreen/st1232.c
- drivers/leds/leds-lm3692x.c
- drivers/leds/leds-lp8860.c
- drivers/media/i2c/thp7312.c
- drivers/misc/issei/dma.c
- drivers/misc/pci_endpoint_test.c
- drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c, line 390
- drivers/mtd/nand/raw/cafe_nand.c
- drivers/mtd/nand/raw/fsl_elbc_nand.c, line 702
- drivers/mtd/nand/raw/fsl_ifc_nand.c, line 892
- drivers/mtd/nand/raw/hisi504_nand.c
- drivers/mtd/nand/raw/lpc32xx_slc.c
- drivers/mtd/nand/raw/mpc5121_nfc.c, line 684
- drivers/mtd/nand/raw/nand_base.c
- drivers/mtd/nand/raw/nand_legacy.c
- drivers/mtd/nand/raw/ndfc.c, line 147
- drivers/mtd/nand/raw/orion_nand.c, line 157
- drivers/mtd/nand/raw/pasemi_nand.c, line 158
- drivers/mtd/nand/raw/plat_nand.c
- drivers/mtd/nand/raw/r852.c, line 882
- drivers/mtd/nand/raw/sh_flctl.c
- drivers/mtd/nand/raw/socrates_nand.c, line 172
- drivers/mtd/nand/raw/txx9ndfmc.c, line 330
- drivers/mtd/nand/raw/xway_nand.c, line 191
- drivers/mtd/spi-nor/controllers/hisi-sfc.c
-
drivers/net/usb/smsc95xx.c
- line 645
- line 648
- line 653
- line 655
- line 658
- line 660
- line 662
- line 666
- line 934
- line 946
- line 950
- line 964
- line 969
- line 971
- line 973
- line 977
- line 983
- line 1003
- line 1009
- line 1015
- line 1021
- line 1023
- line 1028
- line 1031
- line 1033
- line 1036
- line 1038
- line 1042
- line 1047
- line 1053
- line 1056
- line 1058
- line 1062
- line 1064
- line 1097
- line 1102
- line 1104
- drivers/net/wireless/mediatek/mt76/mt7915/mcu.c
- drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h, line 515
- drivers/net/wireless/rsi/rsi_91x_sdio.c
- drivers/net/wireless/rsi/rsi_main.h, line 399
- drivers/platform/chrome/cros_ec_debugfs.c
- drivers/platform/x86/intel/telemetry/pltdrv.c
- drivers/scsi/pm8001/pm8001_ctl.c
- drivers/spi/spi-intel.c
- drivers/tty/n_tty.c
- drivers/usb/typec/ucsi/ucsi_glink.c
- lib/zlib_deflate/deflate.c, line 812
- samples/mei/mei-amt-version.c
- security/tomoyo/audit.c
- security/tomoyo/common.c
- security/tomoyo/common.h, line 830
- security/tomoyo/gc.c
- tools/testing/selftests/arm64/fp/sve-ptrace.c
- tools/testing/selftests/arm64/fp/za-ptrace.c
- tools/testing/selftests/filesystems/xattr/xattr_socket_test.c
- tools/testing/selftests/landlock/net_test.c
- tools/testing/selftests/liveupdate/liveupdate.c
- tools/testing/selftests/net/tls.c
Smatch caller information:
lib/zlib_deflate/deflate.c fill_window() -> read_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 4096-ptr_max |
| PARAM_VALUE | 0 | strm->avail_in | 1-u64max |
| PARAM_VALUE | 0 | strm->avail_out | 1-u64max |
| PARAM_VALUE | 0 | strm->state | 1-u64max |
| CAPPED_DATA | 0 | strm->avail_out | 1 |
| FUZZY_MAX | 0 | strm->avail_out | 4096 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | strm->avail_in | 1-s32max[c] |
| HOST_DATA | 0 | strm->next_in | 4096-ptr_max[c] |
| USER_DATA | 0 | strm->avail_in | 1-4096[c] |
| USER_DATA | 0 | strm->avail_out | 1-9223372036854775818,18446744069414584323-u64max[c] |
| USER_DATA | 0 | strm->next_in | 4096-ptr_max[c][u] |
| USER_DATA | 0 | strm->next_out | 4096-ptr_max[c][u] |
| HALF_LOCKED2 | &c->alloc_sem | ||
| HALF_LOCKED2 | &f->sem | ||
| HALF_LOCKED2 | &ppp->wlock | ||
| HALF_LOCKED2 | &zstrm->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &deflate_mutex | ||
| HALF_LOCKED2 | global &psinfo->buf_lock | ||
| HALF_LOCKED2 | rcu_read |
drivers/tty/n_tty.c canon_copy_from_read_buf() -> read_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 0-64 |
| BUF_SIZE | 0 | strm | 16,120,192,376,480,512,520,1552,4648,9144 |
| BUF_SIZE | 0 | strm | 16,120,192,376,480,512,520,1552,4648,9144 |
| CAPPED_DATA | 1 | buf | 1 |
| CAPPED_DATA | 1 | buf | 1 |
| BIT_INFO | 1 | buf | 0x0,0x107f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tty->ldisc_sem | ||
| HALF_LOCKED2 | &ldata->atomic_read_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tty->termios_rwsem | ||
| TYPE_LOCK | (struct tty_struct)->ldisc_sem |
drivers/tty/n_tty.c canon_skip_eof() -> read_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 0-4095 |
| BUF_SIZE | 0 | strm | 16,120,192,376,480,512,520,1552,4648,9144 |
| BUF_SIZE | 0 | strm | 16,120,192,376,480,512,520,1552,4648,9144 |
| DATA_SOURCE | 0 | strm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tty->ldisc_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tty_struct)->ldisc_sem |
drivers/tty/n_tty.c eraser() -> read_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 4096-ptr_max |
| BUF_SIZE | 0 | strm | 16,120,192,376,480,512,520,1552,4648,9144 |
| BUF_SIZE | 0 | strm | 16,120,192,376,480,512,520,1552,4648,9144 |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->ldisc_sem | ||
| HALF_LOCKED2 | &tty->ldisc_sem | ||
| HALF_LOCKED2 | &tty->port->buf.lock |
drivers/tty/n_tty.c eraser() -> read_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 4096-ptr_max |
| BUF_SIZE | 0 | strm | 16,120,192,376,480,512,520,1552,4648,9144 |
| BUF_SIZE | 0 | strm | 16,120,192,376,480,512,520,1552,4648,9144 |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->ldisc_sem | ||
| HALF_LOCKED2 | &tty->ldisc_sem | ||
| HALF_LOCKED2 | &tty->port->buf.lock |
drivers/tty/n_tty.c eraser() -> read_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 4096-ptr_max |
| BUF_SIZE | 0 | strm | 16,120,192,376,480,512,520,1552,4648,9144 |
| BUF_SIZE | 0 | strm | 16,120,192,376,480,512,520,1552,4648,9144 |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->ldisc_sem | ||
| HALF_LOCKED2 | &tty->ldisc_sem | ||
| HALF_LOCKED2 | &tty->port->buf.lock |
drivers/tty/n_tty.c inq_canon() -> read_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 4096-ptr_max |
| BUF_SIZE | 0 | strm | 16,120,192,376,480,512,520,1552,4648,9144 |
| BUF_SIZE | 0 | strm | 16,120,192,376,480,512,520,1552,4648,9144 |
| DATA_SOURCE | 0 | strm | $0 |
| PARAM_COMPARE | 0 | strm->canon_head | != $0->read_tail |
| LOCK2 | &tty->ldisc_sem | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct tty_struct)->ldisc_sem |
drivers/tty/n_tty.c n_tty_receive_char_canon() -> read_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 4096-ptr_max |
| BUF_SIZE | 0 | strm | 16,120,192,376,480,512,520,1552,4648,9144 |
| BUF_SIZE | 0 | strm | 16,120,192,376,480,512,520,1552,4648,9144 |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->ldisc_sem | ||
| HALF_LOCKED2 | &tty->ldisc_sem | ||
| HALF_LOCKED2 | &tty->port->buf.lock |