Home
last modified time | relevance | path

Searched refs:max_bytes (Results 1 – 17 of 17) sorted by relevance

/onnv-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mbuf_util.c85 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 Dsmb_mbuf_marshaling.c405 (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 Dsmb_common_transact.c922 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 Dsmb_nt_transact_security.c379 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 Dsmb_read.c561 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 Dsmb_nt_transact_quota.c429 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 Dsmb_session.c395 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 Dsmb_dispatch.c631 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 Dsmb_opipe.c369 xa->rep_data_mb.max_bytes = nbytes; in smb_opipe_transact()
H A Dsmb_write.c421 sr->smb_data.max_bytes = SMB_WRITEX_MAX; in smb_com_write_andx()
/onnv-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_subr.c146 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 DRAND_load_file.pod13 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 Drand.pod20 int RAND_load_file(const char *file, long max_bytes);
/onnv-gate/usr/src/common/openssl/crypto/rand/
H A Drand.h106 int RAND_load_file(const char *file,long max_bytes);
/onnv-gate/usr/src/uts/common/smbsrv/
H A Dmbuf.h274 int32_t max_bytes; /* max # of bytes for chain */ member
H A Dsmb_ktypes.h510 #define MBC_ROOM_FOR(b, n) (((b)->chain_offset + (n)) <= (b)->max_bytes)
/onnv-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai_register.c1960 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()