/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_lpm_map.c | 33 size_t n_bits; member 39 size_t n_bits); 43 size_t n_bits) in tlpm_add() 48 n = (n_bits + 7) / 8; in tlpm_add() 51 node = tlpm_match(list, key, n_bits); in tlpm_add() 52 if (node && node->n_bits == n_bits) { in tlpm_add() 57 /* add new entry with @key/@n_bits to @list and return new head */ in tlpm_add() 63 node->n_bits = n_bits; in tlpm_add() 41 tlpm_add(struct tlpm_node *list, const uint8_t *key, size_t n_bits) tlpm_add() argument 81 tlpm_match(struct tlpm_node *list, const uint8_t *key, size_t n_bits) tlpm_match() argument 110 tlpm_delete(struct tlpm_node *list, const uint8_t *key, size_t n_bits) tlpm_delete() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_lpm_map.c | 32 size_t n_bits; member 38 size_t n_bits); 42 size_t n_bits) in tlpm_add() 47 n = (n_bits + 7) / 8; in tlpm_add() 50 node = tlpm_match(list, key, n_bits); in tlpm_add() 51 if (node && node->n_bits == n_bits) { in tlpm_add() 56 /* add new entry with @key/@n_bits to @list and return new head */ in tlpm_add() 62 node->n_bits = n_bits; in tlpm_add() 40 tlpm_add(struct tlpm_node *list, const uint8_t *key, size_t n_bits) tlpm_add() argument 80 tlpm_match(struct tlpm_node *list, const uint8_t *key, size_t n_bits) tlpm_match() argument 109 tlpm_delete(struct tlpm_node *list, const uint8_t *key, size_t n_bits) tlpm_delete() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ppp/ |
H A D | bsd_comp.c | 140 unsigned char n_bits; /* current bits/code */ member 226 db->n_bits = BSD_INIT_BITS; in bsd_clear() 569 unsigned int n_bits; in bsd_compress() local 598 bitno -= n_bits; \ in bsd_compress() 624 n_bits = db->n_bits; in bsd_compress() 627 mxcode = MAXCODE (n_bits); in bsd_compress() 707 db->n_bits = ++n_bits; in bsd_compress() 708 mxcode = MAXCODE (n_bits); in bsd_compress() 834 unsigned int n_bits; bsd_decompress() local 928 accm <<= n_bits; bsd_decompress() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ppp/ |
H A D | bsd_comp.c | 140 unsigned char n_bits; /* current bits/code */ member 226 db->n_bits = BSD_INIT_BITS; in bsd_clear() 569 unsigned int n_bits; in bsd_compress() local 598 bitno -= n_bits; \ in bsd_compress() 624 n_bits = db->n_bits; in bsd_compress() 627 mxcode = MAXCODE (n_bits); in bsd_compress() 707 db->n_bits = ++n_bits; in bsd_compress() 708 mxcode = MAXCODE (n_bits); in bsd_compress() 834 unsigned int n_bits; bsd_decompress() local 928 accm <<= n_bits; bsd_decompress() local [all...] |
/kernel/linux/linux-5.10/drivers/clk/ingenic/ |
H A D | x1830-cgu.c | 122 .n_bits = 6, 145 .n_bits = 6, 168 .n_bits = 6, 191 .n_bits = 6,
|
H A D | cgu.h | 30 * @n_bits: the size of the divider field in bits 52 u8 n_shift, n_bits, n_offset; member
|
H A D | x1000-cgu.c | 194 .n_bits = 5, 217 .n_bits = 5,
|
H A D | jz4770-cgu.c | 112 .n_bits = 5, 136 .n_bits = 5,
|
H A D | jz4740-cgu.c | 79 .n_bits = 5,
|
H A D | jz4725b-cgu.c | 64 .n_bits = 5,
|
H A D | cgu.c | 97 n = (ctl >> pll_info->n_shift) & GENMASK(pll_info->n_bits - 1, 0); in ingenic_pll_recalc_rate() 137 n = min_t(unsigned, n, 1 << clk_info->pll.n_bits); in ingenic_pll_calc() 200 ctl &= ~(GENMASK(pll_info->n_bits - 1, 0) << pll_info->n_shift); in ingenic_pll_set_rate()
|
/kernel/linux/linux-6.6/drivers/clk/ingenic/ |
H A D | x1830-cgu.c | 122 .n_bits = 6, 145 .n_bits = 6, 168 .n_bits = 6, 191 .n_bits = 6,
|
H A D | jz4760-cgu.c | 67 n = clamp_val(n, 2, 1 << pll_info->n_bits); in jz4760_cgu_calc_m_n_od() 102 .n_bits = 4, 127 .n_bits = 4,
|
H A D | x1000-cgu.c | 178 const unsigned long n_max = GENMASK(pll_info->n_bits - 1, 0); in x1000_i2spll_calc_m_n_od() 227 .n_bits = 5, 250 .n_bits = 5, 370 .n_bits = 13,
|
H A D | cgu.h | 30 * @n_bits: the size of the divider field in bits 57 u8 n_shift, n_bits, n_offset; member
|
H A D | jz4770-cgu.c | 112 .n_bits = 5, 136 .n_bits = 5,
|
H A D | jz4740-cgu.c | 79 .n_bits = 5,
|
H A D | jz4725b-cgu.c | 64 .n_bits = 5,
|
H A D | cgu.c | 97 n = (ctl >> pll_info->n_shift) & GENMASK(pll_info->n_bits - 1, 0); in ingenic_pll_recalc_rate() 141 n = min_t(unsigned int, n, 1 << pll_info->n_bits); in ingenic_pll_calc_m_n_od() 225 ctl &= ~(GENMASK(pll_info->n_bits - 1, 0) << pll_info->n_shift); in ingenic_pll_set_rate()
|
H A D | jz4755-cgu.c | 61 .n_bits = 5,
|
/kernel/linux/linux-5.10/net/wireless/ |
H A D | radiotap.c | 53 .n_bits = ARRAY_SIZE(rtap_namespace_sizes), 242 iterator->_arg_index >= iterator->current_namespace->n_bits) { in ieee80211_radiotap_iterator_next()
|
/kernel/linux/linux-6.6/net/wireless/ |
H A D | radiotap.c | 53 .n_bits = ARRAY_SIZE(rtap_namespace_sizes), 241 iterator->_arg_index >= iterator->current_namespace->n_bits) { in ieee80211_radiotap_iterator_next()
|
/kernel/linux/linux-5.10/fs/sysv/ |
H A D | super.c | 308 u_char n_bits = size+8; in complete_read_super() local 309 int bsize = 1 << n_bits; in complete_read_super() 319 sbi->s_inodes_per_block_bits = n_bits-6; in complete_read_super() 323 sbi->s_ind_per_block_bits = n_bits-2; in complete_read_super()
|
/kernel/linux/linux-6.6/fs/sysv/ |
H A D | super.c | 308 u_char n_bits = size+8; in complete_read_super() local 309 int bsize = 1 << n_bits; in complete_read_super() 321 sbi->s_inodes_per_block_bits = n_bits-6; in complete_read_super() 325 sbi->s_ind_per_block_bits = n_bits-2; in complete_read_super()
|
/kernel/linux/linux-6.6/lib/ |
H A D | test_scanf.c | 272 u32 n_bits = hweight32(prandom_u32_state(&rnd_state)) % (max_bits + 1); in next_test_random() local 274 return prandom_u32_state(&rnd_state) & GENMASK(n_bits, 0); in next_test_random() 280 u32 n_bits = (hweight32(rand1) * 3) % 64; in next_test_random_ull() local 283 return val & GENMASK_ULL(n_bits, 0); in next_test_random_ull()
|