/freebsd-10-stable/usr.sbin/makefs/ |
H A D | ffs.h | 49 int fsize; /* fragment size */ member in struct:__anon12125
|
H A D | ffs.c | 161 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); 456 printf("\tbsize %d, fsize %d, cpg %d, density %d\n", 457 fs->bsize, fs->fsize, fs->cpg, fs->density); 598 fsopts->size += roundup((x), ffs_opts->fsize); \
|
/freebsd-10-stable/lib/libelf/ |
H A D | libelf_fsize.m4 | 131 struct fsize { 136 static struct fsize fsize[ELF_T_NUM] = { 151 sz = ec == ELFCLASS64 ? fsize[t].fsz64 : fsize[t].fsz32;
|
/freebsd-10-stable/usr.bin/csup/ |
H A D | rsyncfile.c | 58 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-10-stable/contrib/file/src/ |
H A D | elfclass.h | 46 fsize, &flags, ¬ecount) == -1) 61 fsize, shnum, &flags, ¬ecount) == -1) 71 fsize, elf_getu16(swap, elfhdr.e_machine),
|
H A D | readelf.c | 328 int num, size_t size, off_t fsize, int *flags, uint16_t *notecount) 354 if (fsize != SIZE_UNKNOWN && xph_offset > fsize) { 377 ph_num, fsize); 853 off_t off, int num, off_t fsize, uint64_t virtaddr) 869 if (fsize != SIZE_UNKNOWN && xph_offset > fsize) { 883 off_t fsize, uint64_t virtaddr, char *buf, ssize_t buflen) 892 fsize, virtaddr); 917 int fd, off_t ph_off, int ph_num, off_t fsize) 327 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 852 get_offset_from_virtaddr(struct magic_set *ms, int swap, int clazz, int fd, off_t off, int num, off_t fsize, uint64_t virtaddr) argument 881 get_string_on_virtaddr(struct magic_set *ms, int swap, int clazz, int fd, off_t ph_off, int ph_num, off_t fsize, uint64_t virtaddr, char *buf, ssize_t buflen) argument 912 do_auxv_note(struct magic_set *ms, unsigned char *nbuf, uint32_t type, int swap, uint32_t namesz __attribute__((__unused__)), uint32_t descsz __attribute__((__unused__)), size_t noff __attribute__((__unused__)), size_t doff, int *flags, size_t size __attribute__((__unused__)), int clazz, int fd, off_t ph_off, int ph_num, off_t fsize) argument 1019 donote(struct magic_set *ms, void *vbuf, size_t offset, size_t size, int clazz, int swap, size_t align, int *flags, uint16_t *notecount, int fd, off_t ph_off, int ph_num, off_t fsize) argument 1202 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 1469 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 1583 off_t fsize; local [all...] |
/freebsd-10-stable/usr.sbin/ndiscvt/ |
H A D | ndiscvt.c | 166 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); 392 bincvt(sysfile, outfile, img, fsize); 402 fprintf(outfp, "__asm__(\".size drv_data, %d\");\n", fsize); [all...] |
/freebsd-10-stable/sbin/newfs/ |
H A D | newfs.h | 94 extern int fsize; /* fragment size */
|
H A D | newfs.c | 100 int fsize = 0; /* fragment size */ variable 229 rval = expand_number_int(optarg, &fsize); 230 if (rval < 0 || fsize <= 0) 376 if (fsize == 0) 377 fsize = pp->p_fsize; 385 if (fsize <= 0) 386 fsize = MAX(DFL_FRAGSIZE, sectorsize); 388 bsize = MIN(DFL_BLKSIZE, 8 * fsize);
|
/freebsd-10-stable/usr.sbin/bsdinstall/distfetch/ |
H A D | distfetch.c | 112 off_t fsize; local 161 fsize = 0; 180 fsize += chunk; 189 (fsize*100)/ustat.size); 200 if (ustat.size > 0 && fsize < ustat.size) {
|
/freebsd-10-stable/sys/fs/udf/ |
H A D | udf_vnops.c | 184 off_t fsize; local 186 fsize = le64toh(np->fentry->inf_len); 187 vnode_create_vobject(ap->a_vp, fsize, ap->a_td); 440 off_t diff, fsize; local 453 fsize = le32toh(fentry->l_ad); 456 diff = fsize - uio->uio_offset; 465 fsize = le64toh(node->fentry->inf_len); 472 diff = fsize - uio->uio_offset; 480 if (lblktosize(udfmp, rablock) < fsize) { 481 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 D | udf.h | 68 int fsize; member in struct:udf_dirstream
|
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | spa_config.c | 83 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-10-stable/sys/mips/include/ |
H A D | asm.h | 179 #define NESTED(x, fsize, retpc) \ 183 .frame sp, fsize, retpc; \ 190 #define NESTED_NOPROFILE(x, fsize, retpc) \ 194 .frame sp, fsize, retpc 301 #define NON_LEAF(x, fsize, retpc) NESTED(x, fsize, retpc) 302 #define NNON_LEAF(x, fsize, retpc) NESTED_NOPROFILE(x, fsize, retpc)
|
/freebsd-10-stable/contrib/netbsd-tests/dev/scsipi/libscsitest/ |
H A D | scsitest.c | 213 uint64_t fsize; local 216 if (rumpuser_getfileinfo(MYCDISO, &fsize, &ft, &error)) 220 mycdsize = fsize / CDBLOCKSIZE;
|
/freebsd-10-stable/sys/cddl/compat/opensolaris/sys/ |
H A D | elf.h | 82 #define elf_fsize __elfN(fsize)
|
/freebsd-10-stable/sbin/ldconfig/ |
H A D | ldconfig.c | 531 long fsize; local 566 fsize = hdr->hh_ehints; 568 addr = mmap(0, fsize, PROT_READ, MAP_COPY, fd, 0);
|
/freebsd-10-stable/usr.bin/mail/ |
H A D | collect.c | 370 if (fsize(fbuf) == 0) { 587 if (fsize(nf) == 0) { 720 if (fsize(fp) == 0)
|
H A D | edit.c | 110 mp->m_size = (long)fsize(fp);
|
H A D | extern.h | 128 off_t fsize(FILE *);
|
/freebsd-10-stable/contrib/less/ |
H A D | ch.c | 67 POSITION fsize; member in struct:filestate 76 #define ch_fsize thisfile->fsize 875 thisfile->fsize = NULL_POSITION; 956 printf(" file %d, flags %x, fpos %x, fsize %x, blk/off %x/%x\n", 958 fs->fsize, fs->block, fs->offset);
|
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
H A D | dsl_dir.h | 140 uint64_t asize, uint64_t fsize, uint64_t usize, void **tr_cookiep,
|
/freebsd-10-stable/sys/net/ |
H A D | if_fwsubr.c | 87 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_NOWAIT);
|
/freebsd-10-stable/contrib/libarchive/libarchive/test/ |
H A D | test_read_format_rar5.c | 94 la_ssize_t fsize, bytes_read; local 99 fsize = (la_ssize_t) archive_entry_size(ae); 100 buf = malloc(fsize); 104 bytes_read = archive_read_data(a, buf, fsize); 105 if(bytes_read != fsize) { 106 assertEqualInt(bytes_read, fsize); 110 computed_crc = crc32(0, buf, fsize);
|
H A D | test_read_format_zip.c | 35 la_ssize_t fsize, bytes_read; local 40 fsize = (la_ssize_t) archive_entry_size(ae); 41 buf = malloc(fsize); 45 bytes_read = archive_read_data(a, buf, fsize); 46 if(bytes_read != fsize) { 47 assertEqualInt(bytes_read, fsize); 51 computed_crc = crc32(0, buf, fsize);
|