/illumos-gate/usr/src/cmd/cdrw/ |
H A D | write_audio.c | 80 off_t fsize; local 93 (void) (h_ptr[i])->bstr_size(h_ptr[i], &fsize); 96 blks_req += 150 + fsize/2352; /* 2 sec gap per track */ 97 if (fsize % 2352)
|
/illumos-gate/usr/src/cmd/sendmail/db/mp/ |
H A D | mp_region.c | 61 size_t fsize, total; local 110 total += fsize = __db_shsizeof(bhp); 111 if (fsize >= len || total >= 3 * len) 168 total += fsize = __db_shsizeof(bhp); 169 if (fsize == len) { 186 if (fsize >= len || total >= 3 * len)
|
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/ |
H A D | prom_fio.c | 223 prom_compinfo(ihandle_t fsih, int fd, int *iscmp, size_t *fsize, size_t *bsize) argument 244 *fsize = p1275_cell2uint(ci[8]); /* Res3: fsize */
|
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | check_header.c | 52 get_one_line(char **bufhead, char **mbuf, size_t *fsize) argument 63 if (*fsize == 0) { 69 while (((*fsize) != 0) && (*p++ != '\n')) { 70 (*fsize)--; 85 check_gnu(char *addr, size_t fsize) argument 94 size_t size = fsize; 314 (void) munmap(addr, fsize); 326 (void) munmap(addr, fsize);
|
H A D | msgfmt.c | 207 size_t fsize, ln_size, ll; local 244 fsize = (size_t)statbuf.st_size; 245 if (fsize == 0) { 256 addr = mmap(NULL, fsize, PROT_READ, MAP_SHARED, fd, 0); 264 check_gnu(addr, fsize); 272 ln_size = _mbsntowcs(&linebufhead, &mbuf, &fsize); 1014 * **fsize - address of a size_t variable that contains 1023 * **fsize - *fsize will be set to the size of the unread 1027 _mbsntowcs(wchar_t **bufhead, char **mbuf, size_t *fsize) argument [all...] |
/illumos-gate/usr/src/cmd/sgs/tools/common/ |
H A D | leb128.c | 215 uint_t fsize; local 233 fsize = wordsize; 237 fsize = 8; 241 fsize = 4; 245 fsize = 2; 263 for (cnt = 0; cnt < fsize; 278 for (cnt = 0; cnt < fsize; 285 result |= val << ((fsize - cnt - 1) * 8); 292 (fsize < sizeof (uint64_t))) { 296 bitshift = (sizeof (uint64_t) - fsize) * [all...] |
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hpi_vmac.c | 132 uint16_t fsize; local 141 fsize = 1; 143 fsize = max_frame_length; 145 cfg.bits.rx_max_frame_length = fsize;
|
H A D | hxge_pfc.c | 1037 int fsize; local 1042 fsize = sizeof (tcam_flow_spec_t); 1044 alloc_size = fsize * classify_ptr->tcam_size;
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | bootstat.h | 75 size_t fsize; member in struct:compinfo
|
/illumos-gate/usr/src/test/zfs-tests/cmd/file_trunc/ |
H A D | file_trunc.c | 52 static long fsize = FSIZE; variable 107 count = fsize / bsize; 120 fsize = atoi(optarg); 183 roffset = random() % fsize; 229 roffset = random() % fsize;
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | install.c | 109 ssize_t fsize; local 112 fsize = read(fd, buf, sizeof(buf)); 113 if (fsize == -1) 123 if (fsize == sizeof(buf)) 126 buf[fsize] = '\0';
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | arith.c | 162 int fsize = str- (char*)(*ptr); local 166 if(fsize<=(sizeof(tp->fname)-2)) for(tp=shtab_math; *tp->fname; tp++) 170 if(tp->fname[1]==c && tp->fname[fsize+1]==0 && strncmp(&tp->fname[1],*ptr,fsize)==0)
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_conn.c | 304 size_t fsize; local 307 fsize = sizeof (in6_addr_t) * eager->sctp_nfaddrs; 310 flist = kmem_alloc(fsize, KM_NOSLEEP); 315 kmem_free(flist, fsize); 323 sctp_get_faddr_list(eager, flist, fsize); 627 size_t fsize; local 629 fsize = sizeof (in6_addr_t) * sctp->sctp_nfaddrs; 632 flist = kmem_alloc(fsize, KM_SLEEP); 635 sctp_get_faddr_list(sctp, flist, fsize);
|
H A D | sctp_hash.c | 171 size_t fsize; local 186 fsize = sizeof (in6_addr_t) * sctp->sctp_nfaddrs; 189 flist = kmem_alloc(fsize, cansleep ? KM_SLEEP : KM_NOSLEEP); 195 kmem_free(flist, fsize); 201 sctp_get_faddr_list(sctp, flist, fsize); 218 kmem_free(flist, fsize);
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | spa_config.c | 83 uint64_t fsize; local 100 if (kobj_get_filesize(file, &fsize) != 0) 103 buf = kmem_alloc(fsize, KM_SLEEP); 108 if (kobj_read_file(file, buf, fsize, 0) < 0) 114 if (nvlist_unpack(buf, fsize, &nvlist, KM_SLEEP) != 0) 139 kmem_free(buf, fsize);
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | fio.c | 88 offset = fsize(otf); 699 fsize(FILE *iob) function
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_data.c | 1774 longlong_t fsize; local 1811 fsize = jstat->js_bytes_in_file; 1814 fsize, len); 1817 * Fall back to the old way if fsize if too 1820 if (fsize < len) 1821 fsize = len; 1823 session->ns_data.dd_bytes_left_to_read = fsize; 1826 session->ns_data.dd_read_length = fsize;
|
H A D | ndmpd_tar.c | 656 longlong_t fsize; local 839 fsize = backup_file(np->nr_unchkp_nm, dname, 843 if (fsize >= 0) { 845 job_stats->js_bytes_total += fsize;
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | sysmsg.c | 288 parse_buffer(char *buf, ssize_t fsize) argument 290 char *ebuf = buf + fsize;
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | undi.c | 1311 uint32_t *fsize) 1320 *fsize = undi.pxs->tftp_get_fsize.FileSize; 1310 eb_pxenv_tftp_get_fsize(char *file, IP4_t serverip, IP4_t gatewayip, uint32_t *fsize) argument
|
/illumos-gate/usr/src/cmd/avs/sdbc/ |
H A D | sd_diag.c | 71 int fsize = -1; variable 171 fsize = strtol(optarg, 0, 0) * FBA_NUM(1 << 20); 216 if (fsize != -1 && fsize < filesize) 217 filesize = fsize;
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | cntrl.c | 265 char fsize[NAMESIZE]; /* holds file size/checkpoint string */ local 358 (void) sprintf(fsize, "0x%lx", stbuf.st_size); 359 W_FSIZE = fsize; /* set file size in vector */ 507 sprintf(fsize, "0x%lx", startp); 508 W_POINT = fsize; /* set start point in vector */ 1030 *fsize = '\0'; 1031 sscanf(&msg[2], "%*o %s", fsize); 1032 if (*fsize != '\0') { 1033 actualsize = strtol(fsize, (char **) 0, FLENRADIX);
|
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | gettext.h | 98 size_t fsize; /* size of the GNU mo file */ member in struct:__anon124
|
/illumos-gate/usr/src/cmd/vscan/vscand/ |
H A D | vs_icap.c | 237 uint64_t fsize, int flags, vs_result_t *result) 265 ctx.vsc_fsize = fsize; 236 vs_icap_scan_file(vs_eng_ctx_t *eng, char *devname, char *fname, uint64_t fsize, int flags, vs_result_t *result) argument
|
/illumos-gate/usr/src/cmd/fs.d/ufs/newfs/ |
H A D | newfs.c | 113 static int fsize = 0; /* fragment size */ variable 261 fsize = number("fragsize", optarg, NR_NONE, 265 if (fsize < DEV_BSIZE) 300 /* xxx ought to test against fsize */ 510 fsize = bsize; 513 if (fsize == 0) 514 fsize = DESFRAGSIZE; 517 if (!POWEROF2(fsize)) { 519 "newfs: fragment size must a power of 2, not %d\n"), fsize); 520 fsize [all...] |