Searched refs:max_bytes (Results 1 - 12 of 12) sorted by relevance

/freebsd-11-stable/sys/dev/drm2/radeon/
H A Datombios_i2c.c101 int i, remaining, current_count, buffer_offset, max_bytes, ret; local
120 /* max_bytes are a limitation of ProcessI2cChannelTransaction not the hw */
122 max_bytes = ATOM_MAX_HW_I2C_READ;
125 max_bytes = ATOM_MAX_HW_I2C_WRITE;
129 if (remaining > max_bytes)
130 current_count = max_bytes;
/freebsd-11-stable/contrib/wpa/src/wps/
H A Dhttpread.h66 * Pass max_bytes == 0 to not read body at all (required for e.g.
74 int max_bytes, /* maximum file size else abort it */
H A Dhttpread.c56 int max_bytes; /* maximum file size else abort it */ member in struct:httpread
169 if (h->content_length < 0 || h->content_length > h->max_bytes) {
329 h->max_bytes = 0;
337 h->max_bytes = 0;
450 if (h->max_bytes == 0) {
491 if (h->body_nbytes >= h->max_bytes) {
493 "httpread: body_nbytes=%d >= max_bytes=%d",
494 h->body_nbytes, h->max_bytes);
507 new_alloc_nbytes > h->max_bytes +
510 "httpread: Unacceptable body length %d (body_alloc_nbytes=%u max_bytes
729 httpread_create( int sd, void (*cb)(struct httpread *handle, void *cookie, enum httpread_event e), void *cookie, int max_bytes, int timeout_seconds ) argument
[all...]
/freebsd-11-stable/crypto/openssl/crypto/rand/
H A Drand.h105 int RAND_load_file(const char *file, long max_bytes);
/freebsd-11-stable/sys/dev/drm/
H A Dr600_blit.c1717 int max_bytes; local
1727 max_bytes = 8192;
1738 h = (cur_size / max_bytes);
1744 cur_size = max_bytes;
1746 if (cur_size > max_bytes)
1747 cur_size = max_bytes;
1748 if (cur_size > (max_bytes - dst_x))
1749 cur_size = (max_bytes - dst_x);
1750 if (cur_size > (max_bytes - src_x))
1751 cur_size = (max_bytes
[all...]
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_rx.c166 unsigned long max_bytes; local
180 max_bytes = max(ssk->socket->so_rcv.sb_hiwat,
182 max_bytes *= rcvbuf_scale;
189 return bytes_in_process < max_bytes;
/freebsd-11-stable/sys/dev/ocs_fc/
H A Docs_ioctl.c180 uint32_t max_bytes = max(mcmd->in_bytes, mcmd->out_bytes); local
181 if (ocs_dma_alloc(ocs, dma, max_bytes, 4096)) {
183 __func__, max_bytes);
191 sli_config->payload.mem.length = max_bytes;
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dvdev_queue.c568 uint64_t max_bytes = zfs_dirty_data_max * local
581 if (dirty > max_bytes)
586 * slope = (max_writes - min_writes) / (max_bytes - min_bytes)
593 (max_bytes - min_bytes) +
/freebsd-11-stable/sys/dev/rl/
H A Dif_rl.c1126 uint16_t max_bytes, rx_bytes = 0; local
1139 max_bytes = (RL_RXBUFLEN - cur_rx) + limit;
1141 max_bytes = limit - cur_rx;
1191 if (rx_bytes > max_bytes)
/freebsd-11-stable/contrib/llvm-project/lldb/source/Core/
H A DValueObject.cpp856 auto max_bytes = local
858 if (max_bytes && *max_bytes > offset) {
859 size_t bytes_read = std::min<uint64_t>(*max_bytes - offset, bytes);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Target/
H A DProcess.cpp1976 size_t Process::ReadStringFromMemory(addr_t addr, char *dst, size_t max_bytes,
1979 if (dst && max_bytes && type_width && max_bytes >= type_width) {
1982 memset(dst, 0, max_bytes);
1983 size_t bytes_left = max_bytes - type_width;
2021 if (max_bytes)
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Target/
H A DProcess.h1489 /// terminated, and that no more than (max_bytes - type_width) bytes will be
1496 /// A character buffer containing at least max_bytes.
1498 /// \param[in] max_bytes
1510 size_t ReadStringFromMemory(lldb::addr_t vm_addr, char *str, size_t max_bytes,

Completed in 292 milliseconds