/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/compression/ |
H A D | compress_004_pos.ksh | 90 typeset -i fsize=0 111 (( fsize = $RANDOM )) 112 if (( fsize > blksize )); then 113 (( fsize = fsize % blksize )) 115 if (( (fsize % 2) == 0 )); then 116 #make sure fsize is non-power-of-2 117 (( fsize = fsize + 1 )) 119 create_free_testing $fsize [all...] |
H A D | compress_003_pos.ksh | 60 typeset -i fsize=0 86 (( fsize = offset )) 87 log_must mkfile $fsize $single_blk_file 88 (( fsize = blksize + offset )) 89 log_must mkfile $fsize $multi_blk_file
|
/freebsd-current/tests/sys/cddl/zfs/tests/compression/ |
H A D | compress_004_pos.ksh | 91 typeset -i fsize=0 112 (( fsize = $RANDOM )) 113 if (( fsize > blksize )); then 114 (( fsize = fsize % blksize )) 116 if (( (fsize % 2) == 0 )); then 117 #make sure fsize is non-power-of-2 118 (( fsize = fsize + 1 )) 120 create_free_testing $fsize [all...] |
H A D | compress_003_pos.ksh | 68 typeset -i fsize=0 94 (( fsize = offset )) 95 log_must $MKFILE $fsize $single_blk_file 96 (( fsize = blksize + offset )) 97 log_must $MKFILE $fsize $multi_blk_file
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | truncate_test.c | 27 static long fsize = FSIZE; variable 55 if (ftruncate(fd, fsize) < 0) { 64 if (truncate(filename, fsize) < 0) { 82 fsize = atoi(optarg);
|
H A D | xattrtest.c | 356 size_t fsize; local 358 fsize = PATH_MAX; 359 file = malloc(fsize); 370 if (snprintf(file, fsize, "%s/file-%d", path, i) >= fsize) { 447 size_t fsize; local 457 fsize = PATH_MAX; 458 file = malloc(fsize); 469 if (snprintf(file, fsize, "%s/file-%d", path, i) >= fsize) { 524 size_t fsize; local 623 size_t fsize; local [all...] |
/freebsd-current/contrib/elftoolchain/libelf/ |
H A D | libelf_open.c | 129 size_t fsize; local 141 fsize = (size_t) sb.st_size; 179 if (fsize == 0) { 194 m = mmap(NULL, fsize, PROT_READ, MAP_PRIVATE, fd, (off_t) 0); 207 if ((m = malloc(fsize)) == NULL) { 212 if (read(fd, m, fsize) != (ssize_t) fsize) { 220 } else if ((m = _libelf_read_special_file(fd, &fsize)) != NULL) 225 if ((e = _libelf_memory(m, fsize, reporterror)) == NULL) { 232 (void) munmap(m, fsize); [all...] |
/freebsd-current/tests/sys/fs/fusefs/ |
H A D | lseek.cc | 60 off_t fsize = 1 << 30; /* 1 GiB */ local 64 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1); 92 off_t fsize = 1 << 30; /* 1 GiB */ local 96 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1); 124 off_t fsize = 1 << 30; /* 1 GiB */ local 127 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1); 154 off_t fsize = 1 << 30; /* 1 GiB */ local 159 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1); 188 off_t fsize = 1 << 30; /* 1 GiB */ local 191 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 212 off_t fsize = 1 << 30; /* 1 GiB */ local 248 off_t fsize = 1 << 30; /* 1 GiB */ local 284 off_t fsize = 1 << 30; /* 1 GiB */ local 320 off_t fsize = 1 << 30; /* 1 GiB */ local 357 off_t fsize = 1 << 30; /* 1 GiB */ local [all...] |
H A D | fallocate.cc | 181 off_t fsize = 1 << 20; local 186 uint64_t off1 = fsize; 188 off_t off2 = fsize / 2; 192 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1); 226 uint64_t fsize = 1 << 20; local 229 uint64_t off1 = fsize / 2; 232 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1); 242 expect_fallocate(ino, fsize, len, 0, 0); 261 EXPECT_EQ(0, posix_fallocate(fd, fsize, len)); 271 uint64_t fsize local 320 uint64_t fsize = 2000; local 361 uint64_t fsize = 1000; local 389 uint64_t fsize = 1000; local 421 uint64_t fsize = 2000; local 455 uint64_t fsize = bufsize; local 512 uint64_t fsize = 500; local 546 uint64_t fsize = 2000; local [all...] |
/freebsd-current/usr.sbin/makefs/ |
H A D | ffs.h | 50 int fsize; /* fragment size */ member in struct:__anon6664
|
/freebsd-current/crypto/openssl/crypto/ |
H A D | getenv.c | 28 int rsize, fsize; local 51 fsize = MultiByteToWideChar(curacp, dwFlags, name, -1, namew, rsize); 53 if (fsize > 0)
|
/freebsd-current/contrib/file/src/ |
H A D | elfclass.h | 46 fsize, &flags, ¬ecount) == -1) 61 fsize, shnum, &flags, ¬ecount) == -1) 71 fsize, elf_getu16(swap, elfhdr.e_machine),
|
H A D | readelf.c | 348 int num, size_t size, off_t fsize, int *flags, uint16_t *notecount) 386 if (fsize != SIZE_UNKNOWN && xph_offset > fsize) { 412 ph_num, fsize); 946 off_t off, int num, off_t fsize, uint64_t virtaddr) 967 if (fsize != SIZE_UNKNOWN && xph_offset > fsize) { 981 off_t fsize, uint64_t virtaddr, char *buf, ssize_t buflen) 990 fsize, virtaddr); 1018 int fd, off_t ph_off, int ph_num, off_t fsize) 347 dophn_core(struct magic_set *ms, int clazz, int swap, int fd, off_t off, int num, size_t size, off_t fsize, int *flags, uint16_t *notecount) argument 945 get_offset_from_virtaddr(struct magic_set *ms, int swap, int clazz, int fd, off_t off, int num, off_t fsize, uint64_t virtaddr) argument 979 get_string_on_virtaddr(struct magic_set *ms, int swap, int clazz, int fd, off_t ph_off, int ph_num, off_t fsize, uint64_t virtaddr, char *buf, ssize_t buflen) argument 1013 do_auxv_note(struct magic_set *ms, unsigned char *nbuf, uint32_t type, int swap, uint32_t namesz __attribute__((__unused__)), uint32_t descsz __attribute__((__unused__)), size_t noff __attribute__((__unused__)), size_t doff, int *flags, size_t size __attribute__((__unused__)), int clazz, int fd, off_t ph_off, int ph_num, off_t fsize) argument 1156 donote(struct magic_set *ms, void *vbuf, size_t offset, size_t size, int clazz, int swap, size_t align, int *flags, uint16_t *notecount, int fd, off_t ph_off, int ph_num, off_t fsize) argument 1349 doshn(struct magic_set *ms, int clazz, int swap, int fd, off_t off, int num, size_t size, off_t fsize, int mach, int strtab, int *flags, uint16_t *notecount) argument 1655 dophn_exec(struct magic_set *ms, int clazz, int swap, int fd, off_t off, int num, size_t size, off_t fsize, int sh_num, int *flags, uint16_t *notecount) argument 1827 off_t fsize; local [all...] |
/freebsd-current/sbin/newfs/ |
H A D | newfs.h | 94 extern int fsize; /* fragment size */
|
H A D | newfs.c | 90 int fsize = 0; /* fragment size */ variable 222 rval = expand_number_int(optarg, &fsize); 223 if (rval < 0 || fsize <= 0) 368 if (fsize == 0) 369 fsize = pp->p_fsize; 377 if (fsize <= 0) 378 fsize = MAX(DFL_FRAGSIZE, sectorsize); 380 bsize = MIN(DFL_BLKSIZE, 8 * fsize);
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/file/ |
H A D | file_trunc.c | 52 static long fsize = FSIZE; variable 107 count = fsize / bsize; 120 fsize = atoi(optarg); 183 roffset = random() % fsize; 230 roffset = random() % fsize;
|
/freebsd-current/tests/sys/cddl/zfs/bin/ |
H A D | file_trunc.c | 48 static long fsize = FSIZE; variable 105 count = fsize / bsize; 118 fsize = atoi(optarg); 181 roffset = random() % fsize; 227 roffset = random() % fsize;
|
H A D | mkfile.c | 167 unsigned long long fsize; local 194 if ((fsize = getsize(*argv)) == 0) { 202 if (create_file(*argv, fsize) == -1) {
|
/freebsd-current/contrib/processor-trace/libipt/src/ |
H A D | pt_section_file.c | 112 long begin, end, fsize; local 143 fsize = ftell(file); 144 if (fsize < 0) 147 if (fsize < end)
|
/freebsd-current/tests/sys/cddl/zfs/tests/hotplug/ |
H A D | hotplug.kshlib | 326 typeset -i fsize 335 fsize=$($LS -ld $FILE_EVENT_ID | $AWK '{print $5}') 339 if (( fsize != 0 )); then 344 if (( fsize == 0 )); then
|
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zfs_copies/ |
H A D | zfs_copies.kshlib | 75 typeset -i fsize=${FILESIZE%[m|M]} 78 (( cfactor = used / fsize ))
|
/freebsd-current/usr.sbin/bsdinstall/distfetch/ |
H A D | distfetch.c | 122 off_t fsize; local 184 fsize = 0; 203 fsize += chunk; 210 (fsize * 100) / ustat.size : 0; 216 perc = (fsize * 100) / ustat.size; 228 if (ustat.size > 0 && fsize < ustat.size) {
|
/freebsd-current/stand/common/ |
H A D | install.c | 106 ssize_t fsize; local 109 fsize = read(fd, buf, sizeof(buf)); 110 if (fsize == -1) 120 if (fsize == sizeof(buf)) 123 buf[fsize] = '\0';
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_copies/ |
H A D | zfs_copies.kshlib | 63 typeset -i fsize=${FILESIZE%[m|M]} 66 ((cfactor = used / fsize))
|
/freebsd-current/contrib/lua/src/ |
H A D | ldo.h | 56 #define checkstackGC(L,fsize) \ 57 luaD_checkstackaux(L, (fsize), luaC_checkGC(L), (void)0)
|