- 時間撮記:
- 2015-10-12 下午03:13:47 (9 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Additions/linux/sharedfolders/regops.c
r53757 r58195 64 64 * contiguous in physical memory (kmalloc or single page), we should 65 65 * 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, 67 67 pos, nread, buf, false /* already locked? */); 68 68 if (RT_FAILURE(rc)) 69 69 { 70 LogFunc((" vboxCallRead failed. caller=%s, rc=%Rrc\n", caller, rc));70 LogFunc(("VbglR0SfRead failed. caller=%s, rc=%Rrc\n", caller, rc)); 71 71 return -EPROTO; 72 72 } … … 81 81 * contiguous in physical memory (kmalloc or single page), we should 82 82 * 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, 84 84 pos, nwritten, buf, false /* already locked? */); 85 85 if (RT_FAILURE(rc)) 86 86 { 87 LogFunc((" vboxCallWrite failed. caller=%s, rc=%Rrc\n",87 LogFunc(("VbglR0SfWrite failed. caller=%s, rc=%Rrc\n", 88 88 caller, rc)); 89 89 return -EPROTO; … … 374 374 375 375 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", 377 377 sf_i->path->String.utf8 , file->f_flags, params.CreateFlags)); 378 rc = vboxCallCreate(&client_handle, &sf_g->map, sf_i->path, ¶ms);378 rc = VbglR0SfCreate(&client_handle, &sf_g->map, sf_i->path, ¶ms); 379 379 if (RT_FAILURE(rc)) 380 380 { 381 LogFunc((" vboxCallCreate failed flags=%d,%#x rc=%Rrc\n",381 LogFunc(("VbglR0SfCreate failed flags=%d,%#x rc=%Rrc\n", 382 382 file->f_flags, params.CreateFlags, rc)); 383 383 kfree(sf_r); … … 439 439 filemap_fdatawait(inode->i_mapping); 440 440 #endif 441 rc = vboxCallClose(&client_handle, &sf_g->map, sf_r->handle);441 rc = VbglR0SfClose(&client_handle, &sf_g->map, sf_r->handle); 442 442 if (RT_FAILURE(rc)) 443 LogFunc((" vboxCallClose failed rc=%Rrc\n", rc));443 LogFunc(("VbglR0SfClose failed rc=%Rrc\n", rc)); 444 444 445 445 kfree(sf_r); … … 482 482 #endif 483 483 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() 485 485 * which works on virtual addresses. On Linux cannot reliably determine the 486 486 * physical address for high memory, see rtR0MemObjNativeLockKernel(). */
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器