Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/android/binder.c dbitmap_grow() -> dbitmap_replace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmap | 4096-ptr_max |
| PARAM_VALUE | 0 | dmap->nbits | 1-64 |
| PARAM_VALUE | 1 | new | 16,4096-ptr_max |
| PARAM_VALUE | 2 | nbits | 2-128 |
| BUF_SIZE | 0 | dmap | 16 |
| CAPPED_DATA | 0 | dmap->nbits | 1 |
| CAPPED_DATA | 2 | nbits | 1 |
| DATA_SOURCE | 0 | dmap | $0 |
| DATA_SOURCE | 1 | new | $1 |
| DATA_SOURCE | 2 | nbits | $2 |
| PARAM_COMPARE | 0 | dmap->nbits | < $2 |
| PARAM_COMPARE | 2 | nbits | > $0->nbits |
| MEM_ZERO | 1 | new | |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &proc->outer_lock | ||
| HALF_LOCKED2 | &context->context_mgr_node_lock | ||
| TYPE_LOCK | (struct binder_proc)->outer_lock |
drivers/android/binder.c dbitmap_shrink() -> dbitmap_replace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmap | 4096-ptr_max |
| PARAM_VALUE | 0 | dmap->nbits | 65-u32max |
| PARAM_VALUE | 1 | new | 16,4096-ptr_max |
| PARAM_VALUE | 2 | nbits | 32-s32max |
| CAPPED_DATA | 0 | dmap->nbits | 1 |
| CAPPED_DATA | 2 | nbits | 1 |
| DATA_SOURCE | 0 | dmap | $0 |
| DATA_SOURCE | 1 | new | $1 |
| DATA_SOURCE | 2 | nbits | $2 |
| MEM_ZERO | 1 | new | |
| PREEMPT_ADD | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &proc->outer_lock | ||
| TYPE_LOCK | (struct binder_proc)->outer_lock |