ntvfs 82 source4/libcli/raw/interfaces.h struct ntvfs_handle *ntvfs; ntvfs 102 source4/libcli/raw/interfaces.h struct ntvfs_handle *ntvfs; ntvfs 48 source4/ntvfs/cifs/vfs_cifs.c struct ntvfs_module_context *ntvfs; ntvfs 79 source4/ntvfs/cifs/vfs_cifs.c f = ntvfs_handle_get_backend_data(io->generic.in.file.ntvfs, ntvfs); \ ntvfs 130 source4/ntvfs/cifs/vfs_cifs.c status = ntvfs_send_oplock_break(p->ntvfs, h, level); ntvfs 138 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_connect(struct ntvfs_module_context *ntvfs, ntvfs 146 source4/ntvfs/cifs/vfs_cifs.c struct share_config *scfg = ntvfs->ctx->config; ntvfs 166 source4/ntvfs/cifs/vfs_cifs.c p = talloc_zero(ntvfs, struct cvfs_private); ntvfs 171 source4/ntvfs/cifs/vfs_cifs.c ntvfs->private_data = p; ntvfs 184 source4/ntvfs/cifs/vfs_cifs.c cli_credentials_set_conf(credentials, ntvfs->ctx->lp_ctx); ntvfs 193 source4/ntvfs/cifs/vfs_cifs.c cli_credentials_set_conf(credentials, ntvfs->ctx->lp_ctx); ntvfs 197 source4/ntvfs/cifs/vfs_cifs.c status = cli_credentials_set_machine_account(credentials, ntvfs->ctx->lp_ctx); ntvfs 211 source4/ntvfs/cifs/vfs_cifs.c io.in.dest_ports = lp_smb_ports(ntvfs->ctx->lp_ctx); ntvfs 212 source4/ntvfs/cifs/vfs_cifs.c io.in.socket_options = lp_socket_options(ntvfs->ctx->lp_ctx); ntvfs 216 source4/ntvfs/cifs/vfs_cifs.c io.in.workgroup = lp_workgroup(ntvfs->ctx->lp_ctx); ntvfs 219 source4/ntvfs/cifs/vfs_cifs.c io.in.iconv_convenience = lp_iconv_convenience(ntvfs->ctx->lp_ctx); ntvfs 220 source4/ntvfs/cifs/vfs_cifs.c io.in.gensec_settings = lp_gensec_settings(p, ntvfs->ctx->lp_ctx); ntvfs 221 source4/ntvfs/cifs/vfs_cifs.c lp_smbcli_options(ntvfs->ctx->lp_ctx, &io.in.options); ntvfs 222 source4/ntvfs/cifs/vfs_cifs.c lp_smbcli_session_options(ntvfs->ctx->lp_ctx, &io.in.session_options); ntvfs 224 source4/ntvfs/cifs/vfs_cifs.c if (!(ntvfs->ctx->client_caps & NTVFS_CLIENT_CAP_LEVEL_II_OPLOCKS)) { ntvfs 229 source4/ntvfs/cifs/vfs_cifs.c lp_resolve_context(ntvfs->ctx->lp_ctx), ntvfs 230 source4/ntvfs/cifs/vfs_cifs.c ntvfs->ctx->event_ctx); ntvfs 238 source4/ntvfs/cifs/vfs_cifs.c p->ntvfs = ntvfs; ntvfs 240 source4/ntvfs/cifs/vfs_cifs.c ntvfs->ctx->fs_type = talloc_strdup(ntvfs->ctx, "NTFS"); ntvfs 241 source4/ntvfs/cifs/vfs_cifs.c NT_STATUS_HAVE_NO_MEMORY(ntvfs->ctx->fs_type); ntvfs 242 source4/ntvfs/cifs/vfs_cifs.c ntvfs->ctx->dev_type = talloc_strdup(ntvfs->ctx, "A:"); ntvfs 243 source4/ntvfs/cifs/vfs_cifs.c NT_STATUS_HAVE_NO_MEMORY(ntvfs->ctx->dev_type); ntvfs 258 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_disconnect(struct ntvfs_module_context *ntvfs) ntvfs 260 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 271 source4/ntvfs/cifs/vfs_cifs.c ntvfs->private_data = NULL; ntvfs 329 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_unlink(struct ntvfs_module_context *ntvfs, ntvfs 332 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 363 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_ioctl(struct ntvfs_module_context *ntvfs, ntvfs 366 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 385 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_chkpath(struct ntvfs_module_context *ntvfs, ntvfs 388 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 417 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_qpathinfo(struct ntvfs_module_context *ntvfs, ntvfs 420 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 449 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_qfileinfo(struct ntvfs_module_context *ntvfs, ntvfs 452 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 470 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_setpathinfo(struct ntvfs_module_context *ntvfs, ntvfs 473 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 503 source4/ntvfs/cifs/vfs_cifs.c file->ntvfs = NULL; ntvfs 505 source4/ntvfs/cifs/vfs_cifs.c req->async_states->status = ntvfs_handle_set_backend_data(f->h, cvfs->ntvfs, f); ntvfs 507 source4/ntvfs/cifs/vfs_cifs.c file->ntvfs = f->h; ntvfs 516 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_open(struct ntvfs_module_context *ntvfs, ntvfs 519 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 529 source4/ntvfs/cifs/vfs_cifs.c return ntvfs_map_open(ntvfs, req, io); ntvfs 532 source4/ntvfs/cifs/vfs_cifs.c status = ntvfs_handle_new(ntvfs, req, &h); ntvfs 547 source4/ntvfs/cifs/vfs_cifs.c file->ntvfs = NULL; ntvfs 548 source4/ntvfs/cifs/vfs_cifs.c status = ntvfs_handle_set_backend_data(f->h, p->ntvfs, f); ntvfs 550 source4/ntvfs/cifs/vfs_cifs.c file->ntvfs = f->h; ntvfs 564 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_mkdir(struct ntvfs_module_context *ntvfs, ntvfs 567 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 584 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_rmdir(struct ntvfs_module_context *ntvfs, ntvfs 587 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 603 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_rename(struct ntvfs_module_context *ntvfs, ntvfs 606 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 613 source4/ntvfs/cifs/vfs_cifs.c f = ntvfs_handle_get_backend_data(ren->nttrans.in.file.ntvfs, ntvfs); ntvfs 630 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_copy(struct ntvfs_module_context *ntvfs, ntvfs 651 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_read(struct ntvfs_module_context *ntvfs, ntvfs 654 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 661 source4/ntvfs/cifs/vfs_cifs.c return ntvfs_map_read(ntvfs, req, io); ntvfs 690 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_write(struct ntvfs_module_context *ntvfs, ntvfs 693 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 700 source4/ntvfs/cifs/vfs_cifs.c return ntvfs_map_write(ntvfs, req, io); ntvfs 728 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_seek(struct ntvfs_module_context *ntvfs, ntvfs 732 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 749 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_flush(struct ntvfs_module_context *ntvfs, ntvfs 753 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 780 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_close(struct ntvfs_module_context *ntvfs, ntvfs 783 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 792 source4/ntvfs/cifs/vfs_cifs.c return ntvfs_map_close(ntvfs, req, io); ntvfs 822 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_exit(struct ntvfs_module_context *ntvfs, ntvfs 825 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 842 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_logoff(struct ntvfs_module_context *ntvfs, ntvfs 852 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_async_setup(struct ntvfs_module_context *ntvfs, ntvfs 862 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_cancel(struct ntvfs_module_context *ntvfs, ntvfs 865 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 885 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_lock(struct ntvfs_module_context *ntvfs, ntvfs 888 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 895 source4/ntvfs/cifs/vfs_cifs.c return ntvfs_map_lock(ntvfs, req, io); ntvfs 910 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_setfileinfo(struct ntvfs_module_context *ntvfs, ntvfs 914 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 943 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_fsinfo(struct ntvfs_module_context *ntvfs, ntvfs 946 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 963 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_lpq(struct ntvfs_module_context *ntvfs, ntvfs 972 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_search_first(struct ntvfs_module_context *ntvfs, ntvfs 977 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 985 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_search_next(struct ntvfs_module_context *ntvfs, ntvfs 990 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 998 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_search_close(struct ntvfs_module_context *ntvfs, ntvfs 1001 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 1021 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_trans2(struct ntvfs_module_context *ntvfs, ntvfs 1025 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 1045 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_trans(struct ntvfs_module_context *ntvfs, ntvfs 1065 source4/ntvfs/cifs/vfs_cifs.c static NTSTATUS cvfs_notify(struct ntvfs_module_context *ntvfs, ntvfs 1069 source4/ntvfs/cifs/vfs_cifs.c struct cvfs_private *p = ntvfs->private_data; ntvfs 1080 source4/ntvfs/cifs/vfs_cifs.c f = ntvfs_handle_get_backend_data(io->nttrans.in.file.ntvfs, ntvfs); ntvfs 3 source4/ntvfs/cifs_posix_cli/cifsposix.h struct ntvfs_module_context *ntvfs; ntvfs 39 source4/ntvfs/cifs_posix_cli/svfs_util.c char *cifspsx_unix_path(struct ntvfs_module_context *ntvfs, ntvfs 42 source4/ntvfs/cifs_posix_cli/svfs_util.c struct cifspsx_private *p = ntvfs->private_data; ntvfs 146 source4/ntvfs/cifs_posix_cli/svfs_util.c struct cifspsx_dir *cifspsx_list(struct ntvfs_module_context *ntvfs, struct ntvfs_request *req, const char *pattern) ntvfs 148 source4/ntvfs/cifs_posix_cli/svfs_util.c struct cifspsx_private *p = ntvfs->private_data; ntvfs 151 source4/ntvfs/cifs_posix_cli/svfs_util.c unix_path = cifspsx_unix_path(ntvfs, req, pattern); ntvfs 42 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c #define CHECK_READ_ONLY(req) do { if (share_bool_option(ntvfs->ctx->config, SHARE_READONLY, true)) return NT_STATUS_ACCESS_DENIED; } while (0) ntvfs 50 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_connect(struct ntvfs_module_context *ntvfs, ntvfs 55 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c struct share_config *scfg = ntvfs->ctx->config; ntvfs 57 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c p = talloc(ntvfs, struct cifspsx_private); ntvfs 59 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c p->ntvfs = ntvfs; ntvfs 72 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c ntvfs->ctx->fs_type = talloc_strdup(ntvfs->ctx, "NTFS"); ntvfs 73 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c NT_STATUS_HAVE_NO_MEMORY(ntvfs->ctx->fs_type); ntvfs 74 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c ntvfs->ctx->dev_type = talloc_strdup(ntvfs->ctx, "A:"); ntvfs 75 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c NT_STATUS_HAVE_NO_MEMORY(ntvfs->ctx->dev_type); ntvfs 77 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c ntvfs->private_data = p; ntvfs 87 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_disconnect(struct ntvfs_module_context *ntvfs) ntvfs 100 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c p = ntvfs_handle_get_backend_data(handle, cp->ntvfs); ntvfs 113 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_unlink(struct ntvfs_module_context *ntvfs, ntvfs 121 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_path = cifspsx_unix_path(ntvfs, req, unl->unlink.in.pattern); ntvfs 135 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_ioctl(struct ntvfs_module_context *ntvfs, ntvfs 144 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_chkpath(struct ntvfs_module_context *ntvfs, ntvfs 151 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_path = cifspsx_unix_path(ntvfs, req, cp->chkpath.in.path); ntvfs 178 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_map_fileinfo(struct ntvfs_module_context *ntvfs, ntvfs 254 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_qpathinfo(struct ntvfs_module_context *ntvfs, ntvfs 262 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c return ntvfs_map_qpathinfo(ntvfs, req, info); ntvfs 265 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_path = cifspsx_unix_path(ntvfs, req, info->generic.in.file.path); ntvfs 272 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c return cifspsx_map_fileinfo(ntvfs, req, info, &st, unix_path); ntvfs 278 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_qfileinfo(struct ntvfs_module_context *ntvfs, ntvfs 281 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c struct cifspsx_private *p = ntvfs->private_data; ntvfs 286 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c return ntvfs_map_qfileinfo(ntvfs, req, info); ntvfs 289 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c f = find_fd(p, info->generic.in.file.ntvfs); ntvfs 298 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c return cifspsx_map_fileinfo(ntvfs, req,info, &st, f->name); ntvfs 305 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_open(struct ntvfs_module_context *ntvfs, ntvfs 308 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c struct cifspsx_private *p = ntvfs->private_data; ntvfs 319 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c return ntvfs_map_open(ntvfs, req, io); ntvfs 322 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c readonly = share_bool_option(ntvfs->ctx->config, SHARE_READONLY, SHARE_READONLY_DEFAULT); ntvfs 331 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_path = cifspsx_unix_path(ntvfs, req, io->ntcreatex.in.fname); ntvfs 388 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c status = ntvfs_handle_new(ntvfs, req, &handle); ntvfs 399 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c status = ntvfs_handle_set_backend_data(handle, ntvfs, f); ntvfs 408 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c io->generic.out.file.ntvfs = handle; ntvfs 420 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_mkdir(struct ntvfs_module_context *ntvfs, ntvfs 431 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_path = cifspsx_unix_path(ntvfs, req, md->mkdir.in.path); ntvfs 443 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_rmdir(struct ntvfs_module_context *ntvfs, ntvfs 450 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_path = cifspsx_unix_path(ntvfs, req, rd->in.path); ntvfs 462 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_rename(struct ntvfs_module_context *ntvfs, ntvfs 473 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_path1 = cifspsx_unix_path(ntvfs, req, ren->rename.in.pattern1); ntvfs 474 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c unix_path2 = cifspsx_unix_path(ntvfs, req, ren->rename.in.pattern2); ntvfs 486 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_copy(struct ntvfs_module_context *ntvfs, ntvfs 495 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_read(struct ntvfs_module_context *ntvfs, ntvfs 498 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c struct cifspsx_private *p = ntvfs->private_data; ntvfs 506 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c f = find_fd(p, rd->readx.in.file.ntvfs); ntvfs 529 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_write(struct ntvfs_module_context *ntvfs, ntvfs 532 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c struct cifspsx_private *p = ntvfs->private_data; ntvfs 537 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c return ntvfs_map_write(ntvfs, req, wr); ntvfs 542 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c f = find_fd(p, wr->writex.in.file.ntvfs); ntvfs 564 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_seek(struct ntvfs_module_context *ntvfs, ntvfs 574 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_flush(struct ntvfs_module_context *ntvfs, ntvfs 578 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c struct cifspsx_private *p = ntvfs->private_data; ntvfs 585 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c f = find_fd(p, io->generic.in.file.ntvfs); ntvfs 605 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_close(struct ntvfs_module_context *ntvfs, ntvfs 609 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c struct cifspsx_private *p = ntvfs->private_data; ntvfs 617 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c f = find_fd(p, io->close.in.file.ntvfs); ntvfs 636 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_exit(struct ntvfs_module_context *ntvfs, ntvfs 645 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_logoff(struct ntvfs_module_context *ntvfs, ntvfs 654 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_async_setup(struct ntvfs_module_context *ntvfs, ntvfs 664 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_cancel(struct ntvfs_module_context *ntvfs, struct ntvfs_request *req) ntvfs 672 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_lock(struct ntvfs_module_context *ntvfs, ntvfs 682 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_setpathinfo(struct ntvfs_module_context *ntvfs, ntvfs 693 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_setfileinfo(struct ntvfs_module_context *ntvfs, ntvfs 697 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c struct cifspsx_private *p = ntvfs->private_data; ntvfs 703 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c f = find_fd(p, info->generic.in.file.ntvfs); ntvfs 746 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_fsinfo(struct ntvfs_module_context *ntvfs, ntvfs 749 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c struct cifspsx_private *p = ntvfs->private_data; ntvfs 753 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c return ntvfs_map_fsinfo(ntvfs, req, fs); ntvfs 778 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c fs->generic.out.volume_name = talloc_strdup(req, ntvfs->ctx->config->name); ntvfs 779 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c fs->generic.out.fs_type = ntvfs->ctx->fs_type; ntvfs 788 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_fsattr(struct ntvfs_module_context *ntvfs, ntvfs 792 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c struct cifspsx_private *p = ntvfs->private_data; ntvfs 795 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c return ntvfs_map_fsattr(ntvfs, req, fs); ntvfs 820 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_lpq(struct ntvfs_module_context *ntvfs, ntvfs 829 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_search_first(struct ntvfs_module_context *ntvfs, ntvfs 836 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c struct cifspsx_private *p = ntvfs->private_data; ntvfs 856 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c dir = cifspsx_list(ntvfs, req, io->t2ffirst.in.pattern); ntvfs 903 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_search_next(struct ntvfs_module_context *ntvfs, ntvfs 910 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c struct cifspsx_private *p = ntvfs->private_data; ntvfs 995 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_search_close(struct ntvfs_module_context *ntvfs, ntvfs 998 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c struct cifspsx_private *p = ntvfs->private_data; ntvfs 1017 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static NTSTATUS cifspsx_trans(struct ntvfs_module_context *ntvfs, ntvfs 60 source4/ntvfs/common/brlock.c struct brl_handle *brl_create_handle(TALLOC_CTX *mem_ctx, struct ntvfs_handle *ntvfs, DATA_BLOB *file_key) ntvfs 62 source4/ntvfs/common/brlock.c return ops->brl_create_handle(mem_ctx, ntvfs, file_key); ntvfs 69 source4/ntvfs/common/brlock_tdb.c struct ntvfs_handle *ntvfs; ntvfs 79 source4/ntvfs/common/brlock_tdb.c struct ntvfs_handle *ntvfs; ntvfs 111 source4/ntvfs/common/brlock_tdb.c static struct brl_handle *brl_tdb_create_handle(TALLOC_CTX *mem_ctx, struct ntvfs_handle *ntvfs, ntvfs 122 source4/ntvfs/common/brlock_tdb.c brlh->ntvfs = ntvfs; ntvfs 188 source4/ntvfs/common/brlock_tdb.c lck2->lock_type == READ_LOCK && lck1->ntvfs == lck2->ntvfs) { ntvfs 217 source4/ntvfs/common/brlock_tdb.c lck1->ntvfs == lck2->ntvfs && ntvfs 238 source4/ntvfs/common/brlock_tdb.c if (lock->ntvfs->ctx->protocol == PROTOCOL_SMB2) { ntvfs 271 source4/ntvfs/common/brlock_tdb.c lock->ntvfs == brlh->last_lock.ntvfs && ntvfs 330 source4/ntvfs/common/brlock_tdb.c lock.ntvfs = brlh->ntvfs; ntvfs 473 source4/ntvfs/common/brlock_tdb.c lock->ntvfs == brlh->ntvfs && ntvfs 485 source4/ntvfs/common/brlock_tdb.c lock->ntvfs == brlh->ntvfs && ntvfs 631 source4/ntvfs/common/brlock_tdb.c lock.ntvfs = brlh->ntvfs; ntvfs 685 source4/ntvfs/common/brlock_tdb.c lock->ntvfs == brlh->ntvfs) { ntvfs 40 source4/ntvfs/ipc/vfs_ipc.c struct ntvfs_module_context *ntvfs; ntvfs 64 source4/ntvfs/ipc/vfs_ipc.c p = ntvfs_handle_get_backend_data(handle, ipriv->ntvfs); ntvfs 80 source4/ntvfs/ipc/vfs_ipc.c h = ntvfs_handle_search_by_wire_key(ipriv->ntvfs, req, key); ntvfs 90 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_connect(struct ntvfs_module_context *ntvfs, ntvfs 96 source4/ntvfs/ipc/vfs_ipc.c ntvfs->ctx->fs_type = talloc_strdup(ntvfs->ctx, "IPC"); ntvfs 97 source4/ntvfs/ipc/vfs_ipc.c NT_STATUS_HAVE_NO_MEMORY(ntvfs->ctx->fs_type); ntvfs 99 source4/ntvfs/ipc/vfs_ipc.c ntvfs->ctx->dev_type = talloc_strdup(ntvfs->ctx, "IPC"); ntvfs 100 source4/ntvfs/ipc/vfs_ipc.c NT_STATUS_HAVE_NO_MEMORY(ntvfs->ctx->dev_type); ntvfs 103 source4/ntvfs/ipc/vfs_ipc.c ipriv = talloc(ntvfs, struct ipc_private); ntvfs 106 source4/ntvfs/ipc/vfs_ipc.c ntvfs->private_data = ipriv; ntvfs 108 source4/ntvfs/ipc/vfs_ipc.c ipriv->ntvfs = ntvfs; ntvfs 112 source4/ntvfs/ipc/vfs_ipc.c status = dcesrv_init_ipc_context(ipriv, ntvfs->ctx->lp_ctx, &ipriv->dcesrv); ntvfs 121 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_disconnect(struct ntvfs_module_context *ntvfs) ntvfs 129 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_unlink(struct ntvfs_module_context *ntvfs, ntvfs 139 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_chkpath(struct ntvfs_module_context *ntvfs, ntvfs 149 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_qpathinfo(struct ntvfs_module_context *ntvfs, ntvfs 158 source4/ntvfs/ipc/vfs_ipc.c return ntvfs_map_qpathinfo(ntvfs, req, info); ntvfs 165 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_setpathinfo(struct ntvfs_module_context *ntvfs, ntvfs 178 source4/ntvfs/ipc/vfs_ipc.c ntvfs_handle_remove_backend_data(p->handle, p->ipriv->ntvfs); ntvfs 186 source4/ntvfs/ipc/vfs_ipc.c return ntvfs_get_my_addr(ipriv->ntvfs, mem_ctx); ntvfs 193 source4/ntvfs/ipc/vfs_ipc.c return ntvfs_get_peer_addr(ipriv->ntvfs, mem_ctx); ntvfs 199 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_open_generic(struct ntvfs_module_context *ntvfs, ntvfs 206 source4/ntvfs/ipc/vfs_ipc.c struct ipc_private *ipriv = ntvfs->private_data; ntvfs 209 source4/ntvfs/ipc/vfs_ipc.c status = ntvfs_handle_new(ntvfs, req, &h); ntvfs 242 source4/ntvfs/ipc/vfs_ipc.c ntvfs->ctx->event_ctx, ntvfs 243 source4/ntvfs/ipc/vfs_ipc.c ntvfs->ctx->msg_ctx, ntvfs 244 source4/ntvfs/ipc/vfs_ipc.c ntvfs->ctx->server_id, ntvfs 260 source4/ntvfs/ipc/vfs_ipc.c status = ntvfs_handle_set_backend_data(h, ipriv->ntvfs, p); ntvfs 270 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_open_ntcreatex(struct ntvfs_module_context *ntvfs, ntvfs 276 source4/ntvfs/ipc/vfs_ipc.c status = ipc_open_generic(ntvfs, req, oi->ntcreatex.in.fname, &p); ntvfs 282 source4/ntvfs/ipc/vfs_ipc.c oi->ntcreatex.out.file.ntvfs= p->handle; ntvfs 292 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_open_openx(struct ntvfs_module_context *ntvfs, ntvfs 299 source4/ntvfs/ipc/vfs_ipc.c status = ipc_open_generic(ntvfs, req, fname, &p); ntvfs 305 source4/ntvfs/ipc/vfs_ipc.c oi->openx.out.file.ntvfs= p->handle; ntvfs 315 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_open_smb2(struct ntvfs_module_context *ntvfs, ntvfs 321 source4/ntvfs/ipc/vfs_ipc.c status = ipc_open_generic(ntvfs, req, oi->smb2.in.fname, &p); ntvfs 325 source4/ntvfs/ipc/vfs_ipc.c oi->smb2.out.file.ntvfs = p->handle; ntvfs 343 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_open(struct ntvfs_module_context *ntvfs, ntvfs 350 source4/ntvfs/ipc/vfs_ipc.c status = ipc_open_ntcreatex(ntvfs, req, oi); ntvfs 353 source4/ntvfs/ipc/vfs_ipc.c status = ipc_open_openx(ntvfs, req, oi); ntvfs 356 source4/ntvfs/ipc/vfs_ipc.c status = ipc_open_smb2(ntvfs, req, oi); ntvfs 369 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_mkdir(struct ntvfs_module_context *ntvfs, ntvfs 378 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_rmdir(struct ntvfs_module_context *ntvfs, ntvfs 387 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_rename(struct ntvfs_module_context *ntvfs, ntvfs 396 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_copy(struct ntvfs_module_context *ntvfs, ntvfs 417 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_read(struct ntvfs_module_context *ntvfs, ntvfs 420 source4/ntvfs/ipc/vfs_ipc.c struct ipc_private *ipriv = ntvfs->private_data; ntvfs 426 source4/ntvfs/ipc/vfs_ipc.c return ntvfs_map_read(ntvfs, req, rd); ntvfs 429 source4/ntvfs/ipc/vfs_ipc.c p = pipe_state_find(ipriv, rd->readx.in.file.ntvfs); ntvfs 457 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_write(struct ntvfs_module_context *ntvfs, ntvfs 460 source4/ntvfs/ipc/vfs_ipc.c struct ipc_private *ipriv = ntvfs->private_data; ntvfs 466 source4/ntvfs/ipc/vfs_ipc.c return ntvfs_map_write(ntvfs, req, wr); ntvfs 472 source4/ntvfs/ipc/vfs_ipc.c p = pipe_state_find(ipriv, wr->writex.in.file.ntvfs); ntvfs 491 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_seek(struct ntvfs_module_context *ntvfs, ntvfs 501 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_flush(struct ntvfs_module_context *ntvfs, ntvfs 511 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_close(struct ntvfs_module_context *ntvfs, ntvfs 514 source4/ntvfs/ipc/vfs_ipc.c struct ipc_private *ipriv = ntvfs->private_data; ntvfs 518 source4/ntvfs/ipc/vfs_ipc.c return ntvfs_map_close(ntvfs, req, io); ntvfs 521 source4/ntvfs/ipc/vfs_ipc.c p = pipe_state_find(ipriv, io->close.in.file.ntvfs); ntvfs 534 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_exit(struct ntvfs_module_context *ntvfs, ntvfs 537 source4/ntvfs/ipc/vfs_ipc.c struct ipc_private *ipriv = ntvfs->private_data; ntvfs 554 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_logoff(struct ntvfs_module_context *ntvfs, ntvfs 557 source4/ntvfs/ipc/vfs_ipc.c struct ipc_private *ipriv = ntvfs->private_data; ntvfs 573 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_async_setup(struct ntvfs_module_context *ntvfs, ntvfs 583 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_cancel(struct ntvfs_module_context *ntvfs, ntvfs 592 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_lock(struct ntvfs_module_context *ntvfs, ntvfs 601 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_setfileinfo(struct ntvfs_module_context *ntvfs, ntvfs 610 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_qfileinfo(struct ntvfs_module_context *ntvfs, ntvfs 613 source4/ntvfs/ipc/vfs_ipc.c struct ipc_private *ipriv = ntvfs->private_data; ntvfs 614 source4/ntvfs/ipc/vfs_ipc.c struct pipe_state *p = pipe_state_find(ipriv, info->generic.in.file.ntvfs); ntvfs 642 source4/ntvfs/ipc/vfs_ipc.c return ntvfs_map_qfileinfo(ntvfs, req, info); ntvfs 652 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_fsinfo(struct ntvfs_module_context *ntvfs, ntvfs 661 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_lpq(struct ntvfs_module_context *ntvfs, ntvfs 670 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_search_first(struct ntvfs_module_context *ntvfs, ntvfs 681 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_search_next(struct ntvfs_module_context *ntvfs, ntvfs 692 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_search_close(struct ntvfs_module_context *ntvfs, ntvfs 716 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_dcerpc_cmd(struct ntvfs_module_context *ntvfs, ntvfs 720 source4/ntvfs/ipc/vfs_ipc.c struct ipc_private *ipriv = ntvfs->private_data; ntvfs 772 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_set_nm_pipe_state(struct ntvfs_module_context *ntvfs, ntvfs 775 source4/ntvfs/ipc/vfs_ipc.c struct ipc_private *ipriv = ntvfs->private_data; ntvfs 802 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_trans(struct ntvfs_module_context *ntvfs, ntvfs 808 source4/ntvfs/ipc/vfs_ipc.c return ipc_rap_call(req, ntvfs->ctx->event_ctx, ntvfs->ctx->lp_ctx, trans); ntvfs 816 source4/ntvfs/ipc/vfs_ipc.c status = ipc_set_nm_pipe_state(ntvfs, req, trans); ntvfs 819 source4/ntvfs/ipc/vfs_ipc.c status = ipc_dcerpc_cmd(ntvfs, req, trans); ntvfs 829 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_ioctl_smb2(struct ntvfs_module_context *ntvfs, ntvfs 833 source4/ntvfs/ipc/vfs_ipc.c struct ipc_private *ipriv = ntvfs->private_data; ntvfs 844 source4/ntvfs/ipc/vfs_ipc.c p = pipe_state_find(ipriv, io->smb2.in.file.ntvfs); ntvfs 879 source4/ntvfs/ipc/vfs_ipc.c static NTSTATUS ipc_ioctl(struct ntvfs_module_context *ntvfs, ntvfs 884 source4/ntvfs/ipc/vfs_ipc.c return ipc_ioctl_smb2(ntvfs, req, io); ntvfs 44 source4/ntvfs/nbench/vfs_nbench.c struct nbench_private *nprivates = req->async_states->ntvfs->private_data; ntvfs 83 source4/ntvfs/nbench/vfs_nbench.c #define PASS_THRU_REQ_PRE_ASYNC(ntvfs, req, op, par1) do { \ ntvfs 84 source4/ntvfs/nbench/vfs_nbench.c status = ntvfs_async_state_push(ntvfs, req, par1, nbench_##op##_send); \ ntvfs 97 source4/ntvfs/nbench/vfs_nbench.c #define PASS_THRU_REQ(ntvfs, req, op, par1, args) do { \ ntvfs 98 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ_PRE_ASYNC(ntvfs, req, op, par1); \ ntvfs 113 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_connect(struct ntvfs_module_context *ntvfs, ntvfs 120 source4/ntvfs/nbench/vfs_nbench.c nprivates = talloc(ntvfs, struct nbench_private); ntvfs 125 source4/ntvfs/nbench/vfs_nbench.c asprintf(&logname, "/tmp/nbenchlog%d.%u", ntvfs->depth, getpid()); ntvfs 134 source4/ntvfs/nbench/vfs_nbench.c ntvfs->private_data = nprivates; ntvfs 136 source4/ntvfs/nbench/vfs_nbench.c status = ntvfs_next_connect(ntvfs, req, sharename); ntvfs 144 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_disconnect(struct ntvfs_module_context *ntvfs) ntvfs 146 source4/ntvfs/nbench/vfs_nbench.c struct nbench_private *nprivates = ntvfs->private_data; ntvfs 151 source4/ntvfs/nbench/vfs_nbench.c status = ntvfs_next_disconnect(ntvfs); ntvfs 171 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_unlink(struct ntvfs_module_context *ntvfs, ntvfs 177 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, unlink, unl, (ntvfs, req, unl)); ntvfs 192 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_ioctl(struct ntvfs_module_context *ntvfs, ntvfs 197 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, ioctl, io, (ntvfs, req, io)); ntvfs 216 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_chkpath(struct ntvfs_module_context *ntvfs, ntvfs 222 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, chkpath, cp, (ntvfs, req, cp)); ntvfs 242 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_qpathinfo(struct ntvfs_module_context *ntvfs, ntvfs 247 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, qpathinfo, info, (ntvfs, req, info)); ntvfs 260 source4/ntvfs/nbench/vfs_nbench.c nbench_ntvfs_handle_string(req, info->generic.in.file.ntvfs), ntvfs 267 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_qfileinfo(struct ntvfs_module_context *ntvfs, ntvfs 272 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, qfileinfo, info, (ntvfs, req, info)); ntvfs 292 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_setpathinfo(struct ntvfs_module_context *ntvfs, ntvfs 297 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, setpathinfo, st, (ntvfs, req, st)); ntvfs 318 source4/ntvfs/nbench/vfs_nbench.c nbench_ntvfs_handle_string(req, io->ntcreatex.out.file.ntvfs), ntvfs 331 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_open(struct ntvfs_module_context *ntvfs, ntvfs 337 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, open, io, (ntvfs, req, io)); ntvfs 352 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_mkdir(struct ntvfs_module_context *ntvfs, ntvfs 357 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, mkdir, md, (ntvfs, req, md)); ntvfs 376 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_rmdir(struct ntvfs_module_context *ntvfs, ntvfs 381 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, rmdir, rd, (ntvfs, req, rd)); ntvfs 410 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_rename(struct ntvfs_module_context *ntvfs, ntvfs 415 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, rename, ren, (ntvfs, req, ren)); ntvfs 430 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_copy(struct ntvfs_module_context *ntvfs, ntvfs 435 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, copy, cp, (ntvfs, req, cp)); ntvfs 453 source4/ntvfs/nbench/vfs_nbench.c nbench_ntvfs_handle_string(req, rd->readx.in.file.ntvfs), ntvfs 468 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_read(struct ntvfs_module_context *ntvfs, ntvfs 473 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, read, rd, (ntvfs, req, rd)); ntvfs 491 source4/ntvfs/nbench/vfs_nbench.c nbench_ntvfs_handle_string(req, wr->writex.in.file.ntvfs), ntvfs 503 source4/ntvfs/nbench/vfs_nbench.c nbench_ntvfs_handle_string(req, wr->write.in.file.ntvfs), ntvfs 519 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_write(struct ntvfs_module_context *ntvfs, ntvfs 524 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, write, wr, (ntvfs, req, wr)); ntvfs 539 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_seek(struct ntvfs_module_context *ntvfs, ntvfs 545 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, seek, io, (ntvfs, req, io)); ntvfs 560 source4/ntvfs/nbench/vfs_nbench.c nbench_ntvfs_handle_string(req, io->flush.in.file.ntvfs), ntvfs 577 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_flush(struct ntvfs_module_context *ntvfs, ntvfs 583 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, flush, io, (ntvfs, req, io)); ntvfs 598 source4/ntvfs/nbench/vfs_nbench.c nbench_ntvfs_handle_string(req, io->close.in.file.ntvfs), ntvfs 611 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_close(struct ntvfs_module_context *ntvfs, ntvfs 616 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, close, io, (ntvfs, req, io)); ntvfs 631 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_exit(struct ntvfs_module_context *ntvfs, ntvfs 636 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, exit, NULL, (ntvfs, req)); ntvfs 651 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_logoff(struct ntvfs_module_context *ntvfs, ntvfs 656 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, logoff, NULL, (ntvfs, req)); ntvfs 672 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_async_setup(struct ntvfs_module_context *ntvfs, ntvfs 678 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, async_setup, NULL, (ntvfs, req, private_data)); ntvfs 692 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_cancel(struct ntvfs_module_context *ntvfs, ntvfs 697 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, cancel, NULL, (ntvfs, req)); ntvfs 713 source4/ntvfs/nbench/vfs_nbench.c nbench_ntvfs_handle_string(req, lck->lockx.in.file.ntvfs), ntvfs 720 source4/ntvfs/nbench/vfs_nbench.c nbench_ntvfs_handle_string(req, lck->lockx.in.file.ntvfs), ntvfs 731 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_lock(struct ntvfs_module_context *ntvfs, ntvfs 736 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, lock, lck, (ntvfs, req, lck)); ntvfs 749 source4/ntvfs/nbench/vfs_nbench.c nbench_ntvfs_handle_string(req, info->generic.in.file.ntvfs), ntvfs 756 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_setfileinfo(struct ntvfs_module_context *ntvfs, ntvfs 762 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, setfileinfo, info, (ntvfs, req, info)); ntvfs 781 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_fsinfo(struct ntvfs_module_context *ntvfs, ntvfs 786 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, fsinfo, fs, (ntvfs, req, fs)); ntvfs 803 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_lpq(struct ntvfs_module_context *ntvfs, ntvfs 808 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, lpq, lpq, (ntvfs, req, lpq)); ntvfs 841 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_search_first(struct ntvfs_module_context *ntvfs, ntvfs 848 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, search_first, io, (ntvfs, req, io, search_private, callback)); ntvfs 863 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_search_next(struct ntvfs_module_context *ntvfs, ntvfs 870 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, search_next, io, (ntvfs, req, io, search_private, callback)); ntvfs 885 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_search_close(struct ntvfs_module_context *ntvfs, ntvfs 890 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, search_close, io, (ntvfs, req, io)); ntvfs 903 source4/ntvfs/nbench/vfs_nbench.c static NTSTATUS nbench_trans(struct ntvfs_module_context *ntvfs, ntvfs 908 source4/ntvfs/nbench/vfs_nbench.c PASS_THRU_REQ(ntvfs, req, trans, trans2, (ntvfs, req, trans2)); ntvfs 50 source4/ntvfs/ntvfs.h NTSTATUS (*connect)(struct ntvfs_module_context *ntvfs, ntvfs 53 source4/ntvfs/ntvfs.h NTSTATUS (*disconnect)(struct ntvfs_module_context *ntvfs); ntvfs 56 source4/ntvfs/ntvfs.h NTSTATUS (*async_setup)(struct ntvfs_module_context *ntvfs, ntvfs 61 source4/ntvfs/ntvfs.h NTSTATUS (*fsinfo)(struct ntvfs_module_context *ntvfs, ntvfs 66 source4/ntvfs/ntvfs.h NTSTATUS (*unlink)(struct ntvfs_module_context *ntvfs, ntvfs 69 source4/ntvfs/ntvfs.h NTSTATUS (*chkpath)(struct ntvfs_module_context *ntvfs, ntvfs 72 source4/ntvfs/ntvfs.h NTSTATUS (*qpathinfo)(struct ntvfs_module_context *ntvfs, ntvfs 75 source4/ntvfs/ntvfs.h NTSTATUS (*setpathinfo)(struct ntvfs_module_context *ntvfs, ntvfs 78 source4/ntvfs/ntvfs.h NTSTATUS (*mkdir)(struct ntvfs_module_context *ntvfs, ntvfs 81 source4/ntvfs/ntvfs.h NTSTATUS (*rmdir)(struct ntvfs_module_context *ntvfs, ntvfs 84 source4/ntvfs/ntvfs.h NTSTATUS (*rename)(struct ntvfs_module_context *ntvfs, ntvfs 87 source4/ntvfs/ntvfs.h NTSTATUS (*copy)(struct ntvfs_module_context *ntvfs, ntvfs 90 source4/ntvfs/ntvfs.h NTSTATUS (*open)(struct ntvfs_module_context *ntvfs, ntvfs 95 source4/ntvfs/ntvfs.h NTSTATUS (*search_first)(struct ntvfs_module_context *ntvfs, ntvfs 99 source4/ntvfs/ntvfs.h NTSTATUS (*search_next)(struct ntvfs_module_context *ntvfs, ntvfs 103 source4/ntvfs/ntvfs.h NTSTATUS (*search_close)(struct ntvfs_module_context *ntvfs, ntvfs 108 source4/ntvfs/ntvfs.h NTSTATUS (*ioctl)(struct ntvfs_module_context *ntvfs, ntvfs 111 source4/ntvfs/ntvfs.h NTSTATUS (*read)(struct ntvfs_module_context *ntvfs, ntvfs 114 source4/ntvfs/ntvfs.h NTSTATUS (*write)(struct ntvfs_module_context *ntvfs, ntvfs 117 source4/ntvfs/ntvfs.h NTSTATUS (*seek)(struct ntvfs_module_context *ntvfs, ntvfs 120 source4/ntvfs/ntvfs.h NTSTATUS (*flush)(struct ntvfs_module_context *ntvfs, ntvfs 123 source4/ntvfs/ntvfs.h NTSTATUS (*lock)(struct ntvfs_module_context *ntvfs, ntvfs 126 source4/ntvfs/ntvfs.h NTSTATUS (*qfileinfo)(struct ntvfs_module_context *ntvfs, ntvfs 129 source4/ntvfs/ntvfs.h NTSTATUS (*setfileinfo)(struct ntvfs_module_context *ntvfs, ntvfs 132 source4/ntvfs/ntvfs.h NTSTATUS (*close)(struct ntvfs_module_context *ntvfs, ntvfs 137 source4/ntvfs/ntvfs.h NTSTATUS (*trans)(struct ntvfs_module_context *ntvfs, ntvfs 142 source4/ntvfs/ntvfs.h NTSTATUS (*trans2)(struct ntvfs_module_context *ntvfs, ntvfs 147 source4/ntvfs/ntvfs.h NTSTATUS (*notify)(struct ntvfs_module_context *ntvfs, ntvfs 152 source4/ntvfs/ntvfs.h NTSTATUS (*cancel)(struct ntvfs_module_context *ntvfs, ntvfs 156 source4/ntvfs/ntvfs.h NTSTATUS (*lpq)(struct ntvfs_module_context *ntvfs, ntvfs 161 source4/ntvfs/ntvfs.h NTSTATUS (*logoff)(struct ntvfs_module_context *ntvfs, ntvfs 163 source4/ntvfs/ntvfs.h NTSTATUS (*exit)(struct ntvfs_module_context *ntvfs, ntvfs 255 source4/ntvfs/ntvfs.h struct ntvfs_module_context *ntvfs; ntvfs 180 source4/ntvfs/ntvfs_base.c struct ntvfs_module_context *ntvfs; ntvfs 182 source4/ntvfs/ntvfs_base.c ntvfs = talloc_zero(ctx, struct ntvfs_module_context); ntvfs 183 source4/ntvfs/ntvfs_base.c NT_STATUS_HAVE_NO_MEMORY(ntvfs); ntvfs 184 source4/ntvfs/ntvfs_base.c ntvfs->ctx = ctx; ntvfs 185 source4/ntvfs/ntvfs_base.c ntvfs->ops = ntvfs_backend_byname(handlers[i], ctx->type); ntvfs 186 source4/ntvfs/ntvfs_base.c if (!ntvfs->ops) { ntvfs 191 source4/ntvfs/ntvfs_base.c ntvfs->depth = i; ntvfs 192 source4/ntvfs/ntvfs_base.c DLIST_ADD_END(ctx->modules, ntvfs, struct ntvfs_module_context *); ntvfs 48 source4/ntvfs/ntvfs_generic.c struct ntvfs_module_context *ntvfs; ntvfs 65 source4/ntvfs/ntvfs_generic.c req->async_states->status = m->fn(m->ntvfs, req, m->io, m->io2, req->async_states->status); ntvfs 77 source4/ntvfs/ntvfs_generic.c static NTSTATUS ntvfs_map_async_setup(struct ntvfs_module_context *ntvfs, ntvfs 87 source4/ntvfs/ntvfs_generic.c m->ntvfs = ntvfs; ntvfs 91 source4/ntvfs/ntvfs_generic.c return ntvfs_async_state_push(ntvfs, req, m, ntvfs_map_async_send); ntvfs 114 source4/ntvfs/ntvfs_generic.c return m->fn(m->ntvfs, req, m->io, m->io2, status); ntvfs 142 source4/ntvfs/ntvfs_generic.c static NTSTATUS ntvfs_map_open_finish(struct ntvfs_module_context *ntvfs, ntvfs 159 source4/ntvfs/ntvfs_generic.c io->openold.out.file.ntvfs = io2->generic.out.file.ntvfs; ntvfs 167 source4/ntvfs/ntvfs_generic.c io->openx.out.file.ntvfs = io2->generic.out.file.ntvfs; ntvfs 187 source4/ntvfs/ntvfs_generic.c io->t2open.out.file.ntvfs = io2->generic.out.file.ntvfs; ntvfs 200 source4/ntvfs/ntvfs_generic.c io->mknew.out.file.ntvfs= io2->generic.out.file.ntvfs; ntvfs 205 source4/ntvfs/ntvfs_generic.c io->ctemp.out.file.ntvfs= io2->generic.out.file.ntvfs; ntvfs 213 source4/ntvfs/ntvfs_generic.c io->smb2.out.file.ntvfs = io2->generic.out.file.ntvfs; ntvfs 254 source4/ntvfs/ntvfs_generic.c sf->generic.in.file.ntvfs = io2->generic.out.file.ntvfs; ntvfs 258 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->setfileinfo(ntvfs, req, sf); ntvfs 265 source4/ntvfs/ntvfs_generic.c sf->generic.in.file.ntvfs = io2->generic.out.file.ntvfs; ntvfs 267 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->setfileinfo(ntvfs, req, sf); ntvfs 383 source4/ntvfs/ntvfs_generic.c NTSTATUS ntvfs_map_open(struct ntvfs_module_context *ntvfs, ntvfs 395 source4/ntvfs/ntvfs_generic.c status = ntvfs_map_async_setup(ntvfs, req, ntvfs 418 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->open(ntvfs, req, io2); ntvfs 435 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->open(ntvfs, req, io2); ntvfs 461 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->open(ntvfs, req, io2); ntvfs 474 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->open(ntvfs, req, io2); ntvfs 487 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->open(ntvfs, req, io2); ntvfs 503 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->open(ntvfs, req, io2); ntvfs 550 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->open(ntvfs, req, io2); ntvfs 565 source4/ntvfs/ntvfs_generic.c NTSTATUS ntvfs_map_fsinfo(struct ntvfs_module_context *ntvfs, ntvfs 587 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->fsinfo(ntvfs, req, fs2); ntvfs 925 source4/ntvfs/ntvfs_generic.c NTSTATUS ntvfs_map_qfileinfo(struct ntvfs_module_context *ntvfs, ntvfs 943 source4/ntvfs/ntvfs_generic.c info2->generic.in.file.ntvfs= info->generic.in.file.ntvfs; ntvfs 948 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->qfileinfo(ntvfs, req, info2); ntvfs 958 source4/ntvfs/ntvfs_generic.c NTSTATUS ntvfs_map_qpathinfo(struct ntvfs_module_context *ntvfs, ntvfs 981 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->qpathinfo(ntvfs, req, info2); ntvfs 992 source4/ntvfs/ntvfs_generic.c NTSTATUS ntvfs_map_lock(struct ntvfs_module_context *ntvfs, ntvfs 1015 source4/ntvfs/ntvfs_generic.c lck2->generic.in.file.ntvfs= lck->lock.in.file.ntvfs; ntvfs 1028 source4/ntvfs/ntvfs_generic.c lck2->generic.in.file.ntvfs= lck->unlock.in.file.ntvfs; ntvfs 1049 source4/ntvfs/ntvfs_generic.c lck2->generic.in.file.ntvfs= lck->smb2.in.file.ntvfs; ntvfs 1095 source4/ntvfs/ntvfs_generic.c lck2->generic.in.file.ntvfs = lck->smb2_break.in.file.ntvfs; ntvfs 1116 source4/ntvfs/ntvfs_generic.c return ntvfs->ops->lock(ntvfs, req, lck2); ntvfs 1123 source4/ntvfs/ntvfs_generic.c static NTSTATUS ntvfs_map_write_finish(struct ntvfs_module_context *ntvfs, ntvfs 1151 source4/ntvfs/ntvfs_generic.c lck->unlock.in.file.ntvfs = wr->writeunlock.in.file.ntvfs; ntvfs 1159 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->lock(ntvfs, req, lck); ntvfs 1173 source4/ntvfs/ntvfs_generic.c cl->close.in.file.ntvfs = wr->writeclose.in.file.ntvfs; ntvfs 1180 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->close(ntvfs, req, cl); ntvfs 1205 source4/ntvfs/ntvfs_generic.c NTSTATUS ntvfs_map_write(struct ntvfs_module_context *ntvfs, ntvfs 1217 source4/ntvfs/ntvfs_generic.c status = ntvfs_map_async_setup(ntvfs, req, wr, wr2, ntvfs 1231 source4/ntvfs/ntvfs_generic.c wr2->writex.in.file.ntvfs= wr->write.in.file.ntvfs; ntvfs 1237 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->write(ntvfs, req, wr2); ntvfs 1241 source4/ntvfs/ntvfs_generic.c wr2->writex.in.file.ntvfs= wr->writeunlock.in.file.ntvfs; ntvfs 1247 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->write(ntvfs, req, wr2); ntvfs 1251 source4/ntvfs/ntvfs_generic.c wr2->writex.in.file.ntvfs= wr->writeclose.in.file.ntvfs; ntvfs 1257 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->write(ntvfs, req, wr2); ntvfs 1261 source4/ntvfs/ntvfs_generic.c wr2->writex.in.file.ntvfs= wr->splwrite.in.file.ntvfs; ntvfs 1267 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->write(ntvfs, req, wr2); ntvfs 1271 source4/ntvfs/ntvfs_generic.c wr2->writex.in.file.ntvfs= wr->smb2.in.file.ntvfs; ntvfs 1277 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->write(ntvfs, req, wr2); ntvfs 1287 source4/ntvfs/ntvfs_generic.c static NTSTATUS ntvfs_map_read_finish(struct ntvfs_module_context *ntvfs, ntvfs 1318 source4/ntvfs/ntvfs_generic.c NTSTATUS ntvfs_map_read(struct ntvfs_module_context *ntvfs, ntvfs 1332 source4/ntvfs/ntvfs_generic.c status = ntvfs_map_async_setup(ntvfs, req, rd, rd2, ntvfs 1347 source4/ntvfs/ntvfs_generic.c rd2->readx.in.file.ntvfs= rd->read.in.file.ntvfs; ntvfs 1353 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->read(ntvfs, req, rd2); ntvfs 1357 source4/ntvfs/ntvfs_generic.c rd2->readx.in.file.ntvfs= rd->readbraw.in.file.ntvfs; ntvfs 1363 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->read(ntvfs, req, rd2); ntvfs 1377 source4/ntvfs/ntvfs_generic.c lck->lock.in.file.ntvfs = rd->lockread.in.file.ntvfs; ntvfs 1380 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->lock(ntvfs, req, lck); ntvfs 1383 source4/ntvfs/ntvfs_generic.c rd2->readx.in.file.ntvfs= rd->lockread.in.file.ntvfs; ntvfs 1391 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->read(ntvfs, req, rd2); ntvfs 1396 source4/ntvfs/ntvfs_generic.c rd2->readx.in.file.ntvfs= rd->smb2.in.file.ntvfs; ntvfs 1402 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->read(ntvfs, req, rd2); ntvfs 1414 source4/ntvfs/ntvfs_generic.c static NTSTATUS ntvfs_map_close_finish(struct ntvfs_module_context *ntvfs, ntvfs 1444 source4/ntvfs/ntvfs_generic.c NTSTATUS ntvfs_map_close(struct ntvfs_module_context *ntvfs, ntvfs 1482 source4/ntvfs/ntvfs_generic.c status = ntvfs_map_async_setup(ntvfs, req, cl, cl2, ntvfs 1486 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->close(ntvfs, req, cl2); ntvfs 1494 source4/ntvfs/ntvfs_generic.c static NTSTATUS ntvfs_map_notify_finish(struct ntvfs_module_context *ntvfs, ntvfs 1522 source4/ntvfs/ntvfs_generic.c NTSTATUS ntvfs_map_notify(struct ntvfs_module_context *ntvfs, ntvfs 1532 source4/ntvfs/ntvfs_generic.c status = ntvfs_map_async_setup(ntvfs, req, nt, nt2, ntvfs 1544 source4/ntvfs/ntvfs_generic.c nt2->nttrans.in.file.ntvfs = nt->smb2.in.file.ntvfs; ntvfs 1548 source4/ntvfs/ntvfs_generic.c status = ntvfs->ops->notify(ntvfs, req, nt2); ntvfs 27 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 28 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->connect) { ntvfs 31 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->connect(ntvfs, req, sharename); ntvfs 36 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs; ntvfs 40 source4/ntvfs/ntvfs_interface.c ntvfs = ntvfs_ctx->modules; ntvfs 41 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->disconnect) { ntvfs 44 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->disconnect(ntvfs); ntvfs 51 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 52 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->async_setup) { ntvfs 55 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->async_setup(ntvfs, req, private_data); ntvfs 61 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 62 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->fsinfo) { ntvfs 65 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->fsinfo(ntvfs, req, fs); ntvfs 71 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 72 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->unlink) { ntvfs 75 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->unlink(ntvfs, req, unl); ntvfs 80 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 81 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->chkpath) { ntvfs 84 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->chkpath(ntvfs, req, cp); ntvfs 89 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 90 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->qpathinfo) { ntvfs 93 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->qpathinfo(ntvfs, req, st); ntvfs 98 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 99 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->setpathinfo) { ntvfs 102 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->setpathinfo(ntvfs, req, st); ntvfs 107 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 108 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->open) { ntvfs 111 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->open(ntvfs, req, oi); ntvfs 116 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 117 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->mkdir) { ntvfs 120 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->mkdir(ntvfs, req, md); ntvfs 125 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 126 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->rmdir) { ntvfs 129 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->rmdir(ntvfs, req, rd); ntvfs 134 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 135 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->rename) { ntvfs 138 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->rename(ntvfs, req, ren); ntvfs 143 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 144 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->copy) { ntvfs 147 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->copy(ntvfs, req, cp); ntvfs 154 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 155 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->search_first) { ntvfs 158 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->search_first(ntvfs, req, io, private_data, ntvfs_callback); ntvfs 164 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 165 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->search_next) { ntvfs 168 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->search_next(ntvfs, req, io, private_data, ntvfs_callback); ntvfs 173 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 174 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->search_close) { ntvfs 177 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->search_close(ntvfs, req, io); ntvfs 183 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 184 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->ioctl) { ntvfs 187 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->ioctl(ntvfs, req, io); ntvfs 192 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 193 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->read) { ntvfs 196 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->read(ntvfs, req, io); ntvfs 201 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 202 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->write) { ntvfs 205 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->write(ntvfs, req, io); ntvfs 210 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 211 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->seek) { ntvfs 214 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->seek(ntvfs, req, io); ntvfs 220 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 221 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->flush) { ntvfs 224 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->flush(ntvfs, req, flush); ntvfs 229 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 230 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->lock) { ntvfs 233 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->lock(ntvfs, req, lck); ntvfs 238 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 239 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->qfileinfo) { ntvfs 242 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->qfileinfo(ntvfs, req, info); ntvfs 247 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 248 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->setfileinfo) { ntvfs 251 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->setfileinfo(ntvfs, req, info); ntvfs 256 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 257 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->close) { ntvfs 260 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->close(ntvfs, req, io); ntvfs 266 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 267 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->trans) { ntvfs 270 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->trans(ntvfs, req, trans); ntvfs 276 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 277 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->trans2) { ntvfs 280 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->trans2(ntvfs, req, trans2); ntvfs 286 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 287 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->lpq) { ntvfs 290 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->lpq(ntvfs, req, lpq); ntvfs 296 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 297 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->logoff) { ntvfs 300 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->logoff(ntvfs, req); ntvfs 305 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 306 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->exit) { ntvfs 309 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->exit(ntvfs, req); ntvfs 317 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 318 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->notify) { ntvfs 321 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->notify(ntvfs, req, info); ntvfs 329 source4/ntvfs/ntvfs_interface.c struct ntvfs_module_context *ntvfs = req->ctx->modules; ntvfs 330 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ops->cancel) { ntvfs 333 source4/ntvfs/ntvfs_interface.c return ntvfs->ops->cancel(ntvfs, req); ntvfs 337 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_connect(struct ntvfs_module_context *ntvfs, ntvfs 340 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->connect) { ntvfs 343 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->connect(ntvfs->next, req, sharename); ntvfs 346 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_disconnect(struct ntvfs_module_context *ntvfs) ntvfs 348 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->disconnect) { ntvfs 351 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->disconnect(ntvfs->next); ntvfs 355 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_async_setup(struct ntvfs_module_context *ntvfs, ntvfs 359 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->async_setup) { ntvfs 362 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->async_setup(ntvfs->next, req, private_data); ntvfs 366 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_fsinfo(struct ntvfs_module_context *ntvfs, ntvfs 370 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->fsinfo) { ntvfs 373 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->fsinfo(ntvfs->next, req, fs); ntvfs 377 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_unlink(struct ntvfs_module_context *ntvfs, ntvfs 381 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->unlink) { ntvfs 384 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->unlink(ntvfs->next, req, unl); ntvfs 387 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_chkpath(struct ntvfs_module_context *ntvfs, ntvfs 391 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->chkpath) { ntvfs 394 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->chkpath(ntvfs->next, req, cp); ntvfs 397 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_qpathinfo(struct ntvfs_module_context *ntvfs, ntvfs 401 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->qpathinfo) { ntvfs 404 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->qpathinfo(ntvfs->next, req, st); ntvfs 407 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_setpathinfo(struct ntvfs_module_context *ntvfs, ntvfs 411 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->setpathinfo) { ntvfs 414 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->setpathinfo(ntvfs->next, req, st); ntvfs 417 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_mkdir(struct ntvfs_module_context *ntvfs, ntvfs 421 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->mkdir) { ntvfs 424 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->mkdir(ntvfs->next, req, md); ntvfs 427 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_rmdir(struct ntvfs_module_context *ntvfs, ntvfs 431 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->rmdir) { ntvfs 434 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->rmdir(ntvfs->next, req, rd); ntvfs 437 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_rename(struct ntvfs_module_context *ntvfs, ntvfs 441 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->rename) { ntvfs 444 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->rename(ntvfs->next, req, ren); ntvfs 447 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_copy(struct ntvfs_module_context *ntvfs, ntvfs 451 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->copy) { ntvfs 454 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->copy(ntvfs->next, req, cp); ntvfs 457 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_open(struct ntvfs_module_context *ntvfs, ntvfs 461 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->open) { ntvfs 464 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->open(ntvfs->next, req, oi); ntvfs 469 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_search_first(struct ntvfs_module_context *ntvfs, ntvfs 474 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->search_first) { ntvfs 477 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->search_first(ntvfs->next, req, io, private_data, callback); ntvfs 480 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_search_next(struct ntvfs_module_context *ntvfs, ntvfs 485 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->search_next) { ntvfs 488 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->search_next(ntvfs->next, req, io, private_data, callback); ntvfs 491 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_search_close(struct ntvfs_module_context *ntvfs, ntvfs 495 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->search_close) { ntvfs 498 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->search_close(ntvfs->next, req, io); ntvfs 502 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_ioctl(struct ntvfs_module_context *ntvfs, ntvfs 506 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->ioctl) { ntvfs 509 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->ioctl(ntvfs->next, req, io); ntvfs 512 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_read(struct ntvfs_module_context *ntvfs, ntvfs 516 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->read) { ntvfs 519 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->read(ntvfs->next, req, io); ntvfs 522 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_write(struct ntvfs_module_context *ntvfs, ntvfs 526 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->write) { ntvfs 529 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->write(ntvfs->next, req, io); ntvfs 532 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_seek(struct ntvfs_module_context *ntvfs, ntvfs 536 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->seek) { ntvfs 539 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->seek(ntvfs->next, req, io); ntvfs 542 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_flush(struct ntvfs_module_context *ntvfs, ntvfs 546 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->flush) { ntvfs 549 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->flush(ntvfs->next, req, flush); ntvfs 552 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_lock(struct ntvfs_module_context *ntvfs, ntvfs 556 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->lock) { ntvfs 559 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->lock(ntvfs->next, req, lck); ntvfs 562 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_qfileinfo(struct ntvfs_module_context *ntvfs, ntvfs 566 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->qfileinfo) { ntvfs 569 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->qfileinfo(ntvfs->next, req, info); ntvfs 572 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_setfileinfo(struct ntvfs_module_context *ntvfs, ntvfs 576 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->setfileinfo) { ntvfs 579 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->setfileinfo(ntvfs->next, req, info); ntvfs 582 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_close(struct ntvfs_module_context *ntvfs, ntvfs 586 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->close) { ntvfs 589 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->close(ntvfs->next, req, io); ntvfs 593 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_trans(struct ntvfs_module_context *ntvfs, ntvfs 597 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->trans) { ntvfs 600 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->trans(ntvfs->next, req, trans); ntvfs 604 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_trans2(struct ntvfs_module_context *ntvfs, ntvfs 608 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->trans2) { ntvfs 611 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->trans2(ntvfs->next, req, trans2); ntvfs 617 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_notify(struct ntvfs_module_context *ntvfs, ntvfs 621 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->notify) { ntvfs 624 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->notify(ntvfs->next, req, info); ntvfs 628 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_cancel(struct ntvfs_module_context *ntvfs, ntvfs 631 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->cancel) { ntvfs 634 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->cancel(ntvfs->next, req); ntvfs 638 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_lpq(struct ntvfs_module_context *ntvfs, ntvfs 642 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->lpq) { ntvfs 645 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->lpq(ntvfs->next, req, lpq); ntvfs 650 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_logoff(struct ntvfs_module_context *ntvfs, ntvfs 653 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->logoff) { ntvfs 656 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->logoff(ntvfs->next, req); ntvfs 659 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_next_exit(struct ntvfs_module_context *ntvfs, ntvfs 662 source4/ntvfs/ntvfs_interface.c if (!ntvfs->next || !ntvfs->next->ops->exit) { ntvfs 665 source4/ntvfs/ntvfs_interface.c return ntvfs->next->ops->exit(ntvfs->next, req); ntvfs 669 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_set_oplock_handler(struct ntvfs_context *ntvfs, ntvfs 673 source4/ntvfs/ntvfs_interface.c ntvfs->oplock.handler = handler; ntvfs 674 source4/ntvfs/ntvfs_interface.c ntvfs->oplock.private_data = private_data; ntvfs 678 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_send_oplock_break(struct ntvfs_module_context *ntvfs, ntvfs 681 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ctx->oplock.handler) { ntvfs 685 source4/ntvfs/ntvfs_interface.c return ntvfs->ctx->oplock.handler(ntvfs->ctx->oplock.private_data, handle, level); ntvfs 689 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_set_addr_callbacks(struct ntvfs_context *ntvfs, ntvfs 694 source4/ntvfs/ntvfs_interface.c ntvfs->client.get_peer_addr = my_addr; ntvfs 695 source4/ntvfs/ntvfs_interface.c ntvfs->client.get_my_addr = peer_addr; ntvfs 696 source4/ntvfs/ntvfs_interface.c ntvfs->client.private_data = private_data; ntvfs 700 source4/ntvfs/ntvfs_interface.c struct socket_address *ntvfs_get_my_addr(struct ntvfs_module_context *ntvfs, TALLOC_CTX *mem_ctx) ntvfs 702 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ctx->client.get_my_addr) { ntvfs 706 source4/ntvfs/ntvfs_interface.c return ntvfs->ctx->client.get_my_addr(ntvfs->ctx->client.private_data, mem_ctx); ntvfs 709 source4/ntvfs/ntvfs_interface.c struct socket_address *ntvfs_get_peer_addr(struct ntvfs_module_context *ntvfs, TALLOC_CTX *mem_ctx) ntvfs 711 source4/ntvfs/ntvfs_interface.c if (!ntvfs->ctx->client.get_peer_addr) { ntvfs 715 source4/ntvfs/ntvfs_interface.c return ntvfs->ctx->client.get_peer_addr(ntvfs->ctx->client.private_data, mem_ctx); ntvfs 55 source4/ntvfs/ntvfs_util.c async->ntvfs = NULL; ntvfs 65 source4/ntvfs/ntvfs_util.c NTSTATUS ntvfs_async_state_push(struct ntvfs_module_context *ntvfs, ntvfs 80 source4/ntvfs/ntvfs_util.c async->ntvfs = ntvfs; ntvfs 101 source4/ntvfs/ntvfs_util.c NTSTATUS ntvfs_handle_new(struct ntvfs_module_context *ntvfs, ntvfs 105 source4/ntvfs/ntvfs_util.c if (!ntvfs->ctx->handles.create_new) { ntvfs 108 source4/ntvfs/ntvfs_util.c return ntvfs->ctx->handles.create_new(ntvfs->ctx->handles.private_data, req, h); ntvfs 112 source4/ntvfs/ntvfs_util.c struct ntvfs_module_context *ntvfs, ntvfs 119 source4/ntvfs/ntvfs_util.c if (d->owner != ntvfs) continue; ntvfs 126 source4/ntvfs/ntvfs_util.c d->owner = ntvfs; ntvfs 141 source4/ntvfs/ntvfs_util.c struct ntvfs_module_context *ntvfs) ntvfs 146 source4/ntvfs/ntvfs_util.c if (d->owner != ntvfs) continue; ntvfs 154 source4/ntvfs/ntvfs_util.c struct ntvfs_module_context *ntvfs) ntvfs 160 source4/ntvfs/ntvfs_util.c if (d->owner != ntvfs) continue; ntvfs 172 source4/ntvfs/ntvfs_util.c struct ntvfs_handle *ntvfs_handle_search_by_wire_key(struct ntvfs_module_context *ntvfs, ntvfs 176 source4/ntvfs/ntvfs_util.c if (!ntvfs->ctx->handles.search_by_wire_key) { ntvfs 179 source4/ntvfs/ntvfs_util.c return ntvfs->ctx->handles.search_by_wire_key(ntvfs->ctx->handles.private_data, req, key); ntvfs 187 source4/ntvfs/ntvfs_util.c NTSTATUS ntvfs_set_handle_callbacks(struct ntvfs_context *ntvfs, ntvfs 195 source4/ntvfs/ntvfs_util.c ntvfs->handles.create_new = create_new; ntvfs 196 source4/ntvfs/ntvfs_util.c ntvfs->handles.make_valid = make_valid; ntvfs 197 source4/ntvfs/ntvfs_util.c ntvfs->handles.destroy = destroy; ntvfs 198 source4/ntvfs/ntvfs_util.c ntvfs->handles.search_by_wire_key = search_by_wire_key; ntvfs 199 source4/ntvfs/ntvfs_util.c ntvfs->handles.get_wire_key = get_wire_key; ntvfs 200 source4/ntvfs/ntvfs_util.c ntvfs->handles.private_data = private_data; ntvfs 489 source4/ntvfs/posix/pvfs_acl.c if (pvfs->ntvfs->ctx->protocol != PROTOCOL_SMB2) { ntvfs 515 source4/ntvfs/posix/pvfs_acl.c if (pvfs->ntvfs->ctx->protocol == PROTOCOL_SMB2 && ntvfs 531 source4/ntvfs/posix/pvfs_acl.c if (pvfs->ntvfs->ctx->protocol != PROTOCOL_SMB2) { ntvfs 555 source4/ntvfs/posix/pvfs_acl.c if (pvfs->ntvfs->ctx->protocol != PROTOCOL_SMB2) { ntvfs 186 source4/ntvfs/posix/pvfs_dirlist.c enum protocol_types protocol = dir->pvfs->ntvfs->ctx->protocol; ntvfs 85 source4/ntvfs/posix/pvfs_fileinfo.c if (pvfs->ntvfs->ctx->protocol == PROTOCOL_SMB2) { ntvfs 41 source4/ntvfs/posix/pvfs_flush.c NTSTATUS pvfs_flush(struct ntvfs_module_context *ntvfs, ntvfs 45 source4/ntvfs/posix/pvfs_flush.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 53 source4/ntvfs/posix/pvfs_flush.c f = pvfs_find_fd(pvfs, req, io->generic.in.file.ntvfs); ntvfs 71 source4/ntvfs/posix/pvfs_flush.c if (f->ntvfs->smbpid != req->smbpid) continue; ntvfs 84 source4/ntvfs/posix/pvfs_fsinfo.c NTSTATUS pvfs_fsinfo(struct ntvfs_module_context *ntvfs, ntvfs 88 source4/ntvfs/posix/pvfs_fsinfo.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 176 source4/ntvfs/posix/pvfs_fsinfo.c fs->attribute_info.out.fs_type.s = ntvfs->ctx->fs_type; ntvfs 29 source4/ntvfs/posix/pvfs_ioctl.c static NTSTATUS pvfs_ioctl_old(struct ntvfs_module_context *ntvfs, ntvfs 38 source4/ntvfs/posix/pvfs_ioctl.c static NTSTATUS pvfs_ntioctl(struct ntvfs_module_context *ntvfs, ntvfs 41 source4/ntvfs/posix/pvfs_ioctl.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 45 source4/ntvfs/posix/pvfs_ioctl.c f = pvfs_find_fd(pvfs, req, io->ntioctl.in.file.ntvfs); ntvfs 64 source4/ntvfs/posix/pvfs_ioctl.c NTSTATUS pvfs_ioctl(struct ntvfs_module_context *ntvfs, ntvfs 70 source4/ntvfs/posix/pvfs_ioctl.c return pvfs_ioctl_old(ntvfs, req, io); ntvfs 73 source4/ntvfs/posix/pvfs_ioctl.c return pvfs_ntioctl(ntvfs, req, io); ntvfs 251 source4/ntvfs/posix/pvfs_lock.c p->lck->lockx.in.file.ntvfs== lck->lockx.in.file.ntvfs && ntvfs 278 source4/ntvfs/posix/pvfs_lock.c NTSTATUS pvfs_lock(struct ntvfs_module_context *ntvfs, ntvfs 281 source4/ntvfs/posix/pvfs_lock.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 291 source4/ntvfs/posix/pvfs_lock.c return ntvfs_map_lock(ntvfs, req, lck); ntvfs 295 source4/ntvfs/posix/pvfs_lock.c return pvfs_oplock_release(ntvfs, req, lck); ntvfs 298 source4/ntvfs/posix/pvfs_lock.c f = pvfs_find_fd(pvfs, req, lck->lockx.in.file.ntvfs); ntvfs 96 source4/ntvfs/posix/pvfs_mkdir.c NTSTATUS pvfs_mkdir(struct ntvfs_module_context *ntvfs, ntvfs 99 source4/ntvfs/posix/pvfs_mkdir.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 154 source4/ntvfs/posix/pvfs_mkdir.c NTSTATUS pvfs_rmdir(struct ntvfs_module_context *ntvfs, ntvfs 157 source4/ntvfs/posix/pvfs_mkdir.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 217 source4/ntvfs/posix/pvfs_notify.c NTSTATUS pvfs_notify(struct ntvfs_module_context *ntvfs, ntvfs 221 source4/ntvfs/posix/pvfs_notify.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 228 source4/ntvfs/posix/pvfs_notify.c return ntvfs_map_notify(ntvfs, req, info); ntvfs 231 source4/ntvfs/posix/pvfs_notify.c f = pvfs_find_fd(pvfs, req, info->nttrans.in.file.ntvfs); ntvfs 39 source4/ntvfs/posix/pvfs_open.c p = ntvfs_handle_get_backend_data(h, pvfs->ntvfs); ntvfs 94 source4/ntvfs/posix/pvfs_open.c ntvfs_handle_remove_backend_data(f->ntvfs, f->pvfs->ntvfs); ntvfs 132 source4/ntvfs/posix/pvfs_open.c set.set_secdesc.in.file.ntvfs = f->ntvfs; ntvfs 238 source4/ntvfs/posix/pvfs_open.c status = ntvfs_handle_new(pvfs->ntvfs, req, &h); ntvfs 265 source4/ntvfs/posix/pvfs_open.c f->ntvfs = h; ntvfs 408 source4/ntvfs/posix/pvfs_open.c status = ntvfs_handle_set_backend_data(h, pvfs->ntvfs, f); ntvfs 416 source4/ntvfs/posix/pvfs_open.c io->generic.out.file.ntvfs = h; ntvfs 554 source4/ntvfs/posix/pvfs_open.c ntvfs_handle_remove_backend_data(f->ntvfs, f->pvfs->ntvfs); ntvfs 568 source4/ntvfs/posix/pvfs_open.c struct ntvfs_handle *ntvfs, ntvfs 590 source4/ntvfs/posix/pvfs_open.c h = brl_create_handle(mem_ctx, ntvfs, &key); ntvfs 656 source4/ntvfs/posix/pvfs_open.c status = ntvfs_handle_new(pvfs->ntvfs, req, &h); ntvfs 765 source4/ntvfs/posix/pvfs_open.c f->ntvfs = h; ntvfs 817 source4/ntvfs/posix/pvfs_open.c io->generic.out.file.ntvfs = f->ntvfs; ntvfs 831 source4/ntvfs/posix/pvfs_open.c status = ntvfs_handle_set_backend_data(h, pvfs->ntvfs, f); ntvfs 855 source4/ntvfs/posix/pvfs_open.c struct ntvfs_module_context *ntvfs; ntvfs 861 source4/ntvfs/posix/pvfs_open.c struct ntvfs_module_context *ntvfs, ntvfs 871 source4/ntvfs/posix/pvfs_open.c struct pvfs_state *pvfs = talloc_get_type(r->ntvfs->private_data, ntvfs 897 source4/ntvfs/posix/pvfs_open.c r->callback(r, r->ntvfs, r->req, r->io, r->private_data, reason); ntvfs 904 source4/ntvfs/posix/pvfs_open.c NTSTATUS pvfs_odb_retry_setup(struct ntvfs_module_context *ntvfs, ntvfs 911 source4/ntvfs/posix/pvfs_open.c struct ntvfs_module_context *ntvfs, ntvfs 917 source4/ntvfs/posix/pvfs_open.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 926 source4/ntvfs/posix/pvfs_open.c r->ntvfs = ntvfs; ntvfs 968 source4/ntvfs/posix/pvfs_open.c struct ntvfs_module_context *ntvfs, ntvfs 1016 source4/ntvfs/posix/pvfs_open.c status = pvfs_open(ntvfs, req, io); ntvfs 1040 source4/ntvfs/posix/pvfs_open.c static NTSTATUS pvfs_open_deny_dos(struct ntvfs_module_context *ntvfs, ntvfs 1044 source4/ntvfs/posix/pvfs_open.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 1062 source4/ntvfs/posix/pvfs_open.c f2->ntvfs->session_info == req->session_info && ntvfs 1063 source4/ntvfs/posix/pvfs_open.c f2->ntvfs->smbpid == req->smbpid && ntvfs 1095 source4/ntvfs/posix/pvfs_open.c io->generic.out.file.ntvfs = f->ntvfs; ntvfs 1108 source4/ntvfs/posix/pvfs_open.c status = ntvfs_handle_set_backend_data(f->ntvfs, ntvfs, f); ntvfs 1119 source4/ntvfs/posix/pvfs_open.c static NTSTATUS pvfs_open_setup_retry(struct ntvfs_module_context *ntvfs, ntvfs 1126 source4/ntvfs/posix/pvfs_open.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 1136 source4/ntvfs/posix/pvfs_open.c status = pvfs_open_deny_dos(ntvfs, req, io, f, lck); ntvfs 1171 source4/ntvfs/posix/pvfs_open.c return pvfs_odb_retry_setup(ntvfs, req, lck, end_time, io, ntvfs 1178 source4/ntvfs/posix/pvfs_open.c NTSTATUS pvfs_open(struct ntvfs_module_context *ntvfs, ntvfs 1181 source4/ntvfs/posix/pvfs_open.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 1204 source4/ntvfs/posix/pvfs_open.c return ntvfs_map_open(ntvfs, req, io); ntvfs 1399 source4/ntvfs/posix/pvfs_open.c status = ntvfs_handle_new(pvfs->ntvfs, req, &h); ntvfs 1412 source4/ntvfs/posix/pvfs_open.c f->ntvfs = h; ntvfs 1500 source4/ntvfs/posix/pvfs_open.c return pvfs_open_setup_retry(ntvfs, req, io, f, lck, status); ntvfs 1524 source4/ntvfs/posix/pvfs_open.c return pvfs_open_setup_retry(ntvfs, req, io, f, lck, status); ntvfs 1602 source4/ntvfs/posix/pvfs_open.c status = ntvfs_handle_set_backend_data(h, ntvfs, f); ntvfs 1610 source4/ntvfs/posix/pvfs_open.c io->generic.out.file.ntvfs = h; ntvfs 1632 source4/ntvfs/posix/pvfs_open.c NTSTATUS pvfs_close(struct ntvfs_module_context *ntvfs, ntvfs 1635 source4/ntvfs/posix/pvfs_open.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 1644 source4/ntvfs/posix/pvfs_open.c return ntvfs_map_close(ntvfs, req, io); ntvfs 1647 source4/ntvfs/posix/pvfs_open.c f = pvfs_find_fd(pvfs, req, io->generic.in.file.ntvfs); ntvfs 1690 source4/ntvfs/posix/pvfs_open.c NTSTATUS pvfs_logoff(struct ntvfs_module_context *ntvfs, ntvfs 1693 source4/ntvfs/posix/pvfs_open.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 1699 source4/ntvfs/posix/pvfs_open.c if (f->ntvfs->session_info == req->session_info) { ntvfs 1711 source4/ntvfs/posix/pvfs_open.c NTSTATUS pvfs_exit(struct ntvfs_module_context *ntvfs, ntvfs 1714 source4/ntvfs/posix/pvfs_open.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 1720 source4/ntvfs/posix/pvfs_open.c if (f->ntvfs->session_info == req->session_info && ntvfs 1721 source4/ntvfs/posix/pvfs_open.c f->ntvfs->smbpid == req->smbpid) { ntvfs 127 source4/ntvfs/posix/pvfs_oplock.c status = ntvfs_send_oplock_break(pvfs->ntvfs, f->ntvfs, level); ntvfs 229 source4/ntvfs/posix/pvfs_oplock.c opl->msg_ctx = f->pvfs->ntvfs->ctx->msg_ctx; ntvfs 245 source4/ntvfs/posix/pvfs_oplock.c NTSTATUS pvfs_oplock_release(struct ntvfs_module_context *ntvfs, ntvfs 248 source4/ntvfs/posix/pvfs_oplock.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 254 source4/ntvfs/posix/pvfs_oplock.c f = pvfs_find_fd(pvfs, req, lck->lockx.in.file.ntvfs); ntvfs 338 source4/ntvfs/posix/pvfs_qfileinfo.c NTSTATUS pvfs_qpathinfo(struct ntvfs_module_context *ntvfs, ntvfs 341 source4/ntvfs/posix/pvfs_qfileinfo.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 375 source4/ntvfs/posix/pvfs_qfileinfo.c NTSTATUS pvfs_qfileinfo(struct ntvfs_module_context *ntvfs, ntvfs 378 source4/ntvfs/posix/pvfs_qfileinfo.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 385 source4/ntvfs/posix/pvfs_qfileinfo.c f = pvfs_find_fd(pvfs, req, info->generic.in.file.ntvfs); ntvfs 29 source4/ntvfs/posix/pvfs_read.c NTSTATUS pvfs_read(struct ntvfs_module_context *ntvfs, ntvfs 32 source4/ntvfs/posix/pvfs_read.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 41 source4/ntvfs/posix/pvfs_read.c return ntvfs_map_read(ntvfs, req, rd); ntvfs 44 source4/ntvfs/posix/pvfs_read.c f = pvfs_find_fd(pvfs, req, rd->readx.in.file.ntvfs); ntvfs 195 source4/ntvfs/posix/pvfs_rename.c struct ntvfs_module_context *ntvfs, ntvfs 224 source4/ntvfs/posix/pvfs_rename.c status = pvfs_rename(ntvfs, req, io); ntvfs 246 source4/ntvfs/posix/pvfs_rename.c static NTSTATUS pvfs_rename_setup_retry(struct ntvfs_module_context *ntvfs, ntvfs 252 source4/ntvfs/posix/pvfs_rename.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 266 source4/ntvfs/posix/pvfs_rename.c return pvfs_odb_retry_setup(ntvfs, req, lck, end_time, io, NULL, ntvfs 286 source4/ntvfs/posix/pvfs_rename.c fname2 = pvfs_resolve_wildcard(mem_ctx, lp_iconv_convenience(pvfs->ntvfs->ctx->lp_ctx), fname1, fname2); ntvfs 396 source4/ntvfs/posix/pvfs_rename.c static NTSTATUS pvfs_rename_mv(struct ntvfs_module_context *ntvfs, ntvfs 399 source4/ntvfs/posix/pvfs_rename.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 454 source4/ntvfs/posix/pvfs_rename.c return pvfs_rename_setup_retry(pvfs->ntvfs, req, ren, lck, status); ntvfs 473 source4/ntvfs/posix/pvfs_rename.c static NTSTATUS pvfs_rename_stream(struct ntvfs_module_context *ntvfs, ntvfs 477 source4/ntvfs/posix/pvfs_rename.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 508 source4/ntvfs/posix/pvfs_rename.c return pvfs_rename_setup_retry(pvfs->ntvfs, req, ren, lck, status); ntvfs 527 source4/ntvfs/posix/pvfs_rename.c static NTSTATUS pvfs_rename_nt(struct ntvfs_module_context *ntvfs, ntvfs 530 source4/ntvfs/posix/pvfs_rename.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 555 source4/ntvfs/posix/pvfs_rename.c return pvfs_rename_stream(ntvfs, req, ren, name1); ntvfs 595 source4/ntvfs/posix/pvfs_rename.c return pvfs_rename_setup_retry(pvfs->ntvfs, req, ren, lck, status); ntvfs 636 source4/ntvfs/posix/pvfs_rename.c NTSTATUS pvfs_rename(struct ntvfs_module_context *ntvfs, ntvfs 639 source4/ntvfs/posix/pvfs_rename.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 645 source4/ntvfs/posix/pvfs_rename.c return pvfs_rename_mv(ntvfs, req, ren); ntvfs 648 source4/ntvfs/posix/pvfs_rename.c return pvfs_rename_nt(ntvfs, req, ren); ntvfs 651 source4/ntvfs/posix/pvfs_rename.c f = pvfs_find_fd(pvfs, req, ren->nttrans.in.file.ntvfs); ntvfs 293 source4/ntvfs/posix/pvfs_resolve.c ic = lp_iconv_convenience(pvfs->ntvfs->ctx->lp_ctx); ntvfs 525 source4/ntvfs/posix/pvfs_resolve.c status = pvfs_reduce_name(*name, lp_iconv_convenience(pvfs->ntvfs->ctx->lp_ctx), &cifs_name, flags); ntvfs 61 source4/ntvfs/posix/pvfs_search.c struct tevent_context *ev = search->pvfs->ntvfs->ctx->event_ctx; ntvfs 317 source4/ntvfs/posix/pvfs_search.c static NTSTATUS pvfs_search_first_old(struct ntvfs_module_context *ntvfs, ntvfs 323 source4/ntvfs/posix/pvfs_search.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 408 source4/ntvfs/posix/pvfs_search.c static NTSTATUS pvfs_search_next_old(struct ntvfs_module_context *ntvfs, ntvfs 413 source4/ntvfs/posix/pvfs_search.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 461 source4/ntvfs/posix/pvfs_search.c static NTSTATUS pvfs_search_first_trans2(struct ntvfs_module_context *ntvfs, ntvfs 467 source4/ntvfs/posix/pvfs_search.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 558 source4/ntvfs/posix/pvfs_search.c static NTSTATUS pvfs_search_next_trans2(struct ntvfs_module_context *ntvfs, ntvfs 563 source4/ntvfs/posix/pvfs_search.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 623 source4/ntvfs/posix/pvfs_search.c static NTSTATUS pvfs_search_first_smb2(struct ntvfs_module_context *ntvfs, ntvfs 629 source4/ntvfs/posix/pvfs_search.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 639 source4/ntvfs/posix/pvfs_search.c f = pvfs_find_fd(pvfs, req, io->in.file.ntvfs); ntvfs 727 source4/ntvfs/posix/pvfs_search.c static NTSTATUS pvfs_search_next_smb2(struct ntvfs_module_context *ntvfs, ntvfs 732 source4/ntvfs/posix/pvfs_search.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 740 source4/ntvfs/posix/pvfs_search.c f = pvfs_find_fd(pvfs, req, io->in.file.ntvfs); ntvfs 753 source4/ntvfs/posix/pvfs_search.c return pvfs_search_first_smb2(ntvfs, req, io, search_private, callback); ntvfs 781 source4/ntvfs/posix/pvfs_search.c NTSTATUS pvfs_search_first(struct ntvfs_module_context *ntvfs, ntvfs 790 source4/ntvfs/posix/pvfs_search.c return pvfs_search_first_old(ntvfs, req, io, search_private, callback); ntvfs 793 source4/ntvfs/posix/pvfs_search.c return pvfs_search_first_trans2(ntvfs, req, io, search_private, callback); ntvfs 796 source4/ntvfs/posix/pvfs_search.c return pvfs_search_first_smb2(ntvfs, req, &io->smb2, search_private, callback); ntvfs 803 source4/ntvfs/posix/pvfs_search.c NTSTATUS pvfs_search_next(struct ntvfs_module_context *ntvfs, ntvfs 811 source4/ntvfs/posix/pvfs_search.c return pvfs_search_next_old(ntvfs, req, io, search_private, callback); ntvfs 817 source4/ntvfs/posix/pvfs_search.c return pvfs_search_next_trans2(ntvfs, req, io, search_private, callback); ntvfs 820 source4/ntvfs/posix/pvfs_search.c return pvfs_search_next_smb2(ntvfs, req, &io->smb2, search_private, callback); ntvfs 828 source4/ntvfs/posix/pvfs_search.c NTSTATUS pvfs_search_close(struct ntvfs_module_context *ntvfs, ntvfs 831 source4/ntvfs/posix/pvfs_search.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 28 source4/ntvfs/posix/pvfs_seek.c NTSTATUS pvfs_seek(struct ntvfs_module_context *ntvfs, ntvfs 32 source4/ntvfs/posix/pvfs_seek.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 38 source4/ntvfs/posix/pvfs_seek.c f = pvfs_find_fd(pvfs, req, io->lseek.in.file.ntvfs); ntvfs 307 source4/ntvfs/posix/pvfs_setfileinfo.c NTSTATUS pvfs_setfileinfo(struct ntvfs_module_context *ntvfs, ntvfs 311 source4/ntvfs/posix/pvfs_setfileinfo.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 320 source4/ntvfs/posix/pvfs_setfileinfo.c f = pvfs_find_fd(pvfs, req, info->generic.in.file.ntvfs); ntvfs 555 source4/ntvfs/posix/pvfs_setfileinfo.c struct ntvfs_module_context *ntvfs, ntvfs 585 source4/ntvfs/posix/pvfs_setfileinfo.c status = pvfs_setpathinfo(ntvfs, req, info); ntvfs 607 source4/ntvfs/posix/pvfs_setfileinfo.c static NTSTATUS pvfs_setpathinfo_setup_retry(struct ntvfs_module_context *ntvfs, ntvfs 613 source4/ntvfs/posix/pvfs_setfileinfo.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 627 source4/ntvfs/posix/pvfs_setfileinfo.c return pvfs_odb_retry_setup(ntvfs, req, lck, end_time, info, NULL, ntvfs 634 source4/ntvfs/posix/pvfs_setfileinfo.c NTSTATUS pvfs_setpathinfo(struct ntvfs_module_context *ntvfs, ntvfs 637 source4/ntvfs/posix/pvfs_setfileinfo.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 730 source4/ntvfs/posix/pvfs_setfileinfo.c return pvfs_setpathinfo_setup_retry(pvfs->ntvfs, req, info, lck, status); ntvfs 759 source4/ntvfs/posix/pvfs_setfileinfo.c return pvfs_setpathinfo_setup_retry(pvfs->ntvfs, req, info, lck, status); ntvfs 618 source4/ntvfs/posix/pvfs_shortname.c ctx->iconv_convenience = lp_iconv_convenience(pvfs->ntvfs->ctx->lp_ctx); ntvfs 621 source4/ntvfs/posix/pvfs_shortname.c ctx->cache_size = lp_parm_int(pvfs->ntvfs->ctx->lp_ctx, NULL, "mangle", "cachesize", 512); ntvfs 635 source4/ntvfs/posix/pvfs_shortname.c ctx->mangle_prefix = lp_parm_int(pvfs->ntvfs->ctx->lp_ctx, NULL, "mangle", "prefix", -1); ntvfs 30 source4/ntvfs/posix/pvfs_unlink.c struct ntvfs_module_context *ntvfs, ntvfs 59 source4/ntvfs/posix/pvfs_unlink.c status = pvfs_unlink(ntvfs, req, io); ntvfs 81 source4/ntvfs/posix/pvfs_unlink.c static NTSTATUS pvfs_unlink_setup_retry(struct ntvfs_module_context *ntvfs, ntvfs 87 source4/ntvfs/posix/pvfs_unlink.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 101 source4/ntvfs/posix/pvfs_unlink.c return pvfs_odb_retry_setup(ntvfs, req, lck, end_time, io, NULL, ntvfs 169 source4/ntvfs/posix/pvfs_unlink.c return pvfs_unlink_setup_retry(pvfs->ntvfs, req, unl, lck, status); ntvfs 191 source4/ntvfs/posix/pvfs_unlink.c NTSTATUS pvfs_unlink(struct ntvfs_module_context *ntvfs, ntvfs 195 source4/ntvfs/posix/pvfs_unlink.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 47 source4/ntvfs/posix/pvfs_wait.c NTSTATUS pvfs_async_setup(struct ntvfs_module_context *ntvfs, ntvfs 149 source4/ntvfs/posix/pvfs_wait.c pwait->msg_ctx = pvfs->ntvfs->ctx->msg_ctx; ntvfs 150 source4/ntvfs/posix/pvfs_wait.c pwait->ev = pvfs->ntvfs->ctx->event_ctx; ntvfs 185 source4/ntvfs/posix/pvfs_wait.c NTSTATUS pvfs_cancel(struct ntvfs_module_context *ntvfs, struct ntvfs_request *req) ntvfs 187 source4/ntvfs/posix/pvfs_wait.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 71 source4/ntvfs/posix/pvfs_write.c h->write_time.update_event = event_add_timed(pvfs->ntvfs->ctx->event_ctx, ntvfs 83 source4/ntvfs/posix/pvfs_write.c NTSTATUS pvfs_write(struct ntvfs_module_context *ntvfs, ntvfs 86 source4/ntvfs/posix/pvfs_write.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 93 source4/ntvfs/posix/pvfs_write.c return ntvfs_map_write(ntvfs, req, wr); ntvfs 96 source4/ntvfs/posix/pvfs_write.c f = pvfs_find_fd(pvfs, req, wr->writex.in.file.ntvfs); ntvfs 120 source4/ntvfs/posix/pvfs_xattr.c ndr_err = ndr_pull_struct_blob(&blob, mem_ctx, lp_iconv_convenience(pvfs->ntvfs->ctx->lp_ctx), ntvfs 143 source4/ntvfs/posix/pvfs_xattr.c ndr_err = ndr_push_struct_blob(&blob, mem_ctx, lp_iconv_convenience(pvfs->ntvfs->ctx->lp_ctx), p, (ndr_push_flags_fn_t)push_fn); ntvfs 40 source4/ntvfs/posix/vfs_posix.c struct share_config *scfg = pvfs->ntvfs->ctx->config; ntvfs 170 source4/ntvfs/posix/vfs_posix.c static NTSTATUS pvfs_connect(struct ntvfs_module_context *ntvfs, ntvfs 182 source4/ntvfs/posix/vfs_posix.c status = pvfs_acl_init(ntvfs->ctx->lp_ctx); ntvfs 185 source4/ntvfs/posix/vfs_posix.c pvfs = talloc_zero(ntvfs, struct pvfs_state); ntvfs 189 source4/ntvfs/posix/vfs_posix.c base_directory = talloc_strdup(pvfs, share_string_option(ntvfs->ctx->config, SHARE_PATH, "")); ntvfs 195 source4/ntvfs/posix/vfs_posix.c pvfs->ntvfs = ntvfs; ntvfs 206 source4/ntvfs/posix/vfs_posix.c ntvfs->ctx->fs_type = talloc_strdup(ntvfs->ctx, "NTFS"); ntvfs 207 source4/ntvfs/posix/vfs_posix.c NT_STATUS_HAVE_NO_MEMORY(ntvfs->ctx->fs_type); ntvfs 209 source4/ntvfs/posix/vfs_posix.c ntvfs->ctx->dev_type = talloc_strdup(ntvfs->ctx, "A:"); ntvfs 210 source4/ntvfs/posix/vfs_posix.c NT_STATUS_HAVE_NO_MEMORY(ntvfs->ctx->dev_type); ntvfs 212 source4/ntvfs/posix/vfs_posix.c ntvfs->private_data = pvfs; ntvfs 215 source4/ntvfs/posix/vfs_posix.c pvfs->ntvfs->ctx->server_id, ntvfs 216 source4/ntvfs/posix/vfs_posix.c pvfs->ntvfs->ctx->lp_ctx, ntvfs 217 source4/ntvfs/posix/vfs_posix.c pvfs->ntvfs->ctx->msg_ctx); ntvfs 222 source4/ntvfs/posix/vfs_posix.c pvfs->odb_context = odb_init(pvfs, pvfs->ntvfs->ctx); ntvfs 229 source4/ntvfs/posix/vfs_posix.c pvfs->ntvfs->ctx->server_id, ntvfs 230 source4/ntvfs/posix/vfs_posix.c pvfs->ntvfs->ctx->msg_ctx, ntvfs 231 source4/ntvfs/posix/vfs_posix.c pvfs->ntvfs->ctx->lp_ctx, ntvfs 232 source4/ntvfs/posix/vfs_posix.c pvfs->ntvfs->ctx->event_ctx, ntvfs 233 source4/ntvfs/posix/vfs_posix.c pvfs->ntvfs->ctx->config); ntvfs 236 source4/ntvfs/posix/vfs_posix.c pvfs->ntvfs->ctx->msg_ctx, ntvfs 237 source4/ntvfs/posix/vfs_posix.c pvfs->ntvfs->ctx->event_ctx); ntvfs 265 source4/ntvfs/posix/vfs_posix.c static NTSTATUS pvfs_disconnect(struct ntvfs_module_context *ntvfs) ntvfs 273 source4/ntvfs/posix/vfs_posix.c static NTSTATUS pvfs_chkpath(struct ntvfs_module_context *ntvfs, ntvfs 277 source4/ntvfs/posix/vfs_posix.c struct pvfs_state *pvfs = talloc_get_type(ntvfs->private_data, ntvfs 300 source4/ntvfs/posix/vfs_posix.c static NTSTATUS pvfs_copy(struct ntvfs_module_context *ntvfs, ntvfs 310 source4/ntvfs/posix/vfs_posix.c static NTSTATUS pvfs_lpq(struct ntvfs_module_context *ntvfs, ntvfs 317 source4/ntvfs/posix/vfs_posix.c static NTSTATUS pvfs_trans(struct ntvfs_module_context *ntvfs, ntvfs 38 source4/ntvfs/posix/vfs_posix.h struct ntvfs_module_context *ntvfs; ntvfs 191 source4/ntvfs/posix/vfs_posix.h struct ntvfs_handle *ntvfs; ntvfs 34 source4/ntvfs/print/vfs_print.c static NTSTATUS print_connect(struct ntvfs_module_context *ntvfs, ntvfs 37 source4/ntvfs/print/vfs_print.c ntvfs->ctx->fs_type = talloc_strdup(ntvfs->ctx, "NTFS"); ntvfs 38 source4/ntvfs/print/vfs_print.c NT_STATUS_HAVE_NO_MEMORY(ntvfs->ctx->fs_type); ntvfs 40 source4/ntvfs/print/vfs_print.c ntvfs->ctx->dev_type = talloc_strdup(ntvfs->ctx, "LPT1:"); ntvfs 41 source4/ntvfs/print/vfs_print.c NT_STATUS_HAVE_NO_MEMORY(ntvfs->ctx->dev_type); ntvfs 49 source4/ntvfs/print/vfs_print.c static NTSTATUS print_disconnect(struct ntvfs_module_context *ntvfs) ntvfs 57 source4/ntvfs/print/vfs_print.c static NTSTATUS print_unlink(struct ntvfs_module_context *ntvfs, ntvfs 68 source4/ntvfs/print/vfs_print.c static NTSTATUS print_ioctl(struct ntvfs_module_context *ntvfs, ntvfs 86 source4/ntvfs/print/vfs_print.c push_string(p+2, lp_netbios_name(ntvfs->ctx->lp_ctx), 15, STR_TERMINATE|STR_ASCII); ntvfs 87 source4/ntvfs/print/vfs_print.c push_string(p+18, ntvfs->ctx->config->name, 13, STR_TERMINATE|STR_ASCII); ntvfs 3 source4/ntvfs/simple/svfs.h struct ntvfs_module_context *ntvfs; ntvfs 36 source4/ntvfs/simple/svfs_util.c char *svfs_unix_path(struct ntvfs_module_context *ntvfs, ntvfs 39 source4/ntvfs/simple/svfs_util.c struct svfs_private *p = ntvfs->private_data; ntvfs 143 source4/ntvfs/simple/svfs_util.c struct svfs_dir *svfs_list(struct ntvfs_module_context *ntvfs, struct ntvfs_request *req, const char *pattern) ntvfs 145 source4/ntvfs/simple/svfs_util.c struct svfs_private *p = ntvfs->private_data; ntvfs 148 source4/ntvfs/simple/svfs_util.c unix_path = svfs_unix_path(ntvfs, req, pattern); ntvfs 41 source4/ntvfs/simple/vfs_simple.c #define CHECK_READ_ONLY(req) do { if (share_bool_option(ntvfs->ctx->config, SHARE_READONLY, true)) return NT_STATUS_ACCESS_DENIED; } while (0) ntvfs 49 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_connect(struct ntvfs_module_context *ntvfs, ntvfs 54 source4/ntvfs/simple/vfs_simple.c struct share_config *scfg = ntvfs->ctx->config; ntvfs 56 source4/ntvfs/simple/vfs_simple.c p = talloc(ntvfs, struct svfs_private); ntvfs 58 source4/ntvfs/simple/vfs_simple.c p->ntvfs = ntvfs; ntvfs 71 source4/ntvfs/simple/vfs_simple.c ntvfs->ctx->fs_type = talloc_strdup(ntvfs->ctx, "NTFS"); ntvfs 72 source4/ntvfs/simple/vfs_simple.c NT_STATUS_HAVE_NO_MEMORY(ntvfs->ctx->fs_type); ntvfs 73 source4/ntvfs/simple/vfs_simple.c ntvfs->ctx->dev_type = talloc_strdup(ntvfs->ctx, "A:"); ntvfs 74 source4/ntvfs/simple/vfs_simple.c NT_STATUS_HAVE_NO_MEMORY(ntvfs->ctx->dev_type); ntvfs 76 source4/ntvfs/simple/vfs_simple.c ntvfs->private_data = p; ntvfs 84 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_disconnect(struct ntvfs_module_context *ntvfs) ntvfs 97 source4/ntvfs/simple/vfs_simple.c p = ntvfs_handle_get_backend_data(handle, sp->ntvfs); ntvfs 110 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_unlink(struct ntvfs_module_context *ntvfs, ntvfs 118 source4/ntvfs/simple/vfs_simple.c unix_path = svfs_unix_path(ntvfs, req, unl->unlink.in.pattern); ntvfs 132 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_ioctl(struct ntvfs_module_context *ntvfs, ntvfs 141 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_chkpath(struct ntvfs_module_context *ntvfs, ntvfs 148 source4/ntvfs/simple/vfs_simple.c unix_path = svfs_unix_path(ntvfs, req, cp->chkpath.in.path); ntvfs 175 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_map_fileinfo(struct ntvfs_module_context *ntvfs, ntvfs 251 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_qpathinfo(struct ntvfs_module_context *ntvfs, ntvfs 259 source4/ntvfs/simple/vfs_simple.c return ntvfs_map_qpathinfo(ntvfs, req, info); ntvfs 262 source4/ntvfs/simple/vfs_simple.c unix_path = svfs_unix_path(ntvfs, req, info->generic.in.file.path); ntvfs 269 source4/ntvfs/simple/vfs_simple.c return svfs_map_fileinfo(ntvfs, req, info, &st, unix_path); ntvfs 275 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_qfileinfo(struct ntvfs_module_context *ntvfs, ntvfs 278 source4/ntvfs/simple/vfs_simple.c struct svfs_private *p = ntvfs->private_data; ntvfs 283 source4/ntvfs/simple/vfs_simple.c return ntvfs_map_qfileinfo(ntvfs, req, info); ntvfs 286 source4/ntvfs/simple/vfs_simple.c f = find_fd(p, info->generic.in.file.ntvfs); ntvfs 295 source4/ntvfs/simple/vfs_simple.c return svfs_map_fileinfo(ntvfs, req,info, &st, f->name); ntvfs 302 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_open(struct ntvfs_module_context *ntvfs, ntvfs 305 source4/ntvfs/simple/vfs_simple.c struct svfs_private *p = ntvfs->private_data; ntvfs 316 source4/ntvfs/simple/vfs_simple.c return ntvfs_map_open(ntvfs, req, io); ntvfs 319 source4/ntvfs/simple/vfs_simple.c readonly = share_bool_option(ntvfs->ctx->config, SHARE_READONLY, SHARE_READONLY_DEFAULT); ntvfs 328 source4/ntvfs/simple/vfs_simple.c unix_path = svfs_unix_path(ntvfs, req, io->ntcreatex.in.fname); ntvfs 385 source4/ntvfs/simple/vfs_simple.c status = ntvfs_handle_new(ntvfs, req, &handle); ntvfs 396 source4/ntvfs/simple/vfs_simple.c status = ntvfs_handle_set_backend_data(handle, ntvfs, f); ntvfs 405 source4/ntvfs/simple/vfs_simple.c io->generic.out.file.ntvfs = handle; ntvfs 417 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_mkdir(struct ntvfs_module_context *ntvfs, ntvfs 428 source4/ntvfs/simple/vfs_simple.c unix_path = svfs_unix_path(ntvfs, req, md->mkdir.in.path); ntvfs 440 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_rmdir(struct ntvfs_module_context *ntvfs, ntvfs 447 source4/ntvfs/simple/vfs_simple.c unix_path = svfs_unix_path(ntvfs, req, rd->in.path); ntvfs 459 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_rename(struct ntvfs_module_context *ntvfs, ntvfs 470 source4/ntvfs/simple/vfs_simple.c unix_path1 = svfs_unix_path(ntvfs, req, ren->rename.in.pattern1); ntvfs 471 source4/ntvfs/simple/vfs_simple.c unix_path2 = svfs_unix_path(ntvfs, req, ren->rename.in.pattern2); ntvfs 483 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_copy(struct ntvfs_module_context *ntvfs, ntvfs 492 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_read(struct ntvfs_module_context *ntvfs, ntvfs 495 source4/ntvfs/simple/vfs_simple.c struct svfs_private *p = ntvfs->private_data; ntvfs 503 source4/ntvfs/simple/vfs_simple.c f = find_fd(p, rd->readx.in.file.ntvfs); ntvfs 526 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_write(struct ntvfs_module_context *ntvfs, ntvfs 529 source4/ntvfs/simple/vfs_simple.c struct svfs_private *p = ntvfs->private_data; ntvfs 534 source4/ntvfs/simple/vfs_simple.c return ntvfs_map_write(ntvfs, req, wr); ntvfs 539 source4/ntvfs/simple/vfs_simple.c f = find_fd(p, wr->writex.in.file.ntvfs); ntvfs 561 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_seek(struct ntvfs_module_context *ntvfs, ntvfs 571 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_flush(struct ntvfs_module_context *ntvfs, ntvfs 575 source4/ntvfs/simple/vfs_simple.c struct svfs_private *p = ntvfs->private_data; ntvfs 582 source4/ntvfs/simple/vfs_simple.c f = find_fd(p, io->generic.in.file.ntvfs); ntvfs 602 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_close(struct ntvfs_module_context *ntvfs, ntvfs 606 source4/ntvfs/simple/vfs_simple.c struct svfs_private *p = ntvfs->private_data; ntvfs 614 source4/ntvfs/simple/vfs_simple.c f = find_fd(p, io->close.in.file.ntvfs); ntvfs 633 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_exit(struct ntvfs_module_context *ntvfs, ntvfs 642 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_logoff(struct ntvfs_module_context *ntvfs, ntvfs 651 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_async_setup(struct ntvfs_module_context *ntvfs, ntvfs 661 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_cancel(struct ntvfs_module_context *ntvfs, struct ntvfs_request *req) ntvfs 669 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_lock(struct ntvfs_module_context *ntvfs, ntvfs 679 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_setpathinfo(struct ntvfs_module_context *ntvfs, ntvfs 690 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_setfileinfo(struct ntvfs_module_context *ntvfs, ntvfs 694 source4/ntvfs/simple/vfs_simple.c struct svfs_private *p = ntvfs->private_data; ntvfs 700 source4/ntvfs/simple/vfs_simple.c f = find_fd(p, info->generic.in.file.ntvfs); ntvfs 743 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_fsinfo(struct ntvfs_module_context *ntvfs, ntvfs 746 source4/ntvfs/simple/vfs_simple.c struct svfs_private *p = ntvfs->private_data; ntvfs 750 source4/ntvfs/simple/vfs_simple.c return ntvfs_map_fsinfo(ntvfs, req, fs); ntvfs 775 source4/ntvfs/simple/vfs_simple.c fs->generic.out.volume_name = talloc_strdup(req, ntvfs->ctx->config->name); ntvfs 776 source4/ntvfs/simple/vfs_simple.c fs->generic.out.fs_type = ntvfs->ctx->fs_type; ntvfs 785 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_fsattr(struct ntvfs_module_context *ntvfs, ntvfs 789 source4/ntvfs/simple/vfs_simple.c struct svfs_private *p = ntvfs->private_data; ntvfs 792 source4/ntvfs/simple/vfs_simple.c return ntvfs_map_fsattr(ntvfs, req, fs); ntvfs 817 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_lpq(struct ntvfs_module_context *ntvfs, ntvfs 826 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_search_first(struct ntvfs_module_context *ntvfs, ntvfs 833 source4/ntvfs/simple/vfs_simple.c struct svfs_private *p = ntvfs->private_data; ntvfs 853 source4/ntvfs/simple/vfs_simple.c dir = svfs_list(ntvfs, req, io->t2ffirst.in.pattern); ntvfs 900 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_search_next(struct ntvfs_module_context *ntvfs, ntvfs 907 source4/ntvfs/simple/vfs_simple.c struct svfs_private *p = ntvfs->private_data; ntvfs 992 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_search_close(struct ntvfs_module_context *ntvfs, ntvfs 995 source4/ntvfs/simple/vfs_simple.c struct svfs_private *p = ntvfs->private_data; ntvfs 1014 source4/ntvfs/simple/vfs_simple.c static NTSTATUS svfs_trans(struct ntvfs_module_context *ntvfs, ntvfs 54 source4/ntvfs/smb2/vfs_smb2.c struct ntvfs_module_context *ntvfs; ntvfs 78 source4/ntvfs/smb2/vfs_smb2.c f = ntvfs_handle_get_backend_data(io->generic.in.file.ntvfs, ntvfs); \ ntvfs 120 source4/ntvfs/smb2/vfs_smb2.c status = ntvfs_send_oplock_break(p->ntvfs, h, level); ntvfs 156 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_connect(struct ntvfs_module_context *ntvfs, ntvfs 163 source4/ntvfs/smb2/vfs_smb2.c struct share_config *scfg = ntvfs->ctx->config; ntvfs 184 source4/ntvfs/smb2/vfs_smb2.c p = talloc_zero(ntvfs, struct cvfs_private); ntvfs 189 source4/ntvfs/smb2/vfs_smb2.c ntvfs->private_data = p; ntvfs 202 source4/ntvfs/smb2/vfs_smb2.c cli_credentials_set_conf(credentials, ntvfs->ctx->lp_ctx); ntvfs 211 source4/ntvfs/smb2/vfs_smb2.c cli_credentials_set_conf(credentials, ntvfs->ctx->lp_ctx); ntvfs 215 source4/ntvfs/smb2/vfs_smb2.c status = cli_credentials_set_machine_account(credentials, ntvfs->ctx->lp_ctx); ntvfs 227 source4/ntvfs/smb2/vfs_smb2.c lp_smbcli_options(ntvfs->ctx->lp_ctx, &options); ntvfs 230 source4/ntvfs/smb2/vfs_smb2.c lp_parm_string_list(p, ntvfs->ctx->lp_ctx, NULL, "smb2", "ports", NULL), ntvfs 232 source4/ntvfs/smb2/vfs_smb2.c lp_resolve_context(ntvfs->ctx->lp_ctx), ntvfs 234 source4/ntvfs/smb2/vfs_smb2.c ntvfs->ctx->event_ctx, &options, ntvfs 235 source4/ntvfs/smb2/vfs_smb2.c lp_socket_options(ntvfs->ctx->lp_ctx), ntvfs 236 source4/ntvfs/smb2/vfs_smb2.c lp_gensec_settings(p, ntvfs->ctx->lp_ctx) ntvfs 247 source4/ntvfs/smb2/vfs_smb2.c p->ntvfs = ntvfs; ntvfs 249 source4/ntvfs/smb2/vfs_smb2.c ntvfs->ctx->fs_type = talloc_strdup(ntvfs->ctx, "NTFS"); ntvfs 250 source4/ntvfs/smb2/vfs_smb2.c NT_STATUS_HAVE_NO_MEMORY(ntvfs->ctx->fs_type); ntvfs 251 source4/ntvfs/smb2/vfs_smb2.c ntvfs->ctx->dev_type = talloc_strdup(ntvfs->ctx, "A:"); ntvfs 252 source4/ntvfs/smb2/vfs_smb2.c NT_STATUS_HAVE_NO_MEMORY(ntvfs->ctx->dev_type); ntvfs 264 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_disconnect(struct ntvfs_module_context *ntvfs) ntvfs 266 source4/ntvfs/smb2/vfs_smb2.c struct cvfs_private *p = ntvfs->private_data; ntvfs 277 source4/ntvfs/smb2/vfs_smb2.c ntvfs->private_data = NULL; ntvfs 364 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_unlink(struct ntvfs_module_context *ntvfs, ntvfs 367 source4/ntvfs/smb2/vfs_smb2.c struct cvfs_private *p = ntvfs->private_data; ntvfs 380 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_ioctl(struct ntvfs_module_context *ntvfs, ntvfs 389 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_chkpath(struct ntvfs_module_context *ntvfs, ntvfs 392 source4/ntvfs/smb2/vfs_smb2.c struct cvfs_private *p = ntvfs->private_data; ntvfs 423 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_qpathinfo(struct ntvfs_module_context *ntvfs, ntvfs 432 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_qfileinfo(struct ntvfs_module_context *ntvfs, ntvfs 442 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_setpathinfo(struct ntvfs_module_context *ntvfs, ntvfs 452 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_open(struct ntvfs_module_context *ntvfs, ntvfs 461 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_mkdir(struct ntvfs_module_context *ntvfs, ntvfs 464 source4/ntvfs/smb2/vfs_smb2.c struct cvfs_private *p = ntvfs->private_data; ntvfs 477 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_rmdir(struct ntvfs_module_context *ntvfs, ntvfs 480 source4/ntvfs/smb2/vfs_smb2.c struct cvfs_private *p = ntvfs->private_data; ntvfs 493 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_rename(struct ntvfs_module_context *ntvfs, ntvfs 502 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_copy(struct ntvfs_module_context *ntvfs, ntvfs 511 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_read(struct ntvfs_module_context *ntvfs, ntvfs 520 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_write(struct ntvfs_module_context *ntvfs, ntvfs 529 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_seek(struct ntvfs_module_context *ntvfs, ntvfs 539 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_flush(struct ntvfs_module_context *ntvfs, ntvfs 549 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_close(struct ntvfs_module_context *ntvfs, ntvfs 558 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_exit(struct ntvfs_module_context *ntvfs, ntvfs 567 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_logoff(struct ntvfs_module_context *ntvfs, ntvfs 577 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_async_setup(struct ntvfs_module_context *ntvfs, ntvfs 587 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_cancel(struct ntvfs_module_context *ntvfs, ntvfs 596 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_lock(struct ntvfs_module_context *ntvfs, ntvfs 605 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_setfileinfo(struct ntvfs_module_context *ntvfs, ntvfs 628 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_fsinfo(struct ntvfs_module_context *ntvfs, ntvfs 631 source4/ntvfs/smb2/vfs_smb2.c struct cvfs_private *p = ntvfs->private_data; ntvfs 680 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_lpq(struct ntvfs_module_context *ntvfs, ntvfs 689 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_search_first(struct ntvfs_module_context *ntvfs, ntvfs 694 source4/ntvfs/smb2/vfs_smb2.c struct cvfs_private *p = ntvfs->private_data; ntvfs 763 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_search_next(struct ntvfs_module_context *ntvfs, ntvfs 772 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_search_close(struct ntvfs_module_context *ntvfs, ntvfs 779 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_trans(struct ntvfs_module_context *ntvfs, ntvfs 787 source4/ntvfs/smb2/vfs_smb2.c static NTSTATUS cvfs_notify(struct ntvfs_module_context *ntvfs, ntvfs 97 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS nt_token_to_unix_security(struct ntvfs_module_context *ntvfs, ntvfs 102 source4/ntvfs/unixuid/vfs_unixuid.c struct unixuid_private *priv = ntvfs->private_data; ntvfs 170 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_setup_security(struct ntvfs_module_context *ntvfs, ntvfs 173 source4/ntvfs/unixuid/vfs_unixuid.c struct unixuid_private *priv = ntvfs->private_data; ntvfs 184 source4/ntvfs/unixuid/vfs_unixuid.c *sec = save_unix_security(ntvfs); ntvfs 192 source4/ntvfs/unixuid/vfs_unixuid.c status = nt_token_to_unix_security(ntvfs, req, token, &newsec); ntvfs 217 source4/ntvfs/unixuid/vfs_unixuid.c #define PASS_THRU_REQ(ntvfs, req, op, args) do { \ ntvfs 220 source4/ntvfs/unixuid/vfs_unixuid.c status = unixuid_setup_security(ntvfs, req, &sec); \ ntvfs 233 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_connect(struct ntvfs_module_context *ntvfs, ntvfs 239 source4/ntvfs/unixuid/vfs_unixuid.c priv = talloc(ntvfs, struct unixuid_private); ntvfs 244 source4/ntvfs/unixuid/vfs_unixuid.c priv->wbc_ctx = wbc_init(priv, ntvfs->ctx->msg_ctx, ntvfs 245 source4/ntvfs/unixuid/vfs_unixuid.c ntvfs->ctx->event_ctx); ntvfs 251 source4/ntvfs/unixuid/vfs_unixuid.c ntvfs->private_data = priv; ntvfs 258 source4/ntvfs/unixuid/vfs_unixuid.c status = ntvfs_next_connect(ntvfs, req, sharename); ntvfs 266 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_disconnect(struct ntvfs_module_context *ntvfs) ntvfs 268 source4/ntvfs/unixuid/vfs_unixuid.c struct unixuid_private *priv = ntvfs->private_data; ntvfs 272 source4/ntvfs/unixuid/vfs_unixuid.c ntvfs->private_data = NULL; ntvfs 274 source4/ntvfs/unixuid/vfs_unixuid.c status = ntvfs_next_disconnect(ntvfs); ntvfs 283 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_unlink(struct ntvfs_module_context *ntvfs, ntvfs 289 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, unlink, (ntvfs, req, unl)); ntvfs 297 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_ioctl(struct ntvfs_module_context *ntvfs, ntvfs 302 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, ioctl, (ntvfs, req, io)); ntvfs 310 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_chkpath(struct ntvfs_module_context *ntvfs, ntvfs 316 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, chkpath, (ntvfs, req, cp)); ntvfs 324 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_qpathinfo(struct ntvfs_module_context *ntvfs, ntvfs 329 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, qpathinfo, (ntvfs, req, info)); ntvfs 337 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_qfileinfo(struct ntvfs_module_context *ntvfs, ntvfs 342 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, qfileinfo, (ntvfs, req, info)); ntvfs 351 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_setpathinfo(struct ntvfs_module_context *ntvfs, ntvfs 356 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, setpathinfo, (ntvfs, req, st)); ntvfs 364 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_open(struct ntvfs_module_context *ntvfs, ntvfs 369 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, open, (ntvfs, req, io)); ntvfs 377 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_mkdir(struct ntvfs_module_context *ntvfs, ntvfs 382 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, mkdir, (ntvfs, req, md)); ntvfs 390 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_rmdir(struct ntvfs_module_context *ntvfs, ntvfs 395 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, rmdir, (ntvfs, req, rd)); ntvfs 403 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_rename(struct ntvfs_module_context *ntvfs, ntvfs 408 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, rename, (ntvfs, req, ren)); ntvfs 416 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_copy(struct ntvfs_module_context *ntvfs, ntvfs 421 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, copy, (ntvfs, req, cp)); ntvfs 429 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_read(struct ntvfs_module_context *ntvfs, ntvfs 434 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, read, (ntvfs, req, rd)); ntvfs 442 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_write(struct ntvfs_module_context *ntvfs, ntvfs 447 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, write, (ntvfs, req, wr)); ntvfs 455 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_seek(struct ntvfs_module_context *ntvfs, ntvfs 461 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, seek, (ntvfs, req, io)); ntvfs 469 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_flush(struct ntvfs_module_context *ntvfs, ntvfs 475 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, flush, (ntvfs, req, io)); ntvfs 483 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_close(struct ntvfs_module_context *ntvfs, ntvfs 488 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, close, (ntvfs, req, io)); ntvfs 496 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_exit(struct ntvfs_module_context *ntvfs, ntvfs 501 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, exit, (ntvfs, req)); ntvfs 509 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_logoff(struct ntvfs_module_context *ntvfs, ntvfs 512 source4/ntvfs/unixuid/vfs_unixuid.c struct unixuid_private *priv = ntvfs->private_data; ntvfs 515 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, logoff, (ntvfs, req)); ntvfs 525 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_async_setup(struct ntvfs_module_context *ntvfs, ntvfs 531 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, async_setup, (ntvfs, req, private_data)); ntvfs 539 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_cancel(struct ntvfs_module_context *ntvfs, ntvfs 544 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, cancel, (ntvfs, req)); ntvfs 552 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_notify(struct ntvfs_module_context *ntvfs, ntvfs 557 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, notify, (ntvfs, req, info)); ntvfs 565 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_lock(struct ntvfs_module_context *ntvfs, ntvfs 570 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, lock, (ntvfs, req, lck)); ntvfs 578 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_setfileinfo(struct ntvfs_module_context *ntvfs, ntvfs 584 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, setfileinfo, (ntvfs, req, info)); ntvfs 593 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_fsinfo(struct ntvfs_module_context *ntvfs, ntvfs 598 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, fsinfo, (ntvfs, req, fs)); ntvfs 606 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_lpq(struct ntvfs_module_context *ntvfs, ntvfs 611 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, lpq, (ntvfs, req, lpq)); ntvfs 619 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_search_first(struct ntvfs_module_context *ntvfs, ntvfs 626 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, search_first, (ntvfs, req, io, search_private, callback)); ntvfs 632 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_search_next(struct ntvfs_module_context *ntvfs, ntvfs 639 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, search_next, (ntvfs, req, io, search_private, callback)); ntvfs 645 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_search_close(struct ntvfs_module_context *ntvfs, ntvfs 650 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, search_close, (ntvfs, req, io)); ntvfs 656 source4/ntvfs/unixuid/vfs_unixuid.c static NTSTATUS unixuid_trans(struct ntvfs_module_context *ntvfs, ntvfs 661 source4/ntvfs/unixuid/vfs_unixuid.c PASS_THRU_REQ(ntvfs, req, trans, (ntvfs, req, trans2)); ntvfs 43 source4/rpc_server/srvsvc/srvsvc_ntvfs.c struct ntvfs_context *ntvfs; ntvfs 48 source4/rpc_server/srvsvc/srvsvc_ntvfs.c ntvfs_disconnect(c->ntvfs); ntvfs 106 source4/rpc_server/srvsvc/srvsvc_ntvfs.c &c->ntvfs); ntvfs 117 source4/rpc_server/srvsvc/srvsvc_ntvfs.c status = ntvfs_set_addr_callbacks(c->ntvfs, srvsvc_get_my_addr, srvsvc_get_peer_addr, dce_call->conn); ntvfs 123 source4/rpc_server/srvsvc/srvsvc_ntvfs.c ntvfs_req = ntvfs_request_create(c->ntvfs, mem_ctx, ntvfs 137 source4/rpc_server/srvsvc/srvsvc_ntvfs.c *_ntvfs = c->ntvfs; ntvfs 65 source4/smb_server/handle.c if (!handle->ntvfs) return NULL; ntvfs 98 source4/smb_server/handle.c if (handle->ntvfs) { ntvfs 99 source4/smb_server/handle.c talloc_free(handle->ntvfs); ntvfs 100 source4/smb_server/handle.c handle->ntvfs = NULL; ntvfs 78 source4/smb_server/smb/nttrans.c smbsrv_push_fnum(params, 2, io->ntcreatex.out.file.ntvfs); ntvfs 190 source4/smb_server/smb/nttrans.c return ntvfs_open(req->ntvfs, io); ntvfs 238 source4/smb_server/smb/nttrans.c io->query_secdesc.in.file.ntvfs = smbsrv_pull_fnum(req, trans->in.params.data, 0); ntvfs 244 source4/smb_server/smb/nttrans.c SMBSRV_CHECK_FILE_HANDLE_NTSTATUS(io->query_secdesc.in.file.ntvfs); ntvfs 245 source4/smb_server/smb/nttrans.c return ntvfs_qfileinfo(req->ntvfs, io); ntvfs 268 source4/smb_server/smb/nttrans.c io->set_secdesc.in.file.ntvfs = smbsrv_pull_fnum(req, trans->in.params.data, 0); ntvfs 281 source4/smb_server/smb/nttrans.c SMBSRV_CHECK_FILE_HANDLE_NTSTATUS(io->set_secdesc.in.file.ntvfs); ntvfs 282 source4/smb_server/smb/nttrans.c return ntvfs_setfileinfo(req->ntvfs, io); ntvfs 303 source4/smb_server/smb/nttrans.c io->nttrans.in.file.ntvfs = smbsrv_pull_fnum(req, trans->in.params.data, 0); ntvfs 313 source4/smb_server/smb/nttrans.c SMBSRV_CHECK_FILE_HANDLE_NTSTATUS(io->nttrans.in.file.ntvfs); ntvfs 314 source4/smb_server/smb/nttrans.c return ntvfs_rename(req->ntvfs, io); ntvfs 359 source4/smb_server/smb/nttrans.c nt->ntioctl.in.file.ntvfs = smbsrv_pull_fnum(req, (uint8_t *)trans->in.setup, 4); ntvfs 368 source4/smb_server/smb/nttrans.c SMBSRV_CHECK_FILE_HANDLE_NTSTATUS(nt->ntioctl.in.file.ntvfs); ntvfs 369 source4/smb_server/smb/nttrans.c return ntvfs_ioctl(req->ntvfs, nt); ntvfs 446 source4/smb_server/smb/nttrans.c info->nttrans.in.file.ntvfs = smbsrv_pull_fnum(req, (uint8_t *)trans->in.setup, 4); ntvfs 453 source4/smb_server/smb/nttrans.c SMBSRV_CHECK_FILE_HANDLE_NTSTATUS(info->nttrans.in.file.ntvfs); ntvfs 454 source4/smb_server/smb/nttrans.c return ntvfs_notify(req->ntvfs, info); ntvfs 484 source4/smb_server/smb/nttrans.c static void reply_nttrans_send(struct ntvfs_request *ntvfs) ntvfs 35 source4/smb_server/smb/receive.c NTSTATUS smbsrv_send_oplock_break(void *p, struct ntvfs_handle *ntvfs, uint8_t level) ntvfs 55 source4/smb_server/smb/receive.c smbsrv_push_fnum(req->out.vwv, VWV(2), ntvfs); ntvfs 647 source4/smb_server/smb/receive.c talloc_free(req->ntvfs); ntvfs 648 source4/smb_server/smb/receive.c req->ntvfs = NULL; ntvfs 35 source4/smb_server/smb/reply.c static void reply_simple_send(struct ntvfs_request *ntvfs) ntvfs 176 source4/smb_server/smb/reply.c static void reply_ioctl_send(struct ntvfs_request *ntvfs) ntvfs 207 source4/smb_server/smb/reply.c io->ioctl.in.file.ntvfs = smbsrv_pull_fnum(req, req->in.vwv, VWV(0)); ntvfs 210 source4/smb_server/smb/reply.c SMBSRV_CHECK_FILE_HANDLE_ERROR(io->ioctl.in.file.ntvfs, ntvfs 212 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_ioctl(req->ntvfs, io)); ntvfs 228 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_chkpath(req->ntvfs, io)); ntvfs 234 source4/smb_server/smb/reply.c static void reply_getatr_send(struct ntvfs_request *ntvfs) ntvfs 273 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_qpathinfo(req->ntvfs, st)); ntvfs 300 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_setpathinfo(req->ntvfs, st)); ntvfs 307 source4/smb_server/smb/reply.c static void reply_dskattr_send(struct ntvfs_request *ntvfs) ntvfs 340 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_fsinfo(req->ntvfs, fs)); ntvfs 347 source4/smb_server/smb/reply.c static void reply_open_send(struct ntvfs_request *ntvfs) ntvfs 357 source4/smb_server/smb/reply.c smbsrv_push_fnum(req->out.vwv, VWV(0), oi->openold.out.file.ntvfs); ntvfs 389 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_open(req->ntvfs, oi)); ntvfs 396 source4/smb_server/smb/reply.c static void reply_open_and_X_send(struct ntvfs_request *ntvfs) ntvfs 412 source4/smb_server/smb/reply.c smbsrv_push_fnum(req->out.vwv, VWV(2), oi->openx.out.file.ntvfs); ntvfs 462 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_open(req->ntvfs, oi)); ntvfs 469 source4/smb_server/smb/reply.c static void reply_mknew_send(struct ntvfs_request *ntvfs) ntvfs 479 source4/smb_server/smb/reply.c smbsrv_push_fnum(req->out.vwv, VWV(0), oi->mknew.out.file.ntvfs); ntvfs 512 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_open(req->ntvfs, oi)); ntvfs 518 source4/smb_server/smb/reply.c static void reply_ctemp_send(struct ntvfs_request *ntvfs) ntvfs 528 source4/smb_server/smb/reply.c smbsrv_push_fnum(req->out.vwv, VWV(0), oi->ctemp.out.file.ntvfs); ntvfs 561 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_open(req->ntvfs, oi)); ntvfs 581 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_unlink(req->ntvfs, unl)); ntvfs 603 source4/smb_server/smb/reply.c io.readbraw.in.file.ntvfs = smbsrv_pull_fnum(req, req->in.vwv, VWV(0)); ntvfs 609 source4/smb_server/smb/reply.c if (!io.readbraw.in.file.ntvfs) { ntvfs 632 source4/smb_server/smb/reply.c req->ntvfs = ntvfs_request_create(req->tcon->ntvfs, req, ntvfs 637 source4/smb_server/smb/reply.c if (!req->ntvfs) { ntvfs 642 source4/smb_server/smb/reply.c status = ntvfs_read(req->ntvfs, &io); ntvfs 665 source4/smb_server/smb/reply.c static void reply_lockread_send(struct ntvfs_request *ntvfs) ntvfs 702 source4/smb_server/smb/reply.c io->lockread.in.file.ntvfs= smbsrv_pull_fnum(req, req->in.vwv, VWV(0)); ntvfs 713 source4/smb_server/smb/reply.c SMBSRV_CHECK_FILE_HANDLE(io->lockread.in.file.ntvfs); ntvfs 714 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_read(req->ntvfs, io)); ntvfs 722 source4/smb_server/smb/reply.c static void reply_read_send(struct ntvfs_request *ntvfs) ntvfs 757 source4/smb_server/smb/reply.c io->read.in.file.ntvfs = smbsrv_pull_fnum(req, req->in.vwv, VWV(0)); ntvfs 768 source4/smb_server/smb/reply.c SMBSRV_CHECK_FILE_HANDLE(io->read.in.file.ntvfs); ntvfs 769 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_read(req->ntvfs, io)); ntvfs 775 source4/smb_server/smb/reply.c static void reply_read_and_X_send(struct ntvfs_request *ntvfs) ntvfs 821 source4/smb_server/smb/reply.c io->readx.in.file.ntvfs = smbsrv_pull_fnum(req, req->in.vwv, VWV(2)); ntvfs 856 source4/smb_server/smb/reply.c SMBSRV_CHECK_FILE_HANDLE(io->readx.in.file.ntvfs); ntvfs 857 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_read(req->ntvfs, io)); ntvfs 873 source4/smb_server/smb/reply.c static void reply_writeunlock_send(struct ntvfs_request *ntvfs) ntvfs 900 source4/smb_server/smb/reply.c io->writeunlock.in.file.ntvfs = smbsrv_pull_fnum(req, req->in.vwv, VWV(0)); ntvfs 918 source4/smb_server/smb/reply.c SMBSRV_CHECK_FILE_HANDLE(io->writeunlock.in.file.ntvfs); ntvfs 919 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_write(req->ntvfs, io)); ntvfs 927 source4/smb_server/smb/reply.c static void reply_write_send(struct ntvfs_request *ntvfs) ntvfs 954 source4/smb_server/smb/reply.c io->write.in.file.ntvfs = smbsrv_pull_fnum(req, req->in.vwv, VWV(0)); ntvfs 972 source4/smb_server/smb/reply.c SMBSRV_CHECK_FILE_HANDLE(io->write.in.file.ntvfs); ntvfs 973 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_write(req->ntvfs, io)); ntvfs 980 source4/smb_server/smb/reply.c static void reply_write_and_X_send(struct ntvfs_request *ntvfs) ntvfs 1015 source4/smb_server/smb/reply.c io->writex.in.file.ntvfs= smbsrv_pull_fnum(req, req->in.vwv, VWV(2)); ntvfs 1035 source4/smb_server/smb/reply.c SMBSRV_CHECK_FILE_HANDLE(io->writex.in.file.ntvfs); ntvfs 1036 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_write(req->ntvfs, io)); ntvfs 1043 source4/smb_server/smb/reply.c static void reply_lseek_send(struct ntvfs_request *ntvfs) ntvfs 1069 source4/smb_server/smb/reply.c io->lseek.in.file.ntvfs = smbsrv_pull_fnum(req, req->in.vwv, VWV(0)); ntvfs 1073 source4/smb_server/smb/reply.c SMBSRV_CHECK_FILE_HANDLE(io->lseek.in.file.ntvfs); ntvfs 1074 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_seek(req->ntvfs, io)); ntvfs 1095 source4/smb_server/smb/reply.c io->flush.in.file.ntvfs = smbsrv_pull_fnum(req, req->in.vwv, VWV(0)); ntvfs 1096 source4/smb_server/smb/reply.c SMBSRV_CHECK_FILE_HANDLE(io->flush.in.file.ntvfs); ntvfs 1099 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_flush(req->ntvfs, io)); ntvfs 1117 source4/smb_server/smb/reply.c io->close.in.file.ntvfs = smbsrv_pull_fnum(req, req->in.vwv, VWV(0)); ntvfs 1120 source4/smb_server/smb/reply.c SMBSRV_CHECK_FILE_HANDLE(io->close.in.file.ntvfs); ntvfs 1121 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_close(req->ntvfs, io)); ntvfs 1128 source4/smb_server/smb/reply.c static void reply_writeclose_send(struct ntvfs_request *ntvfs) ntvfs 1159 source4/smb_server/smb/reply.c io->writeclose.in.file.ntvfs = smbsrv_pull_fnum(req, req->in.vwv, VWV(0)); ntvfs 1171 source4/smb_server/smb/reply.c SMBSRV_CHECK_FILE_HANDLE(io->writeclose.in.file.ntvfs); ntvfs 1172 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_write(req->ntvfs, io)); ntvfs 1188 source4/smb_server/smb/reply.c lck->lock.in.file.ntvfs = smbsrv_pull_fnum(req, req->in.vwv, VWV(0)); ntvfs 1192 source4/smb_server/smb/reply.c SMBSRV_CHECK_FILE_HANDLE(lck->lock.in.file.ntvfs); ntvfs 1193 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_lock(req->ntvfs, lck)); ntvfs 1210 source4/smb_server/smb/reply.c lck->unlock.in.file.ntvfs = smbsrv_pull_fnum(req, req->in.vwv, VWV(0)); ntvfs 1214 source4/smb_server/smb/reply.c SMBSRV_CHECK_FILE_HANDLE(lck->unlock.in.file.ntvfs); ntvfs 1215 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_lock(req->ntvfs, lck)); ntvfs 1285 source4/smb_server/smb/reply.c static void reply_printopen_send(struct ntvfs_request *ntvfs) ntvfs 1295 source4/smb_server/smb/reply.c smbsrv_push_fnum(req->out.vwv, VWV(0), oi->openold.out.file.ntvfs); ntvfs 1318 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_open(req->ntvfs, oi)); ntvfs 1334 source4/smb_server/smb/reply.c io->splclose.in.file.ntvfs = smbsrv_pull_fnum(req, req->in.vwv, VWV(0)); ntvfs 1336 source4/smb_server/smb/reply.c SMBSRV_CHECK_FILE_HANDLE(io->splclose.in.file.ntvfs); ntvfs 1337 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_close(req->ntvfs, io)); ntvfs 1343 source4/smb_server/smb/reply.c static void reply_printqueue_send(struct ntvfs_request *ntvfs) ntvfs 1402 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_lpq(req->ntvfs, lpq)); ntvfs 1424 source4/smb_server/smb/reply.c io->splwrite.in.file.ntvfs = smbsrv_pull_fnum(req, req->in.vwv, VWV(0)); ntvfs 1434 source4/smb_server/smb/reply.c SMBSRV_CHECK_FILE_HANDLE(io->splwrite.in.file.ntvfs); ntvfs 1435 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_write(req->ntvfs, io)); ntvfs 1454 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_mkdir(req->ntvfs, io)); ntvfs 1472 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_rmdir(req->ntvfs, io)); ntvfs 1501 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_rename(req->ntvfs, io)); ntvfs 1532 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_rename(req->ntvfs, io)); ntvfs 1538 source4/smb_server/smb/reply.c static void reply_copy_send(struct ntvfs_request *ntvfs) ntvfs 1579 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_copy(req->ntvfs, cp)); ntvfs 1585 source4/smb_server/smb/reply.c static void reply_lockingX_send(struct ntvfs_request *ntvfs) ntvfs 1625 source4/smb_server/smb/reply.c lck->lockx.in.file.ntvfs= smbsrv_pull_fnum(req, req->in.vwv, VWV(2)); ntvfs 1680 source4/smb_server/smb/reply.c SMBSRV_CHECK_FILE_HANDLE(lck->lockx.in.file.ntvfs); ntvfs 1681 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_lock(req->ntvfs, lck)); ntvfs 1707 source4/smb_server/smb/reply.c info->setattre.in.file.ntvfs = smbsrv_pull_fnum(req, req->in.vwv, VWV(0)); ntvfs 1712 source4/smb_server/smb/reply.c SMBSRV_CHECK_FILE_HANDLE(info->setattre.in.file.ntvfs); ntvfs 1713 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_setfileinfo(req->ntvfs, info)); ntvfs 1739 source4/smb_server/smb/reply.c static void reply_getattrE_send(struct ntvfs_request *ntvfs) ntvfs 1772 source4/smb_server/smb/reply.c info->getattr.in.file.ntvfs = smbsrv_pull_fnum(req, req->in.vwv, VWV(0)); ntvfs 1774 source4/smb_server/smb/reply.c SMBSRV_CHECK_FILE_HANDLE(info->getattr.in.file.ntvfs); ntvfs 1775 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_qfileinfo(req->ntvfs, info)); ntvfs 2044 source4/smb_server/smb/reply.c ntvfs_exit(req->ntvfs); ntvfs 2045 source4/smb_server/smb/reply.c talloc_free(req->ntvfs); ntvfs 2046 source4/smb_server/smb/reply.c req->ntvfs = NULL; ntvfs 2085 source4/smb_server/smb/reply.c ntvfs_logoff(req->ntvfs); ntvfs 2086 source4/smb_server/smb/reply.c talloc_free(req->ntvfs); ntvfs 2087 source4/smb_server/smb/reply.c req->ntvfs = NULL; ntvfs 2118 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_search_close(req->ntvfs, io)); ntvfs 2133 source4/smb_server/smb/reply.c static void reply_ntcreate_and_X_send(struct ntvfs_request *ntvfs) ntvfs 2148 source4/smb_server/smb/reply.c smbsrv_push_fnum(req->out.vwv, 5, io->ntcreatex.out.file.ntvfs); ntvfs 2215 source4/smb_server/smb/reply.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_open(req->ntvfs, io)); ntvfs 2236 source4/smb_server/smb/reply.c SMBSRV_CHECK(ntvfs_cancel(r->ntvfs)); ntvfs 700 source4/smb_server/smb/request.c return handle->ntvfs; ntvfs 703 source4/smb_server/smb/request.c void smbsrv_push_fnum(uint8_t *base, uint_t offset, struct ntvfs_handle *ntvfs) ntvfs 705 source4/smb_server/smb/request.c struct smbsrv_handle *handle = talloc_get_type(ntvfs->frontend_data.private_data, ntvfs 710 source4/smb_server/smb/request.c NTSTATUS smbsrv_handle_create_new(void *private_data, struct ntvfs_request *ntvfs, struct ntvfs_handle **_h) ntvfs 712 source4/smb_server/smb/request.c struct smbsrv_request *req = talloc_get_type(ntvfs->frontend_data.private_data, ntvfs 729 source4/smb_server/smb/request.c h->ctx = ntvfs->ctx; ntvfs 730 source4/smb_server/smb/request.c h->session_info = ntvfs->session_info; ntvfs 731 source4/smb_server/smb/request.c h->smbpid = ntvfs->smbpid; ntvfs 748 source4/smb_server/smb/request.c handle->ntvfs = h; ntvfs 761 source4/smb_server/smb/request.c struct ntvfs_handle *smbsrv_handle_search_by_wire_key(void *private_data, struct ntvfs_request *ntvfs, const DATA_BLOB *key) ntvfs 763 source4/smb_server/smb/request.c struct smbsrv_request *req = talloc_get_type(ntvfs->frontend_data.private_data, ntvfs 78 source4/smb_server/smb/search.c static void reply_search_first_send(struct ntvfs_request *ntvfs) ntvfs 93 source4/smb_server/smb/search.c static void reply_search_next_send(struct ntvfs_request *ntvfs) ntvfs 192 source4/smb_server/smb/search.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_search_next(req->ntvfs, sn, state, find_callback)); ntvfs 202 source4/smb_server/smb/search.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_search_first(req->ntvfs, sf, state, find_callback)); ntvfs 210 source4/smb_server/smb/search.c static void reply_fclose_send(struct ntvfs_request *ntvfs) ntvfs 281 source4/smb_server/smb/search.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_search_close(req->ntvfs, sc)); ntvfs 60 source4/smb_server/smb/service.c &tcon->ntvfs); ntvfs 67 source4/smb_server/smb/service.c status = ntvfs_set_oplock_handler(tcon->ntvfs, smbsrv_send_oplock_break, tcon); ntvfs 73 source4/smb_server/smb/service.c status = ntvfs_set_addr_callbacks(tcon->ntvfs, smbsrv_get_my_addr, smbsrv_get_peer_addr, req->smb_conn); ntvfs 79 source4/smb_server/smb/service.c status = ntvfs_set_handle_callbacks(tcon->ntvfs, ntvfs 91 source4/smb_server/smb/service.c req->ntvfs = ntvfs_request_create(req->tcon->ntvfs, req, ntvfs 96 source4/smb_server/smb/service.c if (!req->ntvfs) { ntvfs 102 source4/smb_server/smb/service.c status = ntvfs_connect(req->ntvfs, scfg->name); ntvfs 208 source4/smb_server/smb/service.c con->tconx.out.dev_type = talloc_strdup(req, req->tcon->ntvfs->dev_type); ntvfs 209 source4/smb_server/smb/service.c con->tconx.out.fs_type = talloc_strdup(req, req->tcon->ntvfs->fs_type); ntvfs 210 source4/smb_server/smb/service.c con->tconx.out.options = SMB_SUPPORT_SEARCH_BITS | (share_int_option(req->tcon->ntvfs->config, SHARE_CSC_POLICY, SHARE_CSC_POLICY_DEFAULT) << 2); ntvfs 211 source4/smb_server/smb/service.c if (share_bool_option(req->tcon->ntvfs->config, SHARE_MSDFS_ROOT, SHARE_MSDFS_ROOT_DEFAULT) && lp_host_msdfs(req->smb_conn->lp_ctx)) { ntvfs 32 source4/smb_server/smb/trans2.c if (!NT_STATUS_IS_OK(req->ntvfs->async_states->status)) { \ ntvfs 34 source4/smb_server/smb/trans2.c return req->ntvfs->async_states->status; \ ntvfs 190 source4/smb_server/smb/trans2.c return ntvfs_fsinfo(req->ntvfs, fsinfo); ntvfs 207 source4/smb_server/smb/trans2.c smbsrv_push_fnum(trans->out.params.data, VWV(0), io->t2open.out.file.ntvfs); ntvfs 262 source4/smb_server/smb/trans2.c return ntvfs_open(req->ntvfs, io); ntvfs 312 source4/smb_server/smb/trans2.c return ntvfs_mkdir(req->ntvfs, io); ntvfs 485 source4/smb_server/smb/trans2.c return ntvfs_qpathinfo(req->ntvfs, st); ntvfs 510 source4/smb_server/smb/trans2.c st->generic.in.file.ntvfs = h; ntvfs 526 source4/smb_server/smb/trans2.c SMBSRV_CHECK_FILE_HANDLE_NTSTATUS(st->generic.in.file.ntvfs); ntvfs 527 source4/smb_server/smb/trans2.c return ntvfs_qfileinfo(req->ntvfs, st); ntvfs 638 source4/smb_server/smb/trans2.c st->generic.in.file.ntvfs = h; ntvfs 650 source4/smb_server/smb/trans2.c SMBSRV_CHECK_FILE_HANDLE_NTSTATUS(st->generic.in.file.ntvfs); ntvfs 651 source4/smb_server/smb/trans2.c return ntvfs_setfileinfo(req->ntvfs, st); ntvfs 689 source4/smb_server/smb/trans2.c return ntvfs_setpathinfo(req->ntvfs, st); ntvfs 905 source4/smb_server/smb/trans2.c return ntvfs_search_first(req->ntvfs, search, state, find_callback); ntvfs 990 source4/smb_server/smb/trans2.c return ntvfs_search_next(req->ntvfs, search, state, find_callback); ntvfs 1003 source4/smb_server/smb/trans2.c status = ntvfs_trans2(req->ntvfs, trans); ntvfs 1083 source4/smb_server/smb/trans2.c static void reply_trans_send(struct ntvfs_request *ntvfs) ntvfs 1113 source4/smb_server/smb/trans2.c if (!NT_STATUS_IS_OK(req->ntvfs->async_states->status)) { ntvfs 1114 source4/smb_server/smb/trans2.c smbsrv_setup_error(req, req->ntvfs->async_states->status); ntvfs 1204 source4/smb_server/smb/trans2.c SMBSRV_CALL_NTVFS_BACKEND(ntvfs_trans(req->ntvfs, trans)); ntvfs 36 source4/smb_server/smb2/fileinfo.c static void smb2srv_getinfo_send(struct ntvfs_request *ntvfs) ntvfs 45 source4/smb_server/smb2/fileinfo.c if (NT_STATUS_EQUAL(NT_STATUS_INVALID_LEVEL, ntvfs->async_states->status)) { ntvfs 46 source4/smb_server/smb2/fileinfo.c ntvfs->async_states->status = NT_STATUS_INVALID_INFO_CLASS; ntvfs 95 source4/smb_server/smb2/fileinfo.c io->all_eas.in.file.ntvfs = op->info->in.file.ntvfs; ntvfs 101 source4/smb_server/smb2/fileinfo.c io->all_info2.in.file.ntvfs = op->info->in.file.ntvfs; ntvfs 107 source4/smb_server/smb2/fileinfo.c io->generic.in.file.ntvfs = op->info->in.file.ntvfs; ntvfs 114 source4/smb_server/smb2/fileinfo.c return ntvfs_qfileinfo(op->req->ntvfs, io); ntvfs 146 source4/smb_server/smb2/fileinfo.c return ntvfs_fsinfo(op->req->ntvfs, io); ntvfs 174 source4/smb_server/smb2/fileinfo.c io->query_secdesc.in.file.ntvfs = op->info->in.file.ntvfs; ntvfs 180 source4/smb_server/smb2/fileinfo.c return ntvfs_qfileinfo(op->req->ntvfs, io); ntvfs 226 source4/smb_server/smb2/fileinfo.c info->in.file.ntvfs = smb2srv_pull_handle(req, req->in.body, 0x18); ntvfs 230 source4/smb_server/smb2/fileinfo.c SMB2SRV_CHECK_FILE_HANDLE(info->in.file.ntvfs); ntvfs 239 source4/smb_server/smb2/fileinfo.c static void smb2srv_setinfo_send(struct ntvfs_request *ntvfs) ntvfs 248 source4/smb_server/smb2/fileinfo.c if (NT_STATUS_EQUAL(NT_STATUS_INVALID_LEVEL, ntvfs->async_states->status)) { ntvfs 249 source4/smb_server/smb2/fileinfo.c ntvfs->async_states->status = NT_STATUS_INVALID_INFO_CLASS; ntvfs 269 source4/smb_server/smb2/fileinfo.c io->generic.in.file.ntvfs = op->info->in.file.ntvfs; ntvfs 281 source4/smb_server/smb2/fileinfo.c return ntvfs_setfileinfo(op->req->ntvfs, io); ntvfs 314 source4/smb_server/smb2/fileinfo.c io->set_secdesc.in.file.ntvfs = op->info->in.file.ntvfs; ntvfs 327 source4/smb_server/smb2/fileinfo.c return ntvfs_setfileinfo(op->req->ntvfs, io); ntvfs 374 source4/smb_server/smb2/fileinfo.c info->in.file.ntvfs = smb2srv_pull_handle(req, req->in.body, 0x10); ntvfs 376 source4/smb_server/smb2/fileinfo.c SMB2SRV_CHECK_FILE_HANDLE(info->in.file.ntvfs); ntvfs 31 source4/smb_server/smb2/fileio.c static void smb2srv_create_send(struct ntvfs_request *ntvfs) ntvfs 64 source4/smb_server/smb2/fileio.c smb2srv_push_handle(req->out.body, 0x40, io->smb2.out.file.ntvfs); ntvfs 69 source4/smb_server/smb2/fileio.c smb2srv_push_handle(req->chained_file_handle, 0, io->smb2.out.file.ntvfs); ntvfs 164 source4/smb_server/smb2/fileio.c SMB2SRV_CALL_NTVFS_BACKEND(ntvfs_open(req->ntvfs, io)); ntvfs 167 source4/smb_server/smb2/fileio.c static void smb2srv_close_send(struct ntvfs_request *ntvfs) ntvfs 199 source4/smb_server/smb2/fileio.c io->smb2.in.file.ntvfs = smb2srv_pull_handle(req, req->in.body, 0x08); ntvfs 201 source4/smb_server/smb2/fileio.c SMB2SRV_CHECK_FILE_HANDLE(io->smb2.in.file.ntvfs); ntvfs 202 source4/smb_server/smb2/fileio.c SMB2SRV_CALL_NTVFS_BACKEND(ntvfs_close(req->ntvfs, io)); ntvfs 205 source4/smb_server/smb2/fileio.c static void smb2srv_flush_send(struct ntvfs_request *ntvfs) ntvfs 229 source4/smb_server/smb2/fileio.c io->smb2.in.file.ntvfs = smb2srv_pull_handle(req, req->in.body, 0x08); ntvfs 231 source4/smb_server/smb2/fileio.c SMB2SRV_CHECK_FILE_HANDLE(io->smb2.in.file.ntvfs); ntvfs 232 source4/smb_server/smb2/fileio.c SMB2SRV_CALL_NTVFS_BACKEND(ntvfs_flush(req->ntvfs, io)); ntvfs 235 source4/smb_server/smb2/fileio.c static void smb2srv_read_send(struct ntvfs_request *ntvfs) ntvfs 269 source4/smb_server/smb2/fileio.c io->smb2.in.file.ntvfs = smb2srv_pull_handle(req, req->in.body, 0x10); ntvfs 276 source4/smb_server/smb2/fileio.c SMB2SRV_CHECK_FILE_HANDLE(io->smb2.in.file.ntvfs); ntvfs 284 source4/smb_server/smb2/fileio.c SMB2SRV_CALL_NTVFS_BACKEND(ntvfs_read(req->ntvfs, io)); ntvfs 287 source4/smb_server/smb2/fileio.c static void smb2srv_write_send(struct ntvfs_request *ntvfs) ntvfs 314 source4/smb_server/smb2/fileio.c io->smb2.in.file.ntvfs = smb2srv_pull_handle(req, req->in.body, 0x10); ntvfs 318 source4/smb_server/smb2/fileio.c SMB2SRV_CHECK_FILE_HANDLE(io->smb2.in.file.ntvfs); ntvfs 319 source4/smb_server/smb2/fileio.c SMB2SRV_CALL_NTVFS_BACKEND(ntvfs_write(req->ntvfs, io)); ntvfs 322 source4/smb_server/smb2/fileio.c static void smb2srv_lock_send(struct ntvfs_request *ntvfs) ntvfs 347 source4/smb_server/smb2/fileio.c io->smb2.in.file.ntvfs = smb2srv_pull_handle(req, req->in.body, 0x08); ntvfs 367 source4/smb_server/smb2/fileio.c SMB2SRV_CHECK_FILE_HANDLE(io->smb2.in.file.ntvfs); ntvfs 368 source4/smb_server/smb2/fileio.c SMB2SRV_CALL_NTVFS_BACKEND(ntvfs_lock(req->ntvfs, io)); ntvfs 371 source4/smb_server/smb2/fileio.c static void smb2srv_ioctl_send(struct ntvfs_request *ntvfs) ntvfs 387 source4/smb_server/smb2/fileio.c smb2srv_push_handle(req->out.body, 0x08,io->smb2.in.file.ntvfs); ntvfs 421 source4/smb_server/smb2/fileio.c io->smb2.in.file.ntvfs = smb2srv_pull_handle(req, req->in.body, 0x08); ntvfs 422 source4/smb_server/smb2/fileio.c SMB2SRV_CHECK_FILE_HANDLE(io->smb2.in.file.ntvfs); ntvfs 425 source4/smb_server/smb2/fileio.c SMB2SRV_CALL_NTVFS_BACKEND(ntvfs_ioctl(req->ntvfs, io)); ntvfs 428 source4/smb_server/smb2/fileio.c static void smb2srv_notify_send(struct ntvfs_request *ntvfs) ntvfs 499 source4/smb_server/smb2/fileio.c io->smb2.in.file.ntvfs = smb2srv_pull_handle(req, req->in.body, 0x08); ntvfs 503 source4/smb_server/smb2/fileio.c SMB2SRV_CHECK_FILE_HANDLE(io->smb2.in.file.ntvfs); ntvfs 504 source4/smb_server/smb2/fileio.c SMB2SRV_CALL_NTVFS_BACKEND(ntvfs_notify(req->ntvfs, io)); ntvfs 507 source4/smb_server/smb2/fileio.c static void smb2srv_break_send(struct ntvfs_request *ntvfs) ntvfs 518 source4/smb_server/smb2/fileio.c smb2srv_push_handle(req->out.body, 0x08,io->smb2_break.out.file.ntvfs); ntvfs 535 source4/smb_server/smb2/fileio.c io->smb2_break.in.file.ntvfs = smb2srv_pull_handle(req, req->in.body, 0x08); ntvfs 537 source4/smb_server/smb2/fileio.c SMB2SRV_CHECK_FILE_HANDLE(io->smb2_break.in.file.ntvfs); ntvfs 538 source4/smb_server/smb2/fileio.c SMB2SRV_CALL_NTVFS_BACKEND(ntvfs_lock(req->ntvfs, io)); ntvfs 65 source4/smb_server/smb2/find.c static void smb2srv_find_send(struct ntvfs_request *ntvfs) ntvfs 123 source4/smb_server/smb2/find.c return ntvfs_search_first(state->req->ntvfs, state->ff, state, smb2srv_find_callback); ntvfs 132 source4/smb_server/smb2/find.c return ntvfs_search_next(state->req->ntvfs, state->fn, state, smb2srv_find_callback); ntvfs 160 source4/smb_server/smb2/find.c info->in.file.ntvfs = smb2srv_pull_handle(req, req->in.body, 0x08); ntvfs 169 source4/smb_server/smb2/find.c SMB2SRV_CHECK_FILE_HANDLE(info->in.file.ntvfs); ntvfs 618 source4/smb_server/smb2/receive.c if (!r->ntvfs) goto done; ntvfs 620 source4/smb_server/smb2/receive.c ntvfs_cancel(r->ntvfs); ntvfs 45 source4/smb_server/smb2/smb2_server.h struct ntvfs_request *ntvfs; ntvfs 115 source4/smb_server/smb2/smb2_server.h req->ntvfs = ntvfs_request_create(req->tcon->ntvfs, req, \ ntvfs 120 source4/smb_server/smb2/smb2_server.h if (!req->ntvfs) { \ ntvfs 124 source4/smb_server/smb2/smb2_server.h (void)talloc_steal(req->tcon->ntvfs, req); \ ntvfs 125 source4/smb_server/smb2/smb2_server.h req->ntvfs->frontend_data.private_data = req; \ ntvfs 141 source4/smb_server/smb2/smb2_server.h req->ntvfs->async_states->status = cmd; \ ntvfs 142 source4/smb_server/smb2/smb2_server.h if (req->ntvfs->async_states->state & NTVFS_ASYNC_STATE_ASYNC) { \ ntvfs 146 source4/smb_server/smb2/smb2_server.h ntvfs_cancel(req->ntvfs); \ ntvfs 149 source4/smb_server/smb2/smb2_server.h req->ntvfs->async_states->send_fn(req->ntvfs); \ ntvfs 155 source4/smb_server/smb2/smb2_server.h req = talloc_get_type(ntvfs->async_states->private_data, struct smb2srv_request); \ ntvfs 156 source4/smb_server/smb2/smb2_server.h if (ntvfs->async_states->state & NTVFS_ASYNC_STATE_CLOSE || NT_STATUS_EQUAL(ntvfs->async_states->status, NT_STATUS_NET_WRITE_FAULT)) { \ ntvfs 157 source4/smb_server/smb2/smb2_server.h smbsrv_terminate_connection(req->smb_conn, get_friendly_nt_error_msg (ntvfs->async_states->status)); \ ntvfs 161 source4/smb_server/smb2/smb2_server.h req->status = ntvfs->async_states->status; \ ntvfs 162 source4/smb_server/smb2/smb2_server.h if (NT_STATUS_IS_ERR(ntvfs->async_states->status)) { \ ntvfs 163 source4/smb_server/smb2/smb2_server.h smb2srv_send_error(req, ntvfs->async_states->status); \ ntvfs 172 source4/smb_server/smb2/smb2_server.h req = talloc_get_type(ntvfs->async_states->private_data, struct smb2srv_request); \ ntvfs 173 source4/smb_server/smb2/smb2_server.h if (ntvfs->async_states->state & NTVFS_ASYNC_STATE_CLOSE || NT_STATUS_EQUAL(ntvfs->async_states->status, NT_STATUS_NET_WRITE_FAULT)) { \ ntvfs 174 source4/smb_server/smb2/smb2_server.h smbsrv_terminate_connection(req->smb_conn, get_friendly_nt_error_msg (ntvfs->async_states->status)); \ ntvfs 178 source4/smb_server/smb2/smb2_server.h req->status = ntvfs->async_states->status; \ ntvfs 179 source4/smb_server/smb2/smb2_server.h if (!NT_STATUS_IS_OK(ntvfs->async_states->status)) { \ ntvfs 180 source4/smb_server/smb2/smb2_server.h smb2srv_send_error(req, ntvfs->async_states->status); \ ntvfs 163 source4/smb_server/smb2/tcon.c return handle->ntvfs; ntvfs 166 source4/smb_server/smb2/tcon.c void smb2srv_push_handle(uint8_t *base, uint_t offset, struct ntvfs_handle *ntvfs) ntvfs 168 source4/smb_server/smb2/tcon.c struct smbsrv_handle *handle = talloc_get_type(ntvfs->frontend_data.private_data, ntvfs 179 source4/smb_server/smb2/tcon.c static NTSTATUS smb2srv_handle_create_new(void *private_data, struct ntvfs_request *ntvfs, struct ntvfs_handle **_h) ntvfs 181 source4/smb_server/smb2/tcon.c struct smb2srv_request *req = talloc_get_type(ntvfs->frontend_data.private_data, ntvfs 198 source4/smb_server/smb2/tcon.c h->ctx = ntvfs->ctx; ntvfs 199 source4/smb_server/smb2/tcon.c h->session_info = ntvfs->session_info; ntvfs 200 source4/smb_server/smb2/tcon.c h->smbpid = ntvfs->smbpid; ntvfs 217 source4/smb_server/smb2/tcon.c handle->ntvfs = h; ntvfs 230 source4/smb_server/smb2/tcon.c static struct ntvfs_handle *smb2srv_handle_search_by_wire_key(void *private_data, struct ntvfs_request *ntvfs, const DATA_BLOB *key) ntvfs 297 source4/smb_server/smb2/tcon.c &tcon->ntvfs); ntvfs 304 source4/smb_server/smb2/tcon.c status = ntvfs_set_oplock_handler(tcon->ntvfs, smb2srv_send_oplock_break, tcon); ntvfs 310 source4/smb_server/smb2/tcon.c status = ntvfs_set_addr_callbacks(tcon->ntvfs, smbsrv_get_my_addr, smbsrv_get_peer_addr, req->smb_conn); ntvfs 316 source4/smb_server/smb2/tcon.c status = ntvfs_set_handle_callbacks(tcon->ntvfs, ntvfs 328 source4/smb_server/smb2/tcon.c req->ntvfs = ntvfs_request_create(req->tcon->ntvfs, req, ntvfs 333 source4/smb_server/smb2/tcon.c if (!req->ntvfs) { ntvfs 339 source4/smb_server/smb2/tcon.c status = ntvfs_connect(req->ntvfs, scfg->name); ntvfs 144 source4/smb_server/smb_server.h struct ntvfs_context *ntvfs; ntvfs 205 source4/smb_server/smb_server.h struct ntvfs_handle *ntvfs; ntvfs 246 source4/smb_server/smb_server.h struct ntvfs_request *ntvfs; ntvfs 428 source4/smb_server/smb_server.h req->ntvfs = ntvfs_request_create(req->tcon->ntvfs, req, \ ntvfs 433 source4/smb_server/smb_server.h if (!req->ntvfs) { \ ntvfs 437 source4/smb_server/smb_server.h (void)talloc_steal(req->tcon->ntvfs, req); \ ntvfs 438 source4/smb_server/smb_server.h req->ntvfs->frontend_data.private_data = req; \ ntvfs 476 source4/smb_server/smb_server.h req->ntvfs->async_states->status = cmd; \ ntvfs 477 source4/smb_server/smb_server.h if (req->ntvfs->async_states->state & NTVFS_ASYNC_STATE_ASYNC) { \ ntvfs 480 source4/smb_server/smb_server.h req->ntvfs->async_states->send_fn(req->ntvfs); \ ntvfs 486 source4/smb_server/smb_server.h req = talloc_get_type(ntvfs->async_states->private_data, struct smbsrv_request); \ ntvfs 487 source4/smb_server/smb_server.h if (ntvfs->async_states->state & NTVFS_ASYNC_STATE_CLOSE || NT_STATUS_EQUAL(ntvfs->async_states->status, NT_STATUS_NET_WRITE_FAULT)) { \ ntvfs 488 source4/smb_server/smb_server.h smbsrv_terminate_connection(req->smb_conn, get_friendly_nt_error_msg (ntvfs->async_states->status)); \ ntvfs 492 source4/smb_server/smb_server.h if (NT_STATUS_IS_ERR(ntvfs->async_states->status)) { \ ntvfs 493 source4/smb_server/smb_server.h smbsrv_send_error(req, ntvfs->async_states->status); \ ntvfs 502 source4/smb_server/smb_server.h req = talloc_get_type(ntvfs->async_states->private_data, struct smbsrv_request); \ ntvfs 503 source4/smb_server/smb_server.h if (ntvfs->async_states->state & NTVFS_ASYNC_STATE_CLOSE || NT_STATUS_EQUAL(ntvfs->async_states->status, NT_STATUS_NET_WRITE_FAULT)) { \ ntvfs 504 source4/smb_server/smb_server.h smbsrv_terminate_connection(req->smb_conn, get_friendly_nt_error_msg (ntvfs->async_states->status)); \ ntvfs 508 source4/smb_server/smb_server.h if (!NT_STATUS_IS_OK(ntvfs->async_states->status)) { \ ntvfs 509 source4/smb_server/smb_server.h smbsrv_send_error(req, ntvfs->async_states->status); \ ntvfs 124 source4/smb_server/tcon.c if (tcon->ntvfs) { ntvfs 125 source4/smb_server/tcon.c ntvfs_disconnect(tcon->ntvfs); ntvfs 126 source4/smb_server/tcon.c tcon->ntvfs = NULL;