Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 27 files:

Smatch caller information:

drivers/usb/gadget/legacy/inode.c gadgetfs_make_inode() -> get_next_ino()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &sb->s_umount
HALF_LOCKED2 global &sb_mutex

fs/tracefs/inode.c tracefs_get_inode() -> get_next_ino()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

fs/ramfs/inode.c ramfs_get_inode() -> get_next_ino()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/proc/base.c proc_pid_make_inode() -> get_next_ino()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/autofs/inode.c autofs_get_inode() -> get_next_ino()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

security/apparmor/apparmorfs.c __aafs_setup_d_inode() -> get_next_ino()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dir->i_rwsem
HALF_LOCKED2 &parent->lock

security/apparmor/apparmorfs.c aa_mk_null_file() -> get_next_ino()

Type Parameter Key Value

fs/tracefs/event_inode.c eventfs_dir_ino() -> get_next_ino()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

fs/tracefs/event_inode.c eventfs_dir_ino() -> get_next_ino()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

fs/pstore/inode.c pstore_get_inode() -> get_next_ino()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &psi->read_mutex
HALF_LOCKED2 _T->lock

fs/pipe.c get_pipe_inode() -> get_next_ino()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/configfs/inode.c configfs_new_inode() -> get_next_ino()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

kernel/bpf/inode.c bpf_get_inode() -> get_next_ino()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

net/sunrpc/rpc_pipe.c rpc_get_inode() -> get_next_ino()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/efivarfs/inode.c efivarfs_get_inode() -> get_next_ino()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &efivars_lock

net/socket.c sock_alloc() -> get_next_ino()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/debugfs/inode.c debugfs_get_inode() -> get_next_ino()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/dlmfs/dlmfs.c dlmfs_get_inode() -> get_next_ino()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_lockref.lock

fs/ocfs2/dlmfs/dlmfs.c dlmfs_get_root_inode() -> get_next_ino()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex
HALF_LOCKED2 &sb->s_umount

fs/hugetlbfs/inode.c hugetlbfs_get_inode() -> get_next_ino()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/hugetlbfs/inode.c hugetlbfs_get_root() -> get_next_ino()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex
HALF_LOCKED2 &sb->s_umount

security/inode.c securityfs_create_dentry() -> get_next_ino()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/fuse/control.c fuse_ctl_add_dentry() -> get_next_ino()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &fuse_mutex
HALF_LOCKED2 &fsc->uapi_mutex
HALF_LOCKED2 &sb->s_umount

drivers/usb/gadget/function/f_fs.c ffs_sb_make_inode() -> get_next_ino()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &sb->s_umount

fs/binfmt_misc.c bm_get_inode() -> get_next_ino()

Type Parameter Key Value

fs/proc/proc_sysctl.c proc_sys_make_inode() -> get_next_ino()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/libfs.c alloc_anon_inode() -> get_next_ino()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctx->ring_lock

ipc/mqueue.c mqueue_get_inode() -> get_next_ino()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING