Searched refs:st_size (Results 126 - 150 of 476) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.h281 off_t st_size; member in struct:cpioinfo
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dlgrp.c451 if (sym.st_size < lwd->lwd_nlgrps * sizeof (lgrp_t *)) {
456 lwd->lwd_lgrp_tbl = mdb_alloc(sym.st_size, UM_SLEEP | UM_GC);
634 if (sym.st_size < nlgrps * sizeof (lgrp_t *)) {
639 lwsd->lwsd_lgrp_tbl = mdb_alloc(sym.st_size, UM_SLEEP | UM_GC);
/illumos-gate/usr/src/cmd/fm/notify/smtp-notify/common/
H A Dsmtp-notify.c120 if ((buf = malloc(statb.st_size + 1)) == NULL) {
121 nd_error(nhdl, "Failed to allocate %d bytes", statb.st_size);
125 if (read(fd, buf, statb.st_size) < 0) {
132 buf[statb.st_size] = '\0';
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dsmstdio.c300 return st.st_size;
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dsyms.c660 usdp->sd_sym->st_size = 0;
706 sym->st_size = 0;
743 sdp->sd_sym->st_size = 0;
1247 (sdp->sd_sym->st_size == 0)) {
1293 if ((type == STT_TLS) && (sym->st_size != 0) &&
1525 sym->st_value) + sym->st_size;
1531 sym->st_value) + sym->st_size;
1548 sym->st_size;
1872 EC_XWORD(sym->st_value), EC_XWORD(sym->st_size));
1926 (_sym->st_size
[all...]
H A Dsunwmove.c62 sym->st_value) + sym->st_size;
360 alist_nitems(sdp->sd_move)) > sym->st_size) &&
/illumos-gate/usr/src/cmd/acctadm/
H A Dutils.c196 if (stat(file, &st) != -1 && st.st_size != 0) {
/illumos-gate/usr/src/cmd/audio/audioplay/
H A Daudioplay.c502 if (regular && ((mapaddr = mmap(0, st.st_size, PROT_READ,
505 (void) madvise(mapaddr, st.st_size, MADV_SEQUENTIAL);
514 len = cnt = st.st_size - cnt;
801 (void) munmap(mapaddr, st.st_size);
/illumos-gate/usr/src/cmd/sh/
H A Dtest.c258 return(statb.st_size > 0);
/illumos-gate/usr/src/tools/elfextract/
H A Delfextract.c231 len = (stats.st_size + (pgsz - 1)) & (~(pgsz - 1));
/illumos-gate/usr/src/uts/common/syscall/
H A Dstat.c209 * st_size of devices (VBLK and VCHR special files) is a special case.
239 sb.st_size = (off_t)vattr.va_size;
362 sb.st_size = (off32_t)vattr.va_size;
470 lsb.st_size = vattr.va_size;
589 lsb.st_size = vattr.va_size;
/illumos-gate/usr/src/cmd/lp/filter/postscript/postreverse/
H A Dpostreverse.c582 if (st.st_size == 0) {
593 if ((document->start = mmap((void *)0, (size_t)st.st_size, PROT_READ,
597 st.st_size, fd, strerror(errno));
604 document->start + st.st_size);
/illumos-gate/usr/src/test/zfs-tests/cmd/getholes/
H A Dgetholes.c158 len = statbuf.st_size;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgettxt.c177 (addr = mmap(NULL, (size_t)sb.st_size, PROT_READ, MAP_SHARED,
/illumos-gate/usr/src/boot/sys/sys/
H A Delf32.h198 Elf32_Word st_size; /* Size of associated object. */ member in struct:__anon418
H A Delf64.h208 Elf64_Xword st_size; /* Size of associated object. */ member in struct:__anon435
/illumos-gate/usr/src/lib/mpapi/libmpapi/common/
H A Dmpapi.c3511 if ((new_file_flag) || (stbuf.st_size == 0)) {
3525 if ((mpconf_buf = (MP_CHAR *)mmap(0, stbuf.st_size,
3531 if (search_line(mpconf_buf, stbuf.st_size,
3534 munmap((void *)mpconf_buf, stbuf.st_size);
3537 munmap((void *)mpconf_buf, stbuf.st_size);
3620 if (stbuf.st_size == 0) {
3624 if ((mpconf_buf = (MP_CHAR *)mmap(0, stbuf.st_size,
3630 if (search_line(mpconf_buf, stbuf.st_size, pluginid, strlen(pluginid),
3632 munmap((void *)mpconf_buf, stbuf.st_size);
3652 if (pwrite(tmp_mpconf, mpconf_buf + (stbuf.st_size
[all...]
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dsym.c57 SYM_CMD_T_ST_SIZE = 6, /* sym:st_size */
383 if (sym1->st_size != sym2->st_size)
522 sym->st_size);
1316 Xword st_size = elfedit_atoui(argstate->argv[1], NULL); local
1318 if (sym->st_size == st_size) {
1325 EC_XWORD(sym->st_size));
1333 EC_XWORD(sym->st_size), EC_XWORD(st_size));
[all...]
/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgetexecattr.c132 f_size = f_stat.st_size;
183 f_size = f_stat.st_size;
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_cron.c108 if (read(fd, textbuf, st.st_size) != st.st_size) {
/illumos-gate/usr/src/lib/libcmd/common/
H A Drm.c294 if (state->clobber && S_ISREG(ent->fts_statp->st_mode) && ent->fts_statp->st_size > 0)
300 off_t c = ent->fts_statp->st_size;
/illumos-gate/usr/src/cmd/mailx/
H A Dquit.c293 if (st.st_size > mailsize) {
315 p = st.st_size - mailsize;
/illumos-gate/usr/src/cmd/sgs/librtld/common/
H A Drelocate.c133 reloc->r_size = sym->st_size;
392 reloc->r_size = sym->st_size;
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Docfile.c287 log_blocks = nblk(statl.st_size, svfsb.f_bsize, svfsb.f_frsize);
306 nblk(statb.st_size, svfsb.f_bsize, svfsb.f_frsize);
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dfiles.c97 stbuf.st_size = 1;
107 total += stbuf.st_size;

Completed in 165 milliseconds

1234567891011>>