Searched refs:n_setup (Results 1 – 2 of 2) sorted by relevance
| /onnv-gate/usr/src/uts/common/fs/smbsrv/ |
| H A D | smb_common_transact.c | 414 int total_bytes, n_setup, n_param, n_data; in smb_nt_trans_dispatch() local 417 n_setup = (xa->smb_msrcnt < 200) ? xa->smb_msrcnt : 200; in smb_nt_trans_dispatch() 418 n_setup++; in smb_nt_trans_dispatch() 419 n_setup = n_setup & ~0x0001; in smb_nt_trans_dispatch() 424 rc = smb_maxbufsize - (SMBHEADERSIZE + 28 + n_setup + n_param); in smb_nt_trans_dispatch() 426 MBC_INIT(&xa->rep_setup_mb, n_setup * 2); in smb_nt_trans_dispatch() 481 n_setup = MBC_LENGTH(&xa->rep_setup_mb); in smb_nt_trans_dispatch() 485 if (xa->smb_msrcnt < n_setup || in smb_nt_trans_dispatch() 494 n_setup = (n_setup + 1) / 2; /* Conver to setup words */ in smb_nt_trans_dispatch() 496 param_off = param_pad + 32 + 37 + (n_setup << 1) + 2; in smb_nt_trans_dispatch() [all …]
|
| H A D | smb_nt_transact_notify_change.c | 279 int total_bytes, n_setup, n_param, n_data; in smb_reply_notify_change_request() local 308 n_setup = MBC_LENGTH(&xa->rep_setup_mb); in smb_reply_notify_change_request() 312 n_setup = (n_setup + 1) / 2; /* Convert to setup words */ in smb_reply_notify_change_request() 314 param_off = param_pad + 32 + 37 + (n_setup << 1) + 2; in smb_reply_notify_change_request() 321 (void) smbsr_encode_result(sr, 18+n_setup, total_bytes, in smb_reply_notify_change_request() 323 18 + n_setup, /* wct */ in smb_reply_notify_change_request() 332 n_setup, /* suwcnt */ in smb_reply_notify_change_request()
|