Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/gfs2/rgrp.c gfs2_rlist_alloc() -> gfs2_holder_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 1 |
| PARAM_VALUE | 2 | flags | 32 |
| PARAM_VALUE | 3 | gh | 4096-ptr_max |
| DATA_SOURCE | 1 | state | $1 |
| DATA_SOURCE | 2 | flags | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/gfs2/file.c do_flock() -> gfs2_holder_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gl | 4096-ptr_max |
| PARAM_VALUE | 0 | gl->gl_lockref.count | 1-s32max |
| PARAM_VALUE | 1 | state | 1,3 |
| PARAM_VALUE | 2 | flags | 640,642 |
| PARAM_VALUE | 3 | gh | 4096-ptr_max |
| PARAM_VALUE | 3 | gh->gh_gl | 0 |
| BUF_SIZE | 3 | gh | 56 |
| FUZZY_MAX | 1 | state | 3 |
| FUZZY_MAX | 2 | flags | 640 |
| BIT_INFO | 1 | state | 0x1,0x3 |
| BIT_INFO | 2 | flags | 0x280,0x282 |
| HARD_MAX | 1 | state | 3 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &file->f_lock | ||
| LOCK2 | &fp->f_fl_mutex | ||
| TYPE_LOCK | (struct file)->f_lock | ||
| TYPE_LOCK | (struct gfs2_file)->f_fl_mutex |
fs/gfs2/file.c gfs2_fallocate() -> gfs2_holder_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 1 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | gh | 4683808137193000960 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/gfs2/file.c gfs2_fault() -> gfs2_holder_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 3 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | gh | 5269725354833780736 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/gfs2/file.c gfs2_file_buffered_write() -> gfs2_holder_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 1 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | gh | 7059569175158624256 |
| PARAM_VALUE | 3 | gh->gh_flags | 0 |
| PARAM_VALUE | 3 | gh->gh_iflags | 0 |
| PARAM_VALUE | 3 | gh->gh_state | 1-3 |
| DATA_SOURCE | 3 | gh | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/gfs2/file.c gfs2_file_direct_read() -> gfs2_holder_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 2 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | gh | 3314339894935642112 |
| DATA_SOURCE | 3 | gh | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
fs/gfs2/file.c gfs2_file_direct_write() -> gfs2_holder_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 2 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | gh | 7059569175158624256 |
| DATA_SOURCE | 3 | gh | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/gfs2/file.c gfs2_file_read_iter() -> gfs2_holder_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 3 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | gh | 3314339894935642112 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
fs/gfs2/file.c gfs2_fileattr_get() -> gfs2_holder_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 3 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | gh | 3240272688215089152 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
fs/gfs2/file.c gfs2_page_mkwrite() -> gfs2_holder_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 1 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | gh | 7603486929002848256 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/gfs2/inode.c gfs2_exchange() -> gfs2_holder_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 1 |
| PARAM_VALUE | 2 | flags | 64 |
| PARAM_VALUE | 3 | gh | 3484210936022646784 |
| BUF_SIZE | 3 | gh | 224 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/gfs2/inode.c gfs2_exchange() -> gfs2_holder_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 1 |
| PARAM_VALUE | 2 | flags | 64 |
| PARAM_VALUE | 3 | gh | 3484210936022646792 |
| BUF_SIZE | 3 | gh | 168 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/gfs2/inode.c gfs2_exchange() -> gfs2_holder_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 1 |
| PARAM_VALUE | 2 | flags | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/gfs2/inode.c gfs2_exchange() -> gfs2_holder_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 1 |
| PARAM_VALUE | 2 | flags | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/gfs2/inode.c gfs2_get_link() -> gfs2_holder_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 3 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | gh | 1857383833800482816 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/gfs2/inode.c gfs2_link() -> gfs2_holder_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 1 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | gh | 7033044346282528768 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/gfs2/inode.c gfs2_link() -> gfs2_holder_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 1 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | gh | 3302898809160142848 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/gfs2/inode.c gfs2_rename() -> gfs2_holder_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 1 |
| PARAM_VALUE | 2 | flags | 64 |
| PARAM_VALUE | 3 | gh | 1296789008612073472 |
| BUF_SIZE | 3 | gh | 224 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/gfs2/inode.c gfs2_rename() -> gfs2_holder_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 1 |
| PARAM_VALUE | 2 | flags | 64 |
| PARAM_VALUE | 3 | gh | 1296789008612073480 |
| BUF_SIZE | 3 | gh | 168 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/gfs2/inode.c gfs2_rename() -> gfs2_holder_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 1 |
| PARAM_VALUE | 2 | flags | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/gfs2/inode.c gfs2_rename() -> gfs2_holder_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 1 |
| PARAM_VALUE | 2 | flags | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/gfs2/inode.c gfs2_unlink() -> gfs2_holder_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 1 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | gh | 7127022968379981824 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| HALF_LOCKED2 | &dir->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/gfs2/inode.c gfs2_unlink() -> gfs2_holder_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 1 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | gh | 8741420339448848384 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| HALF_LOCKED2 | &dir->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/gfs2/inode.c gfs2_unlink() -> gfs2_holder_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 1 |
| PARAM_VALUE | 2 | flags | 32 |
| PARAM_VALUE | 3 | gh | 3548931838407843840 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| HALF_LOCKED2 | &dir->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |