Home
last modified time | relevance | path

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

/isa-l/crc/
H A Dcrc_base.c206 crc32_iscsi_base(unsigned char *buffer, int len, unsigned int crc_init) in crc32_iscsi_base() argument
210 unsigned char *p_end = buffer + len; in crc32_iscsi_base()
212 p_buf = buffer; in crc32_iscsi_base()
H A Dcrc32_iscsi_00.asm43 %define %%bSize %1 ; 1/3 of buffer size
44 %define %%td2 %2 ; table offset for crc0 (2/3 of buffer)
45 %define %%td1 %3 ; table offset for crc1 (1/3 of buffer)
54 ;;;;;; Calculate CRC of 3 blocks of the buffer ;;;;;;
151 ;;; unsigned int crc32_iscsi_00(unsigned char * buffer, int len, unsigned int crc_init);
212 ;;;; Calculate CRC of unaligned bytes of the buffer (if any) ;;;;
213 mov rbx, [bufptmp] ;; load a quadword from the buffer
214 add bufptmp, bufp ;; align buffer pointer for
216 sub len, bufp ;; update buffer length
290 mov rbx, qword [bufptmp] ;; load a 8-bytes from the buffer:
H A Dcrc_base_aliases.c35 crc32_iscsi(unsigned char *buffer, int len, unsigned int crc_init) in crc32_iscsi() argument
37 return crc32_iscsi_base(buffer, len, crc_init); in crc32_iscsi()
H A Dcrc32_iscsi_01.asm49 ;;; unsigned int crc32_iscsi_01(unsigned char * buffer, int len, unsigned int crc_init);
104 ;; reading beyond the end of the buffer
119 ;;;; Calculate CRC of unaligned bytes of the buffer (if any) ;;;
120 mov tmp, [bufptmp] ;; load a quadword from the buffer
121 add bufptmp, bufp ;; align buffer pointer for quadword
123 sub len, bufp ;; update buffer length
335 ;; we can't read 8 bytes, as this might go beyond the end of the buffer
412 mov rbx, qword [bufptmp] ;; load a 8-bytes from the buffer:
H A Dcrc_ref.h47 crc32_iscsi_ref(unsigned char *buffer, int len, unsigned int crc_init) in crc32_iscsi_ref() argument
55 rem = rem ^ (buffer[i]); in crc32_iscsi_ref()
H A Dcrc32_ieee_by4.asm129 ; buffer. The _fold_64_B_loop loop will fold 64B at a time until we
130 ; have 64+y Bytes of buffer
136 ;update the buffer pointer
182 ; check if there is another 64B in the buffer to be able to fold
188 ;at this point, the arg2 is pointing at the last y Bytes of the buffer
235 ; check if there is any more 16B in the buffer to be able to fold
336 ;check if there is enough buffer to be able to fold 16B at a time
351 ;update the buffer pointer
H A Dcrc32_iscsi_by16_10.asm157 ; at this section of the code, there is 128*x+y (0<=y<128) bytes of buffer. The fold_128_B_loop
158 ; loop will fold 128B at a time until we have 128+y Bytes of buffer
179 ;; At this point, the buffer pointer is pointing at the last
180 ;; y bytes of the buffer, where 0 <= y < 128.
235 ; check if there is any more 16B in the buffer to be able to fold
310 ; check if there is enough buffer to be able to fold 16B at a time
371 ;; update the buffer pointer
H A Dcrc32_gzip_refl_by8_02.asm132 ; at this section of the code, there is 128*x+y (0<=y<128) bytes of buffer. The fold_128_B_loop
133 ; loop will fold 128B at a time until we have 128+y Bytes of buffer
191 …; at this point, the buffer pointer is pointing at the last y Bytes of the buffer, where 0 <= y < …
257 ; check if there is any more 16B in the buffer to be able to fold
353 ; check if there is enough buffer to be able to fold 16B at a time
364 ; update the buffer pointer
H A Dcrc32_gzip_refl_by16_10.asm170 ; at this section of the code, there is 128*x+y (0<=y<128) bytes of buffer. The fold_128_B_loop
171 ; loop will fold 128B at a time until we have 128+y Bytes of buffer
192 ;; At this point, the buffer pointer is pointing at the last
193 ;; y bytes of the buffer, where 0 <= y < 128.
248 ; check if there is any more 16B in the buffer to be able to fold
349 ; check if there is enough buffer to be able to fold 16B at a time
410 ;; update the buffer pointer
H A Dcrc32_ieee_by16_10.asm176 ; at this section of the code, there is 128*x+y (0<=y<128) bytes of buffer. The fold_128_B_loop
177 ; loop will fold 128B at a time until we have 128+y Bytes of buffer
202 ;; At this point, the buffer pointer is pointing at the last
203 ;; y bytes of the buffer, where 0 <= y < 128.
261 ; check if there is any more 16B in the buffer to be able to fold
358 ; check if there is enough buffer to be able to fold 16B at a time
423 ;; update the buffer pointer
H A Dcrc16_t10dif_by16_10.asm189 ; at this section of the code, there is 128*x+y (0<=y<128) bytes of buffer. The fold_128_B_loop
190 ; loop will fold 128B at a time until we have 128+y Bytes of buffer
212 …; at this point, the buffer pointer is pointing at the last y Bytes of the buffer, where 0 <= y < …
254 ; check if there is any more 16B in the buffer to be able to fold
348 ; check if there is enough buffer to be able to fold 16B at a time
361 ; update the buffer pointer
H A Dcrc64_iso_refl_by16_10.asm154 add arg2, 128 ; update the buffer pointer
168 …; at this point, the buffer pointer is pointing at the last y Bytes of the buffer, where 0 <= y < …
210 ; check if there is any more 16B in the buffer to be able to fold
300 ; check if there is enough buffer to be able to fold 16B at a time
311 ; update the buffer pointer
H A Dcrc64_iso_norm_by16_10.asm161 add arg2, 128 ; update the buffer pointer
178 …; at this point, the buffer pointer is pointing at the last y Bytes of the buffer, where 0 <= y < …
221 ; check if there is any more 16B in the buffer to be able to fold
315 ; check if there is enough buffer to be able to fold 16B at a time
328 ; update the buffer pointer
/isa-l/igzip/
H A Digzip.c413 stream->avail_out + sizeof(state->buffer) - (stream->total_in - state->block_end); in create_icf_block_hdr()
1305 memcpy(state->buffer, dict->history, dict->hist_size); in isal_deflate_reset_dict()
1348 memcpy(state->buffer, dict, dict_len); in isal_deflate_set_dict()
1394 stream->level_buf = state->buffer; in isal_deflate_stateless()
1395 stream->level_buf_size = sizeof(state->buffer) + sizeof(state->head); in isal_deflate_stateless()
1556 isal_deflate_hash(stream, state->buffer, state->b_bytes_processed); in isal_deflate()
1581 copy_down_src = &state->buffer[copy_start_offset]; in isal_deflate()
1583 memmove(state->buffer, copy_down_src, copy_down_size); in isal_deflate()
1585 state->b_bytes_valid -= copy_down_src - state->buffer; in isal_deflate()
1586 state->b_bytes_processed -= copy_down_src - state->buffer; in isal_deflate()
[all …]
H A Digzip_decode_block_stateless.asm233 ;; when there are at least 8 bytes in the in buffer
508 ;; Check if near end of in buffer or out buffer
514 ;; Decode next symbol and reload the read_in buffer
633 ;; Fix up in buffer and out buffer to reflect the actual buffer end
638 ;; Load read in buffer and decode next lit/len symbol
684 ;; Check for out buffer overflow
761 ;; Fix up in buffer and out buffer to reflect the actual buffer
775 ;; Save current buffer states
H A Dlz0a_const.asm35 %assign BSIZE 2*IGZIP_HIST_SIZE + LA ;; Nominal buffer size
39 %define LA_STATELESS 258 ;; No round up since no data is copied to a buffer
H A Digzip_finish.asm304 ;; Update input buffer
312 ;; Update output buffer
H A Digzip_icf_finish.asm302 ;; Update input buffer
312 ;; Update output buffer
H A Dencode_df_04.asm260 ;; Split buffer data into qwords, ytmp is 0 after last branch
276 ;; Split buffer data into dqwords, ytmp is 0 after last branch
/isa-l/include/
H A Dcrc.h137 crc32_iscsi(unsigned char *buffer, //!< buffer to calculate CRC on
149 crc32_iscsi_base(unsigned char *buffer, //!< buffer to calculate CRC on
H A Digzip_lib.h381 uint8_t buffer[2 * IGZIP_HIST_SIZE + ISAL_LOOK_AHEAD]; //!< Internal buffer member
/isa-l/
H A DRelease_notes.txt66 * Fix for crc32_iscsi(). Potential read-over for small buffer. For an input
67 buffer length of less than 8 bytes and aligned to an 8 byte boundary, function
69 only for length 0 and invalid buffer passed. Calculated CRC is unchanged.
94 buffer or temp internal buffer. This is changed to be only the bytes put into
95 the output buffer.
/isa-l/doc/
H A Dfunctions.md132 render from an input buffer to an output buffer. I/O buffer pointers and size
146 for an internal intermediate buffer. Suggested sizes are defined in external