Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
fs/gfs2/xattr.c ea_alloc_blk() -> gfs2_metatype_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_data | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_private | 1-u64max |
| PARAM_VALUE | 1 | type | 10 |
| PARAM_VALUE | 2 | format | 1600 |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| DATA_SOURCE | 0 | bh | r gfs2_meta_new |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bh->b_size |
fs/gfs2/xattr.c ea_set_block() -> gfs2_metatype_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_data | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_data->mh_magic | 18225520 |
| PARAM_VALUE | 0 | bh->b_private | 1-u64max |
| PARAM_VALUE | 1 | type | 5 |
| PARAM_VALUE | 2 | format | 500 |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| DATA_SOURCE | 0 | bh | r gfs2_meta_new |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bh->b_size |
fs/gfs2/xattr.c ea_write() -> gfs2_metatype_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_data | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_data->mh_magic | 18225520 |
| PARAM_VALUE | 0 | bh->b_private | 1-u64max |
| PARAM_VALUE | 1 | type | 11 |
| PARAM_VALUE | 2 | format | 1700 |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| DATA_SOURCE | 0 | bh | r gfs2_meta_new |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bh->b_size |
fs/gfs2/dir.c gfs2_dir_get_new_buffer() -> gfs2_metatype_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_data | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_data->mh_magic | 18225520 |
| PARAM_VALUE | 0 | bh->b_private | 1-u64max |
| PARAM_VALUE | 1 | type | 7 |
| PARAM_VALUE | 2 | format | 700 |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| DATA_SOURCE | 0 | bh | r gfs2_meta_new |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bh->b_size | |
| LOCK2 | &sdp->sd_log_flush_lock | ||
| HALF_LOCKED2 | &ip->i_rw_mutex | ||
| TYPE_LOCK | (struct gfs2_sbd)->sd_log_flush_lock |
fs/gfs2/dir.c new_leaf() -> gfs2_metatype_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_data | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_data->mh_magic | 18225520 |
| PARAM_VALUE | 0 | bh->b_private | 1-u64max |
| PARAM_VALUE | 1 | type | 6 |
| PARAM_VALUE | 2 | format | 600 |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| DATA_SOURCE | 0 | bh | r gfs2_meta_new |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bh->b_size | |
| LOCK2 | &sdp->sd_log_flush_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct gfs2_sbd)->sd_log_flush_lock |
fs/gfs2/bmap.c gfs2_indirect_init() -> gfs2_metatype_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 5 |
| PARAM_VALUE | 2 | format | 500 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ip->i_rw_mutex | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &sdp->sd_log_flush_lock | ||
| TYPE_LOCK | (struct gfs2_inode)->i_rw_mutex | ||
| TYPE_LOCK | (struct gfs2_sbd)->sd_log_flush_lock |
fs/gfs2/inode.c gfs2_init_xattr() -> gfs2_metatype_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_data | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_data->mh_magic | 18225520 |
| PARAM_VALUE | 0 | bh->b_private | 1-u64max |
| PARAM_VALUE | 1 | type | 10 |
| PARAM_VALUE | 2 | format | 1600 |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| DATA_SOURCE | 0 | bh | r gfs2_meta_new |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bh->b_size | |
| LOCK2 | &sdp->sd_log_flush_lock | ||
| TYPE_LOCK | (struct gfs2_sbd)->sd_log_flush_lock |