Lines Matching refs:hfs_flags
219 if (((hfsmp->hfs_flags & HFS_READ_ONLY) == 0) &&
228 hfsmp->hfs_flags |= HFS_RDONLY_DOWNGRADE;
235 hfsmp->hfs_flags &= ~HFS_RDONLY_DOWNGRADE;
245 hfsmp->hfs_flags &= ~HFS_RDONLY_DOWNGRADE;
253 hfsmp->hfs_flags |= HFS_READ_ONLY;
266 hfsmp->hfs_flags &= ~HFS_RDONLY_DOWNGRADE;
268 hfsmp->hfs_flags &= ~HFS_READ_ONLY;
308 if (hfsmp->hfs_flags & HFS_NEED_JNL_RESET) {
331 hfsmp->hfs_flags &= ~HFS_NEED_JNL_RESET;
337 hfsmp->hfs_flags &= ~HFS_READ_ONLY;
343 hfsmp->hfs_flags &= ~HFS_RDONLY_DOWNGRADE;
353 if (!(hfsmp->hfs_flags & (HFS_READ_ONLY | HFS_STANDARD))) {
363 if (hfsmp->hfs_flags & HFS_METADATA_ZONE) {
473 hfsmp->hfs_flags |= HFS_IN_CHANGEFS;
475 permswitch = (((hfsmp->hfs_flags & HFS_UNKNOWN_PERMS) &&
477 (((hfsmp->hfs_flags & HFS_UNKNOWN_PERMS) == 0) &&
487 hfsmp->hfs_flags |= HFS_UNKNOWN_PERMS;
489 hfsmp->hfs_flags &= ~HFS_UNKNOWN_PERMS;
592 hfsmp->hfs_flags &= ~HFS_IN_CHANGEFS;
1076 hfsmp->hfs_flags |= HFS_WRITEABLE_MEDIA;
1078 hfsmp->hfs_flags |= HFS_READ_ONLY;
1080 hfsmp->hfs_flags |= HFS_UNKNOWN_PERMS;
1120 hfsmp->hfs_flags |= HFS_WRITEABLE_MEDIA;
1122 hfsmp->hfs_flags &= ~HFS_WRITEABLE_MEDIA;
1246 !(hfsmp->hfs_flags & HFS_READ_ONLY)) {
1286 hfsmp->hfs_flags |= HFS_NEED_JNL_RESET;
1373 hfsmp->hfs_flags |= HFS_NEED_JNL_RESET;
1434 if (!(hfsmp->hfs_flags & HFS_STANDARD)) {
1477 hfsmp->hfs_flags |= HFS_VIRTUAL_DEVICE;
1483 if ((hfsmp->hfs_flags & HFS_VIRTUAL_DEVICE) == 0 &&
1562 if (hfsmp->hfs_flags & HFS_METADATA_ZONE)
1600 if ((hfsmp->hfs_flags & HFS_READ_ONLY) == 0) {
1699 hfsmp->hfs_flags & HFS_READ_ONLY ? FREAD : FREAD|FWRITE,
1708 if ((hfsmp->hfs_flags & HFS_HAS_SPARSE_DEVICE) && hfsmp->hfs_backingfs_rootvp) {
1711 hfsmp->hfs_flags &= ~HFS_HAS_SPARSE_DEVICE;
1857 if (hfsmp->hfs_flags & HFS_STANDARD) {
1862 if (hfsmp->hfs_flags & HFS_CASE_SENSITIVE)
1987 if (hfsmp->hfs_flags & HFS_IN_CHANGEFS)
1990 if (hfsmp->hfs_flags & HFS_READ_ONLY)
2307 if (hfsmp->hfs_flags & HFS_READ_ONLY) {
2357 VNOP_CLOSE(jvp, hfsmp->hfs_flags & HFS_READ_ONLY ? FREAD : FREAD|FWRITE, context);
2424 VNOP_CLOSE(hfsmp->jvp, hfsmp->hfs_flags & HFS_READ_ONLY ? FREAD : FREAD|FWRITE, context);
3010 if (hfsmp->hfs_flags & HFS_READ_ONLY) {
3013 if (hfsmp->hfs_flags & HFS_STANDARD) {
3624 if (hfsmp->hfs_flags & HFS_RESIZE_IN_PROGRESS) {
3628 hfsmp->hfs_flags |= HFS_RESIZE_IN_PROGRESS;
3810 hfsmp->hfs_flags &= ~HFS_RESIZE_IN_PROGRESS;
4826 if ((hfsmp->hfs_flags & HFS_RESIZE_IN_PROGRESS) == 0) {
4881 if (hfsmp->hfs_flags & HFS_STANDARD) {
4896 (hfsmp->hfs_flags & HFS_CASE_SENSITIVE ? VOL_CAP_FMT_CASE_SENSITIVE : 0) |
4999 if (hfsmp->hfs_flags & HFS_STANDARD) {
5004 if (hfsmp->hfs_flags & HFS_CASE_SENSITIVE)