Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

fs/ocfs2/quota_local.c ocfs2_extend_local_quota_file() -> ocfs2_set_new_buffer_uptodate()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 bh 4096-ptr_max
BUF_SIZE 1 bh (-1)-s32max
BUF_SIZE 1 bh (-1)-s32max
CAPPED_DATA 1 bh 1
DATA_SOURCE 1 bh r sb_getblk
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dquot->dq_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct dquot)->dq_lock

fs/ocfs2/quota_local.c ocfs2_local_quota_add_chunk() -> ocfs2_set_new_buffer_uptodate()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 bh 4096-ptr_max
BUF_SIZE 1 bh (-1)-s32max
BUF_SIZE 1 bh (-1)-s32max
CAPPED_DATA 1 bh 1
DATA_SOURCE 1 bh r sb_getblk
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dquot->dq_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct dquot)->dq_lock

fs/ocfs2/quota_local.c ocfs2_local_quota_add_chunk() -> ocfs2_set_new_buffer_uptodate()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 bh 4096-ptr_max
BUF_SIZE 1 bh (-1)-s32max
BUF_SIZE 1 bh (-1)-s32max
CAPPED_DATA 1 bh 1
DATA_SOURCE 1 bh r sb_getblk
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dquot->dq_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct dquot)->dq_lock

fs/ocfs2/dir.c ocfs2_dx_dir_attach_index() -> ocfs2_set_new_buffer_uptodate()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 bh 4096-ptr_max
BUF_SIZE 1 bh (-1)-s32max
BUF_SIZE 1 bh (-1)-s32max
CAPPED_DATA 1 bh 1
DATA_SOURCE 1 bh r sb_getblk
NOCHECK_CALL

fs/ocfs2/dir.c ocfs2_dx_dir_format_cluster() -> ocfs2_set_new_buffer_uptodate()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 bh 4096-ptr_max
BUF_SIZE 1 bh (-1)-s32max
BUF_SIZE 1 bh (-1)-s32max
CAPPED_DATA 1 bh 1
DATA_SOURCE 1 bh r sb_getblk
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 bh unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem

fs/ocfs2/dir.c ocfs2_extend_dir() -> ocfs2_set_new_buffer_uptodate()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 bh 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem

fs/ocfs2/dir.c ocfs2_fill_new_dir_el() -> ocfs2_set_new_buffer_uptodate()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 bh 0,4096-ptr_max
NOCHECK_CALL

fs/ocfs2/suballoc.c ocfs2_block_group_alloc_contig() -> ocfs2_set_new_buffer_uptodate()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 bh 4096-ptr_max
BUF_SIZE 1 bh (-1)-s32max
BUF_SIZE 1 bh (-1)-s32max
CAPPED_DATA 1 bh 1
DATA_SOURCE 1 bh r sb_getblk
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &alloc_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/suballoc.c ocfs2_block_group_alloc_discontig() -> ocfs2_set_new_buffer_uptodate()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 bh 4096-ptr_max
BUF_SIZE 1 bh (-1)-s32max
BUF_SIZE 1 bh (-1)-s32max
CAPPED_DATA 1 bh 1
DATA_SOURCE 1 bh r sb_getblk
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &alloc_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/namei.c __ocfs2_mknod_locked() -> ocfs2_set_new_buffer_uptodate()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 bh 4096-ptr_max
BUF_SIZE 1 bh (-1)-s32max
DATA_SOURCE 1 bh r sb_getblk
NOCHECK_CALL
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/namei.c ocfs2_create_symlink_data() -> ocfs2_set_new_buffer_uptodate()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 bh 4096-ptr_max
NOCHECK_CALL

fs/ocfs2/resize.c ocfs2_group_add() -> ocfs2_set_new_buffer_uptodate()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 bh->b_data->bg_chain 0
PARAM_VALUE 1 bh->b_data->bg_check.bc_reserved1 0
CAPPED_DATA 1 bh->b_data->bg_bits 1
CAPPED_DATA 1 bh->b_data->bg_free_bits_count 1
CAPPED_DATA 1 bh->b_data->bg_size 1
CAPABLE 0 24
NOCHECK_CALL
LOCK2 &main_bm_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/alloc.c ocfs2_create_new_meta_bhs() -> ocfs2_set_new_buffer_uptodate()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_cache_lock 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_cache_unlock 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_io_lock 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_io_unlock 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 bh 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/ocfs2/alloc.c ocfs2_reuse_blk_from_dealloc() -> ocfs2_set_new_buffer_uptodate()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_cache_lock 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_cache_unlock 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_io_lock 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_io_unlock 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 bh 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/ocfs2/refcounttree.c ocfs2_create_refcount_tree() -> ocfs2_set_new_buffer_uptodate()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 0 ci->ci_flags 0,2-u32max
PARAM_VALUE 0 ci->ci_num_cached 0
PARAM_VALUE 0 ci->ci_ops 7746144380627247104
PARAM_VALUE 1 bh 4096-ptr_max
BUF_SIZE 1 bh (-1)-s32max
BUF_SIZE 1 bh (-1)-s32max
CAPPED_DATA 1 bh 1
DATA_SOURCE 1 bh r sb_getblk
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/refcounttree.c ocfs2_duplicate_clusters_by_jbd() -> ocfs2_set_new_buffer_uptodate()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_cache_lock 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_cache_unlock 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_io_lock 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_io_unlock 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 bh 4096-ptr_max
BUF_SIZE 0 ci 48
BUF_SIZE 1 bh (-1)-s32max
BUF_SIZE 1 bh (-1)-s32max
CAPPED_DATA 1 bh 1
DATA_SOURCE 0 ci r INODE_CACHE
DATA_SOURCE 1 bh r sb_getblk
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 bh unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/refcounttree.c ocfs2_expand_inline_ref_root() -> ocfs2_set_new_buffer_uptodate()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 bh 4096-ptr_max
BUF_SIZE 0 ci (-1),48
BUF_SIZE 0 ci (-1),48
BUF_SIZE 1 bh (-1)-s32max
BUF_SIZE 1 bh (-1)-s32max
CAPPED_DATA 1 bh 1
DATA_SOURCE 0 ci $1
DATA_SOURCE 1 bh r sb_getblk
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/refcounttree.c ocfs2_new_leaf_refcount_block() -> ocfs2_set_new_buffer_uptodate()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 bh 4096-ptr_max
BUF_SIZE 0 ci (-1),48
BUF_SIZE 0 ci (-1),48
BUF_SIZE 1 bh (-1)-s32max
BUF_SIZE 1 bh (-1)-s32max
CAPPED_DATA 1 bh 1
DATA_SOURCE 0 ci $1
DATA_SOURCE 1 bh r sb_getblk
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/xattr.c ocfs2_create_xattr_block() -> ocfs2_set_new_buffer_uptodate()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 bh 4096-ptr_max
BUF_SIZE 1 bh (-1)-s32max
BUF_SIZE 1 bh (-1)-s32max
CAPPED_DATA 1 bh 1
DATA_SOURCE 1 bh r sb_getblk
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &new_inode->i_rwsem

fs/ocfs2/xattr.c ocfs2_init_xattr_bucket() -> ocfs2_set_new_buffer_uptodate()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 bh 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &oi->ip_alloc_sem