Documented in 1 files:
Defined in 1 files as a function:
Referenced in 28 files:
- arch/powerpc/kernel/rtas_flash.c, line 681
- arch/powerpc/platforms/pseries/setup.c, line 368
- arch/riscv/kernel/vector.c, line 71
- arch/x86/kvm/x86.c, line 318
- drivers/dma/idxd/init.c, line 418
- drivers/gpu/drm/i915/gvt/scheduler.c, line 1431
- drivers/gpu/drm/lima/lima_gp.c, line 359
- drivers/gpu/drm/lima/lima_pp.c, line 475
- drivers/misc/lkdtm/usercopy.c, line 429
- drivers/s390/cio/vfio_ccw_drv.c
- drivers/scsi/scsi_lib.c, line 69
- fs/befs/linuxvfs.c, line 437
- fs/dlm/memory.c, line 51
- fs/ext2/super.c, line 240
- fs/jfs/super.c, line 958
- fs/namei.c, line 139
- fs/orangefs/orangefs-cache.c, line 22
- fs/orangefs/super.c, line 642
- fs/proc/inode.c, line 101
- fs/smb/client/cifsfs.c
- fs/ufs/super.c, line 1386
- kernel/fork.c
- kernel/utsname.c, line 157
- mm/slab_common.c, line 489
- net/9p/client.c, line 930
- net/core/skbuff.c
- net/rds/ib_recv.c, line 1067
- virt/kvm/kvm_main.c, line 6509
Smatch caller information:
kernel/fork.c fork_init() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 1357671796941287424 |
| PARAM_VALUE | 2 | align | 4096 |
| PARAM_VALUE | 3 | flags | 33024 |
| PARAM_VALUE | 4 | useroffset | 0,13824 |
| PARAM_VALUE | 6 | ctor | 0 |
| BUF_SIZE | 0 | name | 12 |
| STR_LEN | 0 | name | 11 |
| TERMINATED | 0 | name | 1 |
kernel/fork.c mm_cache_init() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 4711579091179114496 |
| PARAM_VALUE | 1 | size | 3008,3016-536875983 |
| PARAM_VALUE | 2 | align | 4096 |
| PARAM_VALUE | 3 | flags | 33040 |
| PARAM_VALUE | 4 | useroffset | 1416 |
| PARAM_VALUE | 5 | usersize | 448 |
| PARAM_VALUE | 6 | ctor | 0 |
| BUF_SIZE | 0 | name | 10 |
| STR_LEN | 0 | name | 9 |
| TERMINATED | 0 | name | 1 |
| UNITS | 1 | size | unit_byte |
| UNITS | 5 | usersize | unit_byte |
| LOCK2 | irq |
fs/ufs/super.c init_inodecache() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 6176984109654360064 |
| PARAM_VALUE | 1 | size | 1608 |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | flags | 1081344 |
| PARAM_VALUE | 4 | useroffset | 0 |
| PARAM_VALUE | 5 | usersize | 120 |
| BUF_SIZE | 0 | name | 16 |
| STR_LEN | 0 | name | 15 |
| TERMINATED | 0 | name | 1 |
| UNITS | 1 | size | unit_byte |
| UNITS | 5 | usersize | unit_byte |
drivers/gpu/drm/lima/lima_gp.c lima_gp_pipe_init() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 2798514321855516672 |
| PARAM_VALUE | 1 | size | 344 |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | flags | 16 |
| PARAM_VALUE | 4 | useroffset | 320 |
| PARAM_VALUE | 5 | usersize | 24 |
| PARAM_VALUE | 6 | ctor | 0 |
| BUF_SIZE | 0 | name | 13 |
| STR_LEN | 0 | name | 12 |
| TERMINATED | 0 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| UNITS | 4 | useroffset | unit_byte |
| UNITS | 5 | usersize | unit_byte |
net/rds/ib_recv.c rds_ib_recv_init() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 4894300695673282560 |
| PARAM_VALUE | 1 | size | 192 |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | flags | 16 |
| PARAM_VALUE | 4 | useroffset | 144 |
| PARAM_VALUE | 5 | usersize | 16 |
| PARAM_VALUE | 6 | ctor | 0 |
| BUF_SIZE | 0 | name | 16 |
| STR_LEN | 0 | name | 15 |
| TERMINATED | 0 | name | 1 |
| UNITS | 1 | size | unit_byte |
| UNITS | 5 | usersize | unit_byte |
fs/befs/linuxvfs.c befs_init_inodecache() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 4382729690414514176 |
| PARAM_VALUE | 1 | size | 1336 |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | flags | 1081344 |
| PARAM_VALUE | 4 | useroffset | 32 |
| PARAM_VALUE | 5 | usersize | 144 |
| BUF_SIZE | 0 | name | 17 |
| STR_LEN | 0 | name | 16 |
| TERMINATED | 0 | name | 1 |
| UNITS | 1 | size | unit_byte |
| UNITS | 5 | usersize | unit_byte |
mm/slab_common.c kmem_buckets_create() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 1-u64max |
| PARAM_VALUE | 1 | size | 1-2097152 |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | flags | 8192,40960 |
| PARAM_VALUE | 4 | useroffset | 0,48 |
| PARAM_VALUE | 5 | usersize | 0-s32max |
| PARAM_VALUE | 6 | ctor | 0 |
| BUF_SIZE | 0 | name | 0-s32max |
| BUF_SIZE | 0 | name | 0-s32max |
| CAPPED_DATA | 0 | name | 1 |
| CAPPED_DATA | 1 | size | 1 |
| CAPPED_DATA | 4 | useroffset | 1 |
| CAPPED_DATA | 5 | usersize | 1 |
| DATA_SOURCE | 0 | name | r kasprintf |
| DATA_SOURCE | 3 | flags | $1 [m] |
| DATA_SOURCE | 6 | ctor | $4 |
| FUZZY_MAX | 1 | size | 48 |
| FUZZY_MAX | 4 | useroffset | 0 |
| FUZZY_MAX | 5 | usersize | 0 |
| PARAM_COMPARE | 1 | size | > $4 |
| PARAM_COMPARE | 4 | useroffset | < $1 |
| BIT_INFO | 3 | flags | 0x2000,0xffff |
| UNITS | 1 | size | unit_byte |
| UNITS | 4 | useroffset | unit_byte |
| UNITS | 5 | usersize | unit_byte |
drivers/gpu/drm/lima/lima_pp.c lima_pp_pipe_init() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 5705451504417763328 |
| PARAM_VALUE | 1 | size | 592,632 |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | flags | 16 |
| PARAM_VALUE | 4 | useroffset | 320 |
| PARAM_VALUE | 5 | usersize | 272,312 |
| PARAM_VALUE | 6 | ctor | 0 |
| BUF_SIZE | 0 | name | 13 |
| STR_LEN | 0 | name | 12 |
| BIT_INFO | 5 | usersize | 0x110,0x138 |
| TERMINATED | 0 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| UNITS | 4 | useroffset | unit_byte |
| UNITS | 5 | usersize | unit_byte |
net/core/skbuff.c skb_init() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 8322388144257925120 |
| PARAM_VALUE | 1 | size | 240 |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | flags | 8464 |
| PARAM_VALUE | 4 | useroffset | 40 |
| PARAM_VALUE | 5 | usersize | 48 |
| PARAM_VALUE | 6 | ctor | 0 |
| BUF_SIZE | 0 | name | 18 |
| STR_LEN | 0 | name | 17 |
| TERMINATED | 0 | name | 1 |
| UNITS | 1 | size | unit_byte |
| UNITS | 5 | usersize | unit_byte |
net/core/skbuff.c skb_init() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 4962130281578209280 |
| PARAM_VALUE | 1 | size | 704,768 |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | flags | 272 |
| PARAM_VALUE | 4 | useroffset | 0 |
| PARAM_VALUE | 5 | usersize | 384 |
| PARAM_VALUE | 6 | ctor | 0 |
| BUF_SIZE | 0 | name | 18 |
| FUZZY_MAX | 1 | size | 768 |
| STR_LEN | 0 | name | 17 |
| TERMINATED | 0 | name | 1 |
| HARD_MAX | 1 | size | 768 |
fs/namei.c filename_init() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 1457978943201128448 |
| PARAM_VALUE | 1 | size | 192 |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | flags | 272 |
| PARAM_VALUE | 4 | useroffset | 24 |
| PARAM_VALUE | 5 | usersize | 168 |
| PARAM_VALUE | 6 | ctor | 0 |
| BUF_SIZE | 0 | name | 12 |
| STR_LEN | 0 | name | 11 |
| TERMINATED | 0 | name | 1 |
| UNITS | 1 | size | unit_byte |
| UNITS | 5 | usersize | unit_byte |
drivers/scsi/scsi_lib.c scsi_init_sense_cache() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 3348557422887202816 |
| PARAM_VALUE | 1 | size | 96 |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | flags | 16 |
| PARAM_VALUE | 4 | useroffset | 0 |
| PARAM_VALUE | 5 | usersize | 96 |
| PARAM_VALUE | 6 | ctor | 0 |
| BUF_SIZE | 0 | name | 17 |
| STR_LEN | 0 | name | 16 |
| TERMINATED | 0 | name | 1 |
| LOCK2 | global &scsi_sense_cache_mutex |
drivers/dma/idxd/init.c idxd_init_evl() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 1-u64max |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | useroffset | 0 |
| PARAM_VALUE | 6 | ctor | 0 |
| BUF_SIZE | 0 | name | 1-s32max |
| BUF_SIZE | 0 | name | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| UNITS | 5 | usersize | unit_byte |
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/misc/lkdtm/usercopy.c lkdtm_usercopy_init() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 2741603227288989696 |
| PARAM_VALUE | 1 | size | 1024 |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | useroffset | 256 |
| PARAM_VALUE | 5 | usersize | 64 |
| PARAM_VALUE | 6 | ctor | 0 |
| BUF_SIZE | 0 | name | 15 |
| STR_LEN | 0 | name | 14 |
| TERMINATED | 0 | name | 1 |
fs/jfs/super.c init_jfs_fs() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 7301285065593524224 |
| PARAM_VALUE | 1 | size | 2264 |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | flags | 1081344 |
| PARAM_VALUE | 4 | useroffset | 720 |
| PARAM_VALUE | 5 | usersize | 256 |
| BUF_SIZE | 0 | name | 7 |
| STR_LEN | 0 | name | 6 |
| TERMINATED | 0 | name | 1 |
| UNITS | 1 | size | unit_byte |
| UNITS | 5 | usersize | unit_byte |
arch/x86/kvm/x86.c kvm_alloc_emulator_cache() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 834828344767307776 |
| PARAM_VALUE | 1 | size | 2848 |
| PARAM_VALUE | 2 | align | 32 |
| PARAM_VALUE | 3 | flags | 32768 |
| PARAM_VALUE | 4 | useroffset | 192 |
| PARAM_VALUE | 5 | usersize | 2656 |
| PARAM_VALUE | 6 | ctor | 0 |
| BUF_SIZE | 0 | name | 13 |
| STR_LEN | 0 | name | 12 |
| TERMINATED | 0 | name | 1 |
| UNITS | 1 | size | unit_byte |
| UNITS | 4 | useroffset | unit_byte |
| UNITS | 5 | usersize | unit_byte |
| LOCK2 | _T->lock |
fs/dlm/memory.c dlm_memory_init() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 8826331533187264512 |
| PARAM_VALUE | 1 | size | 328 |
| PARAM_VALUE | 2 | align | 8 |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | useroffset | 24 |
| PARAM_VALUE | 5 | usersize | 32 |
| PARAM_VALUE | 6 | ctor | 0 |
| BUF_SIZE | 0 | name | 7 |
| STR_LEN | 0 | name | 6 |
| TERMINATED | 0 | name | 1 |
| UNITS | 1 | size | unit_byte |
| UNITS | 5 | usersize | unit_byte |
fs/ext2/super.c init_inodecache() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 2657607280916824064 |
| PARAM_VALUE | 1 | size | 1784 |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | flags | 1081344 |
| PARAM_VALUE | 4 | useroffset | 0 |
| PARAM_VALUE | 5 | usersize | 60 |
| BUF_SIZE | 0 | name | 17 |
| STR_LEN | 0 | name | 16 |
| TERMINATED | 0 | name | 1 |
| UNITS | 1 | size | unit_byte |
| UNITS | 5 | usersize | unit_byte |
drivers/gpu/drm/i915/gvt/scheduler.c intel_vgpu_setup_submission() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 2967465276914180096 |
| PARAM_VALUE | 1 | size | 408 |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | flags | 16 |
| PARAM_VALUE | 4 | useroffset | 128 |
| PARAM_VALUE | 5 | usersize | 8 |
| PARAM_VALUE | 6 | ctor | 0 |
| BUF_SIZE | 0 | name | 20 |
| STR_LEN | 0 | name | 19 |
| TERMINATED | 0 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| UNITS | 5 | usersize | unit_byte |
| LOCK2 | &gvt->lock | ||
| TYPE_LOCK | (struct intel_gvt)->lock |
fs/orangefs/orangefs-cache.c op_cache_initialize() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 450013623151144960 |
| PARAM_VALUE | 1 | size | 16968 |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | useroffset | 8 |
| PARAM_VALUE | 5 | usersize | 8544 |
| PARAM_VALUE | 6 | ctor | 0 |
| BUF_SIZE | 0 | name | 18 |
| STR_LEN | 0 | name | 17 |
| TERMINATED | 0 | name | 1 |
| UNITS | 1 | size | unit_byte |
| UNITS | 5 | usersize | unit_byte |
arch/x86/kvm/../../../virt/kvm/kvm_main.c kvm_init() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 409250009389051904 |
| PARAM_VALUE | 1 | size | 8864,10304 |
| PARAM_VALUE | 2 | align | 8,64 |
| PARAM_VALUE | 3 | flags | 32768 |
| PARAM_VALUE | 4 | useroffset | 552 |
| PARAM_VALUE | 5 | usersize | 7120 |
| PARAM_VALUE | 6 | ctor | 0 |
| BUF_SIZE | 0 | name | 9 |
| DATA_SOURCE | 1 | size | $0 |
| DATA_SOURCE | 2 | align | $1 [m] |
| FUZZY_MAX | 2 | align | 8 |
| STR_LEN | 0 | name | 8 |
| TERMINATED | 0 | name | 1 |
| HARD_MAX | 1 | size | 10304 |
| HARD_MAX | 2 | align | 64 |
| UNITS | 1 | size | unit_byte |
| UNITS | 5 | usersize | unit_byte |
net/9p/client.c p9_client_create() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 1-u64max |
| PARAM_VALUE | 1 | size | 4096-s32max |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | useroffset | 11 |
| PARAM_VALUE | 5 | usersize | 4085-2147483636 |
| PARAM_VALUE | 6 | ctor | 0 |
| BUF_SIZE | 0 | name | 0-s32max |
| BUF_SIZE | 0 | name | 0-s32max |
| CAPPED_DATA | 0 | name | 1 |
| DATA_SOURCE | 0 | name | r kasprintf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/smb/client/cifsfs.c cifs_init_request_bufs() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 2061840962635030528 |
| PARAM_VALUE | 1 | size | 204,8396-130252 |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | flags | 16 |
| PARAM_VALUE | 4 | useroffset | 0 |
| PARAM_VALUE | 5 | usersize | 204,8396-130252 |
| PARAM_VALUE | 6 | ctor | 0 |
| BUF_SIZE | 0 | name | 13 |
| STR_LEN | 0 | name | 12 |
| TERMINATED | 0 | name | 1 |
fs/smb/client/cifsfs.c cifs_init_request_bufs() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 4553980636571381760 |
| PARAM_VALUE | 1 | size | 448 |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | flags | 16 |
| PARAM_VALUE | 4 | useroffset | 0 |
| PARAM_VALUE | 5 | usersize | 448 |
| PARAM_VALUE | 6 | ctor | 0 |
| BUF_SIZE | 0 | name | 14 |
| STR_LEN | 0 | name | 13 |
| TERMINATED | 0 | name | 1 |
fs/proc/inode.c proc_init_kmemcache() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 8295171497343737856 |
| PARAM_VALUE | 1 | size | 256 |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | flags | 256 |
| PARAM_VALUE | 4 | useroffset | 228 |
| PARAM_VALUE | 5 | usersize | 24 |
| PARAM_VALUE | 6 | ctor | 0 |
| BUF_SIZE | 0 | name | 15 |
| STR_LEN | 0 | name | 14 |
| TERMINATED | 0 | name | 1 |
| UNITS | 5 | usersize | unit_byte |
fs/orangefs/super.c orangefs_inode_cache_initialize() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 4758182536492589056 |
| PARAM_VALUE | 1 | size | 1776 |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | useroffset | 24 |
| PARAM_VALUE | 5 | usersize | 256 |
| BUF_SIZE | 0 | name | 21 |
| STR_LEN | 0 | name | 20 |
| TERMINATED | 0 | name | 1 |
| UNITS | 1 | size | unit_byte |
| UNITS | 5 | usersize | unit_byte |
kernel/utsname.c uts_ns_init() -> kmem_cache_create_usercopy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 5068667342194581504 |
| PARAM_VALUE | 1 | size | 704 |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | flags | 33024 |
| PARAM_VALUE | 4 | useroffset | 0 |
| PARAM_VALUE | 5 | usersize | 390 |
| PARAM_VALUE | 6 | ctor | 0 |
| BUF_SIZE | 0 | name | 14 |
| STR_LEN | 0 | name | 13 |
| TERMINATED | 0 | name | 1 |
| UNITS | 1 | size | unit_byte |
| UNITS | 5 | usersize | unit_byte |