Defined in 3 files as a variable:
- drivers/mmc/core/mmc_test.c, line 172 (as a variable)
- drivers/staging/fbtft/fb_pcd8544.c, line 30 (as a variable)
- drivers/staging/fbtft/fb_tls8204.c, line 29 (as a variable)
Defined in 1 files as a struct:
Defined in 22 files as a member:
- arch/s390/include/asm/ap.h, line 122 (as a member)
- arch/s390/include/asm/eadm.h, line 47 (as a member)
- drivers/md/dm-cache-target.c, line 409 (as a member)
- drivers/md/dm-core.h, line 45 (as a member)
- drivers/md/dm-crypt.c, line 233 (as a member)
- drivers/md/raid5-cache.c, line 120 (as a member)
- drivers/md/raid5-ppl.c, line 101 (as a member)
- drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c, line 647 (as a member)
- drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_multi_if.c, line 197 (as a member)
- drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_hevc_req_multi_if.c, line 312 (as a member)
- drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp9_if.c, line 145 (as a member)
- drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp9_req_lat_if.c, line 354 (as a member)
- drivers/media/tuners/tda827x.c, line 84 (as a member)
- drivers/mmc/core/mmc_test.c, line 164 (as a member)
- drivers/net/ethernet/huawei/hinic/hinic_debugfs.h, line 38 (as a member)
- drivers/net/ethernet/huawei/hinic/hinic_debugfs.h, line 49 (as a member)
- drivers/net/ethernet/huawei/hinic/hinic_debugfs.h, line 72 (as a member)
- include/linux/kho_block.h, line 52 (as a member)
- include/uapi/linux/can/isotp.h, line 93 (as a member)
- net/can/isotp.c, line 154 (as a member)
- net/nfc/digital_dep.c, line 68 (as a member)
- net/nfc/digital_dep.c, line 79 (as a member)
Defined in 1 files as a function:
Referenced in 168 files:
- arch/mips/txx9/generic/mem_tx4927.c, 3 times
- arch/powerpc/include/asm/bitops.h, 9 times
- arch/powerpc/lib/rheap.c, 19 times
- arch/s390/crypto/hmac_s390.c, 30 times
- arch/s390/crypto/phmac_s390.c, 28 times
- block/bio.c, 85 times
- block/blk-merge.c, 2 times
- block/blk-mq.c, 4 times
- crypto/ahash.c, 7 times
- crypto/algif_skcipher.c, 5 times
- crypto/ccm.c, 9 times
- crypto/cipher.c, 3 times
- crypto/cmac.c, 14 times
- crypto/hmac.c, 14 times
- crypto/lrw.c, 3 times
- crypto/lskcipher.c, 2 times
- crypto/shash.c, 6 times
- crypto/tcrypt.c, 37 times
- crypto/xcbc.c, 16 times
- crypto/xts.c, 4 times
- drivers/block/drbd/drbd_main.c, 6 times
- drivers/block/drbd/drbd_receiver.c, 6 times
- drivers/block/drbd/drbd_vli.h, 39 times
- drivers/block/null_blk/main.c, 2 times
- drivers/clk/bcm/clk-cygnus.c, 2 times
- drivers/clk/bcm/clk-ns2.c, 2 times
- drivers/clk/bcm/clk-nsp.c, 2 times
- drivers/clk/bcm/clk-sr.c, 2 times
- drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c, 12 times
- drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c, 20 times
- drivers/crypto/atmel-sha.c, 18 times
- drivers/crypto/chelsio/chcr_algo.c, 26 times
- drivers/crypto/chelsio/chcr_algo.h, 2 times
- drivers/crypto/marvell/octeontx/otx_cptvf_algs.c, 7 times
- drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c, 7 times
- drivers/crypto/omap-crypto.c, 10 times
- drivers/crypto/omap-crypto.h, line 27
- drivers/crypto/omap-sham.c, 40 times
- drivers/crypto/padlock-sha.c, 2 times
- drivers/crypto/rockchip/rk3288_crypto_skcipher.c, 3 times
- drivers/crypto/sa2ul.c, 2 times
- drivers/crypto/stm32/stm32-hash.c, 19 times
- drivers/dma/tegra186-gpc-dma.c, 2 times
- drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c, 4 times
- drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp100.c, 4 times
- drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp102.c, 4 times
- drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c, 3 times
- drivers/gpu/drm/rockchip/rockchip_drm_vop2.c, 4 times
- drivers/infiniband/hw/efa/efa_com_cmd.c, 7 times
- drivers/infiniband/hw/efa/efa_verbs.c, 7 times
- drivers/input/tablet/aiptek.c, 4 times
- drivers/md/dm-bufio.c, line 350
- drivers/md/dm-cache-target.c, 3 times
- drivers/md/dm-core.h, line 325
- drivers/md/dm-crypt.c, 9 times
- drivers/md/dm-ebs-target.c, 5 times
- drivers/md/dm-io-rewind.c, 2 times
- drivers/md/dm-log.c, 6 times
- drivers/md/dm-rq.c, line 332
- drivers/md/dm-table.c, line 1078
- drivers/md/dm.c, 2 times
- drivers/md/raid5-cache.c, 4 times
- drivers/md/raid5-ppl.c, 3 times
- drivers/media/pci/bt8xx/dvb-bt8xx.c, 14 times
- drivers/media/pci/tw5864/tw5864-h264.c, 16 times
- drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c, 11 times
- drivers/media/platform/mediatek/jpeg/mtk_jpeg_dec_hw.c, 4 times
- drivers/media/platform/mediatek/jpeg/mtk_jpeg_dec_hw.h, line 77
- drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c, 15 times
- drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_if.c, 5 times
- drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_if.c, 5 times
- drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_multi_if.c, 36 times
- drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_hevc_req_multi_if.c, 11 times
- drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp8_if.c, 5 times
- drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp8_req_if.c, 7 times
- drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp9_if.c, 15 times
- drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp9_req_lat_if.c, 42 times
- drivers/media/platform/mediatek/vcodec/decoder/vdec_drv_base.h, line 27
- drivers/media/platform/mediatek/vcodec/decoder/vdec_drv_if.c, 4 times
- drivers/media/platform/mediatek/vcodec/decoder/vdec_drv_if.h, line 91
- drivers/media/tuners/tda827x.c, 31 times
- drivers/mmc/core/mmc_test.c, 13 times
- drivers/mmc/host/mtk-sd.c, 4 times
- drivers/net/ethernet/google/gve/gve.h, 2 times
- drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c, 3 times
- drivers/net/ethernet/google/gve/gve_rx_dqo.c, 10 times
- drivers/net/ethernet/huawei/hinic/hinic_debugfs.c, 5 times
- drivers/net/ethernet/intel/ice/ice_ptp_hw.c, 3 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_policer.c, 6 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c, 9 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c, 3 times
- drivers/net/phy/dp83867.c, 3 times
- drivers/net/wireless/ath/ath9k/beacon.c, 3 times
- drivers/net/wireless/ath/ath9k/common-beacon.c, 22 times
- drivers/net/wireless/ath/ath9k/common-beacon.h, line 21
- drivers/net/wireless/ath/ath9k/htc_drv_beacon.c, 3 times
- drivers/net/wireless/ath/ath9k/hw.c, 16 times
- drivers/net/wireless/ath/ath9k/hw.h, line 1075
- drivers/nvme/host/core.c, 14 times
- drivers/pcmcia/sa11xx_base.h, 8 times
- drivers/s390/block/scm_blk.c, line 192
- drivers/s390/crypto/ap_bus.c, 2 times
- drivers/s390/crypto/ap_queue.c, 18 times
- drivers/scsi/be2iscsi/be_main.c, 11 times
- drivers/scsi/be2iscsi/be_mgmt.c, 22 times
- drivers/scsi/elx/libefc_sli/sli4.c, 10 times
- drivers/scsi/elx/libefc_sli/sli4.h, 5 times
- drivers/soc/fsl/qbman/qman_test_stash.c, 2 times
- drivers/spi/spi-bcm2835.c, 242 times
- drivers/spi/spi-bcm2835aux.c, 120 times
- drivers/spi/spi-bcm63xx-hsspi.c, 159 times
- drivers/spi/spi-bcm63xx.c, 74 times
- drivers/spi/spi-bcmbca-hsspi.c, 95 times
- drivers/staging/fbtft/fb_pcd8544.c, 3 times
- drivers/staging/fbtft/fb_tls8204.c, 3 times
- drivers/tty/vt/vt.c, 2 times
- drivers/video/fbdev/core/bitblit.c, 2 times
- drivers/video/fbdev/core/fbcon_ccw.c, 2 times
- drivers/video/fbdev/core/tileblit.c, 2 times
- fs/adfs/dir_fplus.c, 6 times
- fs/afs/vl_list.c, 44 times
- fs/btrfs/reflink.c, 13 times
- fs/btrfs/send.c, 2 times
- fs/erofs/decompressor.c, 3 times
- fs/erofs/zdata.c, 7 times
- fs/ext4/xattr.c, 74 times
- fs/gfs2/meta_io.c, 2 times
- fs/hpfs/alloc.c, 6 times
- fs/nfs/nfs4file.c, 5 times
- fs/nfsd/nfs3xdr.c, 4 times
- fs/remap_range.c, 6 times
- fs/udf/inode.c, 12 times
- fs/xfs/libxfs/xfs_fs.h, 3 times
- fs/xfs/libxfs/xfs_health.h, line 287
- fs/xfs/scrub/alloc.c, 12 times
- fs/xfs/scrub/bmap.c, 10 times
- fs/xfs/scrub/btree.c, 121 times
- fs/xfs/scrub/btree.h, line 31
- fs/xfs/scrub/ialloc.c, 65 times
- fs/xfs/scrub/refcount.c, 14 times
- fs/xfs/scrub/rmap.c, 29 times
- fs/xfs/scrub/rtrefcount.c, 19 times
- fs/xfs/scrub/rtrmap.c, 19 times
- fs/xfs/xfs_health.c, 5 times
- include/linux/bio.h, 7 times
- include/linux/blk-mq.h, line 1055
- include/linux/blkdev.h, line 1035
- include/linux/device-mapper.h, 4 times
- include/linux/kho_block.h, 11 times
- include/linux/raspberrypi/vchiq_core.h, 4 times
- kernel/liveupdate/kho_block.c, 66 times
- kernel/trace/trace_probe.c, 3 times
- lib/ts_bm.c, 3 times
- lib/zstd/compress/zstd_compress.c, 47 times
- lib/zstd/compress/zstd_compress_internal.h, 3 times
- net/can/isotp.c, 13 times
- net/netfilter/nf_conntrack_h323_asn1.c, 239 times
- net/nfc/digital_dep.c, line 505
- sound/soc/meson/aiu-encoder-i2s.c, 13 times
- tools/perf/builtin-annotate.c, 4 times
- tools/perf/util/hist.c, 5 times
- tools/perf/util/hist.h, line 800
- tools/perf/util/jitdump.c, 13 times
- tools/perf/util/libbfd.c, 4 times
- tools/perf/util/pmus.c, 9 times
- tools/perf/util/python.c, 4 times
- tools/perf/util/thread-stack.c, 4 times
- tools/testing/selftests/net/tcp_ao/bench-lookups.c, 6 times
Smatch caller information:
drivers/tty/vt/vt.c handle_ascii() -> bs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vc | 4096-ptr_max |
| PARAM_VALUE | 0 | vc->vc_display_fg->vc_bell_duration | 0-4294967295 |
| PARAM_VALUE | 0 | vc->vc_display_fg->vc_size_row | 0-4294967295 |
| PARAM_VALUE | 0 | vc->vc_display_fg->vc_state | 0-4294967295 |
| PARAM_VALUE | 0 | vc->vc_num | 0-62 |
| PARAM_VALUE | 0 | vc->vc_sw->con_cursor | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vc->vc_sw->con_putc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vc->vc_sw->owner | 0 |
| PARAM_VALUE | 0 | *vc->vc_par | 0-4294967295 |
| BUF_SIZE | 0 | vc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vc | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | vc | 1 |
| CAPPED_DATA | 0 | vc->vc_num | 1 |
| DATA_SOURCE | 0 | vc | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | vc->vc_pos | 4096-u64max |
| USER_DATA | 0 | vc->vc_utf_char | s32min-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | vc->state.y | |
| UNITS | 0 | vc | unit_byte |
| LOCK2 | global &console_sem | ||
| HALF_LOCKED2 | &tty->atomic_write_lock | ||
| HALF_LOCKED2 | &tty->ldisc_sem | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| HALF_LOCKED2 | &tty->port->buf.lock | ||
| HALF_LOCKED2 | &tty->termios_rwsem | ||
| HALF_LOCKED2 | _T->lock |
drivers/tty/vt/vt.c vt_console_print() -> bs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vc | 4096-ptr_max |
| PARAM_VALUE | 0 | vc->vc_mode | 0 |
| PARAM_VALUE | 0 | vc->vc_sw->con_cursor | 0,4096-ptr_max |
| CAPPED_DATA | 0 | vc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &printing_lock | ||
| HALF_LOCKED2 | flags |