Lines Matching refs:jnl
328 if ((hfsmp->hfs_flags & HFS_READ_ONLY) == 0 && hfsmp->jnl == NULL &&
594 if (hfsmp->jnl && (hfsmp->hfs_flags & HFS_READ_ONLY) == 0) {
611 && (hfsmp->jnl == NULL)) {
615 hfsmp->jnl = NULL;
652 } else if (hfsmp->jnl) {
655 } else if (hfsmp->jnl || ((vcb->vcbAtrb & kHFSVolumeJournaledMask) && (hfsmp->hfs_flags & HFS_READ_ONLY))) {
675 if (hfsmp->jnl == NULL) {
944 if (hfsmp->jnl || (hfsmp->hfs_allocation_cp == NULL)) {
976 if (hfsmp->jnl == NULL) {
984 if (hfsmp->jnl == NULL) {
996 if (hfsmp->jnl == NULL) {
1011 if (hfsmp->jnl == NULL) {
1054 if (VTOHFS(vp)->jnl == NULL)
1835 hfsmp->jnl = NULL;
1850 hfsmp->jnl = journal_create(hfsmp->jvp,
1871 hfsmp->jnl = journal_open(hfsmp->jvp,
1884 if (hfsmp->jnl && mdbp) {
1906 //printf("journal @ 0x%x\n", hfsmp->jnl);
1910 if (hfsmp->jnl == NULL) {
1911 printf("hfs: early jnl init: failed to open/create the journal (retval %d).\n", retval);
2050 hfsmp->jnl = NULL;
2065 hfsmp->jnl = journal_create(hfsmp->jvp,
2094 hfsmp->jnl = journal_open(hfsmp->jvp,
2117 //printf("journal @ 0x%x\n", hfsmp->jnl);
2121 if (hfsmp->jnl == NULL) {
2122 printf("hfs: late jnl init: failed to open/create the journal (retval %d).\n", retval);
2180 if (hfsmp->jnl == NULL)
2402 if (hfsmp->jnl && journal_owner(hfsmp->jnl) != thread) {
2404 panic("hfs_start_transaction: bad lock order (cat before jnl)\n");
2407 panic("hfs_start_transaction: bad lock order (attr before jnl)\n");
2410 panic("hfs_start_transaction: bad lock order (ext before jnl)\n");
2415 if (hfsmp->jnl == NULL || journal_owner(hfsmp->jnl) != thread) {
2431 if (hfsmp->jnl) {
2432 ret = journal_start_transaction(hfsmp->jnl);
2455 if ( hfsmp->jnl == NULL
2456 || ( journal_owner(hfsmp->jnl) == current_thread()
2462 if (hfsmp->jnl) {
2463 ret = journal_end_transaction(hfsmp->jnl);