Home
last modified time | relevance | path

Searched refs:dbits (Results 1 – 5 of 5) sorted by relevance

/linux-4.4.14/net/xfrm/
Dxfrm_hash.h46 __u8 dbits, in __xfrm4_dpref_spref_hash() argument
49 return jhash_2words(ntohl(daddr->a4) & __bits2mask32(dbits), in __xfrm4_dpref_spref_hash()
77 __u8 dbits, in __xfrm6_dpref_spref_hash() argument
80 return __xfrm6_pref_hash(daddr, dbits) ^ in __xfrm6_dpref_spref_hash()
141 u8 dbits, u8 sbits) in __sel_hash() argument
149 if (sel->prefixlen_d < dbits || in __sel_hash()
153 h = __xfrm4_dpref_spref_hash(daddr, saddr, dbits, sbits); in __sel_hash()
157 if (sel->prefixlen_d < dbits || in __sel_hash()
161 h = __xfrm6_dpref_spref_hash(daddr, saddr, dbits, sbits); in __sel_hash()
172 u8 dbits, u8 sbits) in __addr_hash() argument
[all …]
Dxfrm_policy.c357 u8 *dbits, u8 *sbits) in __get_hash_thresh() argument
361 *dbits = net->xfrm.policy_bydst[dir].dbits4; in __get_hash_thresh()
366 *dbits = net->xfrm.policy_bydst[dir].dbits6; in __get_hash_thresh()
371 *dbits = 0; in __get_hash_thresh()
382 u8 dbits; in policy_hash_bysel() local
385 __get_hash_thresh(net, family, dir, &dbits, &sbits); in policy_hash_bysel()
386 hash = __sel_hash(sel, family, hmask, dbits, sbits); in policy_hash_bysel()
400 u8 dbits; in policy_hash_direct() local
403 __get_hash_thresh(net, family, dir, &dbits, &sbits); in policy_hash_direct()
404 hash = __addr_hash(daddr, saddr, family, hmask, dbits, sbits); in policy_hash_direct()
[all …]
/linux-4.4.14/arch/tile/include/arch/
Duart.h279 uint_reg_t dbits : 1; member
290 uint_reg_t dbits : 1;
/linux-4.4.14/drivers/tty/serial/
Dtilegx.c484 type.dbits = UART_TYPE__DBITS_VAL_SEVEN_DBITS; in tilegx_set_termios()
486 type.dbits = UART_TYPE__DBITS_VAL_EIGHT_DBITS; in tilegx_set_termios()
/linux-4.4.14/lib/
Dinflate.c310 STATIC const int dbits = 6; /* bits in base distance lookup table */ variable
988 bd = dbits; in inflate_dynamic()