Lines Matching refs:num_rqst

196 	int num_rqst = 0, i;  in smb2_compound_op()  local
206 num_rqst = 0; in smb2_compound_op()
257 rqst[num_rqst].rq_iov = &vars->open_iov[0]; in smb2_compound_op()
258 rqst[num_rqst].rq_nvec = SMB2_CREATE_IOV_SIZE; in smb2_compound_op()
260 &rqst[num_rqst], &oplock, &vars->oparms, in smb2_compound_op()
266 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
268 num_rqst++; in smb2_compound_op()
281 rqst[num_rqst].rq_iov = &vars->qi_iov; in smb2_compound_op()
282 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
286 &rqst[num_rqst], in smb2_compound_op()
295 &rqst[num_rqst], in smb2_compound_op()
303 if (!rc && (!cfile || num_rqst > 1)) { in smb2_compound_op()
304 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
305 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
309 num_rqst++; in smb2_compound_op()
314 rqst[num_rqst].rq_iov = &vars->qi_iov; in smb2_compound_op()
315 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
320 &rqst[num_rqst], in smb2_compound_op()
330 &rqst[num_rqst], in smb2_compound_op()
339 if (!rc && (!cfile || num_rqst > 1)) { in smb2_compound_op()
340 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
341 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
345 num_rqst++; in smb2_compound_op()
360 rqst[num_rqst].rq_iov = &vars->si_iov[0]; in smb2_compound_op()
361 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
367 &rqst[num_rqst], COMPOUND_FID, in smb2_compound_op()
373 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
374 smb2_set_related(&rqst[num_rqst++]); in smb2_compound_op()
378 rqst[num_rqst].rq_iov = &vars->si_iov[0]; in smb2_compound_op()
379 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
386 &rqst[num_rqst], in smb2_compound_op()
395 &rqst[num_rqst], in smb2_compound_op()
403 if (!rc && (!cfile || num_rqst > 1)) { in smb2_compound_op()
404 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
405 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
409 num_rqst++; in smb2_compound_op()
413 rqst[num_rqst].rq_iov = &vars->si_iov[0]; in smb2_compound_op()
414 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
421 &rqst[num_rqst], in smb2_compound_op()
428 &rqst[num_rqst], in smb2_compound_op()
434 if (!rc && (!cfile || num_rqst > 1)) { in smb2_compound_op()
435 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
436 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
440 num_rqst++; in smb2_compound_op()
445 rqst[num_rqst].rq_iov = &vars->si_iov[0]; in smb2_compound_op()
446 rqst[num_rqst].rq_nvec = 2; in smb2_compound_op()
462 &rqst[num_rqst], in smb2_compound_op()
469 &rqst[num_rqst], in smb2_compound_op()
474 if (!rc && (!cfile || num_rqst > 1)) { in smb2_compound_op()
475 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
476 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
480 num_rqst++; in smb2_compound_op()
484 rqst[num_rqst].rq_iov = &vars->si_iov[0]; in smb2_compound_op()
485 rqst[num_rqst].rq_nvec = 2; in smb2_compound_op()
500 &rqst[num_rqst], COMPOUND_FID, in smb2_compound_op()
506 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
507 smb2_set_related(&rqst[num_rqst++]); in smb2_compound_op()
511 rqst[num_rqst].rq_iov = vars->io_iov; in smb2_compound_op()
512 rqst[num_rqst].rq_nvec = ARRAY_SIZE(vars->io_iov); in smb2_compound_op()
515 rc = SMB2_ioctl_init(tcon, server, &rqst[num_rqst], in smb2_compound_op()
522 rc = SMB2_ioctl_init(tcon, server, &rqst[num_rqst], in smb2_compound_op()
528 if (!rc && (!cfile || num_rqst > 1)) { in smb2_compound_op()
529 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
530 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
534 num_rqst++; in smb2_compound_op()
539 rqst[num_rqst].rq_iov = vars->io_iov; in smb2_compound_op()
540 rqst[num_rqst].rq_nvec = ARRAY_SIZE(vars->io_iov); in smb2_compound_op()
543 rc = SMB2_ioctl_init(tcon, server, &rqst[num_rqst], in smb2_compound_op()
549 rc = SMB2_ioctl_init(tcon, server, &rqst[num_rqst], in smb2_compound_op()
554 if (!rc && (!cfile || num_rqst > 1)) { in smb2_compound_op()
555 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
556 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
560 num_rqst++; in smb2_compound_op()
565 rqst[num_rqst].rq_iov = &vars->ea_iov; in smb2_compound_op()
566 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
570 &rqst[num_rqst], in smb2_compound_op()
580 &rqst[num_rqst], in smb2_compound_op()
589 if (!rc && (!cfile || num_rqst > 1)) { in smb2_compound_op()
590 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
591 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
595 num_rqst++; in smb2_compound_op()
612 rqst[num_rqst].rq_iov = &vars->close_iov; in smb2_compound_op()
613 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
615 &rqst[num_rqst], COMPOUND_FID, in smb2_compound_op()
617 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
621 num_rqst++; in smb2_compound_op()
625 for (i = 1; i < num_rqst - 2; i++) in smb2_compound_op()
629 flags, num_rqst - 2, in smb2_compound_op()
634 for (i = 0; i < num_rqst; i++) in smb2_compound_op()
638 flags, num_rqst, in smb2_compound_op()
644 num_rqst = 0; in smb2_compound_op()
645 SMB2_open_free(&rqst[num_rqst++]); in smb2_compound_op()
699 SMB2_query_info_free(&rqst[num_rqst++]); in smb2_compound_op()
727 SMB2_query_info_free(&rqst[num_rqst++]); in smb2_compound_op()
759 SMB2_set_info_free(&rqst[num_rqst++]); in smb2_compound_op()
766 SMB2_set_info_free(&rqst[num_rqst++]); in smb2_compound_op()
773 SMB2_set_info_free(&rqst[num_rqst++]); in smb2_compound_op()
780 SMB2_set_info_free(&rqst[num_rqst++]); in smb2_compound_op()
789 SMB2_set_info_free(&rqst[num_rqst++]); in smb2_compound_op()
799 SMB2_ioctl_free(&rqst[num_rqst++]); in smb2_compound_op()
824 SMB2_ioctl_free(&rqst[num_rqst++]); in smb2_compound_op()
846 SMB2_query_info_free(&rqst[num_rqst++]); in smb2_compound_op()
850 SMB2_close_free(&rqst[num_rqst]); in smb2_compound_op()