Defined in 1 files as a member:
Defined in 3 files as a function:
- net/ceph/auth.c, line 164 (as a function)
- net/ceph/auth_none.c, line 63 (as a function)
- tools/net/ynl/tests/wireguard.c, line 50 (as a function)
Referenced in 4 files:
- net/ceph/auth.c
- net/ceph/auth_none.c
- net/ceph/auth_x.c, line 1169
- tools/net/ynl/tests/wireguard.c, line 83
Smatch caller information:
net/ceph/auth.c ceph_auth_handle_reply_more() -> build_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ac | 4096-ptr_max |
| PARAM_VALUE | 0 | ac->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ac->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ac->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ac->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ac->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ac->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ac->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ac->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ac->private->have_keys | 0-4294967295 |
| PARAM_VALUE | 0 | ac->private->starting | 0 |
| PARAM_VALUE | 1 | buf | 0 |
| PARAM_VALUE | 2 | end | 48,4096-ptr_max |
| PARAM_VALUE | 3 | buf_len | 476 |
| CAPPED_DATA | 0 | &ac->mutex | 1 |
| DATA_SOURCE | 0 | ac | $0 |
| DATA_SOURCE | 2 | end | $3 |
| DATA_SOURCE | 3 | buf_len | $4 |
| LOCK2 | &monc->mutex | ||
| LOCK2 | 0 | &ac->mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_auth_client)->mutex | ||
| TYPE_LOCK | (struct ceph_mon_client)->mutex |
net/ceph/auth.c ceph_build_auth() -> build_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ac | 4096-ptr_max |
| PARAM_VALUE | 0 | ac->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ac->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ac->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ac->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ac->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ac->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ac->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ac->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 1 |
| BUF_SIZE | 2 | end | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | end | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &ac->mutex | 1 |
| DATA_SOURCE | 0 | ac | $0 |
| DATA_SOURCE | 2 | end | $1 |
| DATA_SOURCE | 3 | buf_len | $2 |
| UNITS | 2 | end | unit_byte |
| UNITS | 3 | buf_len | unit_byte |
| LOCK2 | &monc->mutex | ||
| LOCK2 | 0 | &ac->mutex | |
| TYPE_LOCK | (struct ceph_auth_client)->mutex | ||
| TYPE_LOCK | (struct ceph_mon_client)->mutex |
net/ceph/auth.c ceph_handle_auth_reply() -> build_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ac | 4096-ptr_max |
| PARAM_VALUE | 0 | ac->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ac->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ac->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ac->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ac->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ac->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ac->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ac->negotiating | 0 |
| PARAM_VALUE | 0 | ac->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ac->ops->add_authorizer_challenge | 0,8694480074367614976 |
| PARAM_VALUE | 0 | ac->ops->build_request | 1500831215093698560,4557810522341318656 |
| PARAM_VALUE | 0 | ac->ops->check_message_signature | 0,1409719960148287488 |
| PARAM_VALUE | 0 | ac->ops->create_authorizer | 5116800447108878336,7727551989208821760 |
| PARAM_VALUE | 0 | ac->ops->destroy | 232516170488102912,8163172160793608192 |
| PARAM_VALUE | 0 | ac->ops->handle_reply | 2227757077980221440,9129812294381019136 |
| PARAM_VALUE | 0 | ac->ops->invalidate_authorizer | 0,2134755273616740352 |
| PARAM_VALUE | 0 | ac->ops->is_authenticated | 4736068865338830848,5467747194246344704 |
| PARAM_VALUE | 0 | ac->ops->reset | 5039140746860773376,6995935188971859968 |
| PARAM_VALUE | 0 | ac->ops->should_authenticate | 3224183598294859776,4516429494390382592 |
| PARAM_VALUE | 0 | ac->ops->sign_message | 0,2680124485992787968 |
| PARAM_VALUE | 0 | ac->ops->update_authorizer | 0,5337904568822358016 |
| PARAM_VALUE | 0 | ac->ops->verify_authorizer_reply | 0,1015249060593123328 |
| PARAM_VALUE | 0 | ac->private->have_keys | 0-4294967295 |
| PARAM_VALUE | 0 | ac->private->starting | 0 |
| PARAM_VALUE | 1 | buf | 1 |
| BUF_SIZE | 2 | end | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | end | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ac->private->have_keys | 1 |
| CAPPED_DATA | 0 | &ac->mutex | 1 |
| DATA_SOURCE | 0 | ac | $0 |
| DATA_SOURCE | 2 | end | $3 |
| DATA_SOURCE | 3 | buf_len | $4 |
| USER_DATA | 0 | ac->global_id | 0-u64max |
| USER_DATA | 0 | ac->private->have_keys | 0-4294967295[c][u] |
| UNITS | 2 | end | unit_byte |
| UNITS | 3 | buf_len | unit_byte |
| LOCK2 | &monc->mutex | ||
| LOCK2 | 0 | &ac->mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_auth_client)->mutex | ||
| TYPE_LOCK | (struct ceph_mon_client)->mutex |
net/ceph/auth.c build_request() -> (struct ceph_auth_client_ops)->build_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ac | 4096-ptr_max |
| PARAM_VALUE | 0 | ac->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ac->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ac->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ac->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ac->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ac->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ac->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ac->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ac->ops->add_authorizer_challenge | 0,8694480074367614976 |
| PARAM_VALUE | 0 | ac->ops->build_request | 1500831215093698560,4557810522341318656 |
| PARAM_VALUE | 0 | ac->ops->check_message_signature | 0,1409719960148287488 |
| PARAM_VALUE | 0 | ac->ops->create_authorizer | 5116800447108878336,7727551989208821760 |
| PARAM_VALUE | 0 | ac->ops->destroy | 232516170488102912,8163172160793608192 |
| PARAM_VALUE | 0 | ac->ops->handle_reply | 2227757077980221440,9129812294381019136 |
| PARAM_VALUE | 0 | ac->ops->invalidate_authorizer | 0,2134755273616740352 |
| PARAM_VALUE | 0 | ac->ops->is_authenticated | 4736068865338830848,5467747194246344704 |
| PARAM_VALUE | 0 | ac->ops->reset | 5039140746860773376,6995935188971859968 |
| PARAM_VALUE | 0 | ac->ops->should_authenticate | 3224183598294859776,4516429494390382592 |
| PARAM_VALUE | 0 | ac->ops->sign_message | 0,2680124485992787968 |
| PARAM_VALUE | 0 | ac->ops->update_authorizer | 0,5337904568822358016 |
| PARAM_VALUE | 0 | ac->ops->verify_authorizer_reply | 0,1015249060593123328 |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | end | 4096-ptr_max |
| CAPPED_DATA | 2 | end | 1 |
| DATA_SOURCE | 0 | ac | $0 |
| CONTAINER | 0 | -16-16+0 | $(-1) |
| USER_DATA | 0 | ac->global_id | 0-u64max |
| LOCK2 | &monc->mutex | ||
| LOCK2 | 0 | &ac->mutex | |
| TYPE_LOCK | (struct ceph_auth_client)->mutex | ||
| TYPE_LOCK | (struct ceph_mon_client)->mutex |