/dports/sysutils/burp-devel/burp-2.5.4/src/server/ |
H A D | sdirs.h | 10 struct sdirs struct 14 char *base; 15 char *dedup; 18 char *champlog; 20 char *data; 21 char *clients; 22 char *client; 23 char *created; 24 char *command; 32 char *dindex; [all …]
|
H A D | sdirs.c | 18 static int do_lock_dirs(struct sdirs *sdirs, in do_lock_dirs() 52 int sdirs_get_real_manifest(struct sdirs *sdirs, enum protocol protocol) in sdirs_get_real_manifest() 58 int sdirs_get_real_working_from_symlink(struct sdirs *sdirs) in sdirs_get_real_working_from_symlink() 76 struct sdirs *sdirs, in sdirs_create_real_working() 151 static int do_protocol1_dirs(struct sdirs *sdirs, const char *cname, in do_protocol1_dirs() 170 static int do_protocol2_dirs(struct sdirs *sdirs, in do_protocol2_dirs() 200 struct sdirs *sdirs, in sdirs_init_from_confs_plus_cname() 216 struct sdirs *sdirs, in sdirs_init_from_confs() 226 int sdirs_init(struct sdirs *sdirs, enum protocol protocol, in sdirs_init() 259 void sdirs_free_content(struct sdirs *sdirs) in sdirs_free_content() [all …]
|
H A D | rubble.c | 98 struct sdirs *sdirs, in working_delete() 130 static int working_resume(struct async *as, struct sdirs *sdirs, in working_resume() 162 static int get_fullrealwork(struct sdirs *sdirs) in get_fullrealwork() 189 static int fix_log_finishing(struct sdirs *sdirs, struct conf **cconfs) in fix_log_finishing() 253 struct sdirs *sdirs, struct conf **cconfs) in recover_finishing() 313 static void log_recovery_method(struct sdirs *sdirs, in log_recovery_method() 322 struct sdirs *sdirs, const char *incexc, in recover_working() 416 static int recover_currenttmp(struct sdirs *sdirs) in recover_currenttmp() 464 int check_for_rubble(struct sdirs *sdirs) in check_for_rubble() 473 struct sdirs *sdirs, const char *incexc, in check_for_rubble_and_clean()
|
H A D | backup.c | 37 struct sdirs *sdirs, struct conf **cconfs, int resume) in open_log() 102 struct sdirs *sdirs, struct conf **cconfs) in backup_phase1_server() 110 static int backup_phase2_server(struct async *as, struct sdirs *sdirs, in backup_phase2_server() 128 static int backup_phase3_server(struct sdirs *sdirs, struct conf **cconfs) in backup_phase3_server() 137 static int backup_phase4_server(struct sdirs *sdirs, struct conf **cconfs) in backup_phase4_server() 154 static int get_bno_from_sdirs(struct sdirs *sdirs) in get_bno_from_sdirs() 163 static uint64_t get_new_bno(struct sdirs *sdirs) in get_new_bno() 184 static int do_backup_server(struct async *as, struct sdirs *sdirs, in do_backup_server() 327 int run_backup(struct async *as, struct sdirs *sdirs, struct conf **cconfs, in run_backup()
|
H A D | delete.c | 39 static int recursive_delete_w(struct sdirs *sdirs, struct bu *bu, in recursive_delete_w() 52 static int delete_backup(struct sdirs *sdirs, const char *cname, struct bu *bu, in delete_backup() 112 static int range_loop(struct sdirs *sdirs, const char *cname, in range_loop() 157 static int do_delete_backups(struct sdirs *sdirs, const char *cname, in do_delete_backups() 198 int delete_backups(struct sdirs *sdirs, in delete_backups() 223 struct sdirs *sdirs, struct conf **confs, in do_delete_server()
|
H A D | run_action.c | 29 static int get_lock_sdirs_for_write(struct asfd *asfd, struct sdirs *sdirs) in get_lock_sdirs_for_write() 229 struct sdirs *sdirs, struct conf **cconfs, int srestore) in run_restore() 294 struct sdirs *sdirs, struct conf **cconfs) in run_delete() 312 struct sdirs *sdirs, struct conf **cconfs) in run_list() 370 struct sdirs *sdirs, struct conf **cconfs) in run_diff() 428 static int maybe_write_first_created_file(struct sdirs *sdirs, in maybe_write_first_created_file() 442 struct sdirs *sdirs, struct conf **cconfs, const char *tstmp) in log_command() 462 static int run_action_server_do(struct async *as, struct sdirs *sdirs, in run_action_server_do() 598 struct sdirs *sdirs=NULL; in run_action_server() local
|
/dports/sysutils/burp/burp-2.4.0/src/server/ |
H A D | sdirs.h | 10 struct sdirs struct 14 char *base; 15 char *dedup; 18 char *champlog; 20 char *data; 21 char *clients; 22 char *client; 23 char *created; 24 char *command; 32 char *dindex; [all …]
|
H A D | sdirs.c | 18 static int do_lock_dirs(struct sdirs *sdirs, in do_lock_dirs() 52 int sdirs_get_real_manifest(struct sdirs *sdirs, enum protocol protocol) in sdirs_get_real_manifest() 58 int sdirs_get_real_working_from_symlink(struct sdirs *sdirs) in sdirs_get_real_working_from_symlink() 76 struct sdirs *sdirs, in sdirs_create_real_working() 151 static int do_protocol1_dirs(struct sdirs *sdirs, const char *cname, in do_protocol1_dirs() 170 static int do_protocol2_dirs(struct sdirs *sdirs, in do_protocol2_dirs() 200 struct sdirs *sdirs, in sdirs_init_from_confs_plus_cname() 216 struct sdirs *sdirs, in sdirs_init_from_confs() 226 int sdirs_init(struct sdirs *sdirs, enum protocol protocol, in sdirs_init() 259 void sdirs_free_content(struct sdirs *sdirs) in sdirs_free_content() [all …]
|
H A D | rubble.c | 98 struct sdirs *sdirs, in working_delete() 130 static int working_resume(struct async *as, struct sdirs *sdirs, in working_resume() 162 static int get_fullrealwork(struct sdirs *sdirs) in get_fullrealwork() 189 static int fix_log_finishing(struct sdirs *sdirs, struct conf **cconfs) in fix_log_finishing() 253 struct sdirs *sdirs, struct conf **cconfs) in recover_finishing() 313 static void log_recovery_method(struct sdirs *sdirs, in log_recovery_method() 322 struct sdirs *sdirs, const char *incexc, in recover_working() 416 static int recover_currenttmp(struct sdirs *sdirs) in recover_currenttmp() 464 int check_for_rubble(struct sdirs *sdirs) in check_for_rubble() 473 struct sdirs *sdirs, const char *incexc, in check_for_rubble_and_clean()
|
H A D | backup.c | 37 struct sdirs *sdirs, struct conf **cconfs, int resume) in open_log() 102 struct sdirs *sdirs, struct conf **cconfs) in backup_phase1_server() 110 static int backup_phase2_server(struct async *as, struct sdirs *sdirs, in backup_phase2_server() 128 static int backup_phase3_server(struct sdirs *sdirs, struct conf **cconfs) in backup_phase3_server() 137 static int backup_phase4_server(struct sdirs *sdirs, struct conf **cconfs) in backup_phase4_server() 154 static int get_bno_from_sdirs(struct sdirs *sdirs) in get_bno_from_sdirs() 163 static uint64_t get_new_bno(struct sdirs *sdirs) in get_new_bno() 184 static int do_backup_server(struct async *as, struct sdirs *sdirs, in do_backup_server() 327 int run_backup(struct async *as, struct sdirs *sdirs, struct conf **cconfs, in run_backup()
|
H A D | delete.c | 39 static int recursive_delete_w(struct sdirs *sdirs, struct bu *bu, in recursive_delete_w() 52 static int delete_backup(struct sdirs *sdirs, const char *cname, struct bu *bu, in delete_backup() 112 static int range_loop(struct sdirs *sdirs, const char *cname, in range_loop() 157 static int do_delete_backups(struct sdirs *sdirs, const char *cname, in do_delete_backups() 198 int delete_backups(struct sdirs *sdirs, in delete_backups() 223 struct sdirs *sdirs, struct conf **confs, in do_delete_server()
|
H A D | run_action.c | 29 static int get_lock_sdirs_for_write(struct asfd *asfd, struct sdirs *sdirs) in get_lock_sdirs_for_write() 229 struct sdirs *sdirs, struct conf **cconfs, int srestore) in run_restore() 294 struct sdirs *sdirs, struct conf **cconfs) in run_delete() 312 struct sdirs *sdirs, struct conf **cconfs) in run_list() 370 struct sdirs *sdirs, struct conf **cconfs) in run_diff() 428 static int maybe_write_first_created_file(struct sdirs *sdirs, in maybe_write_first_created_file() 442 struct sdirs *sdirs, struct conf **cconfs, const char *tstmp) in log_command() 462 static int run_action_server_do(struct async *as, struct sdirs *sdirs, in run_action_server_do() 598 struct sdirs *sdirs=NULL; in run_action_server() local
|
/dports/sysutils/burp-devel/burp-2.5.4/utest/server/ |
H A D | test_sdirs.c | 17 struct sdirs *sdirs; in setup() local 23 static void tear_down(struct sdirs **sdirs) in tear_down() 30 static void do_sdirs_init(struct sdirs *sdirs, enum protocol protocol, in do_sdirs_init() 42 static void check_dynamic_paths(struct sdirs *sdirs, enum protocol protocol, in check_dynamic_paths() 88 static void protocol1_tests(struct sdirs *sdirs) in protocol1_tests() 131 static void protocol2_tests(struct sdirs *sdirs) in protocol2_tests() 173 struct sdirs *sdirs; in START_TEST() local 186 struct sdirs *sdirs; in START_TEST() local
|
H A D | test_bu_get.c | 20 struct sdirs *sdirs; in setup() local 26 static void tear_down(struct sdirs **sdirs) in tear_down() 33 static void do_sdirs_init(struct sdirs *sdirs, enum protocol protocol) in do_sdirs_init() 84 void assert_bu_list(struct sdirs *sdirs, struct sd *s, unsigned int len) in assert_bu_list() 98 struct sdirs *sdirs=setup(); in build_and_check() local 239 static void assert_bu_list_with_working(struct sdirs *sdirs, in assert_bu_list_with_working() 259 struct sdirs *sdirs=setup(); in build_and_check_working() local 353 static void assert_bu_list_current(struct sdirs *sdirs, in assert_bu_list_current() 366 struct sdirs *sdirs=setup(); in build_and_check_current() local 403 struct sdirs *sdirs=setup(); in build_and_check_deleteme() local
|
/dports/sysutils/burp/burp-2.4.0/utest/server/ |
H A D | test_sdirs.c | 17 struct sdirs *sdirs; in setup() local 23 static void tear_down(struct sdirs **sdirs) in tear_down() 30 static void do_sdirs_init(struct sdirs *sdirs, enum protocol protocol, in do_sdirs_init() 42 static void check_dynamic_paths(struct sdirs *sdirs, enum protocol protocol, in check_dynamic_paths() 88 static void protocol1_tests(struct sdirs *sdirs) in protocol1_tests() 131 static void protocol2_tests(struct sdirs *sdirs) in protocol2_tests() 173 struct sdirs *sdirs; in START_TEST() local 186 struct sdirs *sdirs; in START_TEST() local
|
H A D | test_bu_get.c | 20 struct sdirs *sdirs; in setup() local 26 static void tear_down(struct sdirs **sdirs) in tear_down() 33 static void do_sdirs_init(struct sdirs *sdirs, enum protocol protocol) in do_sdirs_init() 84 void assert_bu_list(struct sdirs *sdirs, struct sd *s, unsigned int len) in assert_bu_list() 98 struct sdirs *sdirs=setup(); in build_and_check() local 239 static void assert_bu_list_with_working(struct sdirs *sdirs, in assert_bu_list_with_working() 259 struct sdirs *sdirs=setup(); in build_and_check_working() local 353 static void assert_bu_list_current(struct sdirs *sdirs, in assert_bu_list_current() 366 struct sdirs *sdirs=setup(); in build_and_check_current() local 403 struct sdirs *sdirs=setup(); in build_and_check_deleteme() local
|
/dports/sysutils/burp-devel/burp-2.5.4/utest/server/monitor/ |
H A D | test_cache.c | 16 static void do_sdirs_init(struct sdirs *sdirs) in do_sdirs_init() 27 static void tear_down(struct sdirs **sdirs) in tear_down() 36 struct sdirs *sdirs; in setup() local 49 struct sdirs *sdirs; in START_TEST() local
|
/dports/sysutils/burp/burp-2.4.0/utest/server/monitor/ |
H A D | test_cache.c | 16 static void do_sdirs_init(struct sdirs *sdirs) in do_sdirs_init() 27 static void tear_down(struct sdirs **sdirs) in tear_down() 36 struct sdirs *sdirs; in setup() local 49 struct sdirs *sdirs; in START_TEST() local
|
/dports/sysutils/burp-devel/burp-2.5.4/utest/server/protocol1/ |
H A D | test_fdirs.c | 28 struct sdirs *sdirs; in setup_sdirs() local 34 static struct fdirs *setup(struct sdirs *sdirs) in setup() 42 struct sdirs **sdirs, struct conf ***confs) in tear_down() 58 struct sdirs *sdirs; in START_TEST() local
|
H A D | test_backup_phase4.c | 22 struct sdirs **sdirs, struct fdirs **fdirs, struct conf ***confs) in tear_down() 31 static void do_sdirs_init(struct sdirs *sdirs) in do_sdirs_init() 44 struct sdirs *sdirs; in setup_sdirs() local 50 static struct fdirs *setup_fdirs(struct sdirs *sdirs) in setup_fdirs() 68 struct sdirs **sdirs, struct fdirs **fdirs, struct conf ***confs) in setup() 174 struct sdirs *sdirs; in run_test() local
|
/dports/sysutils/burp/burp-2.4.0/utest/server/protocol1/ |
H A D | test_fdirs.c | 28 struct sdirs *sdirs; in setup_sdirs() local 34 static struct fdirs *setup(struct sdirs *sdirs) in setup() 42 struct sdirs **sdirs, struct conf ***confs) in tear_down() 58 struct sdirs *sdirs; in START_TEST() local
|
/dports/sysutils/burp/burp-2.4.0/src/server/protocol1/ |
H A D | backup_phase2.c | 82 static char *set_new_datapth(struct sdirs *sdirs, struct conf **cconfs, in set_new_datapth() 116 struct sdirs *sdirs, struct conf **cconfs, in start_to_receive_new_file() 311 struct sdirs *sdirs, in get_hardlink_master_from_hmanio() 352 struct sdirs *sdirs, in relink_deleted_hardlink_master() 451 struct sdirs *sdirs, struct sbuf *cb, struct sbuf *p1b, in maybe_do_delta_stuff() 580 struct sdirs *sdirs, struct sbuf *cb, struct sbuf *p1b, in maybe_process_file() 706 static int finish_delta(struct sdirs *sdirs, struct sbuf *rb) in finish_delta() 799 struct sdirs *sdirs, struct sbuf *rb, in deal_with_filedata() 833 struct sdirs *sdirs, struct conf **cconfs, in do_stuff_to_receive() 919 static int vss_opts_changed(struct sdirs *sdirs, struct conf **cconfs, in vss_opts_changed() [all …]
|
/dports/sysutils/burp-devel/burp-2.5.4/src/server/protocol1/ |
H A D | backup_phase2.c | 82 static char *set_new_datapth(struct sdirs *sdirs, struct conf **cconfs, in set_new_datapth() 116 struct sdirs *sdirs, struct conf **cconfs, in start_to_receive_new_file() 311 struct sdirs *sdirs, in get_hardlink_master_from_hmanio() 352 struct sdirs *sdirs, in relink_deleted_hardlink_master() 451 struct sdirs *sdirs, struct sbuf *cb, struct sbuf *p1b, in maybe_do_delta_stuff() 580 struct sdirs *sdirs, struct sbuf *cb, struct sbuf *p1b, in maybe_process_file() 706 static int finish_delta(struct sdirs *sdirs, struct sbuf *rb) in finish_delta() 799 struct sdirs *sdirs, struct sbuf *rb, in deal_with_filedata() 833 struct sdirs *sdirs, struct conf **cconfs, in do_stuff_to_receive() 919 static int vss_opts_changed(struct sdirs *sdirs, struct conf **cconfs, in vss_opts_changed() [all …]
|
/dports/sysutils/burp/burp-2.4.0/utest/builders/server/ |
H A D | build_storage_dirs.c | 20 static void do_build_storage_dirs(struct sdirs *sdirs, struct sd *s, int len, in do_build_storage_dirs() 65 void build_storage_dirs(struct sdirs *sdirs, struct sd *s, int len) in build_storage_dirs() 70 void build_storage_dirs_compressed_logs(struct sdirs *sdirs, in build_storage_dirs_compressed_logs()
|
/dports/sysutils/burp-devel/burp-2.5.4/utest/builders/server/ |
H A D | build_storage_dirs.c | 20 static void do_build_storage_dirs(struct sdirs *sdirs, struct sd *s, int len, in do_build_storage_dirs() 65 void build_storage_dirs(struct sdirs *sdirs, struct sd *s, int len) in build_storage_dirs() 70 void build_storage_dirs_compressed_logs(struct sdirs *sdirs, in build_storage_dirs_compressed_logs()
|