Lines Matching refs:response_buf

48 		*rsp = smb2_get_msg(work->response_buf);  in __wbuf()
134 err_rsp = smb2_get_msg(work->response_buf); in smb2_set_err_rsp()
142 inc_rfc1001_len(work->response_buf, SMB2_ERROR_STRUCTURE_SIZE2); in smb2_set_err_rsp()
178 struct smb2_hdr *hdr = smb2_get_msg(work->response_buf); in is_smb2_rsp()
220 rsp_hdr = smb2_get_msg(work->response_buf); in set_smb2_rsp_status()
241 *(__be32 *)work->response_buf = in init_smb2_neg_rsp()
244 rsp_hdr = smb2_get_msg(work->response_buf); in init_smb2_neg_rsp()
258 rsp = smb2_get_msg(work->response_buf); in init_smb2_neg_rsp()
281 inc_rfc1001_len(work->response_buf, in init_smb2_neg_rsp()
386 len = get_rfc1002_len(work->response_buf) - work->next_smb2_rsp_hdr_off; in init_chained_smb2_rsp()
390 inc_rfc1001_len(work->response_buf, in init_chained_smb2_rsp()
452 if ((u64)get_rfc1002_len(work->response_buf) + MAX_CIFS_SMALL_BUFFER_SIZE > in is_chained_smb2_message()
466 len = ALIGN(get_rfc1002_len(work->response_buf), 8); in is_chained_smb2_message()
467 len = len - get_rfc1002_len(work->response_buf); in is_chained_smb2_message()
470 inc_rfc1001_len(work->response_buf, len); in is_chained_smb2_message()
486 struct smb2_hdr *rsp_hdr = smb2_get_msg(work->response_buf); in init_smb2_rsp_hdr()
491 *(__be32 *)work->response_buf = in init_smb2_rsp_hdr()
549 work->response_buf = kvmalloc(sz, GFP_KERNEL | __GFP_ZERO); in smb2_allocate_rsp_buf()
550 if (!work->response_buf) in smb2_allocate_rsp_buf()
647 rsp_hdr = smb2_get_msg(work->response_buf); in setup_async_work()
679 rsp_hdr = smb2_get_msg(work->response_buf); in smb2_send_interim_resp()
1069 struct smb2_negotiate_rsp *rsp = smb2_get_msg(work->response_buf); in smb2_handle_negotiate()
1164 assemble_neg_contexts(conn, rsp, work->response_buf); in smb2_handle_negotiate()
1214 inc_rfc1001_len(work->response_buf, sizeof(struct smb2_negotiate_rsp) - in smb2_handle_negotiate()
1306 struct smb2_sess_setup_rsp *rsp = smb2_get_msg(work->response_buf); in ntlm_negotiate()
1415 struct smb2_sess_setup_rsp *rsp = smb2_get_msg(work->response_buf); in ntlm_authenticate()
1438 inc_rfc1001_len(work->response_buf, spnego_blob_len - 1); in ntlm_authenticate()
1556 struct smb2_sess_setup_rsp *rsp = smb2_get_msg(work->response_buf); in krb5_authenticate()
1588 inc_rfc1001_len(work->response_buf, out_len - 1); in krb5_authenticate()
1648 struct smb2_sess_setup_rsp *rsp = smb2_get_msg(work->response_buf); in smb2_sess_setup()
1660 inc_rfc1001_len(work->response_buf, 9); in smb2_sess_setup()
1778 inc_rfc1001_len(work->response_buf, in smb2_sess_setup()
1870 struct smb2_tree_connect_rsp *rsp = smb2_get_msg(work->response_buf); in smb2_tree_connect()
1930 inc_rfc1001_len(work->response_buf, 16); in smb2_tree_connect()
2045 struct smb2_tree_disconnect_rsp *rsp = smb2_get_msg(work->response_buf); in smb2_tree_disconnect()
2050 inc_rfc1001_len(work->response_buf, 4); in smb2_tree_disconnect()
2079 struct smb2_logoff_rsp *rsp = smb2_get_msg(work->response_buf); in smb2_session_logoff()
2083 inc_rfc1001_len(work->response_buf, 4); in smb2_session_logoff()
2120 struct smb2_create_rsp *rsp = smb2_get_msg(work->response_buf); in create_smb2_pipe()
2159 inc_rfc1001_len(work->response_buf, 88); /* StructureSize - 1*/ in create_smb2_pipe()
3185 inc_rfc1001_len(work->response_buf, 88); /* StructureSize - 1*/ in smb2_open()
3200 inc_rfc1001_len(work->response_buf, in smb2_open()
3221 inc_rfc1001_len(work->response_buf, in smb2_open()
3240 inc_rfc1001_len(work->response_buf, in smb2_open()
3255 inc_rfc1001_len(work->response_buf, in smb2_open()
3844 (get_rfc1002_len(work->response_buf) + 4)) - hdr2_len; in smb2_resp_buf_len()
3996 inc_rfc1001_len(work->response_buf, 9); in smb2_query_dir()
4008 inc_rfc1001_len(work->response_buf, 8 + d_info.data_count); in smb2_query_dir()
4777 work->response_buf); in smb2_get_info_file()
4802 get_file_access_info(rsp, fp, work->response_buf); in smb2_get_info_file()
4807 rc = get_file_basic_info(rsp, fp, work->response_buf); in smb2_get_info_file()
4812 get_file_standard_info(rsp, fp, work->response_buf); in smb2_get_info_file()
4817 get_file_alignment_info(rsp, work->response_buf); in smb2_get_info_file()
4822 rc = get_file_all_info(work, rsp, fp, work->response_buf); in smb2_get_info_file()
4827 get_file_alternate_info(work, rsp, fp, work->response_buf); in smb2_get_info_file()
4832 get_file_stream_info(work, rsp, fp, work->response_buf); in smb2_get_info_file()
4837 get_file_internal_info(rsp, fp, work->response_buf); in smb2_get_info_file()
4842 rc = get_file_network_open_info(rsp, fp, work->response_buf); in smb2_get_info_file()
4847 get_file_ea_info(rsp, work->response_buf); in smb2_get_info_file()
4852 rc = smb2_get_ea(work, fp, req, rsp, work->response_buf); in smb2_get_info_file()
4857 get_file_position_info(rsp, fp, work->response_buf); in smb2_get_info_file()
4862 get_file_mode_info(rsp, fp, work->response_buf); in smb2_get_info_file()
4867 get_file_compression_info(rsp, fp, work->response_buf); in smb2_get_info_file()
4872 rc = get_file_attribute_tag_info(rsp, fp, work->response_buf); in smb2_get_info_file()
4881 work->response_buf); in smb2_get_info_file()
4891 rsp, work->response_buf, in smb2_get_info_file()
4935 inc_rfc1001_len(work->response_buf, 8); in smb2_get_info_filesystem()
4961 inc_rfc1001_len(work->response_buf, sz); in smb2_get_info_filesystem()
4989 inc_rfc1001_len(work->response_buf, sz); in smb2_get_info_filesystem()
5003 inc_rfc1001_len(work->response_buf, 24); in smb2_get_info_filesystem()
5020 inc_rfc1001_len(work->response_buf, 32); in smb2_get_info_filesystem()
5041 inc_rfc1001_len(work->response_buf, 64); in smb2_get_info_filesystem()
5064 inc_rfc1001_len(work->response_buf, 28); in smb2_get_info_filesystem()
5086 inc_rfc1001_len(work->response_buf, 48); in smb2_get_info_filesystem()
5107 inc_rfc1001_len(work->response_buf, 56); in smb2_get_info_filesystem()
5117 rsp, work->response_buf, in smb2_get_info_filesystem()
5152 inc_rfc1001_len(work->response_buf, secdesclen); in smb2_get_info_sec()
5197 inc_rfc1001_len(work->response_buf, secdesclen); in smb2_get_info_sec()
5253 inc_rfc1001_len(work->response_buf, 8); in smb2_query_info()
5267 struct smb2_close_rsp *rsp = smb2_get_msg(work->response_buf); in smb2_close_pipe()
5282 inc_rfc1001_len(work->response_buf, 60); in smb2_close_pipe()
5393 inc_rfc1001_len(work->response_buf, 60); in smb2_close()
5407 struct smb2_echo_rsp *rsp = smb2_get_msg(work->response_buf); in smb2_echo()
5411 inc_rfc1001_len(work->response_buf, 4); in smb2_echo()
6043 rsp = smb2_get_msg(work->response_buf); in smb2_set_info()
6083 inc_rfc1001_len(work->response_buf, 2); in smb2_set_info()
6124 struct smb2_read_rsp *rsp = smb2_get_msg(work->response_buf); in smb2_read_pipe()
6128 inc_rfc1001_len(work->response_buf, 16); in smb2_read_pipe()
6147 work->resp_hdr_sz = get_rfc1002_len(work->response_buf) + 4; in smb2_read_pipe()
6158 inc_rfc1001_len(work->response_buf, nbytes); in smb2_read_pipe()
6334 inc_rfc1001_len(work->response_buf, 16); in smb2_read()
6335 work->resp_hdr_sz = get_rfc1002_len(work->response_buf) + 4; in smb2_read()
6337 inc_rfc1001_len(work->response_buf, nbytes); in smb2_read()
6373 struct smb2_write_rsp *rsp = smb2_get_msg(work->response_buf); in smb2_write_pipe()
6418 inc_rfc1001_len(work->response_buf, 16); in smb2_write_pipe()
6575 inc_rfc1001_len(work->response_buf, 16); in smb2_write()
6622 inc_rfc1001_len(work->response_buf, 4); in smb2_flush()
6812 struct smb2_lock_rsp *rsp = smb2_get_msg(work->response_buf); in smb2_lock()
7116 inc_rfc1001_len(work->response_buf, 4); in smb2_lock()
7607 rsp = smb2_get_msg(work->response_buf); in smb2_ioctl()
7909 inc_rfc1001_len(work->response_buf, 48 + nbytes); in smb2_ioctl()
7937 struct smb2_oplock_break *rsp = smb2_get_msg(work->response_buf); in smb20_oplock_break_ack()
8044 inc_rfc1001_len(work->response_buf, 24); in smb20_oplock_break_ack()
8081 struct smb2_lease_ack *rsp = smb2_get_msg(work->response_buf); in smb21_lease_break_ack()
8193 inc_rfc1001_len(work->response_buf, 36); in smb21_lease_break_ack()
8215 struct smb2_oplock_break *rsp = smb2_get_msg(work->response_buf); in smb2_oplock_break()
8336 hdr = smb2_get_msg(work->response_buf); in smb2_set_sign_rsp()
8343 len = get_rfc1002_len(work->response_buf); in smb2_set_sign_rsp()
8347 len = get_rfc1002_len(work->response_buf) - in smb2_set_sign_rsp()
8453 hdr = smb2_get_msg(work->response_buf); in smb3_set_sign_rsp()
8460 len = get_rfc1002_len(work->response_buf); in smb3_set_sign_rsp()
8464 len = get_rfc1002_len(work->response_buf) - in smb3_set_sign_rsp()
8522 ksmbd_gen_preauth_integrity_hash(conn, work->response_buf, in smb3_preauth_hash_rsp()
8540 ksmbd_gen_preauth_integrity_hash(conn, work->response_buf, in smb3_preauth_hash_rsp()
8567 char *buf = work->response_buf; in smb3_encrypt_resp()
8661 struct smb2_hdr *rsp = smb2_get_msg(work->response_buf); in smb3_11_final_sess_setup_resp()