Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/nfs/flexfilelayout/flexfilelayout.c ff_layout_choose_ds_for_read() -> nfs4_ff_layout_prepare_ds()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lseg->pls_layout->plh_inode->i_sb->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | lseg->pls_layout->plh_inode->i_sb->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | dss_id | 0-4294967294 |
| PARAM_VALUE | 3 | fail_return | 0 |
| CAPPED_DATA | 2 | dss_id | 1 |
| DATA_SOURCE | 0 | lseg | $0 |
| DATA_SOURCE | 1 | mirror | r FF_LAYOUT_COMP |
| DATA_SOURCE | 2 | dss_id | r nfs4_ff_layout_calc_dss_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | dss_id | 0-4294967294[c] |
fs/nfs/flexfilelayout/flexfilelayout.c ff_layout_initiate_commit() -> nfs4_ff_layout_prepare_ds()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lseg | 4096-ptr_max |
| PARAM_VALUE | 3 | fail_return | 1 |
| CAPPED_DATA | 2 | dss_id | 1 |
| DATA_SOURCE | 1 | mirror | r FF_LAYOUT_COMP |
| DATA_SOURCE | 2 | dss_id | r calc_dss_id_from_commit |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |
fs/nfs/flexfilelayout/flexfilelayout.c ff_layout_pg_init_write() -> nfs4_ff_layout_prepare_ds()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lseg | 4096-ptr_max |
| PARAM_VALUE | 0 | lseg->pls_layout->plh_inode->i_sb->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | lseg->pls_layout->plh_inode->i_sb->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | lseg->pls_layout->plh_lc_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | lseg->pls_layout->plh_lc_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | lseg->pls_layout->plh_lc_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | lseg->pls_layout->plh_lc_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | lseg->pls_layout->plh_lc_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | lseg->pls_layout->plh_lc_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | lseg->pls_layout->plh_lc_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | lseg->pls_layout->plh_lc_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | *lseg->pls_layout->plh_stateid.data | 0-255 |
| PARAM_VALUE | 1 | mirror | 4096-ptr_max |
| PARAM_VALUE | 2 | dss_id | 0-4294967294 |
| PARAM_VALUE | 3 | fail_return | 1 |
| BUF_SIZE | 0 | lseg | (-1)-0,24,64,96,272 |
| BUF_SIZE | 0 | lseg | (-1)-0,24,64,96,272 |
| CAPPED_DATA | 2 | dss_id | 1 |
| DATA_SOURCE | 1 | mirror | r FF_LAYOUT_COMP |
| DATA_SOURCE | 2 | dss_id | r nfs4_ff_layout_calc_dss_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | lseg->num_fh | |
| HALF_LOCKED2 | &pool->lock |
fs/nfs/flexfilelayout/flexfilelayout.c ff_layout_read_pagelist() -> nfs4_ff_layout_prepare_ds()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lseg | 0,4096-ptr_max |
| PARAM_VALUE | 1 | mirror | 4096-ptr_max |
| PARAM_VALUE | 2 | dss_id | 0-4294967294 |
| PARAM_VALUE | 3 | fail_return | 0 |
| BUF_SIZE | 0 | lseg | (-1)-0,24,64,96,272 |
| BUF_SIZE | 0 | lseg | (-1)-0,24,64,96,272 |
| CAPPED_DATA | 2 | dss_id | 1 |
| DATA_SOURCE | 1 | mirror | r FF_LAYOUT_COMP |
| DATA_SOURCE | 2 | dss_id | r nfs4_ff_layout_calc_dss_id |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfs/flexfilelayout/flexfilelayout.c ff_layout_write_pagelist() -> nfs4_ff_layout_prepare_ds()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lseg | 0,4096-ptr_max |
| PARAM_VALUE | 1 | mirror | 4096-ptr_max |
| PARAM_VALUE | 2 | dss_id | 0-4294967294 |
| PARAM_VALUE | 3 | fail_return | 1 |
| BUF_SIZE | 0 | lseg | (-1)-0,24,64,96,272 |
| BUF_SIZE | 0 | lseg | (-1)-0,24,64,96,272 |
| CAPPED_DATA | 2 | dss_id | 1 |
| DATA_SOURCE | 1 | mirror | r FF_LAYOUT_COMP |
| DATA_SOURCE | 2 | dss_id | r nfs4_ff_layout_calc_dss_id |
| RX_PATH | |||
| TASK_NOT_RUNNING |