Home
last modified time | relevance | path

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

/openbmc/linux/net/ceph/
H A Darmor.c15 static int encode_bits(int c) in encode_bits() function
46 *dst++ = encode_bits(a >> 2); in ceph_armor()
49 *dst++ = encode_bits(((a & 3) << 4) | (b >> 4)); in ceph_armor()
52 *dst++ = encode_bits(((b & 15) << 2) | in ceph_armor()
54 *dst++ = encode_bits(c & 63); in ceph_armor()
56 *dst++ = encode_bits((b & 15) << 2); in ceph_armor()
60 *dst++ = encode_bits(((a & 3) << 4)); in ceph_armor()