Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/xz/src/liblzma/simple/
H A Dsimple_coder.c111 const size_t buf_avail = coder->size - coder->pos; in simple_code() local
112 if (out_avail > buf_avail || buf_avail == 0) { in simple_code()
126 if (buf_avail > 0) in simple_code()
128 buf_avail); in simple_code()
130 *out_pos += buf_avail; in simple_code()
169 memmove(coder->buffer, coder->buffer + coder->pos, buf_avail); in simple_code()
/freebsd-14.2/contrib/xz/src/liblzma/lzma/
H A Dlzma_encoder_optimum_fast.c38 const uint32_t buf_avail = my_min(mf_avail(mf) + 1, MATCH_LEN_MAX); in lzma_lzma_optimum_fast() local
40 if (buf_avail < 2) { in lzma_lzma_optimum_fast()
63 buf, buf_back, 2, buf_avail); in lzma_lzma_optimum_fast()
122 if (len_main < 2 || buf_avail <= 2) { in lzma_lzma_optimum_fast()
H A Dlzma_encoder_optimum_normal.c289 const uint32_t buf_avail = my_min(mf_avail(mf) + 1, MATCH_LEN_MAX); in helper1() local
290 if (buf_avail < 2) { in helper1()
309 rep_lens[i] = lzma_memcmplen(buf, buf_back, 2, buf_avail); in helper1()
561 const uint32_t buf_avail = my_min(buf_avail_full, nice_len); in helper2() local
608 uint32_t len_test = lzma_memcmplen(buf, buf_back, 2, buf_avail); in helper2()
693 if (new_len > buf_avail) { in helper2()
694 new_len = buf_avail; in helper2()
/freebsd-14.2/contrib/pf/ftp-proxy/
H A Dftp-proxy.c240 size_t buf_avail, clientread; in client_read() local
244 buf_avail = sizeof s->cbuf - s->cbuf_valid; in client_read()
246 buf_avail); in client_read()
264 } while (clientread == buf_avail); in client_read()
1076 size_t buf_avail, srvread; in server_read() local
1082 buf_avail = sizeof s->sbuf - s->sbuf_valid; in server_read()
1084 buf_avail); in server_read()
1102 } while (srvread == buf_avail); in server_read()
/freebsd-14.2/sys/contrib/dev/athk/ath11k/
H A Ddebugfs_htt_stats.h1182 u32 buf_avail; member
H A Ddebugfs_htt_stats.c2634 htt_stats_buf->buf_avail); in htt_print_sfm_client_tlv()