Searched refs:fsize (Results 1 - 25 of 50) sorted by relevance

12

/freebsd-9.3-release/usr.sbin/makefs/
H A Dffs.h49 int fsize; /* fragment size */ member in struct:__anon10932
H A Dffs.c161 ffs_opts->fsize= -1;
188 { "fsize", &ffs_opts->fsize, 1, INT_MAX,
338 if (ffs_opts->fsize == -1)
339 ffs_opts->fsize = MAX(DFL_FRAGSIZE, fsopts->sectorsize);
341 ffs_opts->bsize = MIN(DFL_BLKSIZE, 8 * ffs_opts->fsize);
452 printf("\tbsize %d, fsize %d, cpg %d, density %d\n",
453 fs->bsize, fs->fsize, fs->cpg, fs->density);
594 fsopts->size += roundup((x), ffs_opts->fsize); \
/freebsd-9.3-release/lib/libelf/
H A Dlibelf_fsize.m4131 struct fsize {
136 static struct fsize fsize[ELF_T_NUM] = {
151 sz = ec == ELFCLASS64 ? fsize[t].fsz64 : fsize[t].fsz32;
/freebsd-9.3-release/usr.bin/csup/
H A Drsyncfile.c58 size_t fsize; member in struct:rsyncfile
85 rf->fsize = st.st_size;
92 rf->buf = mmap(0, rf->fsize, PROT_READ, MAP_SHARED, rf->fd, 0);
98 rf->end = rf->buf + rf->fsize;
99 rf->blocksize = (blocksize == 0 ? rsync_chooseblocksize(rf->fsize) :
112 error = munmap(rf->buf, rf->fsize);
125 rsync_chooseblocksize(size_t fsize) argument
129 blocksize = fsize / MAXBLOCKS;
143 rem = fsize % bs;
222 return (rf->fsize);
[all...]
/freebsd-9.3-release/usr.sbin/ndiscvt/
H A Dndiscvt.c166 bincvt(char *sysfile, char *outfile, void *img, int fsize) argument
179 if (fwrite(img, fsize, 1, binfp) != 1)
280 int n, fsize, cnt; local
324 fsize = ftell (fp);
326 img = calloc(fsize, 1);
327 n = fread (img, fsize, 1, fp);
333 if (insert_padding(&img, &fsize)) {
348 inffile == NULL ? "<notused>" : inffile, sysfile, fsize);
391 bincvt(sysfile, outfile, img, fsize);
401 fprintf(outfp, "__asm__(\".size drv_data, %d\");\n", fsize);
[all...]
/freebsd-9.3-release/contrib/file/src/
H A Delfclass.h46 fsize, &flags, &notecount) == -1)
61 fsize, shnum, &flags, &notecount) == -1)
71 fsize, elf_getu16(swap, elfhdr.e_machine),
H A Dreadelf.c308 int num, size_t size, off_t fsize, int *flags, uint16_t *notecount)
332 if (fsize != SIZE_UNKNOWN && xph_offset > fsize) {
990 size_t size, off_t fsize, int mach, int strtab, int *flags,
1042 if (fsize != SIZE_UNKNOWN && xsh_offset > fsize) {
1235 int num, size_t size, off_t fsize, int sh_num, int *flags,
1290 if (fsize != SIZE_UNKNOWN && xph_offset > fsize) {
1348 off_t fsize; local
307 dophn_core(struct magic_set *ms, int clazz, int swap, int fd, off_t off, int num, size_t size, off_t fsize, int *flags, uint16_t *notecount) argument
989 doshn(struct magic_set *ms, int clazz, int swap, int fd, off_t off, int num, size_t size, off_t fsize, int mach, int strtab, int *flags, uint16_t *notecount) argument
1234 dophn_exec(struct magic_set *ms, int clazz, int swap, int fd, off_t off, int num, size_t size, off_t fsize, int sh_num, int *flags, uint16_t *notecount) argument
[all...]
/freebsd-9.3-release/sbin/newfs/
H A Dnewfs.h93 extern int fsize; /* fragment size */
H A Dnewfs.c100 int fsize = 0; /* fragment size */ variable
230 rval = expand_number_int(optarg, &fsize);
231 if (rval < 0 || fsize <= 0)
377 if (fsize == 0)
378 fsize = pp->p_fsize;
386 if (fsize <= 0)
387 fsize = MAX(DFL_FRAGSIZE, sectorsize);
389 bsize = MIN(DFL_BLKSIZE, 8 * fsize);
/freebsd-9.3-release/usr.sbin/bsdinstall/distfetch/
H A Ddistfetch.c99 off_t total_bytes, current_bytes, fsize; local
153 fsize = 0;
172 fsize += chunk;
180 sprintf(status, "-%jd", (fsize*100)/ustat.size);
191 if (ustat.size > 0 && fsize < ustat.size) {
/freebsd-9.3-release/sys/netncp/
H A Dncp_mod.c443 u_int32_t fsize; local
461 error = copyin(&fp->fragSize, &fsize, sizeof (fsize));
464 fsize = min(fsize, rpsize);
465 error = md_get_mem(&rqp->rp, (caddr_t)fp->fragAddress, fsize, MB_MUSER);
468 rpsize -= fsize;
469 error = copyout(&fsize, &fp->fragSize, sizeof (fsize));
/freebsd-9.3-release/sys/fs/udf/
H A Dudf_vnops.c185 off_t fsize; local
187 fsize = le64toh(np->fentry->inf_len);
188 vnode_create_vobject(ap->a_vp, fsize, ap->a_td);
441 off_t diff, fsize; local
454 fsize = le32toh(fentry->l_ad);
457 diff = fsize - uio->uio_offset;
466 fsize = le64toh(node->fentry->inf_len);
473 diff = fsize - uio->uio_offset;
481 if (lblktosize(udfmp, rablock) < fsize) {
482 error = cluster_read(vp, fsize, lb
622 udf_opendir(struct udf_node *node, int offset, int fsize, struct udf_mnt *udfmp) argument
1117 int fsize, lkflags, ltype, numdirpasses; local
[all...]
H A Dudf.h68 int fsize; member in struct:udf_dirstream
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspa_config.c83 uint64_t fsize; local
99 if (kobj_get_filesize(file, &fsize) != 0)
102 buf = kmem_alloc(fsize, KM_SLEEP);
107 if (kobj_read_file(file, buf, fsize, 0) < 0)
113 if (nvlist_unpack(buf, fsize, &nvlist, KM_SLEEP) != 0)
138 kmem_free(buf, fsize);
/freebsd-9.3-release/sys/mips/include/
H A Dasm.h201 #define NESTED(x, fsize, retpc) \
205 .frame sp, fsize, retpc; \
212 #define NESTED_NOPROFILE(x, fsize, retpc) \
216 .frame sp, fsize, retpc
323 #define NON_LEAF(x, fsize, retpc) NESTED(x, fsize, retpc)
324 #define NNON_LEAF(x, fsize, retpc) NESTED_NOPROFILE(x, fsize, retpc)
/freebsd-9.3-release/sys/cddl/compat/opensolaris/sys/
H A Delf.h82 #define elf_fsize __elfN(fsize)
/freebsd-9.3-release/sbin/ldconfig/
H A Dldconfig.c524 long fsize; local
559 fsize = hdr->hh_ehints;
561 addr = mmap(0, fsize, PROT_READ, MAP_COPY, fd, 0);
/freebsd-9.3-release/usr.bin/mail/
H A Dcollect.c370 if (fsize(fbuf) == 0) {
587 if (fsize(nf) == 0) {
720 if (fsize(fp) == 0)
H A Dedit.c110 mp->m_size = (long)fsize(fp);
H A Dextern.h128 off_t fsize(FILE *);
H A Dlex.c129 mailsize = fsize(ibuf);
177 newsize = fsize(ibuf);
/freebsd-9.3-release/contrib/less/
H A Dch.c67 POSITION fsize; member in struct:filestate
76 #define ch_fsize thisfile->fsize
846 thisfile->fsize = NULL_POSITION;
928 printf(" file %d, flags %x, fpos %x, fsize %x, blk/off %x/%x\n",
930 fs->fsize, fs->block, fs->offset);
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Ddsl_dir.h129 uint64_t asize, uint64_t fsize, uint64_t usize, void **tr_cookiep,
/freebsd-9.3-release/sys/net/
H A Dif_fwsubr.c87 uint16_t psize, fsize, dsize; local
254 fsize = psize - 2*sizeof(uint32_t);
259 if (m->m_pkthdr.len > fsize) {
264 mtail = m_split(m, fsize, M_DONTWAIT);
/freebsd-9.3-release/sys/netgraph/
H A Dng_pipe.c469 uint32_t fsize, i; local
488 for (fsize = 0; fsize < MAX_FSIZE + MAX_OHSIZE; fsize++) {
489 hinfo->ber_p[fsize] = p;

Completed in 275 milliseconds

12