SYMBOL INDEX (280 symbols across 23 files) FILE: include/mscp.h type mscp_opts (line 40) | struct mscp_opts { type mscp_ssh_opts (line 59) | struct mscp_ssh_opts { type mscp_stats (line 95) | struct mscp_stats { type mscp (line 102) | struct mscp type mscp (line 112) | struct mscp type mscp_opts (line 112) | struct mscp_opts type mscp_ssh_opts (line 112) | struct mscp_ssh_opts type mscp (line 122) | struct mscp type mscp (line 134) | struct mscp type mscp (line 147) | struct mscp type mscp (line 158) | struct mscp type mscp (line 172) | struct mscp type mscp (line 182) | struct mscp type mscp (line 207) | struct mscp type mscp (line 217) | struct mscp type mscp (line 231) | struct mscp type mscp (line 239) | struct mscp type mscp (line 250) | struct mscp type mscp (line 258) | struct mscp type mscp_stats (line 258) | struct mscp_stats type mscp (line 270) | struct mscp type mscp (line 279) | struct mscp FILE: src/atomic.h type refcnt (line 9) | typedef int refcnt; function refcnt_inc (line 11) | static inline void refcnt_inc(refcnt *cnt) function refcnt (line 16) | static inline refcnt refcnt_dec(refcnt *cnt) type pthread_mutex_t (line 23) | typedef pthread_mutex_t lock; function lock_init (line 25) | static inline void lock_init(lock *l) function lock_acquire (line 30) | static inline void lock_acquire(lock *l) function lock_release (line 36) | static inline void lock_release(lock *l) function lock_release_via_cleanup (line 42) | static inline void lock_release_via_cleanup(void *l) type pthread_rwlock_t (line 54) | typedef pthread_rwlock_t rwlock; function rwlock_init (line 56) | static inline void rwlock_init(rwlock *rw) function rwlock_read_acquire (line 61) | static inline void rwlock_read_acquire(rwlock *rw) function rwlock_write_acquire (line 67) | static inline void rwlock_write_acquire(rwlock *rw) function rwlock_release (line 73) | static inline void rwlock_release(rwlock *rw) function rwlock_release_via_cleanup (line 79) | static inline void rwlock_release_via_cleanup(void *rw) FILE: src/bwlimit.c function bwlimit_init (line 13) | int bwlimit_init(struct bwlimit *bw, uint64_t bps, uint64_t win) function bwlimit_wait (line 53) | int bwlimit_wait(struct bwlimit *bw, size_t nr_bytes) FILE: src/bwlimit.h type bwlimit (line 11) | struct bwlimit { type bwlimit (line 21) | struct bwlimit type bwlimit (line 25) | struct bwlimit FILE: src/checkpoint.c type checkpoint_file_hdr (line 121) | struct checkpoint_file_hdr { type checkpoint_obj_hdr (line 126) | struct checkpoint_obj_hdr { type checkpoint_obj_meta (line 132) | struct checkpoint_obj_meta { type checkpoint_obj_path (line 139) | struct checkpoint_obj_path { type checkpoint_obj_chunk (line 161) | struct checkpoint_obj_chunk { function checkpoint_write_path (line 171) | static int checkpoint_write_path(int fd, struct path *p, unsigned int idx) function checkpoint_write_chunk (line 205) | static int checkpoint_write_chunk(int fd, struct chunk *c) function checkpoint_save (line 224) | int checkpoint_save(const char *pathname, int dir, const char *user, con... function checkpoint_load_meta (line 299) | static int checkpoint_load_meta(struct checkpoint_obj_hdr *hdr, char *re... function checkpoint_load_path (line 319) | static int checkpoint_load_path(struct checkpoint_obj_hdr *hdr, pool *pa... function checkpoint_load_chunk (line 358) | static int checkpoint_load_chunk(struct checkpoint_obj_hdr *hdr, pool *p... function checkpoint_read_obj (line 385) | static int checkpoint_read_obj(int fd, void *buf, size_t count) function checkpoint_read_file_hdr (line 419) | static int checkpoint_read_file_hdr(int fd) function checkpoint_load (line 447) | static int checkpoint_load(const char *pathname, char *remote, size_t le... function checkpoint_load_remote (line 497) | int checkpoint_load_remote(const char *pathname, char *remote, size_t le... function checkpoint_load_paths (line 502) | int checkpoint_load_paths(const char *pathname, pool *path_pool, pool *c... FILE: src/fileops.c function set_tls_sftp_session (line 18) | void set_tls_sftp_session(sftp_session sftp) function sftp_err_to_errno (line 23) | static void sftp_err_to_errno(sftp_session sftp) function MDIR (line 69) | MDIR *mscp_opendir(const char *path, sftp_session sftp) function MDIR (line 97) | MDIR *mscp_opendir_wrapped(const char *path) function mscp_closedir (line 102) | void mscp_closedir(MDIR *md) type dirent (line 112) | struct dirent type dirent (line 117) | struct dirent type dirent (line 120) | struct dirent function mscp_mkdir (line 143) | int mscp_mkdir(const char *path, mode_t mode, sftp_session sftp) function sftp_attr_to_stat (line 160) | static void sftp_attr_to_stat(sftp_attributes attr, struct stat *st) function mscp_stat (line 201) | int mscp_stat(const char *path, struct stat *st, sftp_session sftp) function mscp_stat_wrapped (line 223) | int mscp_stat_wrapped(const char *path, struct stat *st) function mscp_lstat (line 228) | int mscp_lstat(const char *path, struct stat *st, sftp_session sftp) function mscp_lstat_wrapped (line 248) | int mscp_lstat_wrapped(const char *path, struct stat *st) function mf (line 253) | mf *mscp_open(const char *path, int flags, mode_t mode, sftp_session sftp) function mscp_close (line 281) | void mscp_close(mf *f) function off_t (line 290) | off_t mscp_lseek(mf *f, off_t off) function mscp_setstat (line 303) | int mscp_setstat(const char *path, struct stat *st, bool preserve_ts, sf... function mscp_glob (line 338) | int mscp_glob(const char *pattern, int flags, glob_t *pglob, sftp_sessio... function mscp_globfree (line 378) | void mscp_globfree(glob_t *pglob) FILE: src/fileops.h type mdir_struct (line 16) | struct mdir_struct { type MDIR (line 20) | typedef struct mdir_struct MDIR; type dirent (line 25) | struct dirent type stat (line 30) | struct stat type stat (line 31) | struct stat type stat (line 33) | struct stat type stat (line 34) | struct stat type mf_struct (line 38) | struct mf_struct { type mf (line 42) | typedef struct mf_struct mf; type stat (line 51) | struct stat FILE: src/main.c function usage (line 24) | void usage(bool print_help) type target (line 153) | struct target { function compare_remote (line 160) | int compare_remote(struct target *a, struct target *b) type target (line 192) | struct target type target (line 205) | struct target type target (line 208) | struct target type mscp (line 282) | struct mscp function sigint_handler (line 286) | void sigint_handler(int sig) function print_cli (line 294) | void print_cli(const char *fmt, ...) function atol_with_unit (line 305) | long atol_with_unit(char *value, bool i) function to_dev_null (line 336) | int to_dev_null(int fd) function main (line 354) | int main(int argc, char **argv) function calculate_timedelta (line 624) | double calculate_timedelta(struct timeval *b, struct timeval *a) function calculate_bps (line 640) | double calculate_bps(size_t diff, struct timeval *b, struct timeval *a) type timeval (line 645) | struct timeval type timeval (line 645) | struct timeval function print_progress_bar (line 684) | void print_progress_bar(double percent, char *suffix) function print_progress (line 727) | void print_progress(struct timeval *b, struct timeval *a, size_t total, ... type xfer_stat (line 769) | struct xfer_stat { type xfer_stat (line 775) | struct xfer_stat function print_stat (line 777) | void print_stat(bool final) FILE: src/mscp.c type mscp_thread (line 24) | struct mscp_thread { type mscp (line 38) | struct mscp { function expand_coremask (line 79) | static int expand_coremask(const char *coremask, int **cores, int *nr_co... function default_nr_threads (line 140) | static int default_nr_threads() function validate_and_set_defaut_params (line 145) | static int validate_and_set_defaut_params(struct mscp_opts *o) function mscp_set_remote (line 193) | int mscp_set_remote(struct mscp *m, const char *remote_host, int direction) type mscp (line 214) | struct mscp type mscp_opts (line 214) | struct mscp_opts type mscp_ssh_opts (line 214) | struct mscp_ssh_opts type mscp (line 216) | struct mscp function mscp_connect (line 301) | int mscp_connect(struct mscp *m) function mscp_add_src_path (line 310) | int mscp_add_src_path(struct mscp *m, const char *src_path) function mscp_set_dst_path (line 324) | int mscp_set_dst_path(struct mscp *m, const char *dst_path) function get_page_mask (line 341) | static size_t get_page_mask(void) function mscp_stop_copy_thread (line 347) | static void mscp_stop_copy_thread(struct mscp *m) function mscp_stop_scan_thread (line 359) | static void mscp_stop_scan_thread(struct mscp *m) function mscp_stop (line 365) | void mscp_stop(struct mscp *m) type mscp_thread (line 373) | struct mscp_thread type mscp (line 374) | struct mscp type path_resolve_args (line 376) | struct path_resolve_args type path (line 377) | struct path type stat (line 378) | struct stat function mscp_scan (line 460) | int mscp_scan(struct mscp *m) function mscp_scan_join (line 485) | int mscp_scan_join(struct mscp *m) function mscp_checkpoint_get_remote (line 496) | int mscp_checkpoint_get_remote(const char *pathname, char *remote, size_... function mscp_checkpoint_load (line 501) | int mscp_checkpoint_load(struct mscp *m, const char *pathname) function mscp_checkpoint_save (line 520) | int mscp_checkpoint_save(struct mscp *m, const char *pathname) type mscp_thread (line 528) | struct mscp_thread type mscp (line 528) | struct mscp type mscp_thread (line 530) | struct mscp_thread function mscp_start (line 555) | int mscp_start(struct mscp *m) function mscp_join (line 581) | int mscp_join(struct mscp *m) function wait_for_interval (line 628) | static void wait_for_interval(int interval) type mscp_thread (line 646) | struct mscp_thread type mscp (line 647) | struct mscp type chunk (line 648) | struct chunk function mscp_cleanup (line 738) | void mscp_cleanup(struct mscp *m) function mscp_free (line 751) | void mscp_free(struct mscp *m) function mscp_get_stats (line 765) | void mscp_get_stats(struct mscp *m, struct mscp_stats *s) FILE: src/openbsd-compat/strlcat.c function strlcat (line 34) | size_t FILE: src/path.c type path_resolve_args (line 18) | struct path_resolve_args type chunk (line 81) | struct chunk type path (line 81) | struct path type chunk (line 83) | struct chunk function resolve_chunk (line 99) | static int resolve_chunk(struct path *p, size_t size, struct path_resolv... function free_path (line 135) | void free_path(struct path *p) type path (line 144) | struct path type path (line 146) | struct path function append_path (line 163) | static int append_path(sftp_session sftp, const char *path, struct stat st, function check_path_should_skip (line 200) | static bool check_path_should_skip(const char *path) function walk_path_recursive (line 210) | static int walk_path_recursive(sftp_session sftp, const char *path, function walk_src_path (line 262) | int walk_src_path(sftp_session src_sftp, const char *src_path, function touch_dst_path (line 270) | static int touch_dst_path(struct path *p, sftp_session sftp) function prepare_dst_path (line 320) | static int prepare_dst_path(struct path *p, sftp_session dst_sftp) function read_to_buf (line 341) | static ssize_t read_to_buf(void *ptr, size_t len, void *userdata) function copy_chunk_l2r (line 347) | static int copy_chunk_l2r(struct chunk *c, int fd, sftp_file sf, int nr_... function copy_chunk_r2l (line 413) | static int copy_chunk_r2l(struct chunk *c, sftp_file sf, int fd, function _copy_chunk (line 479) | static int _copy_chunk(struct chunk *c, mf *s, mf *d, int nr_ahead, int ... function copy_chunk (line 493) | int copy_chunk(struct chunk *c, sftp_session src_sftp, sftp_session dst_... FILE: src/path.h type path (line 14) | struct path { type path (line 28) | struct path type chunk (line 30) | struct chunk { type chunk (line 40) | struct chunk type path (line 40) | struct path type path_resolve_args (line 42) | struct path_resolve_args { type path_resolve_args (line 63) | struct path_resolve_args type path (line 66) | struct path type chunk (line 69) | struct chunk type bwlimit (line 70) | struct bwlimit FILE: src/platform.c function nr_cpus (line 31) | int nr_cpus() function set_thread_affinity (line 44) | int set_thread_affinity(pthread_t tid, int core) function setutimes (line 50) | int setutimes(const char *path, struct timespec atime, struct timespec m... function random_string (line 65) | static void random_string(char *buf, size_t size) function sem_t (line 77) | sem_t *sem_create(int value) function sem_release (line 91) | int sem_release(sem_t *sem) function nr_cpus (line 99) | int nr_cpus() function nr_cpus (line 109) | int nr_cpus() function set_thread_affinity (line 118) | int set_thread_affinity(pthread_t tid, int core) function setutimes (line 132) | int setutimes(const char *path, struct timespec atime, struct timespec m... function sem_t (line 145) | sem_t *sem_create(int value) function sem_release (line 160) | int sem_release(sem_t *sem) FILE: src/platform.h type timespec (line 13) | struct timespec type timespec (line 13) | struct timespec FILE: src/pool.c function pool (line 8) | pool *pool_new(void) function pool_free (line 28) | void pool_free(pool *p) function pool_zeroize (line 37) | void pool_zeroize(pool *p, pool_map_f f) function pool_destroy (line 46) | void pool_destroy(pool *p, pool_map_f f) function pool_push (line 52) | int pool_push(pool *p, void *v) function pool_push_lock (line 69) | int pool_push_lock(pool *p, void *v) function pool_iter_has_next_lock (line 116) | bool pool_iter_has_next_lock(pool *p) FILE: src/pool.h type pool_struct (line 14) | struct pool_struct { type pool (line 22) | typedef struct pool_struct pool; FILE: src/print.c function set_print_severity (line 8) | void set_print_severity(int serverity) function get_print_severity (line 16) | int get_print_severity() FILE: src/ssh.c function ssh_set_opts (line 17) | static int ssh_set_opts(ssh_session ssh, struct mscp_ssh_opts *opts) function ssh_authenticate (line 115) | static int ssh_authenticate(ssh_session ssh, struct mscp_ssh_opts *opts) function ssh_cache_passphrase (line 162) | static int ssh_cache_passphrase(const char *prompt, char *buf, size_t le... type ssh_callbacks_struct (line 191) | struct ssh_callbacks_struct function ssh_session (line 196) | static ssh_session ssh_init_session(const char *sshdst, struct mscp_ssh_... function sftp_session (line 236) | sftp_session ssh_init_sftp_session(const char *sshdst, struct mscp_ssh_o... function ssh_verify_known_hosts (line 264) | static int ssh_verify_known_hosts(ssh_session session) function ssh_authenticate_kbdint (line 350) | static int ssh_authenticate_kbdint(ssh_session ssh) function ssh_sftp_close (line 398) | void ssh_sftp_close(sftp_session sftp) FILE: src/ssh.h type mscp_ssh_opts (line 14) | struct mscp_ssh_opts FILE: src/strerrno.c function priv_set_err (line 23) | void priv_set_err(const char *fmt, ...) FILE: test/conftest.py function pytest_addoption (line 3) | def pytest_addoption(parser): function mscp (line 8) | def mscp(request): FILE: test/test_e2e.py function run2ok (line 19) | def run2ok(args, env = None, quiet = False): function run2ng (line 25) | def run2ng(args, env = None, timeout = None, quiet = False): function cleanup_files (line 36) | def cleanup_files(): function test_usage (line 77) | def test_usage(mscp): function test_invalid_chunk_size_config (line 81) | def test_invalid_chunk_size_config(mscp): function test_nonidentical_hostnames (line 90) | def test_nonidentical_hostnames(mscp, args): function test_single_copy (line 111) | def test_single_copy(mscp, src_prefix, dst_prefix, src, dst): function test_failed_to_copy_nonexistent_file (line 118) | def test_failed_to_copy_nonexistent_file(mscp, src_prefix, dst_prefix): function test_double_copy (line 130) | def test_double_copy(mscp, src_prefix, dst_prefix, s1, s2, d1, d2): function test_double_copy_with_ipv6_notation (line 144) | def test_double_copy_with_ipv6_notation(mscp, src_prefix, dst_prefix, s1... function test_double_copy_with_user_and_ipv6_notation (line 159) | def test_double_copy_with_user_and_ipv6_notation(mscp, src_prefix, dst_p... function test_dir_copy (line 194) | def test_dir_copy(mscp, src_prefix, dst_prefix, src_dir, dst_dir, src, d... function test_dir_copy_single (line 216) | def test_dir_copy_single(mscp, src_prefix, dst_prefix, src_dir, dst_dir,... function test_override_single_file (line 224) | def test_override_single_file(mscp, src_prefix, dst_prefix): function test_copy_file_under_root_to_dir (line 238) | def test_copy_file_under_root_to_dir(mscp, src_prefix, dst_prefix): function test_dst_has_suffix_slash (line 248) | def test_dst_has_suffix_slash(mscp, src_prefix, dst_prefix): function test_remote_path_contains_tilde (line 269) | def test_remote_path_contains_tilde(mscp, src_path, dst_path): function test_remote_path_contains_tilde2 (line 288) | def test_remote_path_contains_tilde2(mscp): function test_min_chunk (line 297) | def test_min_chunk(mscp, src_prefix, dst_prefix): function is_alpine (line 305) | def is_alpine(): function test_glob_src_path (line 330) | def test_glob_src_path(mscp, src_prefix, dst_prefix, function test_thread_affinity (line 341) | def test_thread_affinity(mscp, src_prefix, dst_prefix): function test_cannot_override_file_with_dir (line 351) | def test_cannot_override_file_with_dir(mscp, src_prefix, dst_prefix): function test_transfer_zero_bytes (line 359) | def test_transfer_zero_bytes(mscp, src_prefix, dst_prefix): function test_override_dst_having_larger_size (line 366) | def test_override_dst_having_larger_size(mscp, src_prefix, dst_prefix): function test_dont_truncate_dst (line 373) | def test_dont_truncate_dst(mscp, src_prefix, dst_prefix): function test_copy_readonly_file (line 382) | def test_copy_readonly_file(mscp, src_prefix, dst_prefix): function test_dont_make_conns_more_than_chunks (line 395) | def test_dont_make_conns_more_than_chunks(mscp, src_prefix, dst_prefix): function test_bwlimit (line 414) | def test_bwlimit(mscp, src_prefix, dst_prefix): function test_set_port_ng (line 428) | def test_set_port_ng(mscp, src_prefix, dst_prefix, src, dst): function test_set_port_ok (line 435) | def test_set_port_ok(mscp, src_prefix, dst_prefix, src, dst): function test_v4only (line 439) | def test_v4only(mscp): function test_v6only (line 446) | def test_v6only(mscp): function test_v4_to_v6_should_fail (line 453) | def test_v4_to_v6_should_fail(mscp): function test_v6_to_v4_should_fail (line 459) | def test_v6_to_v4_should_fail(mscp): function test_quiet_mode (line 465) | def test_quiet_mode(capsys, mscp): function test_set_conn_interval (line 477) | def test_set_conn_interval(mscp, src_prefix, dst_prefix): function test_compression (line 491) | def test_compression(mscp, src_prefix, dst_prefix, compress): function test_ccalgo (line 498) | def test_ccalgo(mscp, src_prefix, dst_prefix): function test_config_ok (line 519) | def test_config_ok(mscp, src_prefix, dst_prefix): function test_config_ng (line 535) | def test_config_ng(mscp, src_prefix, dst_prefix): function test_inline_option_ok (line 555) | def test_inline_option_ok(mscp, src_prefix, dst_prefix, option): function test_inline_option_ng (line 570) | def test_inline_option_ng(mscp, src_prefix, dst_prefix, option): function test_porxyjump_ok (line 579) | def test_porxyjump_ok(mscp, src_prefix, dst_prefix): function test_porxyjump_ng (line 591) | def test_porxyjump_ng(mscp, src_prefix, dst_prefix): function test_specify_passphrase_via_env (line 601) | def test_specify_passphrase_via_env(mscp): function test_specify_invalid_passphrase_via_env (line 610) | def test_specify_invalid_passphrase_via_env(mscp): function test_specify_password_via_env (line 618) | def test_specify_password_via_env(mscp): function test_specify_invalid_password_via_env (line 627) | def test_specify_invalid_password_via_env(mscp): function move_pubkey_temporally (line 637) | def move_pubkey_temporally(): function test_passwordauth_without_pubkey (line 659) | def test_passwordauth_without_pubkey(move_pubkey_temporally, function test_10k_files (line 674) | def test_10k_files(mscp, src_prefix, dst_prefix): function test_checkpoint_dump_and_resume (line 685) | def test_checkpoint_dump_and_resume(mscp, src_prefix, dst_prefix): function test_checkpoint_interrupt_large_file (line 701) | def test_checkpoint_interrupt_large_file(mscp, timeout, src_prefix, dst_... function test_checkpoint_interrupt_many_files (line 719) | def test_checkpoint_interrupt_many_files(mscp, timeout, src_prefix, dst_... FILE: test/util.py function check_same_md5sum (line 6) | def check_same_md5sum(fa, fb): class File (line 10) | class File(): method __init__ (line 11) | def __init__(self, path, size = 0, content = "random", perm = 0o664): method __repr__ (line 19) | def __repr__(self): method __str__ (line 22) | def __str__(self): method make (line 25) | def make(self, size = None): method make_content_zero (line 41) | def make_content_zero(self): method make_content_random (line 45) | def make_content_random(self): method cleanup (line 49) | def cleanup(self, preserve_dir = False): method md5sum (line 59) | def md5sum(self):