Lines Matching refs:NULL
181 error = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &fork,
210 error = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &fork,
234 error = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &fork,
248 error = cat_idlookup(hfsmp, kHFSRootFolderID, 0, NULL, NULL, NULL);
328 if ((hfsmp->hfs_flags & HFS_READ_ONLY) == 0 && hfsmp->jnl == NULL &&
439 retval = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &cfork,
472 retval = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &cfork,
513 retval = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &cfork,
540 retval = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &cfork,
573 retval = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &cfork,
583 retval = cat_idlookup(hfsmp, kHFSRootFolderID, 0, &cndesc, &cnattr, NULL);
611 && (hfsmp->jnl == NULL)) {
615 hfsmp->jnl = NULL;
623 struct buf *bp = NULL;
642 bp = NULL;
646 bp = NULL;
664 hfsmp->hfs_jnlinfoblkid = GetFileInfo(vcb, kRootDirID, ".journal_info_block", &jinfo_attr, NULL);
665 hfsmp->hfs_jnlfileid = GetFileInfo(vcb, kRootDirID, ".journal", &jnl_attr, NULL);
675 if (hfsmp->jnl == NULL) {
749 if (fp->fcbBTCBPtr != NULL) {
797 * Setting these pointers to NULL so that any references
802 hfsmp->hfs_allocation_vp = NULL;
803 hfsmp->hfs_attribute_vp = NULL;
804 hfsmp->hfs_catalog_vp = NULL;
805 hfsmp->hfs_extents_vp = NULL;
806 hfsmp->hfs_startup_vp = NULL;
822 // If the vnode pointer is NULL then we're being called
828 if (FTOV(fp) == NULL || VTOVCB(FTOV(fp))->vcbSigWord == kHFSPlusSigWord) {
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)
1161 error = cat_lookup(hfsmp, &jdesc, 0, NULL, fattr, forkinfo, NULL);
1184 struct BTreeIterator * iterator = NULL;
1231 (void) BTSearchRecord(fcb, iterator, NULL, NULL, iterator);
1237 result = BTIterateRecord(fcb, kBTreeNextRecord, iterator, &btdata, NULL);
1296 NULL, NULL) != 0) {
1306 cnode.c_rsrcfork = NULL;
1345 cnode.c_datafork = NULL;
1370 &hfsmp->hfs_private_attr[FILE_HARDLINKS], NULL, NULL);
1423 DBG_ASSERT(vp != NULL);
1429 if (VTOF(vp)->fcbBTCBPtr != NULL) {
1613 if (hint != NULL) { /* found an existing hint */
1627 hint->dh_desc.cd_nameptr = NULL;
1649 hint->dh_desc.cd_nameptr = NULL;
1679 if ((relhint->dh_desc.cd_flags & CD_HASBUF) && (name != NULL)) {
1680 relhint->dh_desc.cd_nameptr = NULL;
1705 for (hint = TAILQ_LAST(&dcp->c_hintlist, hfs_hinthead); hint != NULL; hint = prev) {
1709 if ((hint->dh_desc.cd_flags & CD_HASBUF) && (name != NULL)) {
1710 hint->dh_desc.cd_nameptr = NULL;
1794 if (args != NULL && (args->flags & HFSFSMNT_EXTENDED_ARGS)) {
1835 hfsmp->jnl = NULL;
1864 jinfo_bp = NULL;
1865 jibp = NULL;
1881 jinfo_bp = NULL;
1882 jibp = NULL;
1901 bp = NULL;
1910 if (hfsmp->jnl == NULL) {
1953 if (args != NULL && (args->flags & HFSFSMNT_EXTENDED_ARGS)) {
2050 hfsmp->jnl = NULL;
2114 jinfo_bp = NULL;
2115 jibp = NULL;
2121 if (hfsmp->jnl == NULL) {
2180 if (hfsmp->jnl == NULL)
2336 if (filename == NULL)
2415 if (hfsmp->jnl == NULL || journal_owner(hfsmp->jnl) != thread) {
2455 if ( hfsmp->jnl == NULL