/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_mbuf_util.c | 101 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 D | smb2_qinfo_sec.c | 73 if (sdlen > sr->raw_data.max_bytes) { 82 sr->raw_data.max_bytes = 4;
|
H A D | smb2_read.c | 90 sr->raw_data.max_bytes = Length; 118 sr->raw_data.max_bytes = XferCount;
|
H A D | smb_read.c | 413 sr->raw_data.max_bytes = vdb->vdb_uio.uio_resid; 418 sr->raw_data.max_bytes -= vdb->vdb_uio.uio_resid; 419 smb_mbuf_trim(top, sr->raw_data.max_bytes); 424 sr->raw_data.max_bytes = vdb->vdb_uio.uio_resid; 429 sr->raw_data.max_bytes -= vdb->vdb_uio.uio_resid; 430 smb_mbuf_trim(top, sr->raw_data.max_bytes);
|
H A D | smb2_change_notify.c | 124 sr->raw_data.max_bytes = oBufLength;
|
H A D | smb2_query_info.c | 82 sr->raw_data.max_bytes = oBufLength;
|
H A D | smb2_set_info.c | 84 sr->raw_data.max_bytes = 0;
|
H A D | smb_common_transact.c | 968 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...] |
H A D | smb_quota.c | 147 bytes_left = mbc->max_bytes - mb_offset; 200 request->qq_max_quota = (mbc->max_bytes / SMB_QUOTA_EST_SIZE); 228 bytes_left = mbc->max_bytes - mb_offset;
|
H A D | smb2_create.c | 343 cce->cce_mbc.max_bytes = 8; 356 cce->cce_mbc.max_bytes = 32; 366 sr->raw_data.max_bytes = smb2_max_trans; 560 if ((top_offset + next_off) > in_mbc->max_bytes)
|
H A D | smb_mbuf_marshaling.c | 423 (void) MBC_SHADOW_CHAIN(&tmp, mbc, offset, mbc->max_bytes - offset); 787 if ((len = mbc->max_bytes - offset) < 0) 817 if ((copy_offset + copy_len) > src_mbc->max_bytes) 934 if (bytes_needed > mbc->max_bytes) 1169 mbc->max_bytes += m->m_len; 1213 MBC_SETUP(nmbc, nmbc->max_bytes); 1495 bytes = mbc->max_bytes - mbc->chain_offset; 1498 MBC_SETUP(nmbc, mbc->max_bytes); 1509 nmbc->max_bytes = bytes;
|
H A D | smb_nt_transact_security.c | 379 mbc->max_bytes - mbc->chain_offset); 456 bytes_left = mbc->max_bytes - offset; 512 bytes_left = mbc->max_bytes - offset;
|
H A D | smb2_ioctl.c | 162 sr->raw_data.max_bytes = fsctl.MaxOutputResp;
|
H A D | smb_dispatch.c | 614 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 D | smb2_signing.c | 181 resid = mbc->max_bytes - offset;
|
H A D | smb2_query_dir.c | 142 sr->raw_data.max_bytes = args.fa_maxdata;
|
H A D | smb_negotiate.c | 329 if (sr->command.chain_offset > sr->command.max_bytes)
|
H A D | smb2_dispatch.c | 376 ((sr->smb2_cmd_hdr + msg_len) > sr->command.max_bytes)) { 383 msg_len = sr->command.max_bytes - sr->smb2_cmd_hdr; 971 ar->ar_cmd_len = sr->smb_data.max_bytes - sr->smb2_cmd_hdr;
|
H A D | smb_session.c | 1349 sr->command.max_bytes = req_length; 1350 sr->reply.max_bytes = session->reply_max_bytes; 1449 mbc->max_bytes = MLEN;
|
H A D | smb_write.c | 382 (sr->smb_data.max_bytes > (sr->smb_data.chain_offset + 0xFFFF)))
|
/illumos-gate/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_subr.c | 146 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/smbsrv/ |
H A D | mbuf.h | 262 int32_t max_bytes; /* max # of bytes for chain */ member in struct:mbuf_chain
|
H A D | smb_ktypes.h | 537 #define MBC_ROOM_FOR(b, n) (((b)->chain_offset + (n)) <= (b)->max_bytes)
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev_queue.c | 409 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 D | usbai_register.c | 1865 * 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) {
|