Home
last modified time | relevance | path

Searched refs:shift_bits (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/net/netfilter/
Dxt_connmark.c44 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/
Dspectrum_acl_bloom_filter.c314 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/
Dxonar_dg.c231 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/
Dthe_nilfs.c211 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/
Dxt_connmark.h29 __u8 shift_dir, shift_bits, mode; member
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c5691 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()