Lines Matching refs:nbits
39 unsigned nbits, nlimbs; in mpi_read_raw_data() local
48 nbits = nbytes * 8; in mpi_read_raw_data()
49 if (nbits > MAX_EXTERN_MPI_BITS) { in mpi_read_raw_data()
50 pr_info("MPI: mpi too large (%u bits)\n", nbits); in mpi_read_raw_data()
54 nbits -= count_leading_zeros(buffer[0]) - (BITS_PER_LONG - 8); in mpi_read_raw_data()
60 val->nbits = nbits; in mpi_read_raw_data()
84 unsigned int nbits, nbytes; in mpi_read_from_buffer() local
89 nbits = buffer[0] << 8 | buffer[1]; in mpi_read_from_buffer()
91 if (nbits > MAX_EXTERN_MPI_BITS) { in mpi_read_from_buffer()
92 pr_info("MPI: mpi too large (%u bits)\n", nbits); in mpi_read_from_buffer()
96 nbytes = DIV_ROUND_UP(nbits, 8); in mpi_read_from_buffer()
333 unsigned int nbits, nlimbs; in mpi_read_raw_from_sgl() local
369 nbits = nbytes * 8; in mpi_read_raw_from_sgl()
370 if (nbits > MAX_EXTERN_MPI_BITS) { in mpi_read_raw_from_sgl()
372 pr_info("MPI: mpi too large (%u bits)\n", nbits); in mpi_read_raw_from_sgl()
377 nbits -= count_leading_zeros(*buff) - (BITS_PER_LONG - 8); in mpi_read_raw_from_sgl()
386 val->nbits = nbits; in mpi_read_raw_from_sgl()