Lines Matching refs:rqst
28 free_set_inf_compound(struct smb_rqst *rqst) in free_set_inf_compound() argument
30 if (rqst[1].rq_iov) in free_set_inf_compound()
31 SMB2_set_info_free(&rqst[1]); in free_set_inf_compound()
32 if (rqst[2].rq_iov) in free_set_inf_compound()
33 SMB2_close_free(&rqst[2]); in free_set_inf_compound()
40 struct smb_rqst rqst[3]; member
58 struct smb_rqst *rqst; in smb2_compound_op() local
77 rqst = &vars->rqst[0]; in smb2_compound_op()
107 rqst[num_rqst].rq_iov = &vars->open_iov[0]; in smb2_compound_op()
108 rqst[num_rqst].rq_nvec = SMB2_CREATE_IOV_SIZE; in smb2_compound_op()
110 &rqst[num_rqst], &oplock, &vars->oparms, in smb2_compound_op()
116 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
124 rqst[num_rqst].rq_iov = &vars->qi_iov[0]; in smb2_compound_op()
125 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
129 &rqst[num_rqst], in smb2_compound_op()
138 &rqst[num_rqst], in smb2_compound_op()
146 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
147 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
158 rqst[num_rqst].rq_iov = &vars->qi_iov[0]; in smb2_compound_op()
159 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
163 &rqst[num_rqst], in smb2_compound_op()
173 &rqst[num_rqst], in smb2_compound_op()
181 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
182 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
202 rqst[num_rqst].rq_iov = &vars->si_iov[0]; in smb2_compound_op()
203 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
209 &rqst[num_rqst], COMPOUND_FID, in smb2_compound_op()
215 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
216 smb2_set_related(&rqst[num_rqst++]); in smb2_compound_op()
220 rqst[num_rqst].rq_iov = &vars->si_iov[0]; in smb2_compound_op()
221 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
228 &rqst[num_rqst], in smb2_compound_op()
237 &rqst[num_rqst], in smb2_compound_op()
245 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
246 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
255 rqst[num_rqst].rq_iov = &vars->si_iov[0]; in smb2_compound_op()
256 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
264 &rqst[num_rqst], in smb2_compound_op()
271 &rqst[num_rqst], in smb2_compound_op()
277 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
278 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
289 rqst[num_rqst].rq_iov = &vars->si_iov[0]; in smb2_compound_op()
290 rqst[num_rqst].rq_nvec = 2; in smb2_compound_op()
306 &rqst[num_rqst], in smb2_compound_op()
313 &rqst[num_rqst], in smb2_compound_op()
318 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
319 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
328 rqst[num_rqst].rq_iov = &vars->si_iov[0]; in smb2_compound_op()
329 rqst[num_rqst].rq_nvec = 2; in smb2_compound_op()
344 &rqst[num_rqst], COMPOUND_FID, in smb2_compound_op()
350 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
351 smb2_set_related(&rqst[num_rqst++]); in smb2_compound_op()
366 rqst[num_rqst].rq_iov = &vars->close_iov[0]; in smb2_compound_op()
367 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
369 &rqst[num_rqst], COMPOUND_FID, in smb2_compound_op()
371 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
380 &rqst[1], &resp_buftype[1], in smb2_compound_op()
385 rqst, resp_buftype, in smb2_compound_op()
392 SMB2_open_free(&rqst[0]); in smb2_compound_op()
409 if (rqst[1].rq_iov) in smb2_compound_op()
410 SMB2_query_info_free(&rqst[1]); in smb2_compound_op()
411 if (rqst[2].rq_iov) in smb2_compound_op()
412 SMB2_close_free(&rqst[2]); in smb2_compound_op()
429 if (rqst[1].rq_iov) in smb2_compound_op()
430 SMB2_query_info_free(&rqst[1]); in smb2_compound_op()
431 if (rqst[2].rq_iov) in smb2_compound_op()
432 SMB2_close_free(&rqst[2]); in smb2_compound_op()
443 if (rqst[1].rq_iov) in smb2_compound_op()
444 SMB2_close_free(&rqst[1]); in smb2_compound_op()
451 if (rqst[1].rq_iov) in smb2_compound_op()
452 SMB2_close_free(&rqst[1]); in smb2_compound_op()
459 free_set_inf_compound(rqst); in smb2_compound_op()
466 free_set_inf_compound(rqst); in smb2_compound_op()
473 free_set_inf_compound(rqst); in smb2_compound_op()
480 free_set_inf_compound(rqst); in smb2_compound_op()
489 free_set_inf_compound(rqst); in smb2_compound_op()