Searched refs:lc_shift (Results 1 – 7 of 7) sorted by relevance
/dports/dns/rbldnsd/rbldnsd-0.998/ |
H A D | btrie.c | 879 lc_shift(unsigned pos) in lc_shift() function 887 return 8 * lc_shift(pos); in lc_base() 923 while (nbytes - lc_shift(pos) > LC_BYTES_PER_NODE) { in init_terminal_node() 932 memcpy(node->prefix, prefix + lc_shift(pos), nbytes - lc_shift(pos)); in init_terminal_node() 951 unsigned shift = lc_shift(end) - lc_shift(pos); in coalesce_lc_node() 963 unsigned cshift = lc_shift(end + spare_bits) - lc_shift(end); in coalesce_lc_node() 1003 unsigned shift = lc_shift(pos) - lc_shift(orig_pos); in shorten_lc_node() 1347 if (!prefixes_equal(prefix + lc_shift(pos), lc_node->prefix, in search_trie() 1631 btrie_oct_t save_prefix = prefix[lc_shift(pos)]; in walk_lc_node() 2575 btrie_oct_t save_prefix = prefix[lc_shift(pos)]; in dump_lc_node() [all …]
|
/dports/mail/rspamd-devel/rspamd-93430bb/contrib/lc-btrie/ |
H A D | btrie.c | 875 static inline unsigned lc_shift(unsigned pos) in lc_shift() function 882 return 8 * lc_shift (pos); in lc_base() 912 while (nbytes - lc_shift (pos) > LC_BYTES_PER_NODE) { in init_terminal_node() 921 memcpy(node->prefix, prefix + lc_shift (pos), nbytes - lc_shift (pos)); in init_terminal_node() 939 unsigned shift = lc_shift (end) - lc_shift (pos); in coalesce_lc_node() 951 unsigned cshift = lc_shift (end + spare_bits) - lc_shift (end); in coalesce_lc_node() 989 unsigned shift = lc_shift (pos) - lc_shift (orig_pos); in shorten_lc_node() 1253 unsigned cbits = common_prefix (prefix + lc_shift (pos), in add_to_trie() 1606 btrie_oct_t save_prefix = prefix[lc_shift (pos)]; in walk_lc_node() 2545 btrie_oct_t save_prefix = prefix[lc_shift(pos)]; in dump_lc_node() [all …]
|
/dports/mail/rspamd/rspamd-3.1/contrib/lc-btrie/ |
H A D | btrie.c | 875 static inline unsigned lc_shift(unsigned pos) in lc_shift() function 882 return 8 * lc_shift (pos); in lc_base() 912 while (nbytes - lc_shift (pos) > LC_BYTES_PER_NODE) { in init_terminal_node() 921 memcpy(node->prefix, prefix + lc_shift (pos), nbytes - lc_shift (pos)); in init_terminal_node() 939 unsigned shift = lc_shift (end) - lc_shift (pos); in coalesce_lc_node() 951 unsigned cshift = lc_shift (end + spare_bits) - lc_shift (end); in coalesce_lc_node() 989 unsigned shift = lc_shift (pos) - lc_shift (orig_pos); in shorten_lc_node() 1253 unsigned cbits = common_prefix (prefix + lc_shift (pos), in add_to_trie() 1606 btrie_oct_t save_prefix = prefix[lc_shift (pos)]; in walk_lc_node() 2545 btrie_oct_t save_prefix = prefix[lc_shift(pos)]; in dump_lc_node() [all …]
|
/dports/mail/rmilter/rmilter-1.10.0/contrib/lc-btrie/ |
H A D | btrie.c | 887 lc_shift(unsigned pos) in lc_shift() function 895 return 8 * lc_shift(pos); in lc_base() 931 while (nbytes - lc_shift(pos) > LC_BYTES_PER_NODE) { in init_terminal_node() 940 memcpy(node->prefix, prefix + lc_shift(pos), nbytes - lc_shift(pos)); in init_terminal_node() 959 unsigned shift = lc_shift(end) - lc_shift(pos); in coalesce_lc_node() 971 unsigned cshift = lc_shift(end + spare_bits) - lc_shift(end); in coalesce_lc_node() 1011 unsigned shift = lc_shift(pos) - lc_shift(orig_pos); in shorten_lc_node() 1355 if (!prefixes_equal(prefix + lc_shift(pos), lc_node->prefix, in search_trie() 1639 btrie_oct_t save_prefix = prefix[lc_shift(pos)]; in walk_lc_node() 2583 btrie_oct_t save_prefix = prefix[lc_shift(pos)]; in dump_lc_node() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/affs/ |
H A D | file.c | 67 u32 lc_shift, lc_mask, tmp, off; in affs_grow_extcache() local 70 lc_shift = AFFS_I(inode)->i_lc_shift; in affs_grow_extcache() 71 tmp = (AFFS_I(inode)->i_extcnt / AFFS_LC_SIZE) >> lc_shift; in affs_grow_extcache() 73 lc_shift++; in affs_grow_extcache() 74 lc_mask = (1 << lc_shift) - 1; in affs_grow_extcache() 77 lc_idx >>= (lc_shift - AFFS_I(inode)->i_lc_shift); in affs_grow_extcache() 78 AFFS_I(inode)->i_lc_size >>= (lc_shift - AFFS_I(inode)->i_lc_shift); in affs_grow_extcache() 81 off = 1 << (lc_shift - AFFS_I(inode)->i_lc_shift); in affs_grow_extcache() 85 AFFS_I(inode)->i_lc_shift = lc_shift; in affs_grow_extcache()
|
/dports/multimedia/libv4l/linux-5.13-rc2/fs/affs/ |
H A D | file.c | 67 u32 lc_shift, lc_mask, tmp, off; in affs_grow_extcache() local 70 lc_shift = AFFS_I(inode)->i_lc_shift; in affs_grow_extcache() 71 tmp = (AFFS_I(inode)->i_extcnt / AFFS_LC_SIZE) >> lc_shift; in affs_grow_extcache() 73 lc_shift++; in affs_grow_extcache() 74 lc_mask = (1 << lc_shift) - 1; in affs_grow_extcache() 77 lc_idx >>= (lc_shift - AFFS_I(inode)->i_lc_shift); in affs_grow_extcache() 78 AFFS_I(inode)->i_lc_size >>= (lc_shift - AFFS_I(inode)->i_lc_shift); in affs_grow_extcache() 81 off = 1 << (lc_shift - AFFS_I(inode)->i_lc_shift); in affs_grow_extcache() 85 AFFS_I(inode)->i_lc_shift = lc_shift; in affs_grow_extcache()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/affs/ |
H A D | file.c | 67 u32 lc_shift, lc_mask, tmp, off; in affs_grow_extcache() local 70 lc_shift = AFFS_I(inode)->i_lc_shift; in affs_grow_extcache() 71 tmp = (AFFS_I(inode)->i_extcnt / AFFS_LC_SIZE) >> lc_shift; in affs_grow_extcache() 73 lc_shift++; in affs_grow_extcache() 74 lc_mask = (1 << lc_shift) - 1; in affs_grow_extcache() 77 lc_idx >>= (lc_shift - AFFS_I(inode)->i_lc_shift); in affs_grow_extcache() 78 AFFS_I(inode)->i_lc_size >>= (lc_shift - AFFS_I(inode)->i_lc_shift); in affs_grow_extcache() 81 off = 1 << (lc_shift - AFFS_I(inode)->i_lc_shift); in affs_grow_extcache() 85 AFFS_I(inode)->i_lc_shift = lc_shift; in affs_grow_extcache()
|