Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 42 files:
- drivers/android/binder_alloc.c, line 1264
- drivers/gpu/drm/drm_pagemap_util.c, line 427
- drivers/gpu/drm/i915/gem/i915_gem_shrinker.c, line 432
- drivers/gpu/drm/msm/msm_gem_shrinker.c, line 275
- drivers/gpu/drm/panfrost/panfrost_gem_shrinker.c, line 102
- drivers/gpu/drm/panthor/panthor_gem.c, line 1583
- drivers/gpu/drm/ttm/ttm_pool.c, line 1531
- drivers/gpu/drm/xe/xe_shrinker.c, line 290
- drivers/md/bcache/btree.c, line 829
- drivers/md/dm-bufio.c, line 2592
- drivers/md/dm-zoned-metadata.c, line 2933
- drivers/md/raid5.c, line 7739
- drivers/misc/vmw_balloon.c, line 1575
- drivers/virtio/virtio_balloon.c, line 896
- drivers/xen/xenbus/xenbus_probe_backend.c, line 304
- fs/btrfs/compression.c, line 1136
- fs/erofs/zutil.c, line 303
- fs/ext4/extents_status.c, line 1859
- fs/f2fs/super.c, line 160
- fs/gfs2/quota.c, line 200
- fs/jbd2/journal.c, line 1591
- fs/mbcache.c, line 376
- fs/nfs/nfs42xattr.c, line 987
- fs/nfs/super.c, line 155
- fs/nfsd/filecache.c, line 898
- fs/nfsd/nfs4state.c
- fs/nfsd/nfscache.c, line 195
- fs/quota/dquot.c, line 2982
- fs/super.c, line 401
- fs/ubifs/super.c, line 2451
- fs/xfs/xfs_buf.c, line 1746
- fs/xfs/xfs_icache.c, line 2341
- fs/xfs/xfs_qm.c, line 827
- kernel/rcu/tree_nocb.h, line 1379
- mm/huge_memory.c
- mm/shrinker.c, line 747
- mm/slab_common.c, line 2285
- mm/vmalloc.c, line 5580
- mm/workingset.c, line 819
- mm/zsmalloc.c, line 2181
- mm/zswap.c, line 1269
- net/sunrpc/auth.c, line 875
Smatch caller information:
kernel/rcu/tree.c rcu_init_nohz() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 659974528921726976 |
| BUF_SIZE | 1 | fmt | 9 |
| STR_LEN | 0 | flags | 8 |
| TERMINATED | 1 | fmt | 1 |
| LOCK2 | irq |
mm/huge_memory.c thp_shrinker_init() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 12 |
| PARAM_VALUE | 1 | fmt | 5727716164742205440 |
| BUF_SIZE | 1 | fmt | 19 |
| STR_LEN | 0 | flags | 18 |
| TERMINATED | 1 | fmt | 1 |
drivers/gpu/drm/panthor/panthor_gem.c panthor_gem_shrinker_init() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 4608400723793772544 |
| BUF_SIZE | 1 | fmt | 16 |
| STR_LEN | 0 | flags | 15 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfs/super.c register_nfs_fs() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 6364111885780205568 |
| BUF_SIZE | 1 | fmt | 8 |
| STR_LEN | 0 | flags | 7 |
| TERMINATED | 1 | fmt | 1 |
fs/super.c alloc_super() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 12 |
| PARAM_VALUE | 1 | fmt | 8291733532965015552 |
| BUF_SIZE | 1 | fmt | 6 |
| BUF_SIZE | 2 | $ | 4 |
| STR_LEN | 0 | flags | 5 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &s->s_umount | ||
| HALF_LOCKED2 | global &cifs_mount_mutex | ||
| TYPE_LOCK | (struct super_block)->s_umount |
fs/nfsd/filecache.c nfsd_file_cache_init() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 8652363343364300800 |
| BUF_SIZE | 1 | fmt | 15 |
| STR_LEN | 0 | flags | 14 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &nfsd_mutex |
mm/slab_common.c kvfree_rcu_init() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 8141187505437716480 |
| BUF_SIZE | 1 | fmt | 16 |
| STR_LEN | 0 | flags | 15 |
| TERMINATED | 1 | fmt | 1 |
| LOCK2 | irq |
fs/quota/dquot.c dquot_init() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 3095296149344063488 |
| BUF_SIZE | 1 | fmt | 13 |
| STR_LEN | 0 | flags | 12 |
| TERMINATED | 1 | fmt | 1 |
drivers/xen/xenbus/xenbus_probe_backend.c xenbus_probe_backend_init() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 240146072952250368 |
| BUF_SIZE | 1 | fmt | 12 |
| STR_LEN | 0 | flags | 11 |
| TERMINATED | 1 | fmt | 1 |
fs/erofs/zutil.c erofs_init_shrinker() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 348723286526373888 |
| BUF_SIZE | 1 | fmt | 15 |
| STR_LEN | 0 | flags | 14 |
| TERMINATED | 1 | fmt | 1 |
mm/zswap.c zswap_alloc_shrinker() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 12 |
| PARAM_VALUE | 1 | fmt | 8686740949242310656 |
| BUF_SIZE | 1 | fmt | 9 |
| STR_LEN | 0 | flags | 8 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &zswap_init_lock |
drivers/misc/vmw_balloon.c vmballoon_register_shrinker() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 8577300314268073984 |
| BUF_SIZE | 1 | fmt | 12 |
| STR_LEN | 0 | flags | 11 |
| TERMINATED | 1 | fmt | 1 |
fs/nfsd/nfs4state.c nfs4_state_create_net() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 6740010674941837312 |
| BUF_SIZE | 1 | fmt | 12 |
| STR_LEN | 0 | flags | 11 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &nfsd_mutex |
fs/nfsd/nfs4state.c nfs4_state_start() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 7893786122799034368 |
| BUF_SIZE | 1 | fmt | 14 |
| STR_LEN | 0 | flags | 13 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &nfsd_mutex |
fs/mbcache.c mb_cache_create() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 7229313603953500160 |
| BUF_SIZE | 1 | fmt | 17 |
| STR_LEN | 0 | flags | 16 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/sunrpc/auth.c rpcauth_init_module() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 4370709455310487552 |
| BUF_SIZE | 1 | fmt | 12 |
| STR_LEN | 0 | flags | 11 |
| TERMINATED | 1 | fmt | 1 |
drivers/md/dm-zoned-metadata.c dmz_ctr_metadata() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 4444993312627654656 |
| PARAM_VALUE | 2 | $ | 0-4095 |
| PARAM_VALUE | 3 | $ | 0-1048575 |
| BUF_SIZE | 1 | fmt | 22 |
| STR_LEN | 0 | flags | 21 |
| TERMINATED | 1 | fmt | 1 |
| HALF_LOCKED2 | &md->type_lock |
fs/nfs/nfs42xattr.c nfs4_xattr_shrinker_init() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 8 |
| PARAM_VALUE | 1 | fmt | 4991656592635793408,5245030816472432640,6397317283126771712 |
| BUF_SIZE | 1 | fmt | 16,22 |
| BUF_SIZE | 1 | fmt | 16,22 |
| DATA_SOURCE | 1 | fmt | $2 |
| TERMINATED | 1 | fmt | 1 |
fs/ext4/extents_status.c ext4_es_register_shrinker() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 4158439926637162496 |
| BUF_SIZE | 1 | fmt | 11 |
| BUF_SIZE | 2 | $ | 32 |
| STR_LEN | 0 | flags | 10 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_shrinker.c xe_shrinker_create() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 4140937355027582976 |
| BUF_SIZE | 1 | fmt | 14 |
| STR_LEN | 0 | flags | 13 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
mm/workingset.c workingset_init() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 12 |
| PARAM_VALUE | 1 | fmt | 6606655506425040896 |
| BUF_SIZE | 1 | fmt | 10 |
| STR_LEN | 0 | flags | 9 |
| TERMINATED | 1 | fmt | 1 |
drivers/gpu/drm/i915/gem/i915_gem_shrinker.c i915_gem_driver_register__shrinker() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 8293109688137805824 |
| BUF_SIZE | 1 | fmt | 13 |
| STR_LEN | 0 | flags | 12 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/android/binder_alloc.c binder_alloc_shrinker_init() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 7641430632566845440 |
| BUF_SIZE | 1 | fmt | 15 |
| STR_LEN | 0 | flags | 14 |
| TERMINATED | 1 | fmt | 1 |
fs/xfs/xfs_qm.c xfs_qm_init_quotainfo() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 4 |
| PARAM_VALUE | 1 | fmt | 7346606221533016064 |
| BUF_SIZE | 1 | fmt | 10 |
| BUF_SIZE | 2 | $ | 32 |
| STR_LEN | 0 | flags | 9 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/msm/msm_gem_shrinker.c msm_gem_shrinker_init() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 7077341365181214720 |
| BUF_SIZE | 1 | fmt | 12 |
| STR_LEN | 0 | flags | 11 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex |
fs/jbd2/journal.c journal_init_common() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 9060979708049076224 |
| PARAM_VALUE | 2 | $ | 0-4095 |
| PARAM_VALUE | 3 | $ | 0-1048575 |
| BUF_SIZE | 1 | fmt | 21 |
| STR_LEN | 0 | flags | 20 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/gfs2/quota.c gfs2_qd_shrinker_init() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 4 |
| PARAM_VALUE | 1 | fmt | 5703896573264011264 |
| BUF_SIZE | 1 | fmt | 8 |
| STR_LEN | 0 | flags | 7 |
| TERMINATED | 1 | fmt | 1 |
drivers/gpu/drm/ttm/ttm_pool.c ttm_pool_mgr_init() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 4 |
| PARAM_VALUE | 1 | fmt | 7019538374245900288 |
| BUF_SIZE | 1 | fmt | 13 |
| STR_LEN | 0 | flags | 12 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &ttm_global_mutex |
drivers/gpu/drm/panfrost/panfrost_gem_shrinker.c panfrost_gem_shrinker_init() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 2230993559199522816 |
| BUF_SIZE | 1 | fmt | 13 |
| STR_LEN | 0 | flags | 12 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/virtio/virtio_balloon.c virtio_balloon_register_shrinker() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 4271722745591369728 |
| BUF_SIZE | 1 | fmt | 15 |
| STR_LEN | 0 | flags | 14 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/compression.c btrfs_init_compress() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 16 |
| PARAM_VALUE | 1 | fmt | 7363438965599760384 |
| BUF_SIZE | 1 | fmt | 18 |
| STR_LEN | 0 | flags | 17 |
| TERMINATED | 1 | fmt | 1 |
fs/nfsd/nfscache.c nfsd_reply_cache_init() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 4956506479804026880 |
| BUF_SIZE | 1 | fmt | 14 |
| BUF_SIZE | 2 | $ | 65 |
| STR_LEN | 0 | flags | 13 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &nfsd_mutex |
drivers/gpu/drm/drm_pagemap_util.c drm_pagemap_shrinker_create_devm() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 3648274255093968896 |
| BUF_SIZE | 1 | fmt | 19 |
| STR_LEN | 0 | flags | 18 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-bufio.c dm_bufio_client_create() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 6352289692672745472 |
| PARAM_VALUE | 2 | $ | 0-4095 |
| PARAM_VALUE | 3 | $ | 0-1048575 |
| BUF_SIZE | 1 | fmt | 17 |
| STR_LEN | 0 | flags | 16 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/md/raid5.c setup_conf() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 3737010071885475840 |
| BUF_SIZE | 1 | fmt | 12 |
| BUF_SIZE | 2 | $ | 4,32 |
| STR_LEN | 0 | flags | 11 |
| TERMINATED | 1 | fmt | 1 |
fs/xfs/xfs_buf.c xfs_init_buftarg() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 4 |
| PARAM_VALUE | 1 | fmt | 5240497112874835968 |
| BUF_SIZE | 1 | fmt | 11 |
| BUF_SIZE | 2 | $ | 16,24-25,32-33 |
| BUF_SIZE | 2 | $ | 16,24-25,32-33 |
| DATA_SOURCE | 2 | $ | $2 |
| STR_LEN | 0 | flags | 10 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/vmalloc.c vmalloc_init() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 1273473656675020800 |
| BUF_SIZE | 1 | fmt | 10 |
| STR_LEN | 0 | flags | 9 |
| TERMINATED | 1 | fmt | 1 |
| LOCK2 | irq |
drivers/md/bcache/btree.c bch_btree_cache_alloc() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 2512731267119890432 |
| BUF_SIZE | 1 | fmt | 14 |
| BUF_SIZE | 2 | $ | 16 |
| STR_LEN | 0 | flags | 13 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &bch_register_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
fs/f2fs/super.c f2fs_init_shrinker() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 4755958220725547008 |
| BUF_SIZE | 1 | fmt | 14 |
| STR_LEN | 0 | flags | 13 |
| TERMINATED | 1 | fmt | 1 |
mm/zsmalloc.c zs_register_shrinker() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 6954094738462060544 |
| PARAM_VALUE | 2 | $ | 4096-ptr_max |
| BUF_SIZE | 1 | fmt | 13 |
| STR_LEN | 0 | flags | 12 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
fs/xfs/xfs_icache.c xfs_inodegc_register_shrinker() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 16 |
| PARAM_VALUE | 1 | fmt | 3506470864326557696 |
| BUF_SIZE | 1 | fmt | 15 |
| BUF_SIZE | 2 | $ | 32 |
| STR_LEN | 0 | flags | 14 |
| TERMINATED | 1 | fmt | 1 |
fs/ubifs/super.c ubifs_init() -> shrinker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0 |
| PARAM_VALUE | 1 | fmt | 695602467910848512 |
| BUF_SIZE | 1 | fmt | 11 |
| STR_LEN | 0 | flags | 10 |
| TERMINATED | 1 | fmt | 1 |