Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/btrfs/ordered-data.c has_single_bit_set() -> is_power_of_two_u64()

Type Parameter Key Value
PARAM_VALUE 0 n 0,128-1920
DATA_SOURCE 0 n $0
BIT_INFO 0 n 0x0,0x780
BIT_INFO 0 n 0x0,0x780
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/volumes.c has_single_bit_set() -> is_power_of_two_u64()

Type Parameter Key Value
PARAM_VALUE 0 n 8-u64max
DATA_SOURCE 0 n $0
BIT_INFO 0 n 0x0,0xffffffffffffeff8
BIT_INFO 0 n 0x0,0xffffffffffffeff8
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 n 8-u64max[c]
HALF_LOCKED2 &fs_info->chunk_mutex

fs/btrfs/zoned.c btrfs_get_dev_zone_info() -> is_power_of_two_u64()

Type Parameter Key Value
PARAM_VALUE 0 n 0-36028797018963967
HALF_LOCKED2 &fs_devices->device_list_mutex

fs/btrfs/tree-checker.c has_single_bit_set() -> is_power_of_two_u64()

Type Parameter Key Value
PARAM_VALUE 0 n 0-3,8-2040,4096-61440
DATA_SOURCE 0 n $0
BIT_INFO 0 n 0x0,0xf7fb
BIT_INFO 0 n 0x0,0xf7fb
RX_PATH
TASK_NOT_RUNNING