Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- fs/nfs/callback_proc.c
- fs/nfs/delegation.c, line 1205
- fs/nfs/inode.c, line 1197
- fs/nfs/internal.h, line 755
- fs/nfs/nfs4proc.c
- fs/nfs/pnfs.c, line 860
- fs/nfs/super.c
- fs/nfs/unlink.c
Smatch caller information:
fs/nfs/inode.c alloc_nfs_open_context() -> nfs_sb_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | sb->s_flags | 0-u64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | sb->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 0 | sb->s_blocksize_bits | |
| UNITS | 0 | sb | unit_byte |
fs/nfs/delegation.c nfs_delegation_find_inode_server() -> nfs_sb_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &delegation->lock | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct nfs_delegation)->lock |
fs/nfs/super.c nfs_client_for_each_server() -> nfs_sb_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 1-u64max |
| LOCK2 | rcu_read |
fs/nfs/callback_proc.c nfs_layout_find_inode_by_fh() -> nfs_sb_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | rcu_read |
fs/nfs/callback_proc.c nfs_layout_find_inode_by_stateid() -> nfs_sb_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | rcu_read |
fs/nfs/nfs42proc.c nfs_igrab_and_active() -> nfs_sb_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
fs/nfs/nfs4proc.c nfs41_free_stateid() -> nfs_sb_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfs/nfs4proc.c nfs4_do_close() -> nfs_sb_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | sb | unit_byte |
fs/nfs/nfs4proc.c nfs4_opendata_alloc() -> nfs_sb_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | sb | unit_byte |
fs/nfs/nfs4proc.c nfs_igrab_and_active() -> nfs_sb_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| STR_LEN | 0 | sb | (-1),8 |
| STR_LEN | 0 | sb | (-1),8 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | sb->s_flags | 0-u64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | sb->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 0 | sb->s_blocksize_bits | |
| UNITS | 0 | sb | unit_byte |
fs/nfs/pnfs.c pnfs_layout_bulk_destroy_byserver_locked() -> nfs_sb_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &clp->cl_lock | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct nfs_client)->cl_lock |
fs/nfs/unlink.c nfs_async_rename() -> nfs_sb_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | sb | unit_byte |
| HALF_LOCKED2 | &target->i_rwsem |
fs/nfs/unlink.c nfs_do_call_unlink() -> nfs_sb_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | sb | unit_byte |
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_parent->d_lockref.lock | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| HALF_LOCKED2 | &inode->i_lock |