VirtualBox

Ignore:
Timestamp:
Oct 12, 2015 3:13:47 PM (9 years ago)
Author:
vboxsync
Message:

VBoxGuestR0LibSharedFolders: Prefixed functions ('vbox' wasn't a very good one). Hope I found all places these functions are called...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/sharedfolders/regops.c

    r53757 r58195  
    6464     *        contiguous in physical memory (kmalloc or single page), we should
    6565     *        use a physical address here to speed things up. */
    66     int rc = vboxCallRead(&client_handle, &sf_g->map, sf_r->handle,
     66    int rc = VbglR0SfRead(&client_handle, &sf_g->map, sf_r->handle,
    6767                          pos, nread, buf, false /* already locked? */);
    6868    if (RT_FAILURE(rc))
    6969    {
    70         LogFunc(("vboxCallRead failed. caller=%s, rc=%Rrc\n", caller, rc));
     70        LogFunc(("VbglR0SfRead failed. caller=%s, rc=%Rrc\n", caller, rc));
    7171        return -EPROTO;
    7272    }
     
    8181     *        contiguous in physical memory (kmalloc or single page), we should
    8282     *        use a physical address here to speed things up. */
    83     int rc = vboxCallWrite(&client_handle, &sf_g->map, sf_r->handle,
     83    int rc = VbglR0SfWrite(&client_handle, &sf_g->map, sf_r->handle,
    8484                           pos, nwritten, buf, false /* already locked? */);
    8585    if (RT_FAILURE(rc))
    8686    {
    87         LogFunc(("vboxCallWrite failed. caller=%s, rc=%Rrc\n",
     87        LogFunc(("VbglR0SfWrite failed. caller=%s, rc=%Rrc\n",
    8888                    caller, rc));
    8989        return -EPROTO;
     
    374374
    375375    params.Info.Attr.fMode = inode->i_mode;
    376     LogFunc(("sf_reg_open: calling vboxCallCreate, file %s, flags=%#x, %#x\n",
     376    LogFunc(("sf_reg_open: calling VbglR0SfCreate, file %s, flags=%#x, %#x\n",
    377377              sf_i->path->String.utf8 , file->f_flags, params.CreateFlags));
    378     rc = vboxCallCreate(&client_handle, &sf_g->map, sf_i->path, &params);
     378    rc = VbglR0SfCreate(&client_handle, &sf_g->map, sf_i->path, &params);
    379379    if (RT_FAILURE(rc))
    380380    {
    381         LogFunc(("vboxCallCreate failed flags=%d,%#x rc=%Rrc\n",
     381        LogFunc(("VbglR0SfCreate failed flags=%d,%#x rc=%Rrc\n",
    382382                  file->f_flags, params.CreateFlags, rc));
    383383        kfree(sf_r);
     
    439439        filemap_fdatawait(inode->i_mapping);
    440440#endif
    441     rc = vboxCallClose(&client_handle, &sf_g->map, sf_r->handle);
     441    rc = VbglR0SfClose(&client_handle, &sf_g->map, sf_r->handle);
    442442    if (RT_FAILURE(rc))
    443         LogFunc(("vboxCallClose failed rc=%Rrc\n", rc));
     443        LogFunc(("VbglR0SfClose failed rc=%Rrc\n", rc));
    444444
    445445    kfree(sf_r);
     
    482482#endif
    483483
    484     /* Don't use GFP_HIGHUSER as long as sf_reg_read_aux() calls vboxCallRead()
     484    /* Don't use GFP_HIGHUSER as long as sf_reg_read_aux() calls VbglR0SfRead()
    485485     * which works on virtual addresses. On Linux cannot reliably determine the
    486486     * physical address for high memory, see rtR0MemObjNativeLockKernel(). */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette