Lines Matching refs:num_rqst
196 int num_rqst = 0, i; in smb2_compound_op() local
206 num_rqst = 0; in smb2_compound_op()
255 rqst[num_rqst].rq_iov = &vars->open_iov[0]; in smb2_compound_op()
256 rqst[num_rqst].rq_nvec = SMB2_CREATE_IOV_SIZE; in smb2_compound_op()
258 &rqst[num_rqst], &oplock, &vars->oparms, in smb2_compound_op()
264 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
266 num_rqst++; in smb2_compound_op()
279 rqst[num_rqst].rq_iov = &vars->qi_iov; in smb2_compound_op()
280 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
284 &rqst[num_rqst], in smb2_compound_op()
293 &rqst[num_rqst], in smb2_compound_op()
301 if (!rc && (!cfile || num_rqst > 1)) { in smb2_compound_op()
302 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
303 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
307 num_rqst++; in smb2_compound_op()
312 rqst[num_rqst].rq_iov = &vars->qi_iov; in smb2_compound_op()
313 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
318 &rqst[num_rqst], in smb2_compound_op()
328 &rqst[num_rqst], in smb2_compound_op()
337 if (!rc && (!cfile || num_rqst > 1)) { in smb2_compound_op()
338 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
339 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
343 num_rqst++; in smb2_compound_op()
358 rqst[num_rqst].rq_iov = &vars->si_iov[0]; in smb2_compound_op()
359 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
365 &rqst[num_rqst], COMPOUND_FID, in smb2_compound_op()
371 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
372 smb2_set_related(&rqst[num_rqst++]); in smb2_compound_op()
376 rqst[num_rqst].rq_iov = &vars->si_iov[0]; in smb2_compound_op()
377 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
384 &rqst[num_rqst], in smb2_compound_op()
393 &rqst[num_rqst], in smb2_compound_op()
401 if (!rc && (!cfile || num_rqst > 1)) { in smb2_compound_op()
402 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
403 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
407 num_rqst++; in smb2_compound_op()
411 rqst[num_rqst].rq_iov = &vars->si_iov[0]; in smb2_compound_op()
412 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
419 &rqst[num_rqst], in smb2_compound_op()
426 &rqst[num_rqst], in smb2_compound_op()
432 if (!rc && (!cfile || num_rqst > 1)) { in smb2_compound_op()
433 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
434 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
438 num_rqst++; in smb2_compound_op()
443 rqst[num_rqst].rq_iov = &vars->si_iov[0]; in smb2_compound_op()
444 rqst[num_rqst].rq_nvec = 2; in smb2_compound_op()
460 &rqst[num_rqst], in smb2_compound_op()
467 &rqst[num_rqst], in smb2_compound_op()
472 if (!rc && (!cfile || num_rqst > 1)) { in smb2_compound_op()
473 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
474 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
478 num_rqst++; in smb2_compound_op()
482 rqst[num_rqst].rq_iov = &vars->si_iov[0]; in smb2_compound_op()
483 rqst[num_rqst].rq_nvec = 2; in smb2_compound_op()
498 &rqst[num_rqst], COMPOUND_FID, in smb2_compound_op()
504 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
505 smb2_set_related(&rqst[num_rqst++]); in smb2_compound_op()
509 rqst[num_rqst].rq_iov = vars->io_iov; in smb2_compound_op()
510 rqst[num_rqst].rq_nvec = ARRAY_SIZE(vars->io_iov); in smb2_compound_op()
513 rc = SMB2_ioctl_init(tcon, server, &rqst[num_rqst], in smb2_compound_op()
520 rc = SMB2_ioctl_init(tcon, server, &rqst[num_rqst], in smb2_compound_op()
526 if (!rc && (!cfile || num_rqst > 1)) { in smb2_compound_op()
527 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
528 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
532 num_rqst++; in smb2_compound_op()
537 rqst[num_rqst].rq_iov = vars->io_iov; in smb2_compound_op()
538 rqst[num_rqst].rq_nvec = ARRAY_SIZE(vars->io_iov); in smb2_compound_op()
541 rc = SMB2_ioctl_init(tcon, server, &rqst[num_rqst], in smb2_compound_op()
547 rc = SMB2_ioctl_init(tcon, server, &rqst[num_rqst], in smb2_compound_op()
552 if (!rc && (!cfile || num_rqst > 1)) { in smb2_compound_op()
553 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
554 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
558 num_rqst++; in smb2_compound_op()
563 rqst[num_rqst].rq_iov = &vars->ea_iov; in smb2_compound_op()
564 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
568 &rqst[num_rqst], in smb2_compound_op()
578 &rqst[num_rqst], in smb2_compound_op()
587 if (!rc && (!cfile || num_rqst > 1)) { in smb2_compound_op()
588 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
589 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
593 num_rqst++; in smb2_compound_op()
610 rqst[num_rqst].rq_iov = &vars->close_iov; in smb2_compound_op()
611 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
613 &rqst[num_rqst], COMPOUND_FID, in smb2_compound_op()
615 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
619 num_rqst++; in smb2_compound_op()
623 for (i = 1; i < num_rqst - 2; i++) in smb2_compound_op()
627 flags, num_rqst - 2, in smb2_compound_op()
632 for (i = 0; i < num_rqst; i++) in smb2_compound_op()
636 flags, num_rqst, in smb2_compound_op()
642 num_rqst = 0; in smb2_compound_op()
643 SMB2_open_free(&rqst[num_rqst++]); in smb2_compound_op()
697 SMB2_query_info_free(&rqst[num_rqst++]); in smb2_compound_op()
725 SMB2_query_info_free(&rqst[num_rqst++]); in smb2_compound_op()
757 SMB2_set_info_free(&rqst[num_rqst++]); in smb2_compound_op()
764 SMB2_set_info_free(&rqst[num_rqst++]); in smb2_compound_op()
771 SMB2_set_info_free(&rqst[num_rqst++]); in smb2_compound_op()
778 SMB2_set_info_free(&rqst[num_rqst++]); in smb2_compound_op()
787 SMB2_set_info_free(&rqst[num_rqst++]); in smb2_compound_op()
797 SMB2_ioctl_free(&rqst[num_rqst++]); in smb2_compound_op()
822 SMB2_ioctl_free(&rqst[num_rqst++]); in smb2_compound_op()
844 SMB2_query_info_free(&rqst[num_rqst++]); in smb2_compound_op()
848 SMB2_close_free(&rqst[num_rqst]); in smb2_compound_op()