Searched refs:st_size (Results 151 - 175 of 493) sorted by relevance

1234567891011>>

/freebsd-11-stable/usr.bin/mail/
H A Dquit.c108 if (fstat(fileno(fbuf), &minfo) >= 0 && minfo.st_size > mailsize) {
120 p = minfo.st_size - mailsize;
423 if (stat(mailname, &statb) >= 0 && statb.st_size > mailsize) {
/freebsd-11-stable/libexec/rtld-elf/
H A Dlibmap.c131 lm_map = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0);
144 lmc_parse(lm_map, st.st_size);
145 munmap(lm_map, st.st_size);
/freebsd-11-stable/sys/i386/linux/
H A Dlinux.h165 l_ulong st_size; member in struct:l_newstat
183 l_long st_size; member in struct:l_stat
203 l_longlong st_size; member in struct:l_stat64
/freebsd-11-stable/crypto/openssh/
H A Dauth2.c119 if (st.st_size <= 0 || st.st_size > 1*1024*1024) {
124 len = (size_t)st.st_size; /* truncate */
/freebsd-11-stable/contrib/netbsd-tests/fs/tmpfs/
H A Dt_create.sh69 test ${st_size} -eq 0 || atf_fail "Incorrect size"
H A Dt_sizes.sh126 [ ${st_size} -eq 10240 ] || atf_fail "Incorrect file size"
/freebsd-11-stable/contrib/elftoolchain/libelf/
H A Dlibelf_open.c141 fsize = (size_t) sb.st_size;
/freebsd-11-stable/bin/rcp/
H A Drcp.c400 stb.st_mode & MODEMASK, (intmax_t)stb.st_size, last);
411 for (haderr = i = 0; i < stb.st_size; i += bp->cnt) {
413 if (i + amt > stb.st_size)
414 amt = stb.st_size - i;
/freebsd-11-stable/contrib/binutils/include/elf/
H A Dinternal.h99 bfd_vma st_size; /* Associated symbol size */ member in struct:elf_internal_sym
/freebsd-11-stable/crypto/heimdal/appl/rcp/
H A Drcp.c322 (unsigned long)stb.st_size,
333 for (haderr = i = 0; i < stb.st_size; i += bp->cnt) {
335 if (i + amt > stb.st_size)
336 amt = stb.st_size - i;
/freebsd-11-stable/contrib/sendmail/libsm/
H A Dsmstdio.c298 return st.st_size;
/freebsd-11-stable/lib/libc/db/test/
H A Ddbtest.c692 if (sb.st_size > (off_t)SIZE_T_MAX)
695 if ((p = (void *)malloc((u_int)sb.st_size)) == NULL)
697 (void)read(fd, p, (int)sb.st_size);
698 *lenp = sb.st_size;
/freebsd-11-stable/lib/libc/gen/
H A Dgetutxent.c81 sb.st_size % sizeof(struct futx) != 0) {
/freebsd-11-stable/contrib/ntp/sntp/libopts/
H A Dtext_mmap.c222 mapinfo->txt_size = (size_t)sb.st_size;
/freebsd-11-stable/tools/regression/aio/aiop/
H A Daiop.c181 file_size = sb.st_size;
/freebsd-11-stable/sys/sys/
H A Delf64.h208 Elf64_Xword st_size; /* Size of associated object. */ member in struct:__anon8494
H A Delf32.h198 Elf32_Word st_size; /* Size of associated object. */ member in struct:__anon8476
/freebsd-11-stable/usr.sbin/fifolog/lib/
H A Dfifolog_int.c79 f->logsize = st.st_size;
/freebsd-11-stable/usr.sbin/lpr/common_source/
H A Dctlinfo.c707 tfstat.st_size = 1; /* certainly invalid value */
709 size1 = tfstat.st_size;
710 tfstat.st_size = 2; /* certainly invalid value */
720 if (size1 != tfstat.st_size) {
/freebsd-11-stable/usr.bin/elf2aout/
H A Delf2aout.c108 v = mmap(NULL, sb.st_size, PROT_READ, MAP_SHARED, efd, 0);
/freebsd-11-stable/usr.sbin/acpi/acpidump/
H A Dacpi_user.c214 dp = mmap(0, sb.st_size, PROT_READ, MAP_PRIVATE, acpi_mem_fd, 0);
/freebsd-11-stable/usr.sbin/makefs/
H A Dwalk.c506 (long long)dirnode->inode->st.st_size,
507 (long long)specnode->st_size);
508 dirnode->inode->st.st_size = specnode->st_size;
/freebsd-11-stable/stand/userboot/userboot/
H A Dmain.c100 rdsize = st.st_size;
/freebsd-11-stable/stand/liblua/
H A Dlstd.c81 f->size = st.st_size;
/freebsd-11-stable/usr.sbin/bhyveload/
H A Dbhyveload.c181 cf->cf_size = cf->cf_stat.st_size;
288 *size = cf->cf_stat.st_size;
327 ioctl(disk_fd[unit], DIOCGMEDIASIZE, &sb.st_size) != 0)
329 *(off_t *)data = sb.st_size;

Completed in 318 milliseconds

1234567891011>>