Symbol: file_size
crypto/heimdal/appl/ftp/ftpd/extern.h
135
extern off_t file_size;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1250
file_size = size;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1942
if (file_size != (off_t) -1)
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1945
(long)file_size);
crypto/heimdal/appl/ftp/ftpd/ftpd.c
82
off_t file_size;
lib/libkldelf/elf.c
163
elf_object_count(struct elf_file *efile, Elf_Type type, size_t file_size)
lib/libkldelf/elf.c
165
return (file_size / elf_object_size(efile, type));
sbin/savecore/savecore.c
368
dumpsize += file_size(savedirfd, path);
sbin/savecore/savecore.c
370
dumpsize += file_size(savedirfd, path);
sbin/savecore/savecore.c
372
dumpsize += file_size(savedirfd, path);
sbin/savecore/savecore.c
374
dumpsize += file_size(savedirfd, path);
sbin/savecore/savecore.c
376
dumpsize += file_size(savedirfd, path);
sbin/savecore/savecore.c
378
dumpsize += file_size(savedirfd, path);
sys/compat/lindebugfs/lindebugfs.c
251
loff_t file_size __unused)
sys/compat/linuxkpi/common/include/linux/debugfs.h
68
loff_t file_size);
sys/fs/p9fs/p9fs_vnops.c
1427
uint64_t file_size;
sys/fs/p9fs/p9fs_vnops.c
1451
file_size = np->inode.i_size;
sys/fs/p9fs/p9fs_vnops.c
1456
uio->uio_offset = file_size;
sys/fs/p9fs/p9fs_vnops.c
1505
if (file_size < uio->uio_offset + uio->uio_resid) {
sys/security/mac_veriexec/mac_veriexec_internal.h
94
off_t file_size, unsigned char *fingerprint);
sys/security/mac_veriexec/veriexec_fingerprint.c
141
struct thread *td, off_t file_size, unsigned char *fingerprint)
sys/security/mac_veriexec/veriexec_fingerprint.c
153
for (offset = 0; offset < file_size; offset += nread) {
sys/security/mac_veriexec/veriexec_fingerprint.c
154
if ((offset + PAGE_SIZE) > file_size)
sys/security/mac_veriexec/veriexec_fingerprint.c
155
count = file_size - offset;
sys/security/mac_veriexec/veriexec_fingerprint.c
215
struct mac_veriexec_file_info *ip, struct thread *td, off_t file_size,
sys/security/mac_veriexec/veriexec_fingerprint.c
236
error = evaluate_fingerprint(vp, ip, td, file_size, fingerprint);
tools/regression/aio/aiop/aiop.c
130
off_t file_size, offset;
tools/regression/aio/aiop/aiop.c
180
file_size = sb.st_size;
tools/regression/aio/aiop/aiop.c
182
file_size = disk_getsize(fd);
tools/regression/aio/aiop/aiop.c
185
if (file_size <= 0)
tools/regression/aio/aiop/aiop.c
188
printf("File: %s; File size %jd bytes\n", fn, (intmax_t)file_size);
tools/regression/aio/aiop/aiop.c
198
offset = random() % (file_size / io_size);
tools/regression/aio/aiop/aiop.c
208
offset = random() % (file_size / io_size);
tools/regression/fsx/fsx.c
103
off_t file_size = 0;
tools/regression/fsx/fsx.c
1177
file_size = maxfilelen = lseek(fd, (off_t)0, SEEK_END);
tools/regression/fsx/fsx.c
1178
if (file_size == (off_t)-1) {
tools/regression/fsx/fsx.c
339
save_buffer(good_buf, file_size, fsxgoodfd);
tools/regression/fsx/fsx.c
407
if (file_size != statbuf.st_size || file_size != size_by_seek) {
tools/regression/fsx/fsx.c
409
(unsigned long long)file_size,
tools/regression/fsx/fsx.c
446
if (size + offset > file_size) {
tools/regression/fsx/fsx.c
489
if (offset + size <= (file_size & ~page_mask))
tools/regression/fsx/fsx.c
499
for (should_be_zero = last_page + (file_size & page_mask);
tools/regression/fsx/fsx.c
504
s, file_size - 1, should_be_zero & page_mask,
tools/regression/fsx/fsx.c
525
if (size + offset > file_size) {
tools/regression/fsx/fsx.c
593
log4(OP_WRITE, offset, size, file_size);
tools/regression/fsx/fsx.c
596
if (file_size < offset + size) {
tools/regression/fsx/fsx.c
597
if (file_size < offset)
tools/regression/fsx/fsx.c
598
memset(good_buf + file_size, '\0', offset - file_size);
tools/regression/fsx/fsx.c
599
file_size = offset + size;
tools/regression/fsx/fsx.c
649
cur_filesize = file_size;
tools/regression/fsx/fsx.c
654
if (file_size < offset + size) {
tools/regression/fsx/fsx.c
655
if (file_size < offset)
tools/regression/fsx/fsx.c
656
memset(good_buf + file_size, '\0', offset - file_size);
tools/regression/fsx/fsx.c
657
file_size = offset + size;
tools/regression/fsx/fsx.c
676
if (file_size > cur_filesize) {
tools/regression/fsx/fsx.c
677
if (ftruncate(fd, file_size) == -1) {
tools/regression/fsx/fsx.c
709
int oldsize = file_size;
tools/regression/fsx/fsx.c
718
log4(OP_TRUNCATE, size, (unsigned)file_size, 0);
tools/regression/fsx/fsx.c
720
if (size > file_size)
tools/regression/fsx/fsx.c
721
memset(good_buf + file_size, '\0', size - file_size);
tools/regression/fsx/fsx.c
722
file_size = size;
tools/regression/fsx/fsx.c
748
iret = write(fd, good_buf, file_size);
tools/regression/fsx/fsx.c
749
if ((off_t)iret != file_size) {
tools/regression/fsx/fsx.c
754
iret, (unsigned long long)file_size);
tools/regression/fsx/fsx.c
757
if (lite ? 0 : ftruncate(fd, file_size) == -1) {
tools/regression/fsx/fsx.c
758
prt("ftruncate2: %llx\n", (unsigned long long)file_size);
tools/regression/fsx/fsx.c
790
if (file_size == 0)
tools/regression/fsx/fsx.c
797
if ((p = (char *)mmap(0, file_size, PROT_READ | PROT_WRITE,
tools/regression/fsx/fsx.c
808
if (munmap(p, file_size) != 0) {
tools/regression/fsx/fsx.c
869
if (file_size)
tools/regression/fsx/fsx.c
870
offset %= file_size;
tools/regression/fsx/fsx.c
873
if (offset + size > file_size)
tools/regression/fsx/fsx.c
874
size = file_size - offset;
tools/regression/sockets/sendfile/sendfile.c
337
write_test_file(size_t file_size)
tools/regression/sockets/sendfile/sendfile.c
343
if (file_size == current_file_size)
tools/regression/sockets/sendfile/sendfile.c
345
else if (file_size < current_file_size) {
tools/regression/sockets/sendfile/sendfile.c
346
if (ftruncate(file_fd, file_size) != 0)
tools/regression/sockets/sendfile/sendfile.c
348
current_file_size = file_size;
tools/regression/sockets/sendfile/sendfile.c
352
page_buffer = malloc(file_size);
tools/regression/sockets/sendfile/sendfile.c
355
bzero(page_buffer, file_size);
tools/regression/sockets/sendfile/sendfile.c
357
len = write(file_fd, page_buffer, file_size);
tools/regression/sockets/sendfile/sendfile.c
368
current_file_size = file_size;
tools/regression/sockets/sendfile/sendfile.c
396
.file_size = 1 }
tools/regression/sockets/sendfile/sendfile.c
404
desired_file_size = tests[test_num - 1].file_size;
tools/regression/sockets/sendfile/sendfile.c
75
uint32_t file_size;
tools/regression/sockets/sendfile/sendfile.c
94
static int write_test_file(size_t file_size);