Defined in 1 files as a function:
Referenced in 5 files:
- drivers/gpu/drm/i915/gt/intel_sseu.c, line 888
- drivers/net/wireless/ath/carl9170/tx.c, line 374
- include/linux/cpumask.h, line 910
- lib/test_bitmap.c
- net/sctp/tsnmap.c
Smatch caller information:
net/sctp/tsnmap.c sctp_tsnmap_skip() -> bitmap_shift_right()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | shift | 0-65534 |
| PARAM_VALUE | 3 | nbits | 1-u16max |
| BUF_SIZE | 0 | dst | 1-512 |
| BUF_SIZE | 1 | src | 1-512 |
| CAPPED_DATA | 2 | shift | 1 |
| PARAM_COMPARE | 2 | shift | < $3 |
| PARAM_COMPARE | 3 | nbits | > $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |
net/sctp/tsnmap.c sctp_tsnmap_update() -> bitmap_shift_right()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | shift | 1-64 |
| BUF_SIZE | 0 | dst | 1-512 |
| BUF_SIZE | 1 | src | 1-512 |
| CAPPED_DATA | 2 | shift | 1 |
| DATA_SOURCE | 2 | shift | r find_first_zero_bit |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
lib/test_bitmap.c test_bitmap_const_eval() -> bitmap_shift_right()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 5538814463519436800 |
| PARAM_VALUE | 0 | *dst | 0 |
| PARAM_VALUE | 1 | src | 5538814463519436800 |
| PARAM_VALUE | 1 | *src | 0 |
| PARAM_VALUE | 2 | shift | 11 |
| PARAM_VALUE | 3 | nbits | 64 |
| NOCHECK_CALL | |||
| UNITS | 3 | nbits | unit_bit |
lib/test_bitmap.c test_zero_nbits() -> bitmap_shift_right()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 0 |
| PARAM_VALUE | 1 | src | 0 |
| PARAM_VALUE | 2 | shift | 0 |
| PARAM_VALUE | 3 | nbits | 0 |
| NOCHECK_CALL |
drivers/net/wireless/ath/carl9170/tx.c carl9170_tx_shift_bm() -> bitmap_shift_right()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | shift | 0-64 |
| PARAM_VALUE | 3 | nbits | 128 |
| BUF_SIZE | 0 | dst | 16 |
| BUF_SIZE | 1 | src | 16 |
| CAPPED_DATA | 2 | shift | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tid_info->lock | ||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &ar->mutex | ||
| TYPE_LOCK | (struct carl9170_sta_tid)->lock |
drivers/gpu/drm/i915/gt/intel_sseu.c intel_slicemask_from_xehp_dssmask() -> bitmap_shift_right()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | shift | 0-2,4,8 |
| PARAM_VALUE | 3 | nbits | 64 |
| DATA_SOURCE | 2 | shift | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |