| /onnv-gate/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 ? max_bytes : smb_maxbufsize; 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_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() 767 if (bytes_needed > mbc->max_bytes) in mbc_marshal_make_room() 773 if (mbc->max_bytes > MLEN) in mbc_marshal_make_room() 998 mbc->max_bytes += m->m_len; in mbc_marshal_put_uio() 1042 MBC_SETUP(nmbc, nmbc->max_bytes); in mbc_marshal_put_mbuf_chain() 1322 bytes = mbc->max_bytes - mbc->chain_offset; in mbc_marshal_get_mbuf_chain() 1325 MBC_SETUP(nmbc, mbc->max_bytes); in mbc_marshal_get_mbuf_chain() 1336 nmbc->max_bytes = bytes; in mbc_marshal_get_mbuf_chain()
|
| H A D | smb_common_transact.c | 922 uint16_t level, max_bytes, access; in smb_trans_net_share_getinfo() local 929 &share, &level, &max_bytes) != 0) in smb_trans_net_share_getinfo() 944 MBC_INIT(&str_mb, max_bytes); in smb_trans_net_share_getinfo() 983 uint16_t level, max_bytes; in smb_trans_net_workstation_getinfo() local 989 &level, &max_bytes) != 0) || in smb_trans_net_workstation_getinfo() 999 MBC_INIT(&str_mb, max_bytes); in smb_trans_net_workstation_getinfo() 1028 uint16_t level, max_bytes; in smb_trans_net_user_getinfo() local 1035 &max_bytes); in smb_trans_net_user_getinfo() 1288 uint16_t opcode, level, max_bytes; in smb_trans_net_server_enum2() local 1297 &level, &max_bytes, &server_type, &domain) != 0) in smb_trans_net_server_enum2() [all …]
|
| 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_read.c | 561 sr->raw_data.max_bytes = vdb->vdb_uio.uio_resid; in smb_common_read() 566 sr->raw_data.max_bytes -= vdb->vdb_uio.uio_resid; in smb_common_read() 567 smb_mbuf_trim(top, sr->raw_data.max_bytes); in smb_common_read()
|
| H A D | smb_nt_transact_quota.c | 429 bytes_left = xa->req_data_mb.max_bytes - mb_offset; in smb_quota_decode_sids() 505 bytes_left = xa->req_data_mb.max_bytes - mb_offset; in smb_quota_decode_quotas()
|
| H A D | smb_session.c | 395 sr->command.max_bytes = sr->sr_req_length; in smb_request_init_command_mbuf() 1127 sr->command.max_bytes = req_length; in smb_request_alloc() 1128 sr->reply.max_bytes = smb_maxbufsize; in smb_request_alloc()
|
| H A D | smb_dispatch.c | 631 byte_count = sr->command.max_bytes - sr->command.chain_offset; in smb_dispatch_request() 640 if (sr->command.chain_offset > sr->command.max_bytes) { in smb_dispatch_request() 933 return (sr->smb_data.chain_offset < sr->smb_data.max_bytes); in smbsr_decode_data_avail()
|
| H A D | smb_opipe.c | 369 xa->rep_data_mb.max_bytes = nbytes; in smb_opipe_transact()
|
| H A D | smb_write.c | 421 sr->smb_data.max_bytes = SMB_WRITEX_MAX; in smb_com_write_andx()
|
| /onnv-gate/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()
|
| /onnv-gate/usr/src/common/openssl/doc/crypto/ |
| H A D | RAND_load_file.pod | 13 int RAND_load_file(const char *filename, long max_bytes); 26 adds them to the PRNG. If B<max_bytes> is non-negative, 27 up to to B<max_bytes> are read; starting with OpenSSL 0.9.5, 28 if B<max_bytes> is -1, the complete file is read.
|
| H A D | rand.pod | 20 int RAND_load_file(const char *file, long max_bytes);
|
| /onnv-gate/usr/src/common/openssl/crypto/rand/ |
| H A D | rand.h | 106 int RAND_load_file(const char *file,long max_bytes);
|
| /onnv-gate/usr/src/uts/common/smbsrv/ |
| H A D | mbuf.h | 274 int32_t max_bytes; /* max # of bytes for chain */ member
|
| H A D | smb_ktypes.h | 510 #define MBC_ROOM_FOR(b, n) (((b)->chain_offset + (n)) <= (b)->max_bytes)
|
| /onnv-gate/usr/src/uts/common/io/usb/usba/ |
| H A D | usbai_register.c | 1960 usba_dump_bin(uint8_t *data, int max_bytes, int indent, in usba_dump_bin() argument 1990 while (i < max_bytes) { in usba_dump_bin()
|