Home
last modified time | relevance | path

Searched refs:hflags (Results 1 – 20 of 20) sorted by relevance

/dragonfly/sbin/mount_hammer/
H A Dmount_hammer.c84 getmntopts(optarg, mopts, &mount_flags, &info.hflags); in main()
89 if (info.hflags & HMNT_MASTERID) { in main()
96 if (info.hflags & HMNT_NOMIRROR) { in main()
/dragonfly/contrib/gdb-7/gdb/
H A Dremote-fileio.c129 int hflags = 0; in remote_fileio_oflags_to_host() local
132 hflags |= O_CREAT; in remote_fileio_oflags_to_host()
134 hflags |= O_EXCL; in remote_fileio_oflags_to_host()
136 hflags |= O_TRUNC; in remote_fileio_oflags_to_host()
138 hflags |= O_APPEND; in remote_fileio_oflags_to_host()
140 hflags |= O_RDONLY; in remote_fileio_oflags_to_host()
142 hflags |= O_WRONLY; in remote_fileio_oflags_to_host()
144 hflags |= O_RDWR; in remote_fileio_oflags_to_host()
148 hflags |= O_BINARY; in remote_fileio_oflags_to_host()
150 return hflags; in remote_fileio_oflags_to_host()
/dragonfly/sys/vfs/hammer2/
H A Dhammer2_mount.h47 int hflags; /* extended hammer2 mount flags */ member
H A Dhammer2_vfsops.c965 pmp->hflags = info.hflags; in hammer2_vfs_mount()
1171 hmp->hflags = info.hflags & HMNT2_DEVFLAGS; in hammer2_vfs_mount()
1364 if (info.hflags & HMNT2_DEVFLAGS) { in hammer2_vfs_mount()
1368 info.hflags & HMNT2_DEVFLAGS); in hammer2_vfs_mount()
1376 force_local = (hmp->hflags & HMNT2_LOCAL) ? hmp : NULL; in hammer2_vfs_mount()
1464 pmp->hflags = info.hflags; in hammer2_vfs_mount()
1540 force_local = (hmp->hflags & HMNT2_LOCAL) ? hmp : NULL; in hammer2_update_pmps()
H A Dhammer2_ioctl.c679 force_local = (hmp->hflags & HMNT2_LOCAL) ? hmp : NULL; in hammer2_ioctl_pfs_create()
923 force_local = (hmp->hflags & HMNT2_LOCAL) ? hmp : NULL; in hammer2_ioctl_pfs_snapshot()
1057 atomic_set_int(&hmp->hflags, HMNT2_EMERG); in hammer2_ioctl_emerg_mode()
1059 atomic_clear_int(&hmp->hflags, HMNT2_EMERG); in hammer2_ioctl_emerg_mode()
H A Dhammer2.h1142 uint32_t hflags; /* HMNT2 flags applicable to device */ member
1210 int hflags; /* pfs-specific mount flags */ member
H A Dhammer2_chain.c1517 } else if ((hmp->hflags & HMNT2_EMERG) && in hammer2_chain_modify()
1650 if (error && (hmp->hflags & HMNT2_EMERG)) { in hammer2_chain_modify()
/dragonfly/sys/vfs/hammer/
H A Dhammer_mount.h54 int hflags; /* extended hammer mount flags */ member
H A Dhammer_flusher.c837 hmp->hflags |= HMNT_UNDO_DIRTY; in hammer_flusher_finalize()
839 hmp->hflags |= HMNT_UNDO_DIRTY; in hammer_flusher_finalize()
841 hmp->hflags &= ~HMNT_UNDO_DIRTY; in hammer_flusher_finalize()
963 (hmp->hflags & HMNT_UNDO_DIRTY)) { /* UNDO FIFO sync */ in hammer_flusher_haswork()
H A Dhammer_vfsops.c350 info.hflags = 0; in hammer_vfs_mount()
384 if (info.hflags & HMNT_MASTERID || info.hflags & HMNT_NOMIRROR) { in hammer_vfs_mount()
455 hmp->hflags &= ~HMNT_USERFLAGS; in hammer_vfs_mount()
456 hmp->hflags |= info.hflags & HMNT_USERFLAGS; in hammer_vfs_mount()
H A Dhammer_subs.c899 if (ip->hmp->hflags & HMNT_NOHISTORY) in hammer_nohistory()
H A Dhammer_recover.c751 hmp->hflags |= HMNT_UNDO_DIRTY; in hammer_recover_stage2()
H A Dhammer.h811 int hflags; member
H A Dhammer_vnops.c2574 usedbytes += vfs_flagstostr(hmp->hflags, extraopt, in hammer_vop_mountctl()
/dragonfly/usr.sbin/makefs/hammer2/
H A Dhammer2_vfsops.c1132 hmp->hflags = info.hflags & HMNT2_DEVFLAGS; in hammer2_vfs_mount()
1327 if (info.hflags & HMNT2_DEVFLAGS) { in hammer2_vfs_mount()
1331 info.hflags & HMNT2_DEVFLAGS); in hammer2_vfs_mount()
1339 force_local = (hmp->hflags & HMNT2_LOCAL) ? hmp : NULL; in hammer2_vfs_mount()
1427 pmp->hflags = info.hflags; in hammer2_vfs_mount()
1506 force_local = (hmp->hflags & HMNT2_LOCAL) ? hmp : NULL; in hammer2_update_pmps()
H A Dhammer2_ioctl.c687 force_local = (hmp->hflags & HMNT2_LOCAL) ? hmp : NULL; in hammer2_ioctl_pfs_create()
931 force_local = (hmp->hflags & HMNT2_LOCAL) ? hmp : NULL; in hammer2_ioctl_pfs_snapshot()
1066 atomic_set_int(&hmp->hflags, HMNT2_EMERG); in hammer2_ioctl_emerg_mode()
1068 atomic_clear_int(&hmp->hflags, HMNT2_EMERG); in hammer2_ioctl_emerg_mode()
H A Dhammer2.h1186 uint32_t hflags; /* HMNT2 flags applicable to device */ member
1254 int hflags; /* pfs-specific mount flags */ member
H A Dhammer2_chain.c1523 } else if ((hmp->hflags & HMNT2_EMERG) && in hammer2_chain_modify()
1656 if (error && (hmp->hflags & HMNT2_EMERG)) { in hammer2_chain_modify()
/dragonfly/sbin/mount_hammer2/
H A Dmount_hammer2.c82 getmntopts(optarg, mopts, &mount_flags, &info.hflags); in main()
/dragonfly/sys/dev/disk/sym/
H A Dsym_hipd.c4238 u_char hflags, hflags0; in sym_int_ma() local
4409 hflags = hflags0; in sym_int_ma()
4412 if (hflags & HF_IN_PM0) in sym_int_ma()
4418 hflags ^= HF_ACT_PM; in sym_int_ma()
4431 if (hflags != hflags0) in sym_int_ma()
4432 OUTB (HF_PRT, hflags); in sym_int_ma()
5406 u_char hflags; in sym_modify_dp() local
5443 hflags = INB (HF_PRT); in sym_modify_dp()
5445 if (hflags & HF_DP_SAVED) in sym_modify_dp()
5446 hflags ^= HF_ACT_PM; in sym_modify_dp()
[all …]