Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- fs/ceph/addr.c, line 300
- fs/ceph/dir.c
- fs/ceph/export.c
- fs/ceph/file.c, line 209
- fs/ceph/inode.c
- fs/ceph/ioctl.c
- fs/ceph/locks.c
- fs/ceph/super.c, line 1067
- fs/ceph/xattr.c, line 1138
Smatch caller information:
fs/ceph/locks.c ceph_lock_message() -> ceph_mdsc_create_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->fsc | 4096-ptr_max |
| PARAM_VALUE | 1 | op | 272,4361 |
| PARAM_VALUE | 2 | mode | 2 |
| DATA_SOURCE | 0 | mdsc | r ceph_sb_to_mdsc |
| DATA_SOURCE | 1 | op | $1 |
| FUZZY_MAX | 1 | op | 4361 |
| BIT_INFO | 1 | op | 0x100,0x1119 |
| HARD_MAX | 1 | op | 4361 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ceph/locks.c ceph_lock_wait_for_completion() -> ceph_mdsc_create_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->fsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | mdsc->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | op | 4361 |
| PARAM_VALUE | 2 | mode | 2 |
| CAPPED_DATA | 0 | &mdsc->mutex | 1 |
| DATA_SOURCE | 0 | mdsc | $0 |
fs/ceph/ioctl.c ceph_ioctl_set_layout() -> ceph_mdsc_create_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc->mdsmap->m_num_data_pg_pools | 1-s32max |
| PARAM_VALUE | 1 | op | 4359 |
| PARAM_VALUE | 2 | mode | 2 |
| CAPPED_DATA | 0 | mdsc->mdsmap->m_num_data_pg_pools | 1 |
fs/ceph/ioctl.c ceph_ioctl_set_layout_policy() -> ceph_mdsc_create_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc->mdsmap->m_num_data_pg_pools | 1-s32max |
| PARAM_VALUE | 1 | op | 4362 |
| PARAM_VALUE | 2 | mode | 2 |
| CAPPED_DATA | 0 | mdsc->mdsmap->m_num_data_pg_pools | 1 |
fs/ceph/export.c __get_parent() -> ceph_mdsc_create_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | op | 259 |
| PARAM_VALUE | 2 | mode | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ceph/export.c __get_snap_name() -> ceph_mdsc_create_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | op | 1026 |
| PARAM_VALUE | 2 | mode | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &child->d_lockref.lock |
fs/ceph/export.c __lookup_inode() -> ceph_mdsc_create_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | op | 260 |
| PARAM_VALUE | 2 | mode | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ceph/export.c __snapfh_to_dentry() -> ceph_mdsc_create_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->fsc | 4096-ptr_max |
| PARAM_VALUE | 1 | op | 260 |
| PARAM_VALUE | 2 | mode | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ceph/export.c ceph_get_name() -> ceph_mdsc_create_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | op | 261 |
| PARAM_VALUE | 2 | mode | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &child->d_lockref.lock |
fs/ceph/inode.c __ceph_do_getattr() -> ceph_mdsc_create_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | op | 257 |
| PARAM_VALUE | 2 | mode | 0,2 |
| DATA_SOURCE | 2 | mode | r ceph_try_to_choose_auth_mds |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mapping->invalidate_lock | ||
| HALF_LOCKED2 | &qri->mutex |
fs/ceph/inode.c __ceph_setattr() -> ceph_mdsc_create_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc->snap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | op | 4360 |
| PARAM_VALUE | 2 | mode | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/ceph/inode.c ceph_do_getvxattr() -> ceph_mdsc_create_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | op | 262 |
| PARAM_VALUE | 2 | mode | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ceph/addr.c ceph_netfs_issue_op_inline() -> ceph_mdsc_create_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | op | 257 |
| PARAM_VALUE | 2 | mode | 0,2 |
| DATA_SOURCE | 0 | mdsc | r ceph_sb_to_mdsc |
| DATA_SOURCE | 2 | mode | r ceph_try_to_choose_auth_mds |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ceph/dir.c ceph_d_revalidate() -> ceph_mdsc_create_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc->metric.d_lease_mis.counters | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->metric.d_lease_mis.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->metric.d_lease_mis.lock.owner | (-1) |
| PARAM_VALUE | 0 | mdsc->metric.d_lease_mis.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | op | 256,1024 |
| PARAM_VALUE | 2 | mode | 0 |
| FUZZY_MAX | 1 | op | 1024 |
| BIT_INFO | 1 | op | 0x0,0x500 |
| HARD_MAX | 1 | op | 1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ceph/dir.c ceph_link() -> ceph_mdsc_create_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->fsc | 4096-ptr_max |
| PARAM_VALUE | 1 | op | 4610 |
| PARAM_VALUE | 2 | mode | 2 |
| DATA_SOURCE | 0 | mdsc | r ceph_sb_to_mdsc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ceph/dir.c ceph_lookup() -> ceph_mdsc_create_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | op | 256,1024 |
| PARAM_VALUE | 2 | mode | 0 |
| DATA_SOURCE | 0 | mdsc | r ceph_sb_to_mdsc |
| FUZZY_MAX | 1 | op | 1024 |
| BIT_INFO | 1 | op | 0x0,0x500 |
| HARD_MAX | 1 | op | 1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dir->i_rwsem |
fs/ceph/dir.c ceph_mkdir() -> ceph_mdsc_create_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->fsc | 4096-ptr_max |
| PARAM_VALUE | 1 | op | 4640,5120 |
| PARAM_VALUE | 2 | mode | 2 |
| DATA_SOURCE | 0 | mdsc | r ceph_sb_to_mdsc |
| FUZZY_MAX | 1 | op | 5120 |
| BIT_INFO | 1 | op | 0x1000,0x1620 |
| HARD_MAX | 1 | op | 5120 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/ceph/dir.c ceph_mknod() -> ceph_mdsc_create_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->fsc | 4096-ptr_max |
| PARAM_VALUE | 1 | op | 4609 |
| PARAM_VALUE | 2 | mode | 2 |
| DATA_SOURCE | 0 | mdsc | r ceph_sb_to_mdsc |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ceph/dir.c ceph_readdir() -> ceph_mdsc_create_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc->cap_delay_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->cap_delay_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->cap_delay_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | op | 773,1026 |
| PARAM_VALUE | 2 | mode | 2 |
| FUZZY_MAX | 1 | op | 1026 |
| BIT_INFO | 1 | op | 0x0,0x707 |
| HARD_MAX | 1 | op | 1026 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ceph/dir.c ceph_rename() -> ceph_mdsc_create_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->fsc | 4096-ptr_max |
| PARAM_VALUE | 1 | op | 4612,5123 |
| PARAM_VALUE | 2 | mode | 2 |
| DATA_SOURCE | 0 | mdsc | r ceph_sb_to_mdsc |
| FUZZY_MAX | 1 | op | 5123 |
| BIT_INFO | 1 | op | 0x1000,0x1607 |
| HARD_MAX | 1 | op | 5123 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/ceph/dir.c ceph_symlink() -> ceph_mdsc_create_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->fsc | 4096-ptr_max |
| PARAM_VALUE | 1 | op | 4642 |
| PARAM_VALUE | 2 | mode | 2 |
| DATA_SOURCE | 0 | mdsc | r ceph_sb_to_mdsc |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ceph/dir.c ceph_unlink() -> ceph_mdsc_create_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | op | 4611,4641,5121 |
| PARAM_VALUE | 2 | mode | 2 |
| FUZZY_MAX | 1 | op | 5121 |
| BIT_INFO | 1 | op | 0x1001,0x1623 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| HALF_LOCKED2 | &dir->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &dn->d_lockref.lock | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ceph/xattr.c ceph_sync_setxattr() -> ceph_mdsc_create_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | op | 4357-4358 |
| PARAM_VALUE | 2 | mode | 2 |
| FUZZY_MAX | 1 | op | 4358 |
| BIT_INFO | 1 | op | 0x1104,0x1107 |
| HARD_MAX | 1 | op | 4358 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ceph/super.c open_root_dentry() -> ceph_mdsc_create_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc->cap_delay_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->cap_delay_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->cap_dirty_migrating.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->cap_dirty_migrating.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->cap_flush_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->cap_flush_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->cap_flushing_wq.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->cap_flushing_wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->cap_unlink_delay_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->cap_unlink_delay_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->cap_wait_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->cap_wait_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->caps_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->caps_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->caps_min_count | 1024-s32max |
| PARAM_VALUE | 0 | mdsc->caps_use_max | s32min-0,1024-s32max |
| PARAM_VALUE | 0 | mdsc->dentry_dir_leases.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->dentry_dir_leases.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->dentry_leases.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->dentry_leases.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->dirty_folios.counter | 0 |
| PARAM_VALUE | 0 | mdsc->flush_end_wq.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->flush_end_wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->fsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->last_cap_flush_tid | 1 |
| PARAM_VALUE | 0 | mdsc->mdsmap | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->metric.opened_files.counter | 0 |
| PARAM_VALUE | 0 | mdsc->metric.session | 0 |
| PARAM_VALUE | 0 | mdsc->metric.total_caps.counter | 0 |
| PARAM_VALUE | 0 | mdsc->pool_perm_rwsem.first_waiter | 0 |
| PARAM_VALUE | 0 | mdsc->pool_perm_rwsem.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->quotarealms_inodes_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->reset_state.blocked_wq.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->reset_state.blocked_wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->safe_umount_waiters.done | 0 |
| PARAM_VALUE | 0 | mdsc->safe_umount_waiters.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | mdsc->safe_umount_waiters.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | mdsc->safe_umount_waiters.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mdsc->safe_umount_waiters.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->safe_umount_waiters.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->session_close_wq.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->session_close_wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->snap_empty.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->snap_empty.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->snap_flush_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->snap_flush_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.count.counter | 0 |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.first_waiter | 0 |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.owner.counter | 0 |
| PARAM_VALUE | 0 | mdsc->snapid_map_lru.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->snapid_map_lru.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->stopping_blockers.counter | 0 |
| PARAM_VALUE | 0 | mdsc->stopping_waiter.done | 0 |
| PARAM_VALUE | 0 | mdsc->stopping_waiter.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | mdsc->stopping_waiter.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | mdsc->stopping_waiter.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mdsc->stopping_waiter.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->stopping_waiter.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->subvol_metrics.enabled | 0 |
| PARAM_VALUE | 0 | mdsc->subvol_metrics.nr_entries | 0 |
| PARAM_VALUE | 0 | mdsc->subvol_metrics_last | 0 |
| PARAM_VALUE | 0 | mdsc->subvol_metrics_last_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->subvol_metrics_last_nr | 0 |
| PARAM_VALUE | 0 | mdsc->subvol_metrics_nonzero_sends | 0 |
| PARAM_VALUE | 0 | mdsc->subvol_metrics_sent | 0 |
| PARAM_VALUE | 0 | mdsc->waiting_for_map.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->waiting_for_map.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | op | 257 |
| PARAM_VALUE | 2 | mode | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fsc->client->mount_mutex | ||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| TYPE_LOCK | (struct ceph_client)->mount_mutex |
fs/ceph/file.c prepare_open_request() -> ceph_mdsc_create_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | op | 770,4865 |
| PARAM_VALUE | 2 | mode | 0,2 |
| DATA_SOURCE | 0 | mdsc | r ceph_sb_to_mdsc |
| FUZZY_MAX | 1 | op | 4865 |
| FUZZY_MAX | 2 | mode | 2 |
| BIT_INFO | 1 | op | 0x300,0x1303 |
| BIT_INFO | 2 | mode | 0x0,0x2 |
| HARD_MAX | 1 | op | 4865 |
| HARD_MAX | 2 | mode | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |