/dragonfly/bin/cpdup/ |
H A D | hcproto.c | 140 hctransaction_t trans; in hc_hello() local 223 hctransaction_t trans; in hc_stat() local 241 hctransaction_t trans; in hc_lstat() local 405 hctransaction_t trans; in hc_opendir() local 489 hctransaction_t trans; in hc_readdir() local 564 hctransaction_t trans; in hc_closedir() local 667 hctransaction_t trans; in hc_open() local 787 hctransaction_t trans; in hc_close() local 857 hctransaction_t trans; in hc_read() local 1003 hctransaction_t trans; in hc_write() local [all …]
|
H A D | hclink.c | 93 bzero(&trans, sizeof(trans)); in hcc_slave() 115 head = hcc_read_command(trans.hc, &trans); in hcc_slave() 215 trans = &hc->trans; in hcc_start_command() 328 item = (void *)(trans->wbuf + trans->windex); in hcc_leaf_string() 334 trans->windex = HCC_ALIGN(trans->windex + item->bytes); in hcc_leaf_string() 342 item = (void *)(trans->wbuf + trans->windex); in hcc_leaf_data() 348 trans->windex = HCC_ALIGN(trans->windex + item->bytes); in hcc_leaf_data() 356 item = (void *)(trans->wbuf + trans->windex); in hcc_leaf_int32() 370 item = (void *)(trans->wbuf + trans->windex); in hcc_leaf_int64() 501 hctransaction_t trans = &hc->trans; in hcc_nextchaineditem() local [all …]
|
H A D | hclink.h | 40 struct HCTransaction trans; member 82 #define FOR_EACH_ITEM(item, trans, head) \ argument 83 for (item = hcc_firstitem(trans, head); item; \ 84 item = hcc_nextitem(trans, head, item)) 92 struct HCHead *hcc_read_command(struct HostConf *hc, hctransaction_t trans); 94 struct HCHead *hcc_finish_command(hctransaction_t trans); 95 void hcc_leaf_string(hctransaction_t trans, int16_t leafid, const char *str); 97 void hcc_leaf_int32(hctransaction_t trans, int16_t leafid, int32_t value); 98 void hcc_leaf_int64(hctransaction_t trans, int16_t leafid, int64_t value); 99 int hcc_check_space(hctransaction_t trans, struct HCHead *head, int n, int size); [all …]
|
/dragonfly/sys/vfs/hammer/ |
H A D | hammer_transaction.c | 52 trans->hmp = hmp; in hammer_start_transaction() 55 trans->tid = 0; in hammer_start_transaction() 56 trans->sync_lock_refs = 0; in hammer_start_transaction() 57 trans->flags = 0; in hammer_start_transaction() 77 trans->hmp = hmp; in hammer_simple_transaction() 80 trans->tid = 0; in hammer_simple_transaction() 82 trans->flags = 0; in hammer_simple_transaction() 104 bzero(trans, sizeof(*trans)); in hammer_start_transaction_fls() 107 trans->hmp = hmp; in hammer_start_transaction_fls() 112 trans->flags = 0; in hammer_start_transaction_fls() [all …]
|
H A D | hammer_pfs.c | 70 hammer_rel_pseudofs(trans->hmp, pfsm); in hammer_ioc_get_pseudofs() 91 hammer_rel_pseudofs(trans->hmp, pfsm); in hammer_ioc_get_pseudofs() 137 hammer_rel_pseudofs(trans->hmp, pfsm); in hammer_ioc_set_pseudofs() 180 hammer_rel_pseudofs(trans->hmp, pfsm); in hammer_ioc_upgrade_pseudofs() 205 hammer_mount_t hmp = trans->hmp; in hammer_ioc_downgrade_pseudofs() 225 hammer_rel_pseudofs(trans->hmp, pfsm); in hammer_ioc_downgrade_pseudofs() 262 hammer_rel_pseudofs(trans->hmp, pfsm); in hammer_ioc_destroy_pseudofs() 297 tid = trans->hmp->flush_tid1; in hammer_ioc_wait_pseudofs() 298 waitp = &trans->hmp->flush_tid1; in hammer_ioc_wait_pseudofs() 427 seq = trans->hmp->flusher.done; in hammer_pfs_rollback() [all …]
|
H A D | hammer_ioctl.c | 68 struct hammer_transaction trans; in hammer_ioctl() local 75 hammer_start_transaction(&trans, hmp); in hammer_ioctl() 82 error = hammer_ioc_prune(&trans, ip, in hammer_ioctl() 94 error = hammer_ioc_reblock(&trans, ip, in hammer_ioctl() 118 error = hammer_ioc_synctid(&trans, ip, in hammer_ioctl() 182 error = hammer_ioc_get_info(&trans, in hammer_ioctl() 271 hammer_done_transaction(&trans); in hammer_ioctl() 610 hammer_mount_t hmp = trans->hmp; in hammer_ioc_set_version() 639 hammer_sync_lock_ex(trans); in hammer_ioc_set_version() 664 hammer_sync_unlock(trans); in hammer_ioc_set_version() [all …]
|
H A D | hammer_volume.c | 66 hammer_mount_t hmp = trans->hmp; in hammer_ioc_volume_add() 111 hammer_sync_lock_sh(trans); in hammer_ioc_volume_add() 133 hammer_sync_unlock(trans); in hammer_ioc_volume_add() 151 hammer_mount_t hmp = trans->hmp; in hammer_ioc_volume_del() 195 if (volume == trans->rootvol) { in hammer_ioc_volume_del() 227 hammer_sync_lock_sh(trans); in hammer_ioc_volume_del() 252 hammer_sync_unlock(trans); in hammer_ioc_volume_del() 256 hammer_sync_lock_sh(trans); in hammer_ioc_volume_del() 280 hammer_sync_unlock(trans); in hammer_ioc_volume_del() 712 hammer_modify_volume_field(trans, trans->rootvol, vol0_stat_bigblocks); in hammer_update_volumes_header() [all …]
|
H A D | hammer_dedup.c | 48 if (trans->hmp->version < HAMMER_VOL_VERSION_FIVE) { in hammer_ioc_dedup() 127 hammer_sync_lock_sh(trans); in hammer_ioc_dedup() 130 hammer_sync_unlock(trans); in hammer_ioc_dedup() 134 error = hammer_blockmap_dedup(cursor1.trans, in hammer_ioc_dedup() 153 hammer_blockmap_free(cursor2.trans, in hammer_ioc_dedup() 156 hammer_modify_node(cursor2.trans, cursor2.node, in hammer_ioc_dedup() 163 hammer_sync_unlock(trans); in hammer_ioc_dedup() 172 seq = trans->hmp->flusher.done; in hammer_ioc_dedup() 174 hammer_flusher_undo_exhausted(trans, 2)) { in hammer_ioc_dedup() 175 hammer_flusher_wait(trans->hmp, seq); in hammer_ioc_dedup() [all …]
|
H A D | hammer.h | 1057 void hammer_sync_lock_ex(hammer_transaction_t trans); 1058 void hammer_sync_lock_sh(hammer_transaction_t trans); 1060 void hammer_sync_unlock(hammer_transaction_t trans); 1185 void hammer_delete_node(hammer_transaction_t trans, 1199 int hammer_generate_undo(hammer_transaction_t trans, 1223 void hammer_blockmap_free(hammer_transaction_t trans, 1427 hammer_modify_volume(trans, volume, NULL, 0); in hammer_modify_volume_noundo() 1433 hammer_modify_buffer(trans, buffer, NULL, 0); in hammer_modify_buffer_noundo() 1443 hammer_modify_buffer(trans, node->buffer, NULL, 0); in hammer_modify_node_noundo() 1450 hammer_modify_buffer(trans, node->buffer, in hammer_modify_node_all() [all …]
|
H A D | hammer_reblock.c | 106 seq = trans->hmp->flusher.done; in hammer_ioc_reblock() 154 if (trans->hmp->ronly) { in hammer_ioc_reblock() 182 hammer_flusher_wait(trans->hmp, seq); in hammer_ioc_reblock() 196 hammer_sync_lock_sh(trans); in hammer_ioc_reblock() 198 hammer_sync_unlock(trans); in hammer_ioc_reblock() 203 hammer_flusher_wait(trans->hmp, seq); in hammer_ioc_reblock() 238 hammer_flusher_sync(trans->hmp); in hammer_ioc_reblock() 272 hmp = cursor->trans->hmp; in hammer_reblock_helper() 493 hammer_blockmap_free(cursor->trans, in hammer_reblock_data() 551 hammer_delete_node(cursor->trans, onode); in hammer_reblock_leaf_node() [all …]
|
H A D | hammer_object.c | 1122 hammer_transaction_t trans = cursor->trans; in hammer_ip_sync_record_cursor() local 1926 hammer_transaction_t trans = cursor->trans; in hammer_ip_delete_range() local 2084 hammer_transaction_t trans = cursor->trans; in hammer_delete_general() local 2119 hammer_transaction_t trans = cursor->trans; in hammer_ip_delete_clean() local 2286 trans = cursor->trans; in hammer_create_at_cursor() 2287 hmp = trans->hmp; in hammer_create_at_cursor() 2369 hammer_modify_volume_field(trans, trans->rootvol, in hammer_create_at_cursor() 2383 hammer_modify_volume_noundo(trans, trans->rootvol); in hammer_create_at_cursor() 2444 trans = cursor->trans; in hammer_delete_at_cursor() 2558 hammer_modify_volume_field(trans, trans->rootvol, in hammer_delete_at_cursor() [all …]
|
H A D | hammer_prune.c | 108 seq = trans->hmp->flusher.done; in hammer_ioc_prune() 145 hammer_sync_lock_sh(trans); in hammer_ioc_prune() 147 hammer_sync_unlock(trans); in hammer_ioc_prune() 159 if (trans->hmp->ronly) { in hammer_ioc_prune() 200 hammer_sync_lock_sh(trans); in hammer_ioc_prune() 203 cursor.trans->tid, in hammer_ioc_prune() 204 cursor.trans->time32, in hammer_ioc_prune() 206 hammer_sync_unlock(trans); in hammer_ioc_prune() 243 hammer_flusher_wait(trans->hmp, seq); in hammer_ioc_prune() 247 hammer_sync_lock_sh(trans); in hammer_ioc_prune() [all …]
|
H A D | hammer_flusher.c | 399 info->trans = hmp->flusher.trans; in hammer_flusher_flush() 533 hammer_transaction_t trans = &info->trans; in hammer_flusher_flush_inode() local 551 error = hammer_sync_inode(trans, ip); in hammer_flusher_flush_inode() 571 hammer_flusher_finalize(trans, 1); in hammer_flusher_flush_inode() 573 hammer_flusher_finalize(trans, 0); in hammer_flusher_flush_inode() 595 if (hammer_undo_space(trans) < in hammer_flusher_undo_exhausted() 627 hmp = trans->hmp; in hammer_flusher_finalize() 628 root_volume = trans->rootvol; in hammer_flusher_finalize() 674 hammer_sync_lock_ex(trans); in hammer_flusher_finalize() 855 hmp->flush_tid2 = trans->tid; in hammer_flusher_finalize() [all …]
|
H A D | hammer_vnops.c | 305 struct hammer_transaction trans; in hammer_vop_read() local 497 struct hammer_transaction trans; in hammer_vop_write() local 560 hammer_done_transaction(&trans); in hammer_vop_write() 565 hammer_done_transaction(&trans); in hammer_vop_write() 571 hammer_done_transaction(&trans); in hammer_vop_write() 846 hammer_done_transaction(&trans); in hammer_vop_write() 927 struct hammer_transaction trans; in hammer_vop_ncreate() local 1114 struct hammer_transaction trans; in hammer_vop_nresolve() local 1299 hammer_done_transaction(&trans); in hammer_vop_nresolve() 1322 struct hammer_transaction trans; in hammer_vop_nlookupdotdot() local [all …]
|
H A D | hammer_inode.c | 771 hmp = trans->hmp; in hammer_create_inode() 1142 hmkprintf(trans->hmp, in hammer_mkroot_pseudofs() 1235 hammer_transaction_t trans = cursor->trans; in hammer_update_inode() local 1375 trans->rootvol, in hammer_update_inode() 1383 hammer_sync_unlock(trans); in hammer_update_inode() 1413 hammer_transaction_t trans = cursor->trans; in hammer_update_itimes() local 1453 hammer_sync_unlock(trans); in hammer_update_itimes() 1463 hammer_sync_unlock(trans); in hammer_update_itimes() 1678 if (trans && in hammer_modify_inode() 2711 hammer_transaction_t trans = cursor->trans; in hammer_sync_record_callback() local [all …]
|
H A D | hammer_undo.c | 94 hammer_generate_undo(hammer_transaction_t trans, in hammer_generate_undo() argument 108 hmp = trans->hmp; in hammer_generate_undo() 118 hammer_generate_redo_sync(trans); in hammer_generate_undo() 128 root_volume = trans->rootvol; in hammer_generate_undo() 341 hammer_upgrade_undo_4(hammer_transaction_t trans) in hammer_upgrade_undo_4() argument 354 hmp = trans->hmp; in hammer_upgrade_undo_4() 356 root_volume = trans->rootvol; in hammer_upgrade_undo_4() 478 hammer_undo_used(hammer_transaction_t trans) in hammer_undo_used() argument 486 dundomap = &trans->rootvol->ondisk-> in hammer_undo_used() 504 hammer_undo_space(hammer_transaction_t trans) in hammer_undo_space() argument [all …]
|
H A D | hammer_rebalance.c | 96 hammer_btree_lcache_init(trans->hmp, &lcache, 2); in hammer_ioc_rebalance() 98 seq = trans->hmp->flusher.done; in hammer_ioc_rebalance() 143 if (trans->hmp->ronly) { in hammer_ioc_rebalance() 164 hammer_sync_lock_sh(trans); in hammer_ioc_rebalance() 166 hammer_sync_unlock(trans); in hammer_ioc_rebalance() 198 while (hammer_flusher_meta_halflimit(trans->hmp) || in hammer_ioc_rebalance() 199 hammer_flusher_undo_exhausted(trans, 2)) { in hammer_ioc_rebalance() 201 hammer_flusher_wait(trans->hmp, seq); in hammer_ioc_rebalance() 203 seq = hammer_flusher_async_one(trans->hmp); in hammer_ioc_rebalance() 221 if ((error = hammer_signal_check(trans->hmp)) != 0) in hammer_ioc_rebalance() [all …]
|
H A D | hammer_blockmap.c | 93 hmp = trans->hmp; in hammer_blockmap_alloc() 108 root_volume = trans->rootvol; in hammer_blockmap_alloc() 323 hammer_modify_volume_field(trans, trans->rootvol, in hammer_blockmap_alloc() 785 hmp = trans->hmp; in hammer_blockmap_free() 800 root_volume = trans->rootvol; in hammer_blockmap_free() 882 trans->rootvol, in hammer_blockmap_free() 919 hmp = trans->hmp; in hammer_blockmap_dedup() 1029 hmp = trans->hmp; in hammer_blockmap_finalize() 1042 root_volume = trans->rootvol; in hammer_blockmap_finalize() 1096 hammer_modify_volume_field(trans, in hammer_blockmap_finalize() [all …]
|
H A D | hammer_cursor.c | 58 cursor->trans = trans; in hammer_init_cursor() 59 hmp = trans->hmp; in hammer_init_cursor() 119 if (trans->type == HAMMER_TRANS_FLS) { in hammer_init_cursor() 294 cursor->trans = NULL; in hammer_done_cursor() 499 hmp = cursor->trans->hmp; in hammer_load_cursor_parent() 648 node = hammer_get_node(cursor->trans, in hammer_cursor_down() 795 hammer_transaction_t trans __debugvar; in hammer_recover_cursor() 806 trans = cursor->trans; in hammer_recover_cursor() 807 KKASSERT(trans->sync_lock_refs > 0); in hammer_recover_cursor() 861 hmp = ocursor->trans->hmp; in hammer_push_cursor() [all …]
|
H A D | hammer_redo.c | 60 hammer_generate_redo(hammer_transaction_t trans, hammer_inode_t ip, in hammer_generate_redo() argument 78 hmp = trans->hmp; in hammer_generate_redo() 80 root_volume = trans->rootvol; in hammer_generate_redo() 90 if (hammer_undo_space(trans) < len + HAMMER_BUFSIZE*3) in hammer_generate_redo() 290 hammer_generate_redo_sync(trans); in hammer_generate_redo() 310 hammer_generate_redo_sync(hammer_transaction_t trans) in hammer_generate_redo_sync() argument 312 hammer_mount_t hmp = trans->hmp; in hammer_generate_redo_sync() 331 hammer_generate_redo(trans, NULL, redo_fifo_start, in hammer_generate_redo_sync() 333 trans->hmp->flags |= HAMMER_MOUNT_REDO_SYNC; in hammer_generate_redo_sync()
|
H A D | hammer_mirror.c | 108 trans->flags |= HAMMER_TRANSF_CRCDOM; in hammer_ioc_mirror_read() 139 error = hammer_signal_check(trans->hmp); in hammer_ioc_mirror_read() 343 seq = trans->hmp->flusher.done; in hammer_ioc_mirror_write() 385 while (hammer_flusher_meta_halflimit(trans->hmp) || in hammer_ioc_mirror_write() 386 hammer_flusher_undo_exhausted(trans, 2)) { in hammer_ioc_mirror_write() 388 hammer_flusher_wait(trans->hmp, seq); in hammer_ioc_mirror_write() 390 seq = hammer_flusher_async_one(trans->hmp); in hammer_ioc_mirror_write() 403 hammer_flusher_wait(trans->hmp, seq); in hammer_ioc_mirror_write() 405 seq = hammer_flusher_async(trans->hmp, NULL); in hammer_ioc_mirror_write() 470 hammer_sync_lock_sh(trans); in hammer_ioc_mirror_write() [all …]
|
H A D | hammer_btree.c | 136 hmp = cursor->trans->hmp; in hammer_btree_iterate() 426 hmp = cursor->trans->hmp; in hammer_btree_iterate_reverse() 590 cursor->trans->sync_lock_refs > 0); in hammer_btree_lookup() 1446 hammer_mount_t hmp = cursor->trans->hmp; in btree_split_internal() 1954 hmp = cursor->trans->hmp; 2063 hmp = cursor->trans->hmp; 2354 if (cursor->trans->hmp->master_id < 0) in hammer_btree_do_propagation() 2644 hmp = cursor->trans->hmp; in hammer_btree_lock_children() 2657 child = hammer_get_node(cursor->trans, in hammer_btree_lock_children() 2672 child = hammer_get_node(cursor->trans, in hammer_btree_lock_children() [all …]
|
/dragonfly/contrib/grep/src/ |
H A D | kwset.c | 132 return trans ? trans[U(c)] : c; in tr() 161 kwset->trans = trans; in kwsalloc() 177 char const *trans = kwset->trans; in kwsincr() local 188 unsigned char label = trans ? trans[uc] : uc; in kwsincr() 425 char const *trans = kwset->trans; in kwsprep() local 526 if (trans) in kwsprep() 578 if (trans) in kwsprep() 606 if (tr (trans, tp[-i]) != tr (trans, sp[-i])) in bm_delta2_search() 611 if (tr (trans, tp[-i]) != tr (trans, sp[-i])) in bm_delta2_search() 675 char const *trans = kwset->trans; in bmexec_trans() local [all …]
|
H A D | searchutils.c | 46 char *trans = NULL; in kwsinit() local 50 trans = xmalloc (NCHAR); in kwsinit() 53 trans[i] = toupper (i); in kwsinit() 62 size_t len = wcrtomb (&trans[i], uwc, &mbs); in kwsinit() 67 trans[i] = i; in kwsinit() 71 return kwsalloc (trans); in kwsinit()
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | genrecog.c | 1650 for (transition *trans = d->first; trans; trans = trans->next) in collapse_optional_decisions() local 1728 for (transition *trans = d->first; trans; trans = trans->next) in simplify_tests() local 1755 for (transition *trans = d->first; trans; trans = trans->next) in common_test_p() local 2011 for (transition *trans = d->first; trans; trans = trans->next) in cse_tests() local 2089 for (transition *trans = d->first; trans; trans = trans->next) in find_operand_positions() local 2134 for (transition *trans = d->first; trans; trans = trans->next) in get_stats() local 2975 for (transition *trans = d->first; trans; trans = trans->next) in populate_pattern_routine() local 3055 for (transition *trans = d->first; trans; trans = trans->next) in populate_pattern_use() local 3107 for (transition *trans = d->first; trans; trans = trans->next) in split_out_patterns() local 3401 for (transition *trans = d->first; trans; trans = trans->next) in find_subroutines() local [all …]
|