Home
last modified time | relevance | path

Searched refs:mtid (Results 1 – 23 of 23) sorted by relevance

/dragonfly/usr.sbin/makefs/hammer2/
H A Dhammer2_strategy.c609 xop->head.mtid, &error); in hammer2_xop_strategy_write()
755 pblksize, mtid, in hammer2_assign_physical()
774 mtid, dedup_off, in hammer2_assign_physical()
836 mtid, &bdata, errorp); in hammer2_write_file_core()
871 mtid, errorp, in hammer2_write_file_core()
882 mtid, errorp, in hammer2_write_file_core()
1047 mtid, &bdata, errorp); in hammer2_compress_and_write()
1186 hammer2_tid_t mtid, int *errorp, in hammer2_zero_check_and_write() argument
1209 mtid, &bdata, errorp); in hammer2_zero_check_and_write()
1214 mtid, errorp, check_algo); in hammer2_zero_check_and_write()
[all …]
H A Dhammer2_xops.c420 xop->head.mtid, dopermanent); in hammer2_xop_unlink()
449 xop->head.mtid, in hammer2_xop_unlink()
688 chain, xop->head.mtid, 0, 0, 0); in hammer2_xop_nrename()
691 chain, xop->head.mtid, in hammer2_xop_nrename()
709 chain, xop->head.mtid, 0, in hammer2_xop_nrename()
713 chain, xop->head.mtid, in hammer2_xop_nrename()
773 xop->head.mtid, 0); in hammer2_xop_nrename()
799 xop->head.mtid, 0, 0); in hammer2_xop_nrename()
1078 xop->head.mtid, 0, 0); in hammer2_xop_inode_mkdirent()
1511 xop->head.mtid, 0, 0); in hammer2_xop_inode_connect()
[all …]
H A Dhammer2_freemap.c60 hammer2_fiterate_t *iter, hammer2_tid_t mtid);
192 hammer2_tid_t mtid; in hammer2_freemap_alloc() local
208 mtid = hammer2_trans_sub(hmp->spmp); in hammer2_freemap_alloc()
266 &iter, mtid); in hammer2_freemap_alloc()
328 mtid, 0, 0); in hammer2_freemap_try_alloc()
331 hammer2_chain_modify(chain, mtid, 0, 0); in hammer2_freemap_try_alloc()
358 hammer2_chain_modify(chain, mtid, 0, 0); in hammer2_freemap_try_alloc()
375 hammer2_chain_modify(chain, mtid, 0, 0); in hammer2_freemap_try_alloc()
936 hammer2_tid_t mtid; in hammer2_freemap_adjust() local
954 mtid = hammer2_trans_sub(hmp->spmp); in hammer2_freemap_adjust()
[all …]
H A Dhammer2_ioctl.c619 hammer2_tid_t mtid; in hammer2_ioctl_pfs_create() local
637 mtid = hammer2_trans_sub(hmp->spmp); in hammer2_ioctl_pfs_create()
644 error = hammer2_chain_modify(nchain, mtid, 0, 0); in hammer2_ioctl_pfs_create()
810 hammer2_tid_t mtid; in hammer2_ioctl_pfs_snapshot() local
844 mtid = hammer2_trans_sub(pmp); in hammer2_ioctl_pfs_snapshot()
847 ip->meta.pfs_lsnap_tid = mtid; in hammer2_ioctl_pfs_snapshot()
884 error = hammer2_chain_modify(nchain, mtid, 0, 0); in hammer2_ioctl_pfs_snapshot()
893 nip->meta.pfs_lsnap_tid = mtid; in hammer2_ioctl_pfs_snapshot()
1265 hammer2_tid_t mtid; in hammer2_ioctl_growfs() local
1367 mtid = hammer2_trans_sub(hmp->spmp); in hammer2_ioctl_growfs()
[all …]
H A Dhammer2_chain.c76 hammer2_tid_t mtid, int flags,
1704 if (mtid) in hammer2_chain_modify()
1705 chain->bref.modify_tid = mtid; in hammer2_chain_modify()
1895 hammer2_tid_t mtid, int flags) in hammer2_chain_modify_ip() argument
3300 mtid, type, &error); in hammer2_chain_create()
3423 hammer2_tid_t mtid, int flags) in hammer2_chain_rename() argument
3495 hammer2_tid_t mtid, int flags, in hammer2_chain_rename_obref() argument
4838 hammer2_tid_t mtid, int flags) in hammer2_chain_delete() argument
4854 mtid, flags, NULL); in hammer2_chain_delete()
4876 hammer2_tid_t mtid, int flags, in hammer2_chain_delete_obref() argument
[all …]
H A Dhammer2.h936 hammer2_tid_t mtid; member
1588 int hammer2_chain_modify(hammer2_chain_t *chain, hammer2_tid_t mtid,
1591 hammer2_tid_t mtid, int flags);
1593 hammer2_tid_t mtid, hammer2_off_t dedup_off,
1620 int type, size_t bytes, hammer2_tid_t mtid,
1624 hammer2_tid_t mtid, int flags);
1626 hammer2_tid_t mtid, int flags);
H A Dhammer2_bulkfree.c84 hammer2_tid_t mtid; member
662 cbinfo.mtid = hammer2_trans_sub(hmp->spmp); in hammer2_bulkfree_pass()
664 cbinfo.mtid = 0; in hammer2_bulkfree_pass()
1125 if (hammer2_chain_modify(live_chain, cbinfo->mtid, 0, 0)) { in h2_bulkfree_sync()
H A Dhammer2_flush.c221 hammer2_tid_t mtid; in hammer2_trans_sub() local
223 mtid = atomic_fetchadd_64(&pmp->modify_tid, 1); in hammer2_trans_sub()
225 return (mtid); in hammer2_trans_sub()
H A Dhammer2_admin.c387 xop->head.mtid = hammer2_trans_sub(ip->pmp); in hammer2_xop_alloc()
389 xop->head.mtid = 0; in hammer2_xop_alloc()
H A Dhammer2_vfsops.c2113 hammer2_tid_t mtid; member
/dragonfly/sys/vfs/hammer2/
H A Dhammer2_strategy.c588 xop->head.mtid, &error); in hammer2_xop_strategy_write()
729 pblksize, mtid, in hammer2_assign_physical()
748 mtid, dedup_off, in hammer2_assign_physical()
810 mtid, &bdata, errorp); in hammer2_write_file_core()
845 mtid, errorp, in hammer2_write_file_core()
856 mtid, errorp, in hammer2_write_file_core()
1023 mtid, &bdata, errorp); in hammer2_compress_and_write()
1162 hammer2_tid_t mtid, int *errorp, in hammer2_zero_check_and_write() argument
1185 mtid, &bdata, errorp); in hammer2_zero_check_and_write()
1190 mtid, errorp, check_algo); in hammer2_zero_check_and_write()
[all …]
H A Dhammer2_xops.c417 xop->head.mtid, dopermanent); in hammer2_xop_unlink()
446 xop->head.mtid, in hammer2_xop_unlink()
685 chain, xop->head.mtid, 0, 0, 0); in hammer2_xop_nrename()
688 chain, xop->head.mtid, in hammer2_xop_nrename()
706 chain, xop->head.mtid, 0, in hammer2_xop_nrename()
710 chain, xop->head.mtid, in hammer2_xop_nrename()
770 xop->head.mtid, 0); in hammer2_xop_nrename()
796 xop->head.mtid, 0, 0); in hammer2_xop_nrename()
1075 xop->head.mtid, 0, 0); in hammer2_xop_inode_mkdirent()
1508 xop->head.mtid, 0, 0); in hammer2_xop_inode_connect()
[all …]
H A Dhammer2_freemap.c56 hammer2_fiterate_t *iter, hammer2_tid_t mtid);
188 hammer2_tid_t mtid; in hammer2_freemap_alloc() local
204 mtid = hammer2_trans_sub(hmp->spmp); in hammer2_freemap_alloc()
262 &iter, mtid); in hammer2_freemap_alloc()
324 mtid, 0, 0); in hammer2_freemap_try_alloc()
327 hammer2_chain_modify(chain, mtid, 0, 0); in hammer2_freemap_try_alloc()
354 hammer2_chain_modify(chain, mtid, 0, 0); in hammer2_freemap_try_alloc()
371 hammer2_chain_modify(chain, mtid, 0, 0); in hammer2_freemap_try_alloc()
932 hammer2_tid_t mtid; in hammer2_freemap_adjust() local
950 mtid = hammer2_trans_sub(hmp->spmp); in hammer2_freemap_adjust()
[all …]
H A Dhammer2_synchro.c80 hammer2_tid_t mtid, int idx);
83 hammer2_tid_t mtid, int idx,
733 focus->bref.type, focus->bref.key, mtid); in hammer2_sync_insert()
765 mtid, 0, 0); in hammer2_sync_insert()
769 error = hammer2_chain_modify(chain, mtid, 0, 0); in hammer2_sync_insert()
782 KKASSERT(chain->bref.modify_tid == mtid); in hammer2_sync_insert()
862 hammer2_tid_t mtid, int idx) in hammer2_sync_destroy() argument
918 hammer2_tid_t mtid, int idx, in hammer2_sync_replace() argument
931 focus->bref.type, focus->bref.key, mtid); in hammer2_sync_replace()
946 error = hammer2_chain_modify(chain, mtid, 0, 0); in hammer2_sync_replace()
[all …]
H A Dhammer2_ioctl.c611 hammer2_tid_t mtid; in hammer2_ioctl_pfs_create() local
629 mtid = hammer2_trans_sub(hmp->spmp); in hammer2_ioctl_pfs_create()
636 error = hammer2_chain_modify(nchain, mtid, 0, 0); in hammer2_ioctl_pfs_create()
802 hammer2_tid_t mtid; in hammer2_ioctl_pfs_snapshot() local
836 mtid = hammer2_trans_sub(pmp); in hammer2_ioctl_pfs_snapshot()
839 ip->meta.pfs_lsnap_tid = mtid; in hammer2_ioctl_pfs_snapshot()
876 error = hammer2_chain_modify(nchain, mtid, 0, 0); in hammer2_ioctl_pfs_snapshot()
885 nip->meta.pfs_lsnap_tid = mtid; in hammer2_ioctl_pfs_snapshot()
1258 hammer2_tid_t mtid; in hammer2_ioctl_growfs() local
1360 mtid = hammer2_trans_sub(hmp->spmp); in hammer2_ioctl_growfs()
[all …]
H A Dhammer2_chain.c72 hammer2_tid_t mtid, int flags,
1698 if (mtid) in hammer2_chain_modify()
1699 chain->bref.modify_tid = mtid; in hammer2_chain_modify()
1889 hammer2_tid_t mtid, int flags) in hammer2_chain_modify_ip() argument
3294 mtid, type, &error); in hammer2_chain_create()
3417 hammer2_tid_t mtid, int flags) in hammer2_chain_rename() argument
3489 hammer2_tid_t mtid, int flags, in hammer2_chain_rename_obref() argument
4832 hammer2_tid_t mtid, int flags) in hammer2_chain_delete() argument
4848 mtid, flags, NULL); in hammer2_chain_delete()
4870 hammer2_tid_t mtid, int flags, in hammer2_chain_delete_obref() argument
[all …]
H A Dhammer2.h895 hammer2_tid_t mtid; member
1541 int hammer2_chain_modify(hammer2_chain_t *chain, hammer2_tid_t mtid,
1544 hammer2_tid_t mtid, int flags);
1546 hammer2_tid_t mtid, hammer2_off_t dedup_off,
1573 int type, size_t bytes, hammer2_tid_t mtid,
1577 hammer2_tid_t mtid, int flags);
1579 hammer2_tid_t mtid, int flags);
H A Dhammer2_bulkfree.c79 hammer2_tid_t mtid; member
651 cbinfo.mtid = hammer2_trans_sub(hmp->spmp); in hammer2_bulkfree_pass()
653 cbinfo.mtid = 0; in hammer2_bulkfree_pass()
1114 if (hammer2_chain_modify(live_chain, cbinfo->mtid, 0, 0)) { in h2_bulkfree_sync()
H A Dhammer2_flush.c217 hammer2_tid_t mtid; in hammer2_trans_sub() local
219 mtid = atomic_fetchadd_64(&pmp->modify_tid, 1); in hammer2_trans_sub()
221 return (mtid); in hammer2_trans_sub()
H A Dhammer2_admin.c344 xop->head.mtid = hammer2_trans_sub(ip->pmp); in hammer2_xop_alloc()
346 xop->head.mtid = 0; in hammer2_xop_alloc()
H A Dhammer2_vfsops.c2147 hammer2_tid_t mtid; member
/dragonfly/sys/dev/sound/pci/
H A Denvy24.c138 int mtid; member
2493 sc->mtid = PCIR_MT; in envy24_alloc_resource()
2495 &sc->mtid, 0, ~0, 1, RF_ACTIVE); in envy24_alloc_resource()
2637 bus_release_resource(dev, SYS_RES_IOPORT, sc->mtid, sc->mt); in envy24_pci_attach()
2675 bus_release_resource(dev, SYS_RES_IOPORT, sc->mtid, sc->mt); in envy24_pci_detach()
H A Denvy24ht.c137 int mtid; member
2405 sc->mtid = ENVY24HT_PCIR_MT; in envy24ht_alloc_resource()
2407 &sc->mtid, 0, ~0, 1, RF_ACTIVE); in envy24ht_alloc_resource()
2537 bus_release_resource(dev, SYS_RES_IOPORT, sc->mtid, sc->mt); in envy24ht_pci_attach()
2573 bus_release_resource(dev, SYS_RES_IOPORT, sc->mtid, sc->mt); in envy24ht_pci_detach()