Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/ocfs2/dlm/dlmdomain.c dlm_assert_joined_handler() -> __dlm_set_joining_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->domain_map | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->exit_domain_map | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | node | 255 |
| CAPPED_DATA | 0 | dlm->joining_node | 1 |
| DATA_SOURCE | 0 | dlm | r __dlm_lookup_domain_full |
| BIT_INFO | 0 | dlm->reco.state | 0x0,0xfffe |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | global &dlm_domain_lock | ||
| LOCK2 | 0 | &dlm->spinlock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dlm_ctxt)->spinlock |
fs/ocfs2/dlm/dlmdomain.c dlm_cancel_join_handler() -> __dlm_set_joining_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | node | 255 |
| CAPPED_DATA | 0 | dlm->joining_node | 1 |
| DATA_SOURCE | 0 | dlm | r __dlm_lookup_domain_full |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | global &dlm_domain_lock | ||
| LOCK2 | 0 | &dlm->spinlock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dlm_ctxt)->spinlock |
fs/ocfs2/dlm/dlmdomain.c dlm_query_join_handler() -> __dlm_set_joining_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_state | 1-2,4-u32max |
| PARAM_VALUE | 0 | dlm->domain_map | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->joining_node | 255 |
| PARAM_VALUE | 0 | dlm->recovery_map | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->spinlock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | dlm->dlm_locking_proto.pv_major | 1 |
| CAPPED_DATA | 0 | dlm->dlm_locking_proto.pv_minor | 1 |
| CAPPED_DATA | 0 | dlm->fs_locking_proto.pv_major | 1 |
| CAPPED_DATA | 0 | dlm->fs_locking_proto.pv_minor | 1 |
| DATA_SOURCE | 0 | dlm | r __dlm_lookup_domain_full |
| BIT_INFO | 0 | dlm->reco.state | 0x0,0xfffe |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | global &dlm_domain_lock | ||
| LOCK2 | 0 | &dlm->spinlock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dlm_ctxt)->spinlock |
fs/ocfs2/dlm/dlmdomain.c dlm_try_to_join_domain() -> __dlm_set_joining_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_debugfs_subroot->d_children.first | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_debugfs_subroot->d_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_debugfs_subroot->d_sb->s_fs_info->s_bmap_bits | 0-4294967295 |
| PARAM_VALUE | 0 | dlm->dlm_debugfs_subroot->d_sb->s_fs_info->s_bmap_count | 0-4294967295 |
| PARAM_VALUE | 0 | dlm->dlm_debugfs_subroot->d_sb->s_fs_info->s_data_blksize | 0-4294967295 |
| PARAM_VALUE | 0 | dlm->dlm_debugfs_subroot->d_sb->s_fs_info->s_hashsize | s32min-s32max |
| PARAM_VALUE | 0 | dlm->dlm_debugfs_subroot->d_sb->s_fs_info->s_last_bmap | 0-4294967295 |
| PARAM_VALUE | 0 | dlm->dlm_debugfs_subroot->d_sb->s_fs_info->s_mode | 0-u16max |
| PARAM_VALUE | 0 | dlm->dlm_debugfs_subroot->d_sb->s_fs_info->s_partition_size | s32min-s32max |
| PARAM_VALUE | 0 | dlm->dlm_debugfs_subroot->d_sb->s_fs_info->s_reserved | s32min-s32max |
| PARAM_VALUE | 0 | dlm->dlm_debugfs_subroot->d_sb->s_fs_info->s_root_block | 0-4294967295 |
| PARAM_VALUE | 0 | dlm->dlm_debugfs_subroot->d_sb->s_fs_info->work_queued | s32min-s32max |
| PARAM_VALUE | 0 | dlm->dlm_domain_handlers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_domain_handlers.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_hb_down.hc_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_hb_down.hc_func | 369498888348577792 |
| PARAM_VALUE | 0 | dlm->dlm_hb_down.hc_item.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_hb_down.hc_item.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_hb_down.hc_item.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_hb_down.hc_item.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_hb_down.hc_magic | 1372710124 |
| PARAM_VALUE | 0 | dlm->dlm_hb_down.hc_priority | 251658240 |
| PARAM_VALUE | 0 | dlm->dlm_hb_down.hc_type | 0 |
| PARAM_VALUE | 0 | dlm->dlm_hb_up.hc_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_hb_up.hc_func | 2934861266698526720 |
| PARAM_VALUE | 0 | dlm->dlm_hb_up.hc_item.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_hb_up.hc_item.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_hb_up.hc_item.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_hb_up.hc_item.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_hb_up.hc_magic | 1372710124 |
| PARAM_VALUE | 0 | dlm->dlm_hb_up.hc_priority | 134217728 |
| PARAM_VALUE | 0 | dlm->dlm_hb_up.hc_type | 1 |
| PARAM_VALUE | 0 | dlm->dlm_reco_thread_task | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_reco_thread_task->blocked_on | 0 |
| PARAM_VALUE | 0 | dlm->dlm_reco_thread_task->cpus_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_reco_thread_task->migration_disabled | 0-1 |
| PARAM_VALUE | 0 | dlm->dlm_reco_thread_task->on_rq | 0-1,3-255 |
| PARAM_VALUE | 0 | dlm->dlm_reco_thread_task->pushable_dl_tasks.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | dlm->dlm_reco_thread_task->saved_state | 0 |
| PARAM_VALUE | 0 | dlm->dlm_reco_thread_task->wake_cpu | 0-s32max |
| PARAM_VALUE | 0 | dlm->dlm_thread_task | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_thread_task->blocked_on | 0 |
| PARAM_VALUE | 0 | dlm->dlm_thread_task->cpus_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_thread_task->migration_disabled | 0-1 |
| PARAM_VALUE | 0 | dlm->dlm_thread_task->on_rq | 0-1,3-255 |
| PARAM_VALUE | 0 | dlm->dlm_thread_task->pushable_dl_tasks.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | dlm->dlm_thread_task->saved_state | 0 |
| PARAM_VALUE | 0 | dlm->dlm_thread_task->wake_cpu | 0-s32max |
| PARAM_VALUE | 0 | dlm->dlm_worker | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->list.next | 4455354959328202752 |
| PARAM_VALUE | 0 | dlm->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *dlm->dlm_debugfs_subroot->d_children.first->pprev | 1-u64max |
| BUF_SIZE | 0 | dlm | 1560 |
| BUF_SIZE | 0 | dlm->dlm_worker | (-1),512,528-8720 |
| DATA_SOURCE | 0 | dlm | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &dlm->spinlock | |
| TYPE_LOCK | (struct dlm_ctxt)->spinlock |
fs/ocfs2/dlm/dlmdomain.c dlm_try_to_join_domain() -> __dlm_set_joining_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_debugfs_subroot->d_children.first | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_debugfs_subroot->d_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_debugfs_subroot->d_sb->s_fs_info->s_bmap_bits | 0-4294967295 |
| PARAM_VALUE | 0 | dlm->dlm_debugfs_subroot->d_sb->s_fs_info->s_bmap_count | 0-4294967295 |
| PARAM_VALUE | 0 | dlm->dlm_debugfs_subroot->d_sb->s_fs_info->s_data_blksize | 0-4294967295 |
| PARAM_VALUE | 0 | dlm->dlm_debugfs_subroot->d_sb->s_fs_info->s_hashsize | s32min-s32max |
| PARAM_VALUE | 0 | dlm->dlm_debugfs_subroot->d_sb->s_fs_info->s_last_bmap | 0-4294967295 |
| PARAM_VALUE | 0 | dlm->dlm_debugfs_subroot->d_sb->s_fs_info->s_mode | 0-u16max |
| PARAM_VALUE | 0 | dlm->dlm_debugfs_subroot->d_sb->s_fs_info->s_partition_size | s32min-s32max |
| PARAM_VALUE | 0 | dlm->dlm_debugfs_subroot->d_sb->s_fs_info->s_reserved | s32min-s32max |
| PARAM_VALUE | 0 | dlm->dlm_debugfs_subroot->d_sb->s_fs_info->s_root_block | 0-4294967295 |
| PARAM_VALUE | 0 | dlm->dlm_debugfs_subroot->d_sb->s_fs_info->work_queued | s32min-s32max |
| PARAM_VALUE | 0 | dlm->dlm_domain_handlers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_domain_handlers.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_hb_down.hc_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_hb_down.hc_func | 369498888348577792 |
| PARAM_VALUE | 0 | dlm->dlm_hb_down.hc_item.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_hb_down.hc_item.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_hb_down.hc_item.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_hb_down.hc_item.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_hb_down.hc_magic | 1372710124 |
| PARAM_VALUE | 0 | dlm->dlm_hb_down.hc_priority | 251658240 |
| PARAM_VALUE | 0 | dlm->dlm_hb_down.hc_type | 0 |
| PARAM_VALUE | 0 | dlm->dlm_hb_up.hc_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_hb_up.hc_func | 2934861266698526720 |
| PARAM_VALUE | 0 | dlm->dlm_hb_up.hc_item.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_hb_up.hc_item.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_hb_up.hc_item.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_hb_up.hc_item.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_hb_up.hc_magic | 1372710124 |
| PARAM_VALUE | 0 | dlm->dlm_hb_up.hc_priority | 134217728 |
| PARAM_VALUE | 0 | dlm->dlm_hb_up.hc_type | 1 |
| PARAM_VALUE | 0 | dlm->dlm_reco_thread_task | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_reco_thread_task->blocked_on | 0 |
| PARAM_VALUE | 0 | dlm->dlm_reco_thread_task->cpus_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_reco_thread_task->migration_disabled | 0-1 |
| PARAM_VALUE | 0 | dlm->dlm_reco_thread_task->on_rq | 0-1,3-255 |
| PARAM_VALUE | 0 | dlm->dlm_reco_thread_task->pushable_dl_tasks.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | dlm->dlm_reco_thread_task->saved_state | 0 |
| PARAM_VALUE | 0 | dlm->dlm_reco_thread_task->wake_cpu | 0-s32max |
| PARAM_VALUE | 0 | dlm->dlm_state | 1 |
| PARAM_VALUE | 0 | dlm->dlm_thread_task | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_thread_task->blocked_on | 0 |
| PARAM_VALUE | 0 | dlm->dlm_thread_task->cpus_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_thread_task->migration_disabled | 0-1 |
| PARAM_VALUE | 0 | dlm->dlm_thread_task->on_rq | 0-1,3-255 |
| PARAM_VALUE | 0 | dlm->dlm_thread_task->pushable_dl_tasks.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | dlm->dlm_thread_task->saved_state | 0 |
| PARAM_VALUE | 0 | dlm->dlm_thread_task->wake_cpu | 0-s32max |
| PARAM_VALUE | 0 | dlm->dlm_worker | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->list.next | 4455354959328202752 |
| PARAM_VALUE | 0 | dlm->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *dlm->dlm_debugfs_subroot->d_children.first->pprev | 1-u64max |
| PARAM_VALUE | 1 | node | 255 |
| BUF_SIZE | 0 | dlm | 1560 |
| BUF_SIZE | 0 | dlm->dlm_worker | (-1),512,528-8720 |
| DATA_SOURCE | 0 | dlm | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &dlm->spinlock | |
| TYPE_LOCK | (struct dlm_ctxt)->spinlock |
fs/ocfs2/dlm/dlmrecovery.c __dlm_hb_node_down() -> __dlm_set_joining_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->domain_map | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | node | 255 |
| BUF_SIZE | 0 | dlm | 720,1560 |
| BUF_SIZE | 0 | dlm | 720,1560 |
| CAPPED_DATA | 0 | dlm | 1 |
| CAPPED_DATA | 0 | dlm->joining_node | 1 |
| DATA_SOURCE | 0 | dlm | $0 |
| PARAM_COMPARE | 0 | dlm->joining_node | <= $0->reco.new_master |
| PREEMPT_ADD | |||
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &dlm->spinlock | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &o2hb_callback_sem | ||
| TYPE_LOCK | (struct dlm_ctxt)->spinlock |