-
Notifications
You must be signed in to change notification settings - Fork 2
/
filename
60 lines (60 loc) · 3.25 KB
/
filename
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Binary file lessfs matches
Binary file lessfs-lessfs.o matches
lessfs.c: memcpy(&memddstat->stbuf, &stbuf, sizeof(struct stat));
lessfs.c: memddstat->stbuf.st_ctime = thetime;
lessfs.c: memddstat->stbuf.st_mtime = thetime;
lessfs.c: memddstat->stbuf.st_mode = mode;
lessfs.c: memddstat->updated = 1;
lessfs.c: memcpy(&memddstat->stbuf, &stbuf, sizeof(struct stat));
lessfs.c: memddstat->stbuf.st_ctime = thetime;
lessfs.c: memddstat->stbuf.st_mtime = thetime;
lessfs.c: memddstat->stbuf.st_uid = uid;
lessfs.c: memddstat->stbuf.st_gid = gid;
lessfs.c: memddstat->updated = 1;
lessfs.c: memcpy(&memddstat->stbuf, &stbuf, sizeof(struct stat));
lessfs.c: memcpy(&memddstat->filename, bname, strlen(bname) + 1);
lessfs.c: memddstat->blocknr = blocknr;
lessfs.c: memddstat->updated = 0;
lessfs.c: memddstat->opened = 1;
lessfs.c: memddstat->deduplicated = 0;
lessfs.c: memddstat->lzo_compressed_size = 0;
lessfs.c: LDEBUG("lessfs_open : initial open memddstat->opened = %u",
lessfs.c: memddstat->opened);
lessfs.c: memddstat->opened++;
lessfs.c: memddstat->opened);
lessfs.c: if (memddstat->opened == 1) {
lessfs.c: path, memddstat->stbuf.st_size,
lessfs.c: memddstat->lzo_compressed_size, memddstat->deduplicated);
lessfs.c: path, memddstat->stbuf.st_size,
lessfs.c: memddstat->lzo_compressed_size, memddstat->deduplicated);
lessfs.c: (float) memddstat->stbuf.st_size /
lessfs.c: memddstat->lzo_compressed_size);
lessfs.c: memddstat->opened--;
lessfs.c: memddstat->opened);
lib_tc.c: if (memddstat->updated > 0) {
lib_tc.c: memcpy(&memddstat->stbuf, stbuf, sizeof(struct stat));
lib_tc.c: memddstat->stbuf.st_size = size;
lib_tc.c: memddstat->stbuf.st_ctime = thetime;
lib_tc.c: memddstat->stbuf.st_mtime = thetime;
lib_tc.c: memddstat->updated = 1;
lib_tc.c: memddstat->updated++;
lib_tc.c: memddstat->lzo_compressed_size =
lib_tc.c: memddstat->lzo_compressed_size + compressed;
lib_tc.c: memddstat->deduplicated = memddstat->deduplicated + deduplicated;
lib_tc.c: memddstat->blocknr = blocknr;
lib_tc.c: if ((memddstat->stbuf.st_blocks + addblocks) * 512 <
lib_tc.c: memddstat->stbuf.st_size + fsize)
lib_tc.c: memddstat->stbuf.st_size) {
lib_tc.c: if (memddstat->stbuf.st_size < fsize + offsetblock)
lib_tc.c: memddstat->stbuf.st_size = fsize + offsetblock;
lib_tc.c: if (memddstat->stbuf.st_size <
lib_tc.c: memddstat->stbuf.st_size =
lib_tc.c: if (memddstat->stbuf.st_size > (512 * memddstat->stbuf.st_blocks)) {
lib_tc.c: memddstat->stbuf.st_blocks =
lib_tc.c: memddstat->stbuf.st_blocks + addblocks;
lib_tc.c: memddstat->stbuf.st_blocks =
lib_tc.c: memddstat->stbuf.st_blocks + addblocks;
lib_tc.c: if (memddstat->updated > config->cachesize) {
lib_tc.c: memddstat->updated = 0;
lib_tc.c: memcpy(&memddstat->stbuf, &stbuf, sizeof(struct stat));
lib_tc.c: memddstat->updated = 0;