Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 10 files:

Smatch caller information:

fs/signalfd.c do_signalfd4() -> anon_inode_getfile_fmode()

Type Parameter Key Value
PARAM_VALUE 0 name 2079321038536777728
PARAM_VALUE 1 fops 8438495335622189056
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 2,2050
PARAM_VALUE 4 f_mode 134217728
BUF_SIZE 0 name 11
BUF_SIZE 2 priv 8
DATA_SOURCE 2 priv r _kmalloc_noprof
STR_LEN 0 name 10
BIT_INFO 3 flags 0x2,0x802
TERMINATED 0 name 1
USER_DATA 3 flags 2,2050[c]

fs/eventfd.c do_eventfd() -> anon_inode_getfile_fmode()

Type Parameter Key Value
PARAM_VALUE 0 name 7572346530182795264
PARAM_VALUE 1 fops 3558093872659259392
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 2,2050-526338
PARAM_VALUE 4 f_mode 134217728
BUF_SIZE 0 name 10
BUF_SIZE 2 priv 112
DATA_SOURCE 2 priv r _kmalloc_noprof
DATA_SOURCE 3 flags $1 [m]
STR_LEN 0 name 9
BIT_INFO 3 flags 0x2,0x80802
TERMINATED 0 name 1
USER_DATA 3 flags 2,2050-526338[c]

fs/timerfd.c __do_sys_timerfd_create() -> anon_inode_getfile_fmode()

Type Parameter Key Value
PARAM_VALUE 0 name 8920737989311725568
PARAM_VALUE 1 fops 8950752918276493312
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 2,2050-526338
PARAM_VALUE 4 f_mode 134217728
BUF_SIZE 0 name 10
BUF_SIZE 2 priv 368
DATA_SOURCE 2 priv r _kzalloc_noprof
STR_LEN 0 name 9
BIT_INFO 3 flags 0x2,0x80802
TERMINATED 0 name 1
USER_DATA 3 flags 2,2050-526338[c]

fs/timerfd.c __do_sys_timerfd_create() -> anon_inode_getfile_fmode()

Type Parameter Key Value
PARAM_VALUE 0 name 8920737989311725568
PARAM_VALUE 1 fops 8950752918276493312
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 2,2050-526338
PARAM_VALUE 4 f_mode 134217728
BUF_SIZE 0 name 10
BUF_SIZE 2 priv 368
DATA_SOURCE 2 priv r _kzalloc_noprof
STR_LEN 0 name 9
BIT_INFO 3 flags 0x2,0x80802
TERMINATED 0 name 1
USER_DATA 3 flags 2,2050-526338[c]

drivers/vfio/group.c vfio_device_open_file() -> anon_inode_getfile_fmode()

Type Parameter Key Value
PARAM_VALUE 0 name 6465922213462708224
PARAM_VALUE 1 fops 5046172142214582272
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 2
PARAM_VALUE 4 f_mode 24
BUF_SIZE 0 name 14
BUF_SIZE 2 priv 112
DATA_SOURCE 2 priv r vfio_allocate_device_file
STR_LEN 0 name 13
TERMINATED 0 name 1

arch/x86/kvm/../../../virt/kvm/kvm_main.c kvm_vcpu_ioctl_get_stats_fd() -> anon_inode_getfile_fmode()

Type Parameter Key Value
PARAM_VALUE 0 name 1664704834190929920
PARAM_VALUE 1 fops 2547130185892433920
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 0
PARAM_VALUE 4 f_mode 8
BUF_SIZE 0 name 28
BUF_SIZE 2 priv s32min-(-2),1-s32max
DATA_SOURCE 2 priv $0
STR_LEN 0 name 27
LOCK2 &vcpu->mutex
TYPE_LOCK (struct kvm_vcpu)->mutex

arch/x86/kvm/../../../virt/kvm/kvm_main.c kvm_vm_ioctl_get_stats_fd() -> anon_inode_getfile_fmode()

Type Parameter Key Value
PARAM_VALUE 0 name 2269175471549382656
PARAM_VALUE 1 fops 4730063843998822400
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 0
PARAM_VALUE 4 f_mode 8
BUF_SIZE 0 name 13
BUF_SIZE 2 priv s32min-(-2),1-s32max
DATA_SOURCE 2 priv $0
STR_LEN 0 name 12
TERMINATED 0 name 1

fs/notify/fanotify/fanotify_user.c __do_sys_fanotify_init() -> anon_inode_getfile_fmode()

Type Parameter Key Value
PARAM_VALUE 0 name 8543808480267120640
PARAM_VALUE 1 fops 5560354093659824128
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 2,2050,524290,526338
PARAM_VALUE 4 f_mode 33554432
BUF_SIZE 0 name 11
BUF_SIZE 2 priv 768
DATA_SOURCE 2 priv r class_fsnotify_group_constructor
FUZZY_MAX 3 flags 2
STR_LEN 0 name 10
BIT_INFO 3 flags 0x2,0x80802
TERMINATED 0 name 1

fs/notify/fanotify/fanotify_user.c __do_sys_fanotify_init() -> anon_inode_getfile_fmode()

Type Parameter Key Value
PARAM_VALUE 0 name 8543808480267120640
PARAM_VALUE 1 fops 5560354093659824128
PARAM_VALUE 2 priv 4096-ptr_max
PARAM_VALUE 3 flags 2,2050,524290,526338
PARAM_VALUE 4 f_mode 33554432
BUF_SIZE 0 name 11
BUF_SIZE 2 priv 768
DATA_SOURCE 2 priv r class_fsnotify_group_constructor
FUZZY_MAX 3 flags 2
STR_LEN 0 name 10
BIT_INFO 3 flags 0x2,0x80802
TERMINATED 0 name 1