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

123

/openbsd-current/gnu/gcc/gcc/config/pa/
H A Dpa64-linux.h45 int fsize; \
47 fsize = compute_frame_size (get_frame_size (), 0); \
60 (OFFSET) = - fsize; \
64 (OFFSET) = - fsize - 16; \
/openbsd-current/gnu/usr.bin/gcc/gcc/config/pa/
H A Dpa64-linux.h45 int fsize; \
47 fsize = compute_frame_size (get_frame_size (), 0); \
61 (OFFSET) = - fsize; \
65 (OFFSET) = - fsize - 16; \
/openbsd-current/sbin/newfs_ext2fs/
H A Dextern.h46 extern uint fsize; /* fragment size */
H A Dnewfs_ext2fs.c99 uint fsize = 0; /* fragment size */ variable
184 fsize = strsuftoi64("fragment size",
341 bsize = fsize;
351 if (fsize == 0)
352 fsize = bsize;
H A Dmke2fs.c203 if (!powerof2(fsize)) {
206 fsize);
208 if (fsize < sectorsize) {
211 fsize, sectorsize);
223 if (bsize != fsize) {
226 * but some kernel code refers fsize or fpg as bsize or bpg
232 bsize, fsize);
242 sblock.e2fs.e2fs_log_fsize = ilog2(fsize) - LOG_MINFSIZE;
245 sblock.e2fs_fsize = fsize;
523 fssize, bsize, fsize);
[all...]
/openbsd-current/usr.sbin/makefs/
H A Dffs.h45 int fsize; /* fragment size */ member in struct:__anon23
H A Dffs.c143 { "fsize", &ffs_opts->fsize, OPT_INT32, 1, INT_MAX },
155 ffs_opts->fsize = -1;
228 const uint32_t fsize = ffs_opts->fsize; local
247 pp->p_fragblock = DISKLABELV1_FFS_FRAGBLOCK(fsize, bsize / fsize);
379 if (ffs_opts->fsize != -1 || ffs_opts->bsize != -1)
380 errx(1, "b/fsize and disklabel are mutually exclusive");
385 ffs_opts->fsize
[all...]
/openbsd-current/lib/libelf/
H A Dlibelf_open.c129 size_t fsize; local
141 fsize = (size_t) sb.st_size;
179 if (fsize == 0) {
194 m = mmap(NULL, fsize, PROT_READ, MAP_PRIVATE, fd, (off_t) 0);
207 if ((m = malloc(fsize)) == NULL) {
212 if (read(fd, m, fsize) != (ssize_t) fsize) {
220 } else if ((m = _libelf_read_special_file(fd, &fsize)) != NULL)
225 if ((e = _libelf_memory(m, fsize, reporterror)) == NULL) {
232 (void) munmap(m, fsize);
[all...]
/openbsd-current/sys/arch/m88k/m88k/
H A Dsig_machdep.c113 size_t fsize; local
120 fsize = sizeof(struct sigframe);
122 fsize = offsetof(struct sigframe, sf_si);
131 fsize);
133 addr = local_stack_frame(tf, tf->tf_r[31], fsize);
140 bzero(&sf, fsize);
155 if (copyout((caddr_t)&sf, (caddr_t)fp, fsize))
282 local_stack_frame(struct trapframe *tf, vaddr_t tos, size_t fsize) argument
286 frame = (tos - fsize) & ~_STACKALIGNBYTES;
291 tos = frame + fsize;
[all...]
/openbsd-current/usr.sbin/mkuboot/
H A Dmkuboot.c151 uint32_t fsize; local
248 fsize = htobe32(sb.st_size);
249 crc = crc32(crc, (Bytef *)&fsize, sizeof(fsize));
250 if (write(ofd, &fsize, sizeof fsize) != sizeof fsize)
252 fsize = 0;
253 crc = crc32(crc, (Bytef *)&fsize, sizeof(fsize));
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/config/m68k/
H A Dm68k.c264 HOST_WIDE_INT fsize = ((size) + 3) & -4;
267 if (fsize > 30000)
270 fprintf (stream, "\taddl $-%d,a0\n", 2048 + fsize);
274 fprintf (stream, "\ttstb -%d(sp)\n", 2048 + fsize);
278 if (TARGET_68020 || fsize < 0x8000)
279 fprintf (stream, "\tlink a6,$%d\n", -fsize);
281 fprintf (stream, "\tlink a6,$0\n\tsubl $%d,sp\n", fsize);
283 else if (fsize)
286 if (fsize + 4 < 0x8000)
287 fprintf (stream, "\tadd.w $%d,sp\n", - (fsize
260 HOST_WIDE_INT fsize = ((size) + 3) & -4; local
316 HOST_WIDE_INT fsize = (size + 3) & -4; local
702 HOST_WIDE_INT fsize = ((size) + 3) & -4; local
814 HOST_WIDE_INT fsize = (size + 3) & -4; local
[all...]
/openbsd-current/sys/arch/mips64/include/
H A Dasm.h211 * LEAF(x, fsize)
215 #define LEAF(x, fsize) \
220 .frame sp, fsize, ra; \
233 #define NLEAF(x, fsize) \
238 .frame sp, fsize, ra; \
246 #define NON_LEAF(x, fsize, retpc) \
251 .frame sp, fsize, retpc; \
261 #define NNON_LEAF(x, fsize, retpc) \
266 .frame sp, fsize, retpc \
/openbsd-current/lib/libc/gen/
H A Ddisklabel.c107 u_int32_t fsize, frag = 8; local
113 getnumdflt(fsize, pfsize, 0);
114 if (fsize) {
118 frag = bsize / fsize;
120 DISKLABELV1_FFS_FRAGBLOCK(fsize, frag);
/openbsd-current/sys/arch/landisk/stand/xxboot/
H A Dufs12.c333 u_int64_t fsize; local
377 fsize = fp->f_di.i2.di_size;
379 fsize = fp->f_di.i1.di_size;
380 if (*size_p > fsize - fp->f_seekp)
381 *size_p = fsize - fp->f_seekp;
398 u_int64_t fsize; local
404 fsize = fp->f_di.i2.di_size;
406 fsize = fp->f_di.i1.di_size;
407 while ((u_int64_t)fp->f_seekp < fsize) {
685 u_int64_t fsize; local
729 u_int64_t fsize; local
[all...]
/openbsd-current/sys/arch/mips64/mips64/
H A Dsendsig.c102 int fsize; local
110 fsize = sizeof(struct sigframe);
112 fsize -= sizeof(siginfo_t);
117 - fsize);
119 fp = (struct sigframe *)(regs->sp - fsize);
/openbsd-current/sbin/newfs/
H A Dnewfs.c127 int fsize = 0; /* fragment size */ variable
245 fsize = strtonum(optarg, MINBSIZE / MAXFRAG, MAXBSIZE,
471 defaultfsize = fsize == 0;
472 if (fsize == 0) {
473 fsize = DISKLABELV1_FFS_FSIZE(pp->p_fragblock);
474 if (fsize <= 0)
475 fsize = MAXIMUM(DFL_FRAGSIZE, lp->d_secsize);
480 bsize = MINIMUM(DFL_BLKSIZE, 8 * fsize);
483 density = NFPI * fsize;
484 /* large sectors lead to fewer inodes due to large fsize,
[all...]
/openbsd-current/sbin/disklabel/
H A Ddisklabel.c495 u_int32_t fsize = DISKLABELV1_FFS_FSIZE(pp->p_fragblock); local
512 fsize, fsize * frag,
595 fprintf(f, "# %16.16s %16.16s fstype [fsize bsize cpg]\n",
623 "# other values. fsize/bsize/cpg should typically be '2048 16384 16' for a\n"
808 u_int32_t v, fsize; local
972 if (tp == NULL) /* ok to skip fsize/bsize */
974 NXTNUM(fsize, fsize, &errstr);
975 if (fsize
[all...]
/openbsd-current/sys/isofs/udf/
H A Dudf.h96 int fsize; member in struct:udf_dirstream
H A Dudf_vnops.c451 off_t fsize, offset; local
458 fsize = letoh64(up->u_fentry->inf_len);
460 while (uio->uio_offset < fsize && uio->uio_resid > 0) {
463 if (size > fsize - offset)
464 size = fsize - offset;
572 udf_opendir(struct unode *up, int offset, int fsize, struct umount *ump) argument
581 ds->fsize = fsize;
593 if (ds->offset + ds->off >= ds->fsize) {
1007 int numdirpasses, fsize; local
[all...]
/openbsd-current/sys/kern/
H A Dspec_vnops.c229 u_int32_t fsize = local
232 fsize != 0)
233 bsize = frag * fsize;
318 u_int32_t fsize = local
321 fsize != 0)
322 bsize = frag * fsize;
/openbsd-current/gnu/gcc/gcc/config/pdp11/
H A Dpdp11.c260 HOST_WIDE_INT fsize = ((size) + 1) & ~1;
289 if (fsize)
290 asm_fprintf (stream, "\tsub $%#wo, sp\n", fsize);
366 HOST_WIDE_INT fsize = ((size) + 1) & ~1;
388 fprintf(stream, "\tmov %#o(r5), %s\n",(-fsize-2*j--)&0xffff, reg_names[i]);
406 fprintf(stream, "\tldd %#o(r5), %s\n", (-fsize-k)&0xffff, reg_names[i]);
416 fprintf(stream, "\tldd %#o(r5), %s\n", (-fsize-k)&0xffff, reg_names[via_ac]);
456 if (fsize)
457 fprintf((stream), "\tadd $%#o, sp\n", (fsize)&0xffff);
258 HOST_WIDE_INT fsize = ((size) + 1) & ~1; local
364 HOST_WIDE_INT fsize = ((size) + 1) & ~1; local
/openbsd-current/gnu/usr.bin/gcc/gcc/config/pdp11/
H A Dpdp11.c154 HOST_WIDE_INT fsize = ((size) + 1) & ~1;
182 if (fsize)
183 fprintf (stream, "\tsub $%#o, sp\n", fsize);
263 HOST_WIDE_INT fsize = ((size) + 1) & ~1;
285 fprintf(stream, "\tmov %#o(r5), %s\n",(-fsize-2*j--)&0xffff, reg_names[i]);
303 fprintf(stream, "\tldd %#o(r5), %s\n", (-fsize-k)&0xffff, reg_names[i]);
314 fprintf(stream, "\tldd %#o(r5), %s\n", (-fsize-k)&0xffff, reg_names[via_ac]);
355 if (fsize)
356 fprintf((stream), "\tadd $%#o, sp\n", (fsize)&0xffff);
152 HOST_WIDE_INT fsize = ((size) + 1) & ~1; local
261 HOST_WIDE_INT fsize = ((size) + 1) & ~1; local
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_posix.cpp205 uptr fsize = internal_filesize(fd); local
206 CHECK_NE(fsize, (uptr)-1);
207 CHECK_GT(fsize, 0);
208 *buff_size = RoundUpTo(fsize, GetPageSizeCached());
/openbsd-current/gnu/gcc/gcc/config/m68k/
H A Dm68k.c801 HOST_WIDE_INT fsize, fsize_with_regs;
823 fsize = current_frame.size;
834 fsize_with_regs = fsize;
849 if (current_frame.offset + fsize >= 0x8000
856 fsize += current_frame.offset;
858 asm_fprintf (stream, "\t%Omove" ASM_DOT "l %I%wd,%Ra1\n", -fsize);
859 fsize = 0, big = true;
869 HOST_WIDE_INT offset = current_frame.offset + fsize;
932 current_frame.offset + fsize,
938 current_frame.offset + fsize,
796 HOST_WIDE_INT fsize, fsize_with_regs; local
[all...]
/openbsd-current/sys/sys/
H A Ddisklabel.h148 #define DISKLABELV1_FFS_FRAGBLOCK(fsize, frag) \
149 ((fsize) * (frag) == 0 ? 0 : \
150 (((ffs((fsize) * (frag)) - 13) << 3) | (ffs(frag))))

Completed in 301 milliseconds

123