Home
last modified time | relevance | path

Searched refs:buffer (Results 1 – 15 of 15) 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()
262 const uint8_t *buffer = xbuffer, *p; in mpi_set_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()
153 snprintf(buffer, bufsize, "(bad)"); in sprint_oid()
167 int sprint_OID(enum OID oid, char *buffer, size_t bufsize) in sprint_OID() argument
175 buffer, bufsize); in sprint_OID()
Dcrc-t10dif.c22 __u16 crc_t10dif_update(__u16 crc, const unsigned char *buffer, size_t len) in crc_t10dif_update() argument
31 return crc_t10dif_generic(crc, buffer, len); in crc_t10dif_update()
37 err = crypto_shash_update(&desc.shash, buffer, len); in crc_t10dif_update()
44 __u16 crc_t10dif(const unsigned char *buffer, size_t len) in crc_t10dif() argument
46 return crc_t10dif_update(0, buffer, len); in crc_t10dif()
Ddecompress_unlzma.c70 uint8_t *buffer; member
85 static long INIT nofill(void *buffer, unsigned long 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, long 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 …]
Dseq_buf.c43 return seq_write(m, s->buffer, len); in seq_buf_print_seq()
63 len = vsnprintf(s->buffer + s->len, s->size - s->len, fmt, args); in seq_buf_vprintf()
120 ret = bstr_printf(s->buffer + s->len, len, fmt, binary); in seq_buf_bprintf()
150 memcpy(s->buffer + s->len, str, len); in seq_buf_puts()
173 s->buffer[s->len++] = c; in seq_buf_putc()
197 memcpy(s->buffer + s->len, mem, len); in seq_buf_putmem()
323 ret = copy_to_user(ubuf, s->buffer + s->readpos, cnt);
Dnmi_backtrace.c29 unsigned char buffer[NMI_BUF_SIZE]; member
41 const char *buf = s->buffer + start; in print_seq_line()
79 seq_buf_init(&s->seq, s->buffer, NMI_BUF_SIZE); in nmi_trigger_all_cpu_backtrace()
110 if (s->buffer[i] == '\n') { in nmi_trigger_all_cpu_backtrace()
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()
Dcrc7.c67 u8 crc7_be(u8 crc, const u8 *buffer, size_t len) in crc7_be() argument
70 crc = crc7_be_byte(crc, *buffer++); in crc7_be()
Dcrc16.c57 u16 crc16(u16 crc, u8 const *buffer, size_t len) in crc16() argument
60 crc = crc16_byte(crc, *buffer++); in crc16()
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()
Dswiotlb.c399 char *buffer; in swiotlb_bounce() local
407 buffer = kmap_atomic(pfn_to_page(pfn)); in swiotlb_bounce()
409 memcpy(vaddr, buffer + offset, sz); in swiotlb_bounce()
411 memcpy(buffer + offset, vaddr, sz); in swiotlb_bounce()
412 kunmap_atomic(buffer); in swiotlb_bounce()
Ddecompress_inflate.c31 static long INIT nofill(void *buffer, unsigned long len) in nofill() argument
Dkfifo.c80 int __kfifo_init(struct __kfifo *fifo, void *buffer, in __kfifo_init() argument
91 fifo->data = buffer; in __kfifo_init()
DKconfig.debug368 will be able to flush the buffer cache to disk, reboot the system
528 freed before kmemleak is initialised, an early log buffer is
530 buffer exceeded", please increase this value.
1773 With remote DMA, you can monitor the printk buffer remotely using
/lib/fonts/
DKconfig15 your frame buffer console usually use.
28 This is the "high resolution" font for the VGA frame buffer (the one
34 Given the resolution provided by the frame buffer device, answer N
41 This is the "high resolution" font for the VGA frame buffer (the one