Searched defs:fsize (Results 1 - 25 of 46) sorted by relevance

12

/illumos-gate/usr/src/cmd/cdrw/
H A Dwrite_audio.c80 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 Dmp_region.c61 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 Dprom_fio.c223 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 Dcheck_header.c52 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 Dmsgfmt.c205 size_t fsize, ln_size, ll; local
242 fsize = (size_t)statbuf.st_size;
243 if (fsize == 0) {
254 addr = mmap(NULL, fsize, PROT_READ, MAP_SHARED, fd, 0);
262 check_gnu(addr, fsize);
270 ln_size = _mbsntowcs(&linebufhead, &mbuf, &fsize);
1012 * **fsize - address of a size_t variable that contains
1021 * **fsize - *fsize will be set to the size of the unread
1025 _mbsntowcs(wchar_t **bufhead, char **mbuf, size_t *fsize) argument
[all...]
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhpi_vmac.c132 uint16_t fsize; local
141 fsize = 1;
143 fsize = max_frame_length;
145 cfg.bits.rx_max_frame_length = fsize;
H A Dhxge_pfc.c1037 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 Dbootstat.h75 size_t fsize; member in struct:compinfo
/illumos-gate/usr/src/test/zfs-tests/cmd/file_trunc/
H A Dfile_trunc.c52 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/test/smbclient-tests/cmd/file_trunc/
H A Dfile_trunc.c47 static long fsize = FSIZE; variable
104 count = fsize / bsize;
117 fsize = atoi(optarg);
180 roffset = random() % fsize;
227 roffset = random() % fsize;
/illumos-gate/usr/src/cmd/sgs/common/
H A Dleb128.c215 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/boot/sys/boot/common/
H A Dinstall.c109 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 Darith.c162 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 Dsctp_conn.c304 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 Dsctp_hash.c171 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 Dspa_config.c84 uint64_t fsize; local
101 if (kobj_get_filesize(file, &fsize) != 0)
104 buf = kmem_alloc(fsize, KM_SLEEP);
109 if (kobj_read_file(file, buf, fsize, 0) < 0)
115 if (nvlist_unpack(buf, fsize, &nvlist, KM_SLEEP) != 0)
140 kmem_free(buf, fsize);
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_data.c1774 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 Dndmpd_tar.c656 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/cmd/mailx/
H A Dfio.c88 offset = fsize(otf);
699 fsize(FILE *iob) function
/illumos-gate/usr/src/uts/common/io/
H A Dsysmsg.c288 parse_buffer(char *buf, ssize_t fsize) argument
290 char *ebuf = buf + fsize;
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dundi.c1311 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/lib/libc/port/i18n/
H A Dgettext.h98 size_t fsize; /* size of the GNU mo file */ member in struct:__anon4
/illumos-gate/usr/src/cmd/bnu/
H A Dcntrl.c263 char fsize[NAMESIZE]; /* holds file size/checkpoint string */ local
356 (void) sprintf(fsize, "0x%lx", stbuf.st_size);
357 W_FSIZE = fsize; /* set file size in vector */
505 sprintf(fsize, "0x%lx", startp);
506 W_POINT = fsize; /* set start point in vector */
1028 *fsize = '\0';
1029 sscanf(&msg[2], "%*o %s", fsize);
1030 if (*fsize != '\0') {
1031 actualsize = strtol(fsize, (char **) 0, FLENRADIX);
/illumos-gate/usr/src/cmd/vscan/vscand/
H A Dvs_icap.c237 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/uts/common/fs/nfs/
H A Dnfs3_xdr.c322 uint_t otw_len, fsize, xsize; /* otw, file, and export sizes */ local
325 fsize = fhp->fh3_len < NFS_FHMAXDATA ? NFS_FHMAXDATA : fhp->fh3_len;
332 sizeof (fhp->fh3_len) + fsize +
368 bcopy(&fhp->fh3_len, cp, sizeof (fhp->fh3_len) + fsize);
369 cp += sizeof (fhp->fh3_len) + fsize;
392 uint_t otw_len, fsize, xsize; /* otw, file, and export sizes */ local
400 fsize = objp->fh3_len < NFS_FHMAXDATA ? NFS_FHMAXDATA : objp->fh3_len;
409 sizeof (objp->fh3_len) + fsize +

Completed in 385 milliseconds

12