Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/block/rbd.c rbd_img_advance() -> pending_result_dec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pending | 4096-ptr_max |
| DATA_SOURCE | 1 | result | $1 |
| USER_DATA | 1 | *result | s32min-(-12),(-10)-(-1)[c] |
| USER_PTR | 1 | result | |
| LOCK2 | &img_req->state_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rbd_dev->lock_rwsem | ||
| TYPE_LOCK | (struct rbd_img_request)->state_mutex |
drivers/block/rbd.c rbd_obj_advance_copyup() -> pending_result_dec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pending | 4096-ptr_max |
| DATA_SOURCE | 1 | result | $1 |
| PREEMPT_ADD | |||
| USER_DATA | 1 | *result | s32min-(-12),(-10)-(-1),1-s32max[c] |
| USER_PTR | 1 | result | |
| LOCK2 | &obj_req->state_mutex | ||
| HALF_LOCKED2 | &img_req->state_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rbd_obj_request)->state_mutex |
drivers/block/rbd.c rbd_obj_advance_copyup() -> pending_result_dec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pending | 4096-ptr_max |
| DATA_SOURCE | 1 | result | $1 |
| PREEMPT_ADD | |||
| USER_DATA | 1 | *result | s32min-(-12),(-10)-(-1),1-s32max[c] |
| USER_PTR | 1 | result | |
| LOCK2 | &obj_req->state_mutex | ||
| HALF_LOCKED2 | &img_req->state_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rbd_obj_request)->state_mutex |