Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/ceph/inode.c __ceph_update_quota() -> __ceph_has_quota()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 1 | which | 2 |
| BUF_SIZE | 0 | ci->i_snapid_map | (-1),64 |
| DATA_SOURCE | 0 | ci | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mdsc->snap_rwsem | ||
| LOCK2 | 0 | &ci->i_ceph_lock | |
| HALF_LOCKED2 | &req->r_fill_mutex | ||
| HALF_LOCKED2 | &session->s_mutex | ||
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock | ||
| TYPE_LOCK | (struct ceph_mds_client)->snap_rwsem |
fs/ceph/inode.c __ceph_update_quota() -> __ceph_has_quota()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 1 | which | 2 |
| BUF_SIZE | 0 | ci->i_snapid_map | (-1),64 |
| DATA_SOURCE | 0 | ci | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ci->i_max_bytes | 0 |
| USER_DATA | 0 | ci->i_max_files | 0 |
| LOCK2 | &mdsc->snap_rwsem | ||
| LOCK2 | 0 | &ci->i_ceph_lock | |
| HALF_LOCKED2 | &req->r_fill_mutex | ||
| HALF_LOCKED2 | &session->s_mutex | ||
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock | ||
| TYPE_LOCK | (struct ceph_mds_client)->snap_rwsem |
fs/ceph/inode.c ceph_evict_inode() -> __ceph_has_quota()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 1 | which | 2 |
| DATA_SOURCE | 0 | ci | r ceph_inode |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ceph/quota.c __ceph_update_quota() -> __ceph_has_quota()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 1 | which | 2 |
| DATA_SOURCE | 0 | ci | $0 |
| PREEMPT_ADD | |||
| LOCK2 | 0 | &ci->i_ceph_lock | |
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock |
fs/ceph/quota.c __ceph_update_quota() -> __ceph_has_quota()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 1 | which | 2 |
| DATA_SOURCE | 0 | ci | $0 |
| PREEMPT_ADD | |||
| LOCK2 | 0 | &ci->i_ceph_lock | |
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock |
fs/ceph/quota.c get_quota_realm() -> __ceph_has_quota()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 1 | which | 1-2 |
| DATA_SOURCE | 0 | ci | r ceph_inode |
| DATA_SOURCE | 1 | which | $2 |
| HARD_MAX | 1 | which | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mdsc->snap_rwsem | ||
| TYPE_LOCK | (struct ceph_mds_client)->snap_rwsem |