Searched refs:shift_bits (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/net/netfilter/ |
D | xt_connmark.c | 44 newmark >>= info->shift_bits; in connmark_tg_shift() 46 newmark <<= info->shift_bits; in connmark_tg_shift() 56 new_targetmark >>= info->shift_bits; in connmark_tg_shift() 58 new_targetmark <<= info->shift_bits; in connmark_tg_shift() 70 new_targetmark >>= info->shift_bits; in connmark_tg_shift() 72 new_targetmark <<= info->shift_bits; in connmark_tg_shift()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_acl_bloom_filter.c | 314 static void right_shift_array(char *arr, u8 len, u8 shift_bits) in right_shift_array() argument 316 u8 byte_mask = 0xff >> shift_bits; in right_shift_array() 319 if (WARN_ON(!shift_bits || shift_bits >= 8)) in right_shift_array() 329 arr[i + 1] |= arr[i] << (8 - shift_bits); in right_shift_array() 330 arr[i] = arr[i] >> shift_bits; in right_shift_array()
|
/linux-6.6.21/sound/pci/oxygen/ |
D | xonar_dg.c | 231 static inline unsigned int shift_bits(unsigned int value, in shift_bits() function 260 shift_bits(play_routing, in adjust_dg_dac_routing() 264 shift_bits(play_routing, in adjust_dg_dac_routing() 268 shift_bits(play_routing, in adjust_dg_dac_routing()
|
/linux-6.6.21/fs/nilfs2/ |
D | the_nilfs.c | 211 unsigned int shift_bits = le32_to_cpu(sbp->s_log_block_size); in nilfs_get_blocksize() local 213 if (unlikely(shift_bits > in nilfs_get_blocksize() 216 shift_bits); in nilfs_get_blocksize() 219 *blocksize = BLOCK_SIZE << shift_bits; in nilfs_get_blocksize() 541 unsigned int shift_bits = le32_to_cpu(sbp->s_log_block_size); in nilfs_sb2_bad_offset() local 547 shift_bits > ilog2(NILFS_MAX_BLOCK_SIZE) - BLOCK_SIZE_BITS) in nilfs_sb2_bad_offset() 550 index = offset >> (shift_bits + BLOCK_SIZE_BITS); in nilfs_sb2_bad_offset()
|
/linux-6.6.21/include/uapi/linux/netfilter/ |
D | xt_connmark.h | 29 __u8 shift_dir, shift_bits, mode; member
|
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 5691 u8 cur_pos = 0, tuple_size, shift_bits; in hclge_fd_convert_meta_data() local 5718 shift_bits = sizeof(meta_data) * 8 - cur_pos; in hclge_fd_convert_meta_data() 5720 *key_x = cpu_to_le32(tmp_x << shift_bits); in hclge_fd_convert_meta_data() 5721 *key_y = cpu_to_le32(tmp_y << shift_bits); in hclge_fd_convert_meta_data()
|