Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 18 files:

Smatch caller information:

drivers/iio/industrialio-buffer.c iio_device_buffer_getfd() -> anon_inode_getfd()

Type Parameter Key Value
PARAM_VALUE 0 name 9116059812082896896
PARAM_VALUE 1 fops 1270978639451205632
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 524290
BUF_SIZE 0 name 11
BUF_SIZE 2 priv 16
DATA_SOURCE 2 priv r _kzalloc_noprof
STR_LEN 0 name 10
TERMINATED 0 name 1
LOCK2 _T->lock

drivers/iio/industrialio-event.c iio_event_getfd() -> anon_inode_getfd()

Type Parameter Key Value
PARAM_VALUE 0 name 8963370120308428800
PARAM_VALUE 1 fops 6910259652391477248
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 524288
BUF_SIZE 0 name 10
DATA_SOURCE 2 priv $0
STR_LEN 0 name 9
TERMINATED 0 name 1
LOCK2 &iio_dev_opaque->mlock
LOCK2 _T->lock
TYPE_LOCK (struct iio_dev_opaque)->mlock

drivers/tee/tee_shm.c tee_shm_get_fd() -> anon_inode_getfd()

Type Parameter Key Value
PARAM_VALUE 0 name 5747042874215628800
PARAM_VALUE 1 fops 2453627844523552768
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 2
BUF_SIZE 0 name 8
BUF_SIZE 2 priv (-1),80
DATA_SOURCE 2 priv $0
STR_LEN 0 name 7
TERMINATED 0 name 1

kernel/bpf/syscall.c bpf_enable_runtime_stats() -> anon_inode_getfd()

Type Parameter Key Value
PARAM_VALUE 0 name 7380728453549613056
PARAM_VALUE 1 fops 4977033453254619136
PARAM_VALUE 2 priv 0
PARAM_VALUE 3 flags 524288
BUF_SIZE 0 name 10
STR_LEN 0 name 9
TERMINATED 0 name 1
LOCK2 global &bpf_stats_enabled_mutex

kernel/bpf/syscall.c bpf_link_new_fd() -> anon_inode_getfd()

Type Parameter Key Value
PARAM_VALUE 0 name 1196774773070667776
PARAM_VALUE 1 fops 1191163854066401280,1382743423391420416
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 524288
BUF_SIZE 0 name 9
BUF_SIZE 2 priv s32min-(-1),1-s32max
DATA_SOURCE 2 priv $0
STR_LEN 0 name 8
BIT_INFO 1 fops 0x10005d1046c0c000,0x13b7fdf7d6e9d000
TERMINATED 0 name 1

kernel/bpf/syscall.c bpf_map_new_fd() -> anon_inode_getfd()

Type Parameter Key Value
PARAM_VALUE 0 name 4640026799448211456
PARAM_VALUE 1 fops 2897800974294728704
PARAM_VALUE 2 priv 0-ptr_max
PARAM_VALUE 3 flags 524288-524290
BUF_SIZE 0 name 8
BUF_SIZE 2 priv s32min-(-1),1-s32max
DATA_SOURCE 2 priv $0
STR_LEN 0 name 7
BIT_INFO 3 flags 0x80000,0x80003
TERMINATED 0 name 1

kernel/bpf/syscall.c bpf_prog_new_fd() -> anon_inode_getfd()

Type Parameter Key Value
PARAM_VALUE 0 name 7889872465793724416
PARAM_VALUE 1 fops 3147714132376961024
PARAM_VALUE 2 priv 0-ptr_max
PARAM_VALUE 3 flags 524290
BUF_SIZE 0 name 9
DATA_SOURCE 2 priv $0
STR_LEN 0 name 8
TERMINATED 0 name 1

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_smi_events.c kfd_smi_event_open() -> anon_inode_getfd()

Type Parameter Key Value
PARAM_VALUE 0 name 7803635929623207936
PARAM_VALUE 1 fops 3287389397050523648
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 2
BUF_SIZE 0 name 11
BUF_SIZE 2 priv 240
BUF_SIZE 2 priv 240
DATA_SOURCE 2 priv r _kzalloc_noprof
CAPABLE 0 21

security/landlock/syscalls.c __do_sys_landlock_create_ruleset() -> anon_inode_getfd()

Type Parameter Key Value
PARAM_VALUE 0 name 2424795183195316224
PARAM_VALUE 1 fops 5344515262696988672
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 524290
BUF_SIZE 0 name 19
BUF_SIZE 2 priv 196-256
DATA_SOURCE 2 priv r landlock_create_ruleset
STR_LEN 0 name 18
TERMINATED 0 name 1

security/landlock/syscalls.c __do_sys_landlock_create_ruleset() -> anon_inode_getfd()

Type Parameter Key Value
PARAM_VALUE 0 name 2424795183195316224
PARAM_VALUE 1 fops 5344515262696988672
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 524290
BUF_SIZE 0 name 19
BUF_SIZE 2 priv 196-256
DATA_SOURCE 2 priv r landlock_create_ruleset
STR_LEN 0 name 18
TERMINATED 0 name 1

drivers/gpu/drm/xe/xe_oa.c xe_oa_stream_open_ioctl_locked() -> anon_inode_getfd()

Type Parameter Key Value
PARAM_VALUE 0 name 3650061078189649920
PARAM_VALUE 1 fops 1022999293168713728
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 0
BUF_SIZE 0 name 8
BUF_SIZE 2 priv 600
DATA_SOURCE 2 priv r _kzalloc_noprof
STR_LEN 0 name 7
TERMINATED 0 name 1
LOCK2 &param.hwe->gt->oa.gt_lock
TYPE_LOCK (struct xe_oa_gt)->gt_lock

drivers/gpu/drm/xe/xe_eu_stall.c xe_eu_stall_stream_open_locked() -> anon_inode_getfd()

Type Parameter Key Value
PARAM_VALUE 0 name 4792211758090235904
PARAM_VALUE 1 fops 948987882140966912
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 0
BUF_SIZE 0 name 14
BUF_SIZE 2 priv 512
DATA_SOURCE 2 priv r _kzalloc_noprof
STR_LEN 0 name 13
TERMINATED 0 name 1
LOCK2 &props.gt->eu_stall->stream_lock
TYPE_LOCK (struct xe_eu_stall_gt)->stream_lock

drivers/gpu/drm/i915/i915_perf.c i915_perf_open_ioctl_locked() -> anon_inode_getfd()

Type Parameter Key Value
PARAM_VALUE 0 name 8756046301167558656
PARAM_VALUE 1 fops 2033618783811915776
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 0,2048,524288,526336
BUF_SIZE 0 name 12
BUF_SIZE 2 priv 544
DATA_SOURCE 2 priv r _kzalloc_noprof
STR_LEN 0 name 11
BIT_INFO 3 flags 0x0,0x80800
TERMINATED 0 name 1
LOCK2 &gt->perf.lock
TYPE_LOCK (struct i915_perf_gt)->lock

fs/notify/inotify/inotify_user.c do_inotify_init() -> anon_inode_getfd()

Type Parameter Key Value
PARAM_VALUE 0 name 852694764222902272
PARAM_VALUE 1 fops 2335324248887635968
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 0-1048574
BUF_SIZE 0 name 8
BUF_SIZE 2 priv 768
DATA_SOURCE 2 priv r inotify_new_group
STR_LEN 0 name 7
BIT_INFO 3 flags 0x0,0x80800
TERMINATED 0 name 1
USER_DATA 3 flags 0-1048574[c]

fs/xfs/xfs_healthmon.c xfs_ioc_health_monitor() -> anon_inode_getfd()

Type Parameter Key Value
PARAM_VALUE 0 name 1280508563074187264
PARAM_VALUE 1 fops 4367694337356365824
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 524288
BUF_SIZE 0 name 14
BUF_SIZE 2 priv 344
DATA_SOURCE 2 priv r _kzalloc_noprof
STR_LEN 0 name 13
CAPABLE 0 21
TERMINATED 0 name 1

kernel/bpf/btf.c __btf_new_fd() -> anon_inode_getfd()

Type Parameter Key Value
PARAM_VALUE 0 name 6145917867572998144
PARAM_VALUE 1 fops 1674876385600901120
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 524288
BUF_SIZE 0 name 4
BUF_SIZE 2 priv (-1),248
DATA_SOURCE 2 priv $0
STR_LEN 0 name 3
TERMINATED 0 name 1

fs/fsopen.c fscontext_create_fd() -> anon_inode_getfd()

Type Parameter Key Value
PARAM_VALUE 0 name 5909151358018510848
PARAM_VALUE 1 fops 4500372809260630016
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 2,524290
BUF_SIZE 0 name 12
BUF_SIZE 2 priv 280
DATA_SOURCE 2 priv $0
STR_LEN 0 name 11
BIT_INFO 3 flags 0x2,0x80002
TERMINATED 0 name 1

arch/x86/kvm/../../../virt/kvm/kvm_main.c create_vcpu_fd() -> anon_inode_getfd()

Type Parameter Key Value
PARAM_VALUE 0 name 1900465586438729728
PARAM_VALUE 1 fops 6394743687745957888
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 524290
BUF_SIZE 0 name 22
DATA_SOURCE 2 priv $0
STR_LEN 0 name 21
LOCK2 &kvm->lock
LOCK2 &vcpu->mutex
TYPE_LOCK (struct kvm)->lock
TYPE_LOCK (struct kvm_vcpu)->mutex

arch/x86/kvm/../../../virt/kvm/kvm_main.c kvm_ioctl_create_device() -> anon_inode_getfd()

Type Parameter Key Value
PARAM_VALUE 1 fops 7782022104303771648
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 524290
BUF_SIZE 2 priv 40
DATA_SOURCE 2 priv r _kzalloc_noprof

sound/core/timer.c snd_utimer_ioctl_create() -> anon_inode_getfd()

Type Parameter Key Value
PARAM_VALUE 1 fops 7429976773722427392
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 524290
LOCK2 _T->lock