Lines Matching defs:record

233  * Convert a raw catalog key and record into an in-core catalog descriptor.
436 /* Turn thread record into a cnode key (in place). */
509 /* Turn thread record into a cnode key (in place) */
546 /* No corresponding file/folder record found for a thread record,
553 * the key in the thread matches the key in the record.
685 * The catalog record will change, and possibly its type.
741 /* Make sure that this non-hard link (regular) record is not
742 * an inode record that was looked up and we do not end up
937 * Insert the thread record first
1002 * Now insert the file/directory record
1016 /* Back out the thread record */
1020 /* Error on deleting extra thread record, mark
1023 printf ("hfs: cat_create() failed to delete thread record on volume %s\n", hfsmp->vcbVN);
1291 /* Try and delete new record before leaving */
1314 * Step 4: Remove cnode's old thread record
1320 * Step 5: Insert cnode's new thread record
1325 * record. For everything else, use the directory flag.
1423 /* Delete record */
1454 /* Delete thread record. On error, mark volume inconsistent */
1458 printf ("hfs: cat_delete() failed to delete thread record on volume %s\n", hfsmp->vcbVN);
1473 * If update_hardlink is true, the hard link catalog record is updated
1474 * and not the inode catalog record.
1503 * of the update is the inode itself (not the link record)
1546 * catrec_update - Update the fields of a catalog record
1799 * raw inode ID in its CNID field. If the HFSPlusCatalogFile record indicates
1820 * cnode, if any, and the directory record in the catalog btree.
1842 /* Update the catalog record on disk if either cnode was not
1852 /* Look up our catalog folder record */
1860 /* Update the bit in the catalog record */
1886 * during look up of the catalog record, this function returns non-zero value.
2156 /* Insert the thread record first. */
2211 * Now insert the link record.
2248 printf("hfs: cat_createlink() failed to delete thread record on volume %s\n", hfsmp->vcbVN);
2644 * Position the iterator at the directory's thread record.
2725 /* Repack entry from inode record. */
2833 /* The last record has not been returned yet, so we
2960 * If we were looking at a catalog record for a hardlink (not the inode),
2964 * is going to be counted as a file record, so we can catch both
3261 * Position the iterator at the directory's thread record.
3275 * Position the iterator at the directory's thread record.
3473 printf("hfs: cat_findposition: invalid record type %d in dir %d\n",
3668 * Resolve hard link reference to obtain the inode record.
3725 struct HFSPlusCatalogFile record;
3734 error = cat_resolvelink(hfsmp, linkref, 0, &record);
3736 if (record.fileID == 0)
3739 *ino = record.fileID;
3772 /* Turn thread record into a cnode key (in place) */
3848 * buildrecord - build a default catalog directory or file record
4210 * Build a catalog node thread record from a catalog key
4211 * and return the size of the record.
4272 * Extract the text encoding from a catalog node record.
4290 * Extract the CNID from a catalog node record.
4319 * Extract the parent ID from a catalog node record.
4345 * Determine if a catalog node record is a directory.
4355 * cat_lookup_dirlink - lookup a catalog record for directory hard link
4356 * (not inode) using catalog record id. Note that this function does
4358 * the link record.
4399 /* Directory hard links are catalog file record */
4416 printf ("hfs: cat_lookup_dirlink(): Error looking up file record for id=%u (error=%d)\n", dirlink_id, error);
4420 /* Just for sanity, make sure that id in catalog record and thread record match */