Searched refs:journal (Results 1 - 7 of 7) sorted by relevance

/xnu-2782.1.97/bsd/vfs/
H A Dvfs_journal.h77 struct journal;
95 off_t journal_start; // where in the journal this transaction starts
96 off_t journal_end; // where in the journal this transaction ends
97 struct journal *jnl; // ptr back to the journal structure
107 * This is written to block zero of the journal and it
108 * maintains overall state about the journal.
115 off_t size; // size in bytes of the entire journal
116 int32_t blhdr_size; // size in bytes of each block_list_header in the journal
118 int32_t jhdr_size; // block size (in bytes) of the journal heade
139 typedef struct journal { struct
190 } journal; typedef in typeref:struct:journal
[all...]
H A Dvfs_journal.c66 * logging of trim-related calls within the journal. (They're
75 SYSCTL_INT(_vfs_generic_jnl_kdebug, OID_AUTO, trim, CTLFLAG_RW|CTLFLAG_LOCKED, &jnl_kdebug, 0, "Enable kdebug logging for journal TRIM");
86 * Cap the journal max size to 2GB. On HFS, it will attempt to occupy
139 SYSCTL_UINT (_kern, OID_AUTO, jnl_trim_flush, CTLFLAG_RW, &jnl_trim_flush_limit, 0, "number of trimmed extents to cause a journal flush");
155 static void lock_condition(journal *jnl, boolean_t *condition, const char *condition_name);
156 static void wait_condition(journal *jnl, boolean_t *condition, const char *condition_name);
157 static void unlock_condition(journal *jnl, boolean_t *condition);
159 static void write_header_thread(journal *jnl);
162 static void abort_transaction(journal *jnl, transaction *tr);
163 static void dump_journal(journal *jn
[all...]
/xnu-2782.1.97/bsd/hfs/
H A Dhfs_fsctl.h63 uint32_t journal; member in struct:hfsinfo_metadata
170 * files on the volume, including individual btrees and journal file. The caller
H A Dhfs.h265 struct journal *jnl; // the journal for this volume (if one exists)
266 struct vnode *jvp; // device where the journal lives (may be equal to devvp)
267 u_int32_t jnl_start; // start block of the journal file (so we don't delete it)
H A Dhfs_vfsutils.c809 // Check if we need to do late journal initialization. This only
811 // In that case hfs_late_journal_init() will go re-locate the journal
822 // journal which we couldn't find. in that case we do not want to
833 // if the journal failed to open, then set the lastMountedVersion
883 // journal and journal_info_block.
885 hfsmp->hfs_jnlfileid = GetFileInfo(vcb, kRootDirID, ".journal", &jnl_attr, NULL);
887 printf("hfs: danger! couldn't find the file-id's for the journal or journal_info_block\n");
1215 * Lock the HFS global journal lock
1281 * Unlock the HFS global journal lock
2375 printf("hfs: journal ope
[all...]
/xnu-2782.1.97/bsd/kern/
H A Dkern_malloc.c463 { SOS(journal), KMZ_CREATEZONE, FALSE }, /* 91 M_JNL_JNL */
/xnu-2782.1.97/bsd/hfs/hfscommon/Misc/
H A DVolumeAllocation.c362 * Validation Routine to verify that the TRIM list maintained by the journal
379 struct journal *jnl = (struct journal*)hfsmp->jnl;
417 ; being freed is passed to the journal code, and the extent will
620 ; written to the on-disk journal. This routine will add those
623 ; CAUTION: This routine is called while the journal's trim lock
630 ; CAUTION: If the journal becomes invalid (eg., due to an I/O
631 ; error when trying to write to the journal), this callback
633 ; the journal became invalid!
671 ; lingering in an uncommitted journal transactio
[all...]

Completed in 103 milliseconds