Searched refs:MBC_ROOM_FOR (Results 1 – 10 of 10) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_mbuf_marshaling.c | 222 if (MBC_ROOM_FOR(mbc, repc) == 0) in smb_mbc_vdecodef() 1303 if (!MBC_ROOM_FOR(mbc, bytes)) { in mbc_marshal_put_mbufs() 1383 if (MBC_ROOM_FOR(mbc, sizeof (char)) == 0) { in mbc_marshal_get_char() 1398 if (MBC_ROOM_FOR(mbc, sizeof (short)) == 0) { in mbc_marshal_get_short() 1425 if (MBC_ROOM_FOR(mbc, sizeof (int32_t)) == 0) { in mbc_marshal_get_long() 1464 if (MBC_ROOM_FOR(mbc, sizeof (int64_t)) == 0) { in mbc_marshal_get_odd_long_long() 1498 if (MBC_ROOM_FOR(mbc, sizeof (int64_t)) == 0) { in mbc_marshal_get_long_long() 1622 if (MBC_ROOM_FOR(mbc, sizeof (char)) == 0) in mbc_marshal_get_unicode_string() 1683 if (MBC_ROOM_FOR(mbc, bytes) == 0) { in mbc_marshal_get_mbufs() 1737 if (MBC_ROOM_FOR(mbc, bytes) == 0) { in mbc_marshal_get_uio() [all …]
|
H A D | smb_quota.c | 321 if (!MBC_ROOM_FOR(mbc, next_offset)) { in smb_quota_encode_quotas() 325 if (!MBC_ROOM_FOR(mbc, in smb_quota_encode_quotas()
|
H A D | smb_notify.c | 480 if (!MBC_ROOM_FOR(&sr->raw_data, len)) { in smb_notify_get_events() 749 if (MBC_ROOM_FOR(mbc, totlen) == 0) { in smb_notify_encode_action()
|
H A D | smb_trans2_find.c | 772 if (!MBC_ROOM_FOR(&xa->rep_data_mb, next_entry_offset)) in smb_trans2_find_mbc_encode() 789 if (!MBC_ROOM_FOR(&xa->rep_data_mb, next_entry_offset)) in smb_trans2_find_mbc_encode()
|
H A D | smb_nt_transact_ioctl.c | 316 if (MBC_ROOM_FOR(&xa->rep_data_mb, 16) == 0) { in smb_nt_trans_ioctl_query_alloc_ranges()
|
H A D | smb2_query_dir.c | 330 if (!MBC_ROOM_FOR(&sr->raw_data, minsize)) { in smb2_find_entries()
|
H A D | smb_dfs.c | 177 if (MBC_ROOM_FOR(fsctl->in_mbc, datalen) == 0) in smb_dfs_get_referrals_ex()
|
H A D | smb2_fsctl_odx.c | 862 if (MBC_ROOM_FOR(mbc, TOKEN_TOTAL_SIZE) == 0) in smb_odx_get_token()
|
H A D | smb2_dispatch.c | 210 if (MBC_ROOM_FOR(mbc, skip) == 0) in smb2sr_newrq()
|
/illumos-gate/usr/src/uts/common/smbsrv/ |
H A D | smb_ktypes.h | 589 #define MBC_ROOM_FOR(b, n) (((b)->chain_offset + (n)) <= (b)->max_bytes) macro
|