A shortened struct stat64. More...
#include <global.h>
Data Fields | |
| union { | |
| struct timespec mtim | |
The modification time as seconds, microseconds. | |
| unsigned long long _mtime | |
| The same value in a single integer value. | |
| }; | |
| union { | |
| struct timespec ctim | |
The creation time as seconds, microseconds. | |
| unsigned long long _ctime | |
| The same value in a single integer value. | |
| }; | |
| union { | |
| off_t size | |
| The size in bytes (for files, symlinks and directories). | |
| dev_t rdev | |
| The device number (for devices). | |
| }; | |
| dev_t | dev |
| Device number of host filesystem. | |
| ino_t | ino |
| Inode. | |
| mode_t | mode |
The access mode (like 0700, 0755) with all other (non-mode) bits, ie S_IFDIR. | |
| uid_t | uid |
| The owner's id. | |
| gid_t | gid |
| The group number. | |
A shortened struct stat64.
The glibc version needs 96 bytes, this version only 52 bytes.
We save 44 bytes; multiplied with 150 000 entries this makes a difference of 6.6MB.
Definition at line 248 of file global.h.
| union { ... } |
| union { ... } |
| union { ... } |
| unsigned long long sstat_t::_ctime |
The same value in a single integer value.
| unsigned long long sstat_t::_mtime |
The same value in a single integer value.
struct timespec sstat_t::ctim [read] |
The creation time as seconds, microseconds.
Definition at line 259 of file global.h.
Referenced by ops__load_1entry(), ops__save_1entry(), ops__stat_to_action(), st__print_entry_info(), and sync__progress().
| dev_t sstat_t::dev |
Device number of host filesystem.
Definition at line 273 of file global.h.
Referenced by cm___inode_datum(), dir___f_sort_by_inodePP(), hlp__fstat(), ign___compare_dev(), ign__is_ignore(), ops__find_entry_byinode(), ops__load_1entry(), ops__save_1entry(), st__print_entry_info(), sync__progress(), and waa__dir_enum().
| gid_t sstat_t::gid |
The group number.
Definition at line 284 of file global.h.
Referenced by cb__add_entry(), ci___set_props(), DEBUGP_dump_estat(), df__do_diff(), hlp__fstat(), ops__load_1entry(), ops__save_1entry(), ops__stat_to_action(), st__print_entry_info(), sync__progress(), up__parse_prop(), and up__set_meta_data().
| ino_t sstat_t::ino |
Inode.
Definition at line 275 of file global.h.
Referenced by cm___inode_datum(), DEBUGP_dump_estat(), dir___f_sort_by_inodePP(), dir__enumerator(), hlp__fstat(), ign__is_ignore(), ops__find_entry_byinode(), ops__load_1entry(), ops__save_1entry(), st__print_entry_info(), sync__progress(), waa___find_position(), waa__dir_enum(), waa__init(), and waa__output_tree().
| mode_t sstat_t::mode |
The access mode (like 0700, 0755) with all other (non-mode) bits, ie S_IFDIR.
Definition at line 279 of file global.h.
Referenced by ac___up_set_paths(), ac__dispatch(), cb___close_file(), cb___report_path_rev(), cb__add_entry(), ci___set_props(), ci__nondir(), cm___match(), cm___match_children(), cm___register_entry(), cm__find_copied(), cs__compare_file(), cs__set_file_committed(), DEBUGP_dump_estat(), df___diff_wc_remote(), df___direct_diff(), df___repos_repos(), df___type_def_diff(), df__do_diff(), dir__enumerator(), hlp__fstat(), ign__is_ignore(), main(), ops___dev_to_string(), ops__copy_single_entry(), ops__delete_entry(), ops__find_entry_byinode(), ops__find_entry_byname(), ops__free_entry(), ops__free_marked(), ops__has_children(), ops__link_to_string(), ops__load_1entry(), ops__save_1entry(), ops__stat_to_action(), ops__string_to_dev(), ops__traverse(), ops__update_single_entry(), rev___local_revert(), rev___revert_to_base(), rev___undo_change(), rev__do_changed(), rev__install_file(), st___visible_file_size(), st__print_entry_info(), sync__progress(), up__apply_textdelta(), up__close_file(), up__handle_special(), up__parse_prop(), up__set_meta_data(), waa___recurse_tree(), waa__build_tree(), waa__copy_entries(), waa__input_tree(), waa__update_dir(), and waa__update_tree().
struct timespec sstat_t::mtim [read] |
The modification time as seconds, microseconds.
Definition at line 252 of file global.h.
Referenced by cb__add_entry(), ci___set_props(), delay__work(), df__do_diff(), ops__load_1entry(), ops__save_1entry(), ops__stat_to_action(), rev___handle_dir_mtime(), rev__merge(), st__print_entry_info(), sync__progress(), up__parse_prop(), and up__set_meta_data().
| dev_t sstat_t::rdev |
The device number (for devices).
Definition at line 269 of file global.h.
Referenced by hlp__fstat(), ops___dev_to_string(), ops__stat_to_action(), ops__string_to_dev(), st__print_entry_info(), and up__handle_special().
| off_t sstat_t::size |
The size in bytes (for files, symlinks and directories).
Definition at line 267 of file global.h.
Referenced by ci__nondir(), cs__compare_file(), DEBUGP_dump_estat(), dir__enumerator(), hlp__fstat(), main(), ops__link_to_string(), ops__load_1entry(), ops__save_1entry(), ops__stat_to_action(), ops__traverse(), res__remove_aux_files(), st___visible_file_size(), st__print_entry_info(), and sync__progress().
| uid_t sstat_t::uid |
The owner's id.
Definition at line 282 of file global.h.
Referenced by cb__add_entry(), ci___set_props(), DEBUGP_dump_estat(), df__do_diff(), hlp__fstat(), ops__load_1entry(), ops__save_1entry(), ops__stat_to_action(), st__print_entry_info(), sync__progress(), up__parse_prop(), and up__set_meta_data().
1.6.1