Searched defs:max_bytes (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_subr.c146 uint64_t max_bytes = ULONG_MAX; local
148 uint64_t max_bytes = PAGESIZE * (uint64_t)ULONG_MAX; local
177 if (num > max_bytes / 1024) /* will overflow */
187 if (num > max_bytes / (1024 * 1024)) /* will overflow */
199 * cause an overflow only if 'num' is between (max_bytes - PAGESIZE)
200 * and (max_bytes). In this case the resulting number is zero, which
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mbuf_util.c101 smb_mbc_alloc(uint32_t max_bytes) argument
110 if (max_bytes != 0) {
114 if (max_bytes > MINCLSIZE)
117 mbc->max_bytes = max_bytes;
250 return (MBC->max_bytes);
254 MBC_SETUP(struct mbuf_chain *MBC, uint32_t max_bytes) argument
257 (MBC)->max_bytes = max_bytes;
261 MBC_INIT(struct mbuf_chain *MBC, uint32_t max_bytes) argument
[all...]
H A Dsmb_dispatch.c614 uint32_t max_bytes; local
718 max_bytes = sr->command.max_bytes - sr->command.chain_offset;
721 byte_count = max_bytes;
722 } else if (max_bytes < (uint32_t)sr->smb_bcc) {
724 byte_count = max_bytes;
734 if (sr->command.chain_offset > sr->command.max_bytes) {
1003 return (sr->smb_data.chain_offset < sr->smb_data.max_bytes);
H A Dsmb_common_transact.c968 uint16_t level, max_bytes, access; local
975 &share, &level, &max_bytes) != 0)
990 MBC_INIT(&str_mb, max_bytes);
1029 uint16_t level, max_bytes; local
1035 &level, &max_bytes) != 0) ||
1045 MBC_INIT(&str_mb, max_bytes);
1074 uint16_t level, max_bytes; local
1081 &max_bytes);
1334 uint16_t opcode, level, max_bytes; local
1343 &level, &max_bytes,
[all...]
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dmbuf.h262 int32_t max_bytes; /* max # of bytes for chain */ member in struct:mbuf_chain
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_queue.c409 uint64_t max_bytes = zfs_dirty_data_max * local
422 if (dirty > max_bytes)
427 * slope = (max_writes - min_writes) / (max_bytes - min_bytes)
434 (max_bytes - min_bytes) +
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai_register.c1865 * max_bytes - amount of data to dump
1875 usba_dump_bin(uint8_t *data, int max_bytes, int indent, argument
1905 while (i < max_bytes) {

Completed in 63 milliseconds