Lines Matching refs:hfc_filevp
201 hfc_btree_open(hfsmp, &hfsmp->hfc_filevp) == 0) {
204 if ((BTGetUserData(VTOF(hfsmp->hfc_filevp), &hotfileinfo,
225 (void) hfc_btree_close(hfsmp, hfsmp->hfc_filevp);
226 hfsmp->hfc_filevp = NULL;
336 if (hfsmp->hfc_filevp)
337 panic("hfs_recording_stop: hfc_filevp exists (vp = %p)", hfsmp->hfc_filevp);
339 error = hfc_btree_open(hfsmp, &hfsmp->hfc_filevp);
349 (void) hfc_btree_close(hfsmp, hfsmp->hfc_filevp);
350 hfsmp->hfc_filevp = NULL;
362 (void) hfc_btree_close(hfsmp, hfsmp->hfc_filevp);
363 hfsmp->hfc_filevp = NULL;
379 (void) hfc_btree_close(hfsmp, hfsmp->hfc_filevp);
380 hfsmp->hfc_filevp = NULL;
403 (void) hfc_btree_close(hfsmp, hfsmp->hfc_filevp);
404 hfsmp->hfc_filevp = NULL;
455 error = hfc_btree_open(hfsmp, &hfsmp->hfc_filevp);
465 if (hfs_lock(VTOC(hfsmp->hfc_filevp), HFS_EXCLUSIVE_LOCK) != 0) {
480 (void) BTSetUserData(VTOF(hfsmp->hfc_filevp), &hotfileinfo, sizeof(hotfileinfo));
482 hfs_unlock(VTOC(hfsmp->hfc_filevp));
488 if (hfsmp->hfc_filevp) {
489 (void) hfc_btree_close(hfsmp, hfsmp->hfc_filevp);
490 hfsmp->hfc_filevp = NULL;
565 if (hfsmp->hfc_filevp)
566 panic("hfs_recording_init: hfc_filevp exists (vp = %p)", hfsmp->hfc_filevp);
567 error = hfc_btree_open(hfsmp, &hfsmp->hfc_filevp);
602 if (hfs_lock(VTOC(hfsmp->hfc_filevp), HFS_EXCLUSIVE_LOCK) != 0) {
606 filefork = VTOF(hfsmp->hfc_filevp);
676 hfs_unlock(VTOC(hfsmp->hfc_filevp));
688 if (hfsmp->hfc_filevp) {
689 (void) hfc_btree_close(hfsmp, hfsmp->hfc_filevp);
690 hfsmp->hfc_filevp = NULL;
969 if (hfs_lock(VTOC(hfsmp->hfc_filevp), HFS_EXCLUSIVE_LOCK) != 0) {
973 filefork = VTOF(hfsmp->hfc_filevp);
1035 hfs_unlock(VTOC(hfsmp->hfc_filevp));
1073 if (hfs_lock(VTOC(hfsmp->hfc_filevp), HFS_EXCLUSIVE_LOCK) != 0) {
1094 filefork = VTOF(hfsmp->hfc_filevp);
1228 hfs_unlock(VTOC(hfsmp->hfc_filevp));
1239 if (stage != HFC_ADOPTION && hfsmp->hfc_filevp) {
1240 (void) hfc_btree_close(hfsmp, hfsmp->hfc_filevp);
1241 hfsmp->hfc_filevp = NULL;
1277 if (hfs_lock(VTOC(hfsmp->hfc_filevp), HFS_EXCLUSIVE_LOCK) != 0) {
1291 filefork = VTOF(hfsmp->hfc_filevp);
1428 hfs_unlock(VTOC(hfsmp->hfc_filevp));
1490 if (hfs_lock(VTOC(hfsmp->hfc_filevp), HFS_EXCLUSIVE_LOCK) != 0) {
1494 filefork = VTOF(hfsmp->hfc_filevp);
1594 hfs_unlock(VTOC(hfsmp->hfc_filevp));
1760 if (hfsmp->hfc_filevp)
1761 panic("hfc_btree_create: hfc_filevp exists (vp = %p)", hfsmp->hfc_filevp);