• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/libsmb/

Lines Matching defs:subreq

120 static void cli_posix_link_internal_done(struct tevent_req *subreq)
123 subreq, struct tevent_req);
127 status = cli_trans_recv(subreq, state, NULL, NULL, NULL, NULL, NULL, NULL);
128 TALLOC_FREE(subreq);
143 struct tevent_req *req = NULL, *subreq = NULL;
177 subreq = cli_trans_send(state, /* mem ctx. */
195 if (tevent_req_nomem(subreq, req)) {
198 tevent_req_set_callback(subreq, cli_posix_link_internal_done, req);
285 static void cli_posix_readlink_done(struct tevent_req *subreq)
288 subreq, struct tevent_req);
292 status = cli_trans_recv(subreq, state, NULL, NULL, NULL, NULL,
294 TALLOC_FREE(subreq);
316 struct tevent_req *req = NULL, *subreq = NULL;
347 subreq = cli_trans_send(state, /* mem ctx. */
365 if (tevent_req_nomem(subreq, req)) {
368 tevent_req_set_callback(subreq, cli_posix_readlink_done, req);
633 static void cli_posix_getfacl_done(struct tevent_req *subreq)
636 subreq, struct tevent_req);
640 status = cli_trans_recv(subreq, state, NULL, NULL, NULL, NULL,
642 TALLOC_FREE(subreq);
655 struct tevent_req *req = NULL, *subreq = NULL;
681 subreq = cli_trans_send(state, /* mem ctx. */
699 if (tevent_req_nomem(subreq, req)) {
702 tevent_req_set_callback(subreq, cli_posix_getfacl_done, req);
782 static void cli_posix_stat_done(struct tevent_req *subreq)
785 subreq, struct tevent_req);
789 status = cli_trans_recv(subreq, state, NULL, NULL, NULL, NULL,
791 TALLOC_FREE(subreq);
804 struct tevent_req *req = NULL, *subreq = NULL;
830 subreq = cli_trans_send(state, /* mem ctx. */
848 if (tevent_req_nomem(subreq, req)) {
851 tevent_req_set_callback(subreq, cli_posix_stat_done, req);
955 static void cli_posix_chown_chmod_internal_done(struct tevent_req *subreq)
958 subreq, struct tevent_req);
962 status = cli_trans_recv(subreq, state, NULL, NULL, NULL, NULL, NULL, NULL);
963 TALLOC_FREE(subreq);
979 struct tevent_req *req = NULL, *subreq = NULL;
1016 subreq = cli_trans_send(state, /* mem ctx. */
1034 if (tevent_req_nomem(subreq, req)) {
1037 tevent_req_set_callback(subreq, cli_posix_chown_chmod_internal_done, req);
1196 static void cli_rename_done(struct tevent_req *subreq);
1208 struct tevent_req *req = NULL, *subreq = NULL;
1244 subreq = cli_smb_send(state, ev, cli, SMBmv, additional_flags,
1246 if (tevent_req_nomem(subreq, req)) {
1249 tevent_req_set_callback(subreq, cli_rename_done, req);
1253 static void cli_rename_done(struct tevent_req *subreq)
1256 subreq, struct tevent_req);
1259 status = cli_smb_recv(subreq, 0, NULL, NULL, NULL, NULL);
1260 TALLOC_FREE(subreq);
1319 static void cli_ntrename_internal_done(struct tevent_req *subreq);
1332 struct tevent_req *req = NULL, *subreq = NULL;
1370 subreq = cli_smb_send(state, ev, cli, SMBntrename, additional_flags,
1372 if (tevent_req_nomem(subreq, req)) {
1375 tevent_req_set_callback(subreq, cli_ntrename_internal_done, req);
1379 static void cli_ntrename_internal_done(struct tevent_req *subreq)
1382 subreq, struct tevent_req);
1385 status = cli_smb_recv(subreq, 0, NULL, NULL, NULL, NULL);
1386 TALLOC_FREE(subreq);
1529 static void cli_unlink_done(struct tevent_req *subreq);
1541 struct tevent_req *req = NULL, *subreq = NULL;
1565 subreq = cli_smb_send(state, ev, cli, SMBunlink, additional_flags,
1567 if (tevent_req_nomem(subreq, req)) {
1570 tevent_req_set_callback(subreq, cli_unlink_done, req);
1574 static void cli_unlink_done(struct tevent_req *subreq)
1577 subreq, struct tevent_req);
1580 status = cli_smb_recv(subreq, 0, NULL, NULL, NULL, NULL);
1581 TALLOC_FREE(subreq);
1640 static void cli_mkdir_done(struct tevent_req *subreq);
1651 struct tevent_req *req = NULL, *subreq = NULL;
1673 subreq = cli_smb_send(state, ev, cli, SMBmkdir, additional_flags,
1675 if (tevent_req_nomem(subreq, req)) {
1678 tevent_req_set_callback(subreq, cli_mkdir_done, req);
1682 static void cli_mkdir_done(struct tevent_req *subreq)
1685 subreq, struct tevent_req);
1688 status = cli_smb_recv(subreq, 0, NULL, NULL, NULL, NULL);
1689 TALLOC_FREE(subreq);
1748 static void cli_rmdir_done(struct tevent_req *subreq);
1759 struct tevent_req *req = NULL, *subreq = NULL;
1781 subreq = cli_smb_send(state, ev, cli, SMBrmdir, additional_flags,
1783 if (tevent_req_nomem(subreq, req)) {
1786 tevent_req_set_callback(subreq, cli_rmdir_done, req);
1790 static void cli_rmdir_done(struct tevent_req *subreq)
1793 subreq, struct tevent_req);
1796 status = cli_smb_recv(subreq, 0, NULL, NULL, NULL, NULL);
1797 TALLOC_FREE(subreq);
1862 static void cli_nt_delete_on_close_done(struct tevent_req *subreq)
1865 subreq, struct tevent_req);
1869 status = cli_trans_recv(subreq, state, NULL, NULL, NULL, NULL, NULL, NULL);
1870 TALLOC_FREE(subreq);
1884 struct tevent_req *req = NULL, *subreq = NULL;
1902 subreq = cli_trans_send(state, /* mem ctx. */
1920 if (tevent_req_nomem(subreq, req)) {
1923 tevent_req_set_callback(subreq, cli_nt_delete_on_close_done, req);
1988 static void cli_ntcreate_done(struct tevent_req *subreq);
2002 struct tevent_req *req, *subreq;
2049 subreq = cli_smb_send(state, ev, cli, SMBntcreateX, 0, 24, vwv,
2051 if (tevent_req_nomem(subreq, req)) {
2054 tevent_req_set_callback(subreq, cli_ntcreate_done, req);
2058 static void cli_ntcreate_done(struct tevent_req *subreq)
2061 subreq, struct tevent_req);
2070 status = cli_smb_recv(subreq, 3, &wct, &vwv, &num_bytes, &bytes);
2072 TALLOC_FREE(subreq);
2163 static void cli_open_done(struct tevent_req *subreq);
2164 static void cli_open_ntcreate_done(struct tevent_req *subreq);
2172 struct tevent_req *req, *subreq;
2244 subreq = cli_smb_req_create(state, ev, cli, SMBopenX,
2247 if (subreq == NULL) {
2251 tevent_req_set_callback(subreq, cli_open_done, req);
2252 *psmbreq = subreq;
2260 struct tevent_req *req, *subreq;
2264 &subreq);
2269 status = cli_smb_req_send(subreq);
2277 static void cli_open_done(struct tevent_req *subreq)
2280 subreq, struct tevent_req);
2288 status = cli_smb_recv(subreq, 3, &wct, &vwv, NULL, NULL);
2289 TALLOC_FREE(subreq);
2315 subreq = cli_ntcreate_send(state, state->ev, state->cli,
2319 if (tevent_req_nomem(subreq, req)) {
2322 tevent_req_set_callback(subreq, cli_open_ntcreate_done, req);
2325 static void cli_open_ntcreate_done(struct tevent_req *subreq)
2328 subreq, struct tevent_req);
2333 status = cli_ntcreate_recv(subreq, &state->fnum);
2334 TALLOC_FREE(subreq);
2406 static void cli_close_done(struct tevent_req *subreq);
2414 struct tevent_req *req, *subreq;
2425 subreq = cli_smb_req_create(state, ev, cli, SMBclose, 0, 3, state->vwv,
2427 if (subreq == NULL) {
2431 tevent_req_set_callback(subreq, cli_close_done, req);
2432 *psubreq = subreq;
2441 struct tevent_req *req, *subreq;
2444 req = cli_close_create(mem_ctx, ev, cli, fnum, &subreq);
2449 status = cli_smb_req_send(subreq);
2457 static void cli_close_done(struct tevent_req *subreq)
2460 subreq, struct tevent_req);
2463 status = cli_smb_recv(subreq, 0, NULL, NULL, NULL, NULL);
2464 TALLOC_FREE(subreq);
2528 static void cli_ftruncate_done(struct tevent_req *subreq)
2531 subreq, struct tevent_req);
2535 status = cli_trans_recv(subreq, state, NULL, NULL, NULL, NULL, NULL, NULL);
2536 TALLOC_FREE(subreq);
2550 struct tevent_req *req = NULL, *subreq = NULL;
2569 subreq = cli_trans_send(state, /* mem ctx. */
2587 if (tevent_req_nomem(subreq, req)) {
2590 tevent_req_set_callback(subreq, cli_ftruncate_done, req);
2768 static void cli_unlock_done(struct tevent_req *subreq);
2778 struct tevent_req *req = NULL, *subreq = NULL;
2798 subreq = cli_smb_send(state, ev, cli, SMBlockingX, additional_flags,
2800 if (tevent_req_nomem(subreq, req)) {
2803 tevent_req_set_callback(subreq, cli_unlock_done, req);
2807 static void cli_unlock_done(struct tevent_req *subreq)
2810 subreq, struct tevent_req);
2813 status = cli_smb_recv(subreq, 0, NULL, NULL, NULL, NULL);
2814 TALLOC_FREE(subreq);
2943 static void cli_unlock64_done(struct tevent_req *subreq);
2953 struct tevent_req *req = NULL, *subreq = NULL;
2973 subreq = cli_smb_send(state, ev, cli, SMBlockingX, additional_flags,
2975 if (tevent_req_nomem(subreq, req)) {
2978 tevent_req_set_callback(subreq, cli_unlock64_done, req);
2982 static void cli_unlock64_done(struct tevent_req *subreq)
2985 subreq, struct tevent_req);
2988 status = cli_smb_recv(subreq, 0, NULL, NULL, NULL, NULL);
2989 TALLOC_FREE(subreq);
3062 static void cli_posix_unlock_internal_done(struct tevent_req *subreq)
3065 subreq, struct tevent_req);
3069 status = cli_trans_recv(subreq, state, NULL, NULL, NULL, NULL, NULL, NULL);
3070 TALLOC_FREE(subreq);
3087 struct tevent_req *req = NULL, *subreq = NULL;
3132 subreq = cli_trans_send(state, /* mem ctx. */
3150 if (tevent_req_nomem(subreq, req)) {
3153 tevent_req_set_callback(subreq, cli_posix_unlock_internal_done, req);
3316 static void cli_getattrE_done(struct tevent_req *subreq);
3333 struct tevent_req *req = NULL, *subreq = NULL;
3345 subreq = cli_smb_send(state, ev, cli, SMBgetattrE, additional_flags,
3347 if (tevent_req_nomem(subreq, req)) {
3350 tevent_req_set_callback(subreq, cli_getattrE_done, req);
3354 static void cli_getattrE_done(struct tevent_req *subreq)
3357 subreq, struct tevent_req);
3364 status = cli_smb_recv(subreq, 11, &wct, &vwv, NULL, NULL);
3376 TALLOC_FREE(subreq);
3469 static void cli_getatr_done(struct tevent_req *subreq);
3483 struct tevent_req *req = NULL, *subreq = NULL;
3507 subreq = cli_smb_send(state, ev, cli, SMBgetatr, additional_flags,
3509 if (tevent_req_nomem(subreq, req)) {
3512 tevent_req_set_callback(subreq, cli_getatr_done, req);
3516 static void cli_getatr_done(struct tevent_req *subreq)
3519 subreq, struct tevent_req);
3526 status = cli_smb_recv(subreq, 4, &wct, &vwv, NULL, NULL);
3536 TALLOC_FREE(subreq);
3617 static void cli_setattrE_done(struct tevent_req *subreq);
3631 struct tevent_req *req = NULL, *subreq = NULL;
3645 subreq = cli_smb_send(state, ev, cli, SMBsetattrE, additional_flags,
3647 if (tevent_req_nomem(subreq, req)) {
3650 tevent_req_set_callback(subreq, cli_setattrE_done, req);
3654 static void cli_setattrE_done(struct tevent_req *subreq)
3657 subreq, struct tevent_req);
3660 status = cli_smb_recv(subreq, 0, NULL, NULL, NULL, NULL);
3661 TALLOC_FREE(subreq);
3730 static void cli_setatr_done(struct tevent_req *subreq);
3743 struct tevent_req *req = NULL, *subreq = NULL;
3779 subreq = cli_smb_send(state, ev, cli, SMBsetatr, additional_flags,
3781 if (tevent_req_nomem(subreq, req)) {
3784 tevent_req_set_callback(subreq, cli_setatr_done, req);
3788 static void cli_setatr_done(struct tevent_req *subreq)
3791 subreq, struct tevent_req);
3794 status = cli_smb_recv(subreq, 0, NULL, NULL, NULL, NULL);
3795 TALLOC_FREE(subreq);
3857 static void cli_chkpath_done(struct tevent_req *subreq);
3868 struct tevent_req *req = NULL, *subreq = NULL;
3890 subreq = cli_smb_send(state, ev, cli, SMBcheckpath, additional_flags,
3892 if (tevent_req_nomem(subreq, req)) {
3895 tevent_req_set_callback(subreq, cli_chkpath_done, req);
3899 static void cli_chkpath_done(struct tevent_req *subreq)
3902 subreq, struct tevent_req);
3905 status = cli_smb_recv(subreq, 0, NULL, NULL, NULL, NULL);
3906 TALLOC_FREE(subreq);
3980 static void cli_dskattr_done(struct tevent_req *subreq);
3992 struct tevent_req *req = NULL, *subreq = NULL;
4001 subreq = cli_smb_send(state, ev, cli, SMBdskattr, additional_flags,
4003 if (tevent_req_nomem(subreq, req)) {
4006 tevent_req_set_callback(subreq, cli_dskattr_done, req);
4010 static void cli_dskattr_done(struct tevent_req *subreq)
4013 subreq, struct tevent_req);
4020 status = cli_smb_recv(subreq, 4, &wct, &vwv, NULL, NULL);
4028 TALLOC_FREE(subreq);
4093 static void cli_ctemp_done(struct tevent_req *subreq);
4106 struct tevent_req *req = NULL, *subreq = NULL;
4130 subreq = cli_smb_send(state, ev, cli, SMBctemp, additional_flags,
4132 if (tevent_req_nomem(subreq, req)) {
4135 tevent_req_set_callback(subreq, cli_ctemp_done, req);
4139 static void cli_ctemp_done(struct tevent_req *subreq)
4142 subreq, struct tevent_req);
4151 status = cli_smb_recv(subreq, 1, &wcnt, &vwv, &num_bytes, &bytes);
4153 TALLOC_FREE(subreq);
4160 TALLOC_FREE(subreq);
4624 static void cli_posix_open_internal_done(struct tevent_req *subreq)
4627 subreq, struct tevent_req);
4633 status = cli_trans_recv(subreq, state, NULL, NULL, NULL, NULL, &data, &num_data);
4634 TALLOC_FREE(subreq);
4655 struct tevent_req *req = NULL, *subreq = NULL;
4694 subreq = cli_trans_send(state, /* mem ctx. */
4712 if (tevent_req_nomem(subreq, req)) {
4715 tevent_req_set_callback(subreq, cli_posix_open_internal_done, req);
4870 static void cli_posix_unlink_internal_done(struct tevent_req *subreq)
4873 subreq, struct tevent_req);
4877 status = cli_trans_recv(subreq, state, NULL, NULL, NULL, NULL, NULL, NULL);
4878 TALLOC_FREE(subreq);
4892 struct tevent_req *req = NULL, *subreq = NULL;
4923 subreq = cli_trans_send(state, /* mem ctx. */
4941 if (tevent_req_nomem(subreq, req)) {
4944 tevent_req_set_callback(subreq, cli_posix_unlink_internal_done, req);
5092 static void cli_notify_done(struct tevent_req *subreq);
5100 struct tevent_req *req, *subreq;
5112 subreq = cli_trans_send(
5131 if (tevent_req_nomem(subreq, req)) {
5134 tevent_req_set_callback(subreq, cli_notify_done, req);
5138 static void cli_notify_done(struct tevent_req *subreq)
5141 subreq, struct tevent_req);
5148 status = cli_trans_recv(subreq, talloc_tos(), NULL, NULL,
5150 TALLOC_FREE(subreq);