HomeSort by: relevance | last modified time | path
    Searched refs:st_size (Results 1 - 25 of 320) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/sys/dev/microcode/tools/
bin2blob.c 87 src = malloc(sb.st_size);
88 dlen = sb.st_size * 1002 / 1000 + 12 + 3 + 4*2;
93 if (read(STDIN_FILENO, src, sb.st_size) != sb.st_size)
96 slen = sb.st_size;
  /src/sys/arch/alpha/stand/common/
bootxx.c 107 if (sb.st_size > SECONDARY_MAX_LOAD) {
112 if (read(fd, (void*)SECONDARY_LOAD_ADDRESS, sb.st_size) != sb.st_size) {
  /src/sys/arch/evbmips/stand/sbmips/common/
bootxx.c 104 if (sb.st_size > SECONDARY_MAX_LOAD) {
109 if (read(fd, (void*)SECONDARY_LOAD_ADDRESS, sb.st_size) != sb.st_size) {
  /src/sys/arch/sbmips/stand/common/
bootxx.c 104 if (sb.st_size > SECONDARY_MAX_LOAD) {
109 if (read(fd, (void*)SECONDARY_LOAD_ADDRESS, sb.st_size) != sb.st_size) {
  /src/bin/ls/
cmp.c 181 if (b->fts_statp->st_size > a->fts_statp->st_size)
183 if (b->fts_statp->st_size < a->fts_statp->st_size)
193 if (b->fts_statp->st_size > a->fts_statp->st_size)
195 if (b->fts_statp->st_size < a->fts_statp->st_size)
  /src/tests/lib/libc/gen/posix_spawn/
fa_spawn_utils.c 52 return st.st_size;
  /src/sys/compat/aoutm68k/
aoutm68k_stat.h 50 int32_t st_size; /* file size, in bytes */ member in struct:aoutm68k_stat43
73 off_t st_size; /* file size, in bytes */ member in struct:aoutm68k_stat12
94 off_t st_size; /* file size, in bytes */ member in struct:aoutm68k_stat
aoutm68k_stat.c 245 if (st->st_size < (off_t)1 << 32)
246 ast->st_size = st->st_size;
248 ast->st_size = -2;
281 if (st->st_size < (off_t)1 << 32)
282 ast->st_size = st->st_size;
284 ast->st_size = -2;
310 if (st->st_size < (off_t)1 << 32)
311 ast->st_size = st->st_size
    [all...]
  /src/usr.sbin/mdsetimage/
mdsetimage.c 135 if ((uintmax_t)ksb.st_size != (size_t)ksb.st_size)
138 if ((mappedkfile = mmap(NULL, ksb.st_size, PROT_READ,
146 if (bin_find_md_root(bin, mappedkfile, ksb.st_size, text_start,
157 munmap(mappedkfile, ksb.st_size);
168 if ((uintmax_t)fssb.st_size != (size_t)fssb.st_size)
170 if (fssb.st_size > md_root_size_value)
172 " (%u bytes)", fsfile, (intmax_t) fssb.st_size,
174 left_to_copy = fssb.st_size;
    [all...]
  /src/usr.bin/crunch/crunchide/
exec_aout.c 88 if(infstat.st_size < (ssize_t)sizeof eh)
120 if((aoutdata = (char *) malloc(infstat.st_size)) == NULL) {
125 if((rc = read(inf, aoutdata, infstat.st_size)) < infstat.st_size) {
186 if((rc = write(inf, aoutdata, infstat.st_size)) < infstat.st_size) {
exec_coff.c 69 if (sb.st_size > SIZE_T_MAX)
exec_ecoff.c 67 if (sb.st_size < (off_t)sizeof eh)
  /src/bin/sh/
mail.c 113 statb.st_size = 0;
114 if (statb.st_size > mailsize[i] && ! silent) {
139 mailsize[i] = statb.st_size;
  /src/sys/arch/landisk/stand/bootxx/
boot1.c 108 if (sb.st_size > SECONDARY_MAX_LOAD)
112 if (read(fd, (void *)SECONDARY_LOAD_ADDRESS, sb.st_size) != sb.st_size)
  /src/lib/libc/nls/
catopen.c 174 data = mmap(0, (size_t)st.st_size, PROT_READ, MAP_FILE|MAP_SHARED, fd,
184 munmap(data, (size_t)st.st_size);
189 munmap(data, (size_t)st.st_size);
194 catd->__size = (int)st.st_size;
  /src/sys/arch/alpha/stand/mkbootimage/
mkbootimage.c 114 outbufsize = roundup(insb.st_size, ALPHA_BOOT_BLOCK_BLOCKSIZE);
124 insb.st_size);
127 else if (rv != insb.st_size)
133 bb->bb_secsize = howmany(insb.st_size, ALPHA_BOOT_BLOCK_BLOCKSIZE);
  /src/sys/arch/alpha/stand/setnetbootinfo/
setnetbootinfo.c 178 netbb = malloc(sb.st_size);
181 (unsigned long)sb.st_size, netboot);
182 if (read(fd, netbb, sb.st_size) != sb.st_size)
184 (unsigned long)sb.st_size, netboot);
193 for (qp = (u_int64_t *)netbb; qp < (u_int64_t *)(netbb + sb.st_size);
237 if (write(fd, netbb, sb.st_size) != sb.st_size)
239 (unsigned long)sb.st_size, outfilename);
  /src/bin/pax/
cpio.c 105 if ((strcmp(arcn->name, TRAILER) == 0) && (arcn->sb.st_size == 0))
151 arcn->skip = arcn->sb.st_size;
225 if ((arcn->sb.st_size == 0) ||
226 (arcn->sb.st_size >= (off_t)sizeof(arcn->ln_name))) {
228 (OFFT_T) arcn->sb.st_size);
235 if (rd_wrbuf(arcn->ln_name, (int)arcn->sb.st_size) !=
236 (int)arcn->sb.st_size) {
240 arcn->ln_nlen = arcn->sb.st_size;
311 arcn->sb.st_size = (off_t)ASC_OFFT(hd->c_filesize,
324 if (((arcn->sb.st_mode&C_IFMT) != C_ISLNK)||(arcn->sb.st_size == 0))
    [all...]
  /src/lib/libc/citrus/
citrus_mmap.c 76 head = mmap(NULL, (size_t)st.st_size, PROT_READ, MAP_FILE|MAP_PRIVATE,
82 _region_init(r, head, (size_t)st.st_size);
  /src/lib/libc/gen/
utmp.c 71 numentries = st.st_size / sizeof(utmp);
72 if ((off_t)(numentries * sizeof(utmp)) != st.st_size)
scandir.c 74 nlen = (size_t)(stb.st_size / _DIRENT_MINSIZE((struct dirent *)0));
81 nlen = (size_t)(stb.st_size ? stb.st_size : 10);
  /src/usr.sbin/installboot/arch/
i386.c 322 if (params->s1stat.st_size > (off_t)(sizeof bootstrap)) {
324 params->stage1, (unsigned int)params->s1stat.st_size);
327 if (params->s1stat.st_size < 3 * 512 && params->s1stat.st_size != 512) {
329 params->stage1, (unsigned int)params->s1stat.st_size);
355 rv = pread(params->s1fd, &bootstrap, params->s1stat.st_size, 0);
356 if (rv != params->s1stat.st_size) {
362 (long)params->s1stat.st_size);
370 if (params->s1stat.st_size == 512) {
446 if (u != 0 && u < params->s1stat.st_size) {
    [all...]
  /src/usr.bin/tail/
forward.c 99 if (S_ISREG(sbp->st_mode) && sbp->st_size > 0) {
100 if (sbp->st_size < off)
101 off = sbp->st_size;
131 if (S_ISREG(sbp->st_mode) && sbp->st_size > 0) {
132 if (sbp->st_size >= off &&
149 if (S_ISREG(sbp->st_mode) && sbp->st_size > 0) {
286 if (!(file_size = sbp->st_size))
  /src/sys/arch/ia64/stand/common/
ls.c 109 sb.st_size = 0;
115 sb.st_size = 0;
118 (int)sb.st_size, d->d_name);
  /src/usr.sbin/acpitools/amldb/
amldb.c 94 if ((code = mmap(NULL, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0)) ==
110 env.end = code + sb.st_size;
119 env.end = code + sb.st_size;

Completed in 21 milliseconds

1 2 3 4 5 6 7 8 91011>>