/titanic_44/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_mbuf_util.c | 85 smb_mbc_alloc(uint32_t max_bytes) in smb_mbc_alloc() argument 94 if (max_bytes != 0) { in smb_mbc_alloc() 98 if (max_bytes > MINCLSIZE) in smb_mbc_alloc() 101 mbc->max_bytes = max_bytes; in smb_mbc_alloc() 232 return (MBC->max_bytes); in MBC_MAXBYTES() 236 MBC_SETUP(struct mbuf_chain *MBC, uint32_t max_bytes) in MBC_SETUP() argument 239 (MBC)->max_bytes = max_bytes; in MBC_SETUP() 243 MBC_INIT(struct mbuf_chain *MBC, uint32_t max_bytes) in MBC_INIT() argument 249 if (max_bytes != 0) { in MBC_INIT() 253 if (max_bytes > MINCLSIZE) in MBC_INIT() [all …]
|
H A D | smb_read.c | 413 sr->raw_data.max_bytes = vdb->vdb_uio.uio_resid; in smb_common_read() 418 sr->raw_data.max_bytes -= vdb->vdb_uio.uio_resid; in smb_common_read() 419 smb_mbuf_trim(top, sr->raw_data.max_bytes); in smb_common_read() 424 sr->raw_data.max_bytes = vdb->vdb_uio.uio_resid; in smb_common_read() 429 sr->raw_data.max_bytes -= vdb->vdb_uio.uio_resid; in smb_common_read() 430 smb_mbuf_trim(top, sr->raw_data.max_bytes); in smb_common_read()
|
H A D | smb_common_transact.c | 957 uint16_t level, max_bytes, access; in smb_trans_net_share_getinfo() local 964 &share, &level, &max_bytes) != 0) in smb_trans_net_share_getinfo() 979 MBC_INIT(&str_mb, max_bytes); in smb_trans_net_share_getinfo() 1018 uint16_t level, max_bytes; in smb_trans_net_workstation_getinfo() local 1024 &level, &max_bytes) != 0) || in smb_trans_net_workstation_getinfo() 1034 MBC_INIT(&str_mb, max_bytes); in smb_trans_net_workstation_getinfo() 1063 uint16_t level, max_bytes; in smb_trans_net_user_getinfo() local 1070 &max_bytes); in smb_trans_net_user_getinfo() 1323 uint16_t opcode, level, max_bytes; in smb_trans_net_server_enum2() local 1332 &level, &max_bytes, &server_type, &domain) != 0) in smb_trans_net_server_enum2() [all …]
|
H A D | smb_mbuf_marshaling.c | 405 (void) MBC_SHADOW_CHAIN(&tmp, mbc, offset, mbc->max_bytes - offset); in smb_mbc_peek() 748 (void) MBC_SHADOW_CHAIN(&tmp, mbc, offset, mbc->max_bytes - offset); in smb_mbc_poke() 772 if ((copy_offset + copy_len) > src_mbc->max_bytes) in smb_mbc_copy() 889 if (bytes_needed > mbc->max_bytes) in mbc_marshal_make_room() 895 if (mbc->max_bytes > MLEN) in mbc_marshal_make_room() 1120 mbc->max_bytes += m->m_len; in mbc_marshal_put_uio() 1164 MBC_SETUP(nmbc, nmbc->max_bytes); in mbc_marshal_put_mbuf_chain() 1446 bytes = mbc->max_bytes - mbc->chain_offset; in mbc_marshal_get_mbuf_chain() 1449 MBC_SETUP(nmbc, mbc->max_bytes); in mbc_marshal_get_mbuf_chain() 1460 nmbc->max_bytes = bytes; in mbc_marshal_get_mbuf_chain()
|
H A D | smb_dispatch.c | 523 uint32_t max_bytes; in smb_dispatch_request() local 623 max_bytes = sr->command.max_bytes - sr->command.chain_offset; in smb_dispatch_request() 626 byte_count = max_bytes; in smb_dispatch_request() 627 } else if (max_bytes < (uint32_t)sr->smb_bcc) { in smb_dispatch_request() 629 byte_count = max_bytes; in smb_dispatch_request() 639 if (sr->command.chain_offset > sr->command.max_bytes) { in smb_dispatch_request() 912 return (sr->smb_data.chain_offset < sr->smb_data.max_bytes); in smbsr_decode_data_avail()
|
H A D | smb_nt_transact_security.c | 379 xa->req_data_mb.max_bytes - xa->req_data_mb.chain_offset); in smb_decode_sd() 456 bytes_left = xa->req_data_mb.max_bytes - offset; in smb_decode_sid() 511 bytes_left = xa->req_data_mb.max_bytes - offset; in smb_decode_acl()
|
H A D | smb_nt_transact_quota.c | 431 bytes_left = xa->req_data_mb.max_bytes - mb_offset; in smb_quota_decode_sids() 507 bytes_left = xa->req_data_mb.max_bytes - mb_offset; in smb_quota_decode_quotas()
|
H A D | smb_write.c | 382 (sr->smb_data.max_bytes > (sr->smb_data.chain_offset + 0xFFFF))) in smb_pre_write_andx()
|
H A D | smb_session.c | 1337 sr->command.max_bytes = req_length; in smb_request_alloc() 1338 sr->reply.max_bytes = smb_maxbufsize; in smb_request_alloc()
|
/titanic_44/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_subr.c | 146 uint64_t max_bytes = ULONG_MAX; in tmp_convnum() local 148 uint64_t max_bytes = PAGESIZE * (uint64_t)ULONG_MAX; in tmp_convnum() local 177 if (num > max_bytes / 1024) /* will overflow */ in tmp_convnum() 187 if (num > max_bytes / (1024 * 1024)) /* will overflow */ in tmp_convnum()
|
/titanic_44/usr/src/uts/common/fs/zfs/ |
H A D | vdev_queue.c | 387 uint64_t max_bytes = zfs_dirty_data_max * in vdev_queue_max_async_writes() local 400 if (dirty > max_bytes) in vdev_queue_max_async_writes() 412 (max_bytes - min_bytes) + in vdev_queue_max_async_writes()
|
/titanic_44/usr/src/uts/common/smbsrv/ |
H A D | mbuf.h | 275 int32_t max_bytes; /* max # of bytes for chain */ member
|
H A D | smb_ktypes.h | 535 #define MBC_ROOM_FOR(b, n) (((b)->chain_offset + (n)) <= (b)->max_bytes)
|
/titanic_44/usr/src/uts/common/io/usb/usba/ |
H A D | usbai_register.c | 1875 usba_dump_bin(uint8_t *data, int max_bytes, int indent, in usba_dump_bin() argument 1905 while (i < max_bytes) { in usba_dump_bin()
|