/dflybsd-src/sys/vfs/hammer/ |
H A D | hammer_flusher.c | 58 hammer_mount_t hmp; member 72 hammer_flusher_sync(hammer_mount_t hmp) in hammer_flusher_sync() 91 hammer_flusher_async(hammer_mount_t hmp, hammer_flush_group_t close_flg) in hammer_flusher_async() 144 hammer_flusher_async_one(hammer_mount_t hmp) in hammer_flusher_async_one() 164 hammer_flusher_wait(hammer_mount_t hmp, int seq) in hammer_flusher_wait() 176 hammer_flusher_running(hammer_mount_t hmp) in hammer_flusher_running() 185 hammer_flusher_wait_next(hammer_mount_t hmp) in hammer_flusher_wait_next() 194 hammer_flusher_create(hammer_mount_t hmp) in hammer_flusher_create() 218 hammer_flusher_destroy(hammer_mount_t hmp) in hammer_flusher_destroy() 253 hammer_mount_t hmp; in hammer_flusher_master_thread() local [all …]
|
H A D | hammer_io.c | 246 hammer_mount_t hmp = io->hmp; in hammer_io_wait() local 266 hammer_io_wait_all(hammer_mount_t hmp, const char *ident, int doflush) in hammer_io_wait_all() 313 hammer_mount_t hmp = io->hmp; in hammer_io_clear_error() local 327 hammer_mount_t hmp = io->hmp; in hammer_io_clear_error_noassert() local 353 hammer_mount_t hmp = buffer->io.hmp; in hammer_io_notmeta() local 492 hammer_mount_t hmp; in hammer_io_inval() local 710 hammer_mount_t hmp; in hammer_io_flush() local 872 hammer_mount_t hmp = io->hmp; in hammer_io_write_interlock() local 966 hammer_mount_t hmp; in hammer_io_clear_modify() local 1037 hammer_mount_t hmp = io->hmp; in hammer_io_clear_modlist() local [all …]
|
H A D | hammer_ondisk.c | 109 hammer_install_volume(hammer_mount_t hmp, const char *volname, in hammer_install_volume() 304 hammer_mount_t hmp = volume->io.hmp; in hammer_unload_volume() local 403 hammer_mount_t hmp = volume->io.hmp; in hammer_free_volume() local 421 hammer_get_volume(hammer_mount_t hmp, int32_t vol_no, int *errorp) in hammer_get_volume() 472 hammer_get_root_volume(hammer_mount_t hmp, int *errorp) in hammer_get_root_volume() 545 hammer_mountcheck_volumes(hammer_mount_t hmp) in hammer_mountcheck_volumes() 559 hammer_get_installed_volumes(hammer_mount_t hmp) in hammer_get_installed_volumes() 598 hammer_get_buffer(hammer_mount_t hmp, hammer_off_t buf_offset, in hammer_get_buffer() 771 hammer_sync_buffers(hammer_mount_t hmp, hammer_off_t base_offset, int bytes) in hammer_sync_buffers() 812 hammer_del_buffers(hammer_mount_t hmp, hammer_off_t base_offset, in hammer_del_buffers() [all …]
|
H A D | hammer_transaction.c | 46 hammer_start_transaction(hammer_transaction_t trans, hammer_mount_t hmp) in hammer_start_transaction() 71 hammer_simple_transaction(hammer_transaction_t trans, hammer_mount_t hmp) in hammer_simple_transaction() 99 hammer_start_transaction_fls(hammer_transaction_t trans, hammer_mount_t hmp) in hammer_start_transaction_fls() 162 hammer_alloc_tid(hammer_mount_t hmp, int count) in hammer_alloc_tid() 189 hammer_alloc_objid(hammer_mount_t hmp, hammer_inode_t dip, int64_t namekey) in hammer_alloc_objid() 306 hammer_destroy_objid_cache(hammer_mount_t hmp) in hammer_destroy_objid_cache()
|
H A D | hammer_inode.c | 180 hammer_mount_t hmp; in hammer_vop_inactive() local 227 hammer_mount_t hmp; in hammer_vop_reclaim() local 283 hammer_mount_t hmp; in hammer_get_vnode() local 400 hammer_scan_inode_snapshots(hammer_mount_t hmp, hammer_inode_info_t iinfo, in hammer_scan_inode_snapshots() 424 hammer_mount_t hmp = trans->hmp; in hammer_get_inode() local 612 hammer_mount_t hmp = trans->hmp; in hammer_get_dummy_inode() local 738 hammer_mount_t hmp = trans->hmp; in __hammer_find_inode() local 764 hammer_mount_t hmp; in hammer_create_inode() local 945 hammer_mount_t hmp; in hammer_free_inode() local 976 hammer_mount_t hmp = trans->hmp; in hammer_load_pseudofs() local [all …]
|
H A D | hammer_blockmap.c | 73 hammer_mount_t hmp; in hammer_blockmap_alloc() local 407 hammer_blockmap_reserve(hammer_mount_t hmp, int zone, int bytes, in hammer_blockmap_reserve() 638 hammer_blockmap_reserve_complete(hammer_mount_t hmp, hammer_reserve_t resv) in hammer_blockmap_reserve_complete() 691 hammer_reserve_setdelay_offset(hammer_mount_t hmp, hammer_off_t base_offset, in hammer_reserve_setdelay_offset() 731 hammer_reserve_setdelay(hammer_mount_t hmp, hammer_reserve_t resv) in hammer_reserve_setdelay() 752 hammer_reserve_clrdelay(hammer_mount_t hmp, hammer_reserve_t resv) in hammer_reserve_clrdelay() 770 hammer_mount_t hmp; in hammer_blockmap_free() local 905 hammer_mount_t hmp; in hammer_blockmap_dedup() local 1014 hammer_mount_t hmp; in hammer_blockmap_finalize() local 1143 hammer_blockmap_getfree(hammer_mount_t hmp, hammer_off_t zone_offset, in hammer_blockmap_getfree() [all …]
|
H A D | hammer_vnops.c | 182 hammer_mount_t hmp = ip->hmp; in hammer_vop_fsync() local 307 hammer_mount_t hmp; in hammer_vop_read() local 499 hammer_mount_t hmp; in hammer_vop_write() local 931 hammer_mount_t hmp; in hammer_vop_ncreate() local 1116 hammer_mount_t hmp; in hammer_vop_nresolve() local 1325 hammer_mount_t hmp; in hammer_vop_nlookupdotdot() local 1391 hammer_mount_t hmp; in hammer_vop_nlink() local 1455 hammer_mount_t hmp; in hammer_vop_nmkdir() local 1531 hammer_mount_t hmp; in hammer_vop_nmknod() local 1632 hammer_mount_t hmp; in hammer_vop_readdir() local [all …]
|
H A D | hammer_recover.c | 207 hammer_recover_stage1(hammer_mount_t hmp, hammer_volume_t root_volume) in hammer_recover_stage1() 516 hammer_recover_stage2(hammer_mount_t hmp, hammer_volume_t root_volume) in hammer_recover_stage2() 775 hammer_recover_scan_rev(hammer_mount_t hmp, hammer_volume_t root_volume, in hammer_recover_scan_rev() 828 hammer_recover_scan_fwd(hammer_mount_t hmp, hammer_volume_t root_volume, in hammer_recover_scan_fwd() 875 _hammer_check_signature(hammer_mount_t hmp, in _hammer_check_signature() 974 hammer_check_head_signature(hammer_mount_t hmp, hammer_fifo_head_t head, in hammer_check_head_signature() 1007 hammer_check_tail_signature(hammer_mount_t hmp, hammer_fifo_tail_t tail, in hammer_check_tail_signature() 1031 hammer_recover_undo(hammer_mount_t hmp, hammer_volume_t root_volume, in hammer_recover_undo() 1163 hammer_recover_redo_rec(hammer_mount_t hmp, struct hammer_rterm_rb_tree *root, in hammer_recover_redo_rec() 1218 hammer_recover_redo_run(hammer_mount_t hmp, struct hammer_rterm_rb_tree *root, in hammer_recover_redo_run() [all …]
|
H A D | hammer_undo.c | 58 hammer_undo_lookup(hammer_mount_t hmp, hammer_off_t zone3_off, int *errorp) in hammer_undo_lookup() 97 hammer_mount_t hmp; in hammer_generate_undo() local 305 hammer_format_undo(hammer_mount_t hmp, void *base, uint32_t seqno) in hammer_format_undo() 343 hammer_mount_t hmp; in hammer_upgrade_undo_4() local 433 hammer_enter_undo_history(hammer_mount_t hmp, hammer_off_t offset, int bytes) in hammer_enter_undo_history() 463 hammer_clear_undo_history(hammer_mount_t hmp) in hammer_clear_undo_history() 515 hammer_undo_max(hammer_mount_t hmp) in hammer_undo_max()
|
H A D | hammer_volume.c | 66 hammer_mount_t hmp = trans->hmp; in hammer_ioc_volume_add() local 151 hammer_mount_t hmp = trans->hmp; in hammer_ioc_volume_del() local 294 hammer_mount_t hmp = trans->hmp; in hammer_ioc_volume_list() local 336 hammer_mount_t hmp = trans->hmp; in hammer_do_reblock() local 385 hammer_mount_t hmp = trans->hmp; in hammer_format_freemap() local 504 hammer_mount_t hmp = trans->hmp; in hammer_free_freemap() local 617 hammer_format_volume_header(hammer_mount_t hmp, in hammer_format_volume_header() 677 hammer_mount_t hmp = trans->hmp; in hammer_update_volumes_header() local 750 hammer_count_bigblocks(hammer_mount_t hmp, hammer_volume_t volume, in hammer_count_bigblocks()
|
H A D | hammer_vfsops.c | 327 hammer_mount_t hmp; in hammer_vfs_mount() local 790 hammer_mount_t hmp = (void *)mp->mnt_data; in hammer_vfs_unmount() local 825 hammer_mount_t hmp = (void *)mp->mnt_data; in hammer_free_hmp() local 892 hammer_critical_error(hammer_mount_t hmp, hammer_inode_t ip, in hammer_critical_error() 924 hammer_mount_t hmp = (void *)mp->mnt_data; in hammer_vfs_vget() local 981 hammer_mount_t hmp = (void *)mp->mnt_data; in hammer_vfs_statfs() local 1019 hammer_mount_t hmp = (void *)mp->mnt_data; in hammer_vfs_statvfs() local 1064 hammer_mount_t hmp = (void *)mp->mnt_data; in hammer_vfs_sync() local 1108 hammer_mount_t hmp = (void *)mp->mnt_data; in hammer_vfs_fhtovp() local 1147 hammer_mount_t hmp = (void *)mp->mnt_data; in hammer_vfs_checkexp() local [all …]
|
H A D | hammer_ioctl.c | 69 struct hammer_mount *hmp; in hammer_ioctl() local 512 hammer_mount_t hmp = ip->hmp; in hammer_ioc_synctid() local 610 hammer_mount_t hmp = trans->hmp; in hammer_ioc_set_version() local 680 hammer_mount_t hmp = trans->hmp; in hammer_ioc_get_info() local 714 hammer_mount_t hmp = ip->hmp; in hammer_ioc_add_snapshot() local 792 hammer_mount_t hmp = ip->hmp; in hammer_ioc_del_snapshot() local 1001 hammer_mount_t hmp = ip->hmp; in hammer_ioc_set_config() local
|
H A D | hammer_redo.c | 64 hammer_mount_t hmp; in hammer_generate_redo() local 312 hammer_mount_t hmp = trans->hmp; in hammer_generate_redo_sync() local 355 hammer_mount_t hmp = ip->hmp; in hammer_redo_fifo_end_flush() local
|
H A D | hammer_btree.c | 128 hammer_mount_t hmp; in hammer_btree_iterate() local 400 hammer_mount_t hmp; in hammer_btree_iterate_reverse() local 686 hammer_mount_t hmp; in hammer_btree_extract() local 1446 hammer_mount_t hmp = cursor->trans->hmp; in btree_split_internal() local 1684 hammer_mount_t hmp; in btree_split_leaf() local 2578 hammer_btree_lcache_init(hammer_mount_t hmp, hammer_node_lock_t lcache, in hammer_btree_lcache_init() 2599 hammer_btree_lcache_free(hammer_mount_t hmp, hammer_node_lock_t lcache) in hammer_btree_lcache_free() 2637 hammer_mount_t hmp; in hammer_btree_lock_children() local 2727 hammer_mount_t hmp = cursor->trans->hmp; in hammer_btree_lock_copy() local 2776 hammer_btree_unlock_children(hammer_mount_t hmp, hammer_node_lock_t parent, in hammer_btree_unlock_children()
|
H A D | hammer_object.c | 267 hammer_mount_t hmp; in hammer_alloc_mem_record() local 366 hammer_mount_t hmp; in hammer_rel_mem_record() local 1008 hammer_ip_replace_bulk(hammer_mount_t hmp, hammer_record_t record) in hammer_ip_replace_bulk() 1123 hammer_mount_t hmp = trans->hmp; in hammer_ip_sync_record_cursor() local 1358 hammer_mount_t hmp = record->ip->hmp; in hammer_mem_add() local 2278 hammer_mount_t hmp; in hammer_create_at_cursor() local 2647 hammer_cursor_localize_data(hammer_mount_t hmp, hammer_data_ondisk_t data, in hammer_cursor_localize_data()
|
H A D | hammer_cursor.c | 52 hammer_mount_t hmp; in hammer_init_cursor() local 492 hammer_mount_t hmp; in hammer_load_cursor_parent() local 859 hammer_mount_t hmp; in hammer_push_cursor() local 896 hammer_mount_t hmp; in hammer_pop_cursor() local
|
/dflybsd-src/sys/vfs/hammer2/ |
H A D | hammer2_io.c | 60 hammer2_io_hash_init(hammer2_dev_t *hmp) in hammer2_io_hash_init() 100 hammer2_io_alloc(hammer2_dev_t *hmp, hammer2_off_t data_off, uint8_t btype, in hammer2_io_alloc() 177 _hammer2_io_getblk(hammer2_dev_t *hmp, int btype, off_t lbase, in _hammer2_io_getblk() 390 hammer2_dev_t *hmp; in _hammer2_io_putblk() local 570 hammer2_io_new(hammer2_dev_t *hmp, int btype, off_t lbase, int lsize, in hammer2_io_new() 578 hammer2_io_newnz(hammer2_dev_t *hmp, int btype, off_t lbase, int lsize, in hammer2_io_newnz() 586 _hammer2_io_bread(hammer2_dev_t *hmp, int btype, off_t lbase, int lsize, in _hammer2_io_bread() 607 _hammer2_io_getquick(hammer2_dev_t *hmp, off_t lbase, in _hammer2_io_getquick() 687 hammer2_io_dedup_set(hammer2_dev_t *hmp, hammer2_blockref_t *bref) in hammer2_io_dedup_set() 712 hammer2_io_dedup_delete(hammer2_dev_t *hmp, uint8_t btype, in hammer2_io_dedup_delete() [all …]
|
H A D | hammer2_iocom.c | 51 hammer2_iocom_init(hammer2_dev_t *hmp) in hammer2_iocom_init() 66 hammer2_iocom_uninit(hammer2_dev_t *hmp) in hammer2_iocom_uninit() 78 hammer2_cluster_reconnect(hammer2_dev_t *hmp, struct file *fp) in hammer2_cluster_reconnect() 199 hammer2_dev_t *hmp = msg->state->iocom->handle; in hammer2_autodmsg() local 285 hammer2_update_spans(hammer2_dev_t *hmp, kdmsg_state_t *state) in hammer2_update_spans() 371 hammer2_volconf_update(hammer2_dev_t *hmp, int index) in hammer2_volconf_update()
|
H A D | hammer2_ioctl.c | 183 hammer2_dev_t *hmp; in hammer2_ioctl_version_get() local 232 hammer2_dev_t *hmp; in hammer2_ioctl_remote_scan() local 270 hammer2_dev_t *hmp; in hammer2_ioctl_remote_add() local 308 hammer2_dev_t *hmp; in hammer2_ioctl_remote_del() local 348 hammer2_dev_t *hmp; in hammer2_ioctl_remote_rep() local 381 hammer2_dev_t *hmp; in hammer2_ioctl_socket_set() local 415 hammer2_dev_t *hmp; in hammer2_ioctl_pfs_get() local 534 hammer2_dev_t *hmp; in hammer2_ioctl_pfs_lookup() local 607 hammer2_dev_t *hmp; in hammer2_ioctl_pfs_create() local 702 hammer2_dev_t *hmp; in hammer2_ioctl_pfs_delete() local [all …]
|
H A D | hammer2_freemap.c | 185 hammer2_dev_t *hmp = chain->hmp; in hammer2_freemap_alloc() local 277 hammer2_dev_t *hmp = (*parentp)->hmp; in hammer2_freemap_try_alloc() local 545 hammer2_bmap_alloc(hammer2_dev_t *hmp, hammer2_bmap_data_t *bmap, in hammer2_bmap_alloc() 805 hammer2_freemap_init(hammer2_dev_t *hmp, hammer2_key_t key, in hammer2_freemap_init() 891 hammer2_dev_t *hmp = (*parentp)->hmp; in hammer2_freemap_iterate() local 921 hammer2_freemap_adjust(hammer2_dev_t *hmp, hammer2_blockref_t *bref, in hammer2_freemap_adjust()
|
H A D | hammer2_vfsops.c | 733 hammer2_pfsfree_scan(hammer2_dev_t *hmp, int which) in hammer2_pfsfree_scan() 919 hammer2_dev_t *hmp, *hmp_tmp; in hammer2_vfs_mount() local 1526 hammer2_update_pmps(hammer2_dev_t *hmp) in hammer2_update_pmps() 1577 hammer2_remount(hammer2_dev_t *hmp, struct mount *mp, char *path __unused, in hammer2_remount() 1717 hammer2_unmount_helper(struct mount *mp, hammer2_pfs_t *pmp, hammer2_dev_t *hmp) in hammer2_unmount_helper() 2025 hammer2_dev_t *hmp; in hammer2_vfs_statfs() local 2080 hammer2_dev_t *hmp; in hammer2_vfs_statvfs() local 2160 hammer2_recovery(hammer2_dev_t *hmp) in hammer2_recovery() 2208 hammer2_recovery_scan(hammer2_dev_t *hmp, hammer2_chain_t *parent, in hammer2_recovery_scan() 2356 hammer2_fixup_pfses(hammer2_dev_t *hmp) in hammer2_fixup_pfses() [all …]
|
/dflybsd-src/usr.sbin/makefs/hammer2/ |
H A D | hammer2_io.c | 63 hammer2_io_hash_init(hammer2_dev_t *hmp) in hammer2_io_hash_init() 103 hammer2_io_alloc(hammer2_dev_t *hmp, hammer2_off_t data_off, uint8_t btype, in hammer2_io_alloc() 180 _hammer2_io_getblk(hammer2_dev_t *hmp, int btype, off_t lbase, in _hammer2_io_getblk() 401 hammer2_dev_t *hmp; in _hammer2_io_putblk() local 587 hammer2_io_new(hammer2_dev_t *hmp, int btype, off_t lbase, int lsize, in hammer2_io_new() 595 hammer2_io_newnz(hammer2_dev_t *hmp, int btype, off_t lbase, int lsize, in hammer2_io_newnz() 603 _hammer2_io_bread(hammer2_dev_t *hmp, int btype, off_t lbase, int lsize, in _hammer2_io_bread() 624 _hammer2_io_getquick(hammer2_dev_t *hmp, off_t lbase, in _hammer2_io_getquick() 704 hammer2_io_dedup_set(hammer2_dev_t *hmp, hammer2_blockref_t *bref) in hammer2_io_dedup_set() 729 hammer2_io_dedup_delete(hammer2_dev_t *hmp, uint8_t btype, in hammer2_io_dedup_delete() [all …]
|
H A D | hammer2_ioctl.c | 189 hammer2_dev_t *hmp; in hammer2_ioctl_version_get() local 423 hammer2_dev_t *hmp; in hammer2_ioctl_pfs_get() local 542 hammer2_dev_t *hmp; in hammer2_ioctl_pfs_lookup() local 615 hammer2_dev_t *hmp; in hammer2_ioctl_pfs_create() local 710 hammer2_dev_t *hmp; in hammer2_ioctl_pfs_delete() local 806 hammer2_dev_t *hmp; in hammer2_ioctl_pfs_snapshot() local 1050 hammer2_dev_t *hmp; in hammer2_ioctl_emerg_mode() local 1085 hammer2_dev_t *hmp; in hammer2_ioctl_bulkfree_scan() local 1263 hammer2_dev_t *hmp; in hammer2_ioctl_growfs() local
|
H A D | hammer2_vfsops.c | 786 hammer2_pfsfree_scan(hammer2_dev_t *hmp, int which) in hammer2_pfsfree_scan() 977 hammer2_dev_t *hmp, *hmp_tmp; in hammer2_vfs_mount() local 1492 hammer2_update_pmps(hammer2_dev_t *hmp) in hammer2_update_pmps() 1684 hammer2_unmount_helper(struct mount *mp, hammer2_pfs_t *pmp, hammer2_dev_t *hmp) in hammer2_unmount_helper() 1991 hammer2_dev_t *hmp; in hammer2_vfs_statfs() local 2046 hammer2_dev_t *hmp; in hammer2_vfs_statvfs() local 2126 hammer2_recovery(hammer2_dev_t *hmp) in hammer2_recovery() 2174 hammer2_recovery_scan(hammer2_dev_t *hmp, hammer2_chain_t *parent, in hammer2_recovery_scan() 2322 hammer2_fixup_pfses(hammer2_dev_t *hmp) in hammer2_fixup_pfses() 3003 hammer2_voldata_lock(hammer2_dev_t *hmp) in hammer2_voldata_lock() [all …]
|
H A D | hammer2_freemap.c | 189 hammer2_dev_t *hmp = chain->hmp; in hammer2_freemap_alloc() local 281 hammer2_dev_t *hmp = (*parentp)->hmp; in hammer2_freemap_try_alloc() local 549 hammer2_bmap_alloc(hammer2_dev_t *hmp, hammer2_bmap_data_t *bmap, in hammer2_bmap_alloc() 809 hammer2_freemap_init(hammer2_dev_t *hmp, hammer2_key_t key, in hammer2_freemap_init() 895 hammer2_dev_t *hmp = (*parentp)->hmp; in hammer2_freemap_iterate() local 925 hammer2_freemap_adjust(hammer2_dev_t *hmp, hammer2_blockref_t *bref, in hammer2_freemap_adjust()
|