Lines Matching refs:num_rqst
195 int num_rqst = 0, i; in smb2_compound_op() local
205 num_rqst = 0; in smb2_compound_op()
254 rqst[num_rqst].rq_iov = &vars->open_iov[0]; in smb2_compound_op()
255 rqst[num_rqst].rq_nvec = SMB2_CREATE_IOV_SIZE; in smb2_compound_op()
257 &rqst[num_rqst], &oplock, &vars->oparms, in smb2_compound_op()
263 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
265 num_rqst++; in smb2_compound_op()
272 rqst[num_rqst].rq_iov = &vars->qi_iov; in smb2_compound_op()
273 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
277 &rqst[num_rqst], in smb2_compound_op()
286 &rqst[num_rqst], in smb2_compound_op()
294 if (!rc && (!cfile || num_rqst > 1)) { in smb2_compound_op()
295 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
296 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
300 num_rqst++; in smb2_compound_op()
305 rqst[num_rqst].rq_iov = &vars->qi_iov; in smb2_compound_op()
306 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
311 &rqst[num_rqst], in smb2_compound_op()
321 &rqst[num_rqst], in smb2_compound_op()
330 if (!rc && (!cfile || num_rqst > 1)) { in smb2_compound_op()
331 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
332 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
336 num_rqst++; in smb2_compound_op()
351 rqst[num_rqst].rq_iov = &vars->si_iov[0]; in smb2_compound_op()
352 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
358 &rqst[num_rqst], COMPOUND_FID, in smb2_compound_op()
364 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
365 smb2_set_related(&rqst[num_rqst++]); in smb2_compound_op()
369 rqst[num_rqst].rq_iov = &vars->si_iov[0]; in smb2_compound_op()
370 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
377 &rqst[num_rqst], in smb2_compound_op()
386 &rqst[num_rqst], in smb2_compound_op()
394 if (!rc && (!cfile || num_rqst > 1)) { in smb2_compound_op()
395 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
396 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
400 num_rqst++; in smb2_compound_op()
404 rqst[num_rqst].rq_iov = &vars->si_iov[0]; in smb2_compound_op()
405 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
412 &rqst[num_rqst], in smb2_compound_op()
419 &rqst[num_rqst], in smb2_compound_op()
425 if (!rc && (!cfile || num_rqst > 1)) { in smb2_compound_op()
426 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
427 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
431 num_rqst++; in smb2_compound_op()
436 rqst[num_rqst].rq_iov = &vars->si_iov[0]; in smb2_compound_op()
437 rqst[num_rqst].rq_nvec = 2; in smb2_compound_op()
453 &rqst[num_rqst], in smb2_compound_op()
460 &rqst[num_rqst], in smb2_compound_op()
465 if (!rc && (!cfile || num_rqst > 1)) { in smb2_compound_op()
466 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
467 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
471 num_rqst++; in smb2_compound_op()
475 rqst[num_rqst].rq_iov = &vars->si_iov[0]; in smb2_compound_op()
476 rqst[num_rqst].rq_nvec = 2; in smb2_compound_op()
491 &rqst[num_rqst], COMPOUND_FID, in smb2_compound_op()
497 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
498 smb2_set_related(&rqst[num_rqst++]); in smb2_compound_op()
502 rqst[num_rqst].rq_iov = vars->io_iov; in smb2_compound_op()
503 rqst[num_rqst].rq_nvec = ARRAY_SIZE(vars->io_iov); in smb2_compound_op()
506 rc = SMB2_ioctl_init(tcon, server, &rqst[num_rqst], in smb2_compound_op()
513 rc = SMB2_ioctl_init(tcon, server, &rqst[num_rqst], in smb2_compound_op()
519 if (!rc && (!cfile || num_rqst > 1)) { in smb2_compound_op()
520 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
521 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
525 num_rqst++; in smb2_compound_op()
530 rqst[num_rqst].rq_iov = vars->io_iov; in smb2_compound_op()
531 rqst[num_rqst].rq_nvec = ARRAY_SIZE(vars->io_iov); in smb2_compound_op()
534 rc = SMB2_ioctl_init(tcon, server, &rqst[num_rqst], in smb2_compound_op()
540 rc = SMB2_ioctl_init(tcon, server, &rqst[num_rqst], in smb2_compound_op()
545 if (!rc && (!cfile || num_rqst > 1)) { in smb2_compound_op()
546 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
547 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
551 num_rqst++; in smb2_compound_op()
556 rqst[num_rqst].rq_iov = &vars->ea_iov; in smb2_compound_op()
557 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
561 &rqst[num_rqst], in smb2_compound_op()
571 &rqst[num_rqst], in smb2_compound_op()
580 if (!rc && (!cfile || num_rqst > 1)) { in smb2_compound_op()
581 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
582 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
586 num_rqst++; in smb2_compound_op()
603 rqst[num_rqst].rq_iov = &vars->close_iov; in smb2_compound_op()
604 rqst[num_rqst].rq_nvec = 1; in smb2_compound_op()
606 &rqst[num_rqst], COMPOUND_FID, in smb2_compound_op()
608 smb2_set_related(&rqst[num_rqst]); in smb2_compound_op()
612 num_rqst++; in smb2_compound_op()
616 for (i = 1; i < num_rqst - 2; i++) in smb2_compound_op()
620 flags, num_rqst - 2, in smb2_compound_op()
625 for (i = 0; i < num_rqst; i++) in smb2_compound_op()
629 flags, num_rqst, in smb2_compound_op()
635 num_rqst = 0; in smb2_compound_op()
636 SMB2_open_free(&rqst[num_rqst++]); in smb2_compound_op()
667 SMB2_query_info_free(&rqst[num_rqst++]); in smb2_compound_op()
695 SMB2_query_info_free(&rqst[num_rqst++]); in smb2_compound_op()
727 SMB2_set_info_free(&rqst[num_rqst++]); in smb2_compound_op()
734 SMB2_set_info_free(&rqst[num_rqst++]); in smb2_compound_op()
741 SMB2_set_info_free(&rqst[num_rqst++]); in smb2_compound_op()
748 SMB2_set_info_free(&rqst[num_rqst++]); in smb2_compound_op()
757 SMB2_set_info_free(&rqst[num_rqst++]); in smb2_compound_op()
767 SMB2_ioctl_free(&rqst[num_rqst++]); in smb2_compound_op()
792 SMB2_ioctl_free(&rqst[num_rqst++]); in smb2_compound_op()
814 SMB2_query_info_free(&rqst[num_rqst++]); in smb2_compound_op()
818 SMB2_close_free(&rqst[num_rqst]); in smb2_compound_op()