Home
last modified time | relevance | path

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

/lib/mpi/
Dmpicoder.c34 const uint8_t *buffer = xbuffer; in mpi_read_raw_data() local
40 while (nbytes > 0 && buffer[0] == 0) { in mpi_read_raw_data()
41 buffer++; in mpi_read_raw_data()
51 nbits -= count_leading_zeros(buffer[0]); in mpi_read_raw_data()
70 a |= *buffer++; in mpi_read_raw_data()
82 const uint8_t *buffer = xbuffer; in mpi_read_from_buffer() local
90 nbits = buffer[0] << 8 | buffer[1]; in mpi_read_from_buffer()
96 buffer += 2; in mpi_read_from_buffer()
119 a |= *buffer++; in mpi_read_from_buffer()
140 uint8_t *p, *buffer; in mpi_get_buffer() local
[all …]
/lib/
Doid_registry.c110 int sprint_oid(const void *data, size_t datasize, char *buffer, size_t bufsize) in sprint_oid() argument
122 ret = count = snprintf(buffer, bufsize, "%u.%u", n / 40, n % 40); in sprint_oid()
123 buffer += count; in sprint_oid()
143 ret += count = snprintf(buffer, bufsize, ".%lu", num); in sprint_oid()
144 buffer += count; in sprint_oid()
163 int sprint_OID(enum OID oid, char *buffer, size_t bufsize) in sprint_OID() argument
171 buffer, bufsize); in sprint_OID()
Ddecompress_unlzma.c70 uint8_t *buffer; member
85 static int INIT nofill(void *buffer, unsigned int len) in nofill() argument
93 rc->buffer_size = rc->fill((char *)rc->buffer, LZMA_IOBUF_SIZE); in rc_read()
96 rc->ptr = rc->buffer; in rc_read()
97 rc->buffer_end = rc->buffer + rc->buffer_size; in rc_read()
103 char *buffer, int buffer_size) in rc_init() argument
109 rc->buffer = (uint8_t *)buffer; in rc_init()
111 rc->buffer_end = rc->buffer + rc->buffer_size; in rc_init()
112 rc->ptr = rc->buffer; in rc_init()
278 uint8_t *buffer; member
[all …]
Dcrc-ccitt.c60 u16 crc_ccitt(u16 crc, u8 const *buffer, size_t len) in crc_ccitt() argument
63 crc = crc_ccitt_byte(crc, *buffer++); in crc_ccitt()
Dcrc16.c57 u16 crc16(u16 crc, u8 const *buffer, size_t len) in crc16() argument
60 crc = crc16_byte(crc, *buffer++); in crc16()
Dcrc7.c59 u8 crc7(u8 crc, const u8 *buffer, size_t len) in crc7() argument
62 crc = crc7_byte(crc, *buffer++); in crc7()
Dcrc-itu-t.c59 u16 crc_itu_t(u16 crc, const u8 *buffer, size_t len) in crc_itu_t() argument
62 crc = crc_itu_t_byte(crc, *buffer++); in crc_itu_t()
Dcrc-t10dif.c54 __u16 crc_t10dif(const unsigned char *buffer, size_t len) in crc_t10dif() argument
60 crc = (crc << 8) ^ t10_dif_crc_table[((crc >> 8) ^ buffer[i]) & 0xff]; in crc_t10dif()
Dswiotlb.c386 char *buffer; in swiotlb_bounce() local
394 buffer = kmap_atomic(pfn_to_page(pfn)); in swiotlb_bounce()
396 memcpy(vaddr, buffer + offset, sz); in swiotlb_bounce()
398 memcpy(buffer + offset, vaddr, sz); in swiotlb_bounce()
399 kunmap_atomic(buffer); in swiotlb_bounce()
Ddecompress_inflate.c29 static int INIT nofill(void *buffer, unsigned int len) in nofill() argument
Dkfifo.c80 int __kfifo_init(struct __kfifo *fifo, void *buffer, in __kfifo_init() argument
90 fifo->data = buffer; in __kfifo_init()
DKconfig.debug61 will be able to flush the buffer cache to disk, reboot the system
498 freed before kmemleak is initialised, an early log buffer is
500 buffer exceeded", please increase this value.
1352 With remote DMA, you can monitor the printk buffer remotely using