Home
last modified time | relevance | path

Searched refs:frags (Results 1 – 25 of 69) sorted by relevance

123

/openbsd/src/usr.sbin/makefs/ffs/
Dffs_alloc.c286 int error, frags, allocsiz, i; in ffs_alloccg() local
312 frags = numfrags(fs, size); in ffs_alloccg()
313 for (allocsiz = frags; allocsiz < fs->fs_frag; allocsiz++) in ffs_alloccg()
327 for (i = frags; i < fs->fs_frag; i++) in ffs_alloccg()
329 i = fs->fs_frag - frags; in ffs_alloccg()
339 for (i = 0; i < frags; i++) in ffs_alloccg()
341 cgp->cg_cs.cs_nffree -= frags; in ffs_alloccg()
342 fs->fs_cstotal.cs_nffree -= frags; in ffs_alloccg()
343 fs->fs_cs(fs, cg).cs_nffree -= frags; in ffs_alloccg()
346 if (frags != allocsiz) in ffs_alloccg()
[all …]
/openbsd/src/sbin/fsck_ffs/
Dutilities.c442 allocblk(int frags) in allocblk() argument
449 if (frags <= 0 || frags > sblock.fs_frag) in allocblk()
452 for (j = 0; j <= sblock.fs_frag - frags; j++) { in allocblk()
455 for (k = 1; k < frags; k++) in allocblk()
458 if (k < frags) { in allocblk()
469 for (k = 0; k < frags; k++) { in allocblk()
473 n_blks += frags; in allocblk()
474 if (frags == sblock.fs_frag) in allocblk()
477 cgp->cg_cs.cs_nffree -= frags; in allocblk()
488 freeblk(daddr_t blkno, int frags) in freeblk() argument
[all …]
Dpass5.c64 int blk, frags, basesize, sumsize, mapsize, savednrpos=0; in pass5() local
269 frags = 0; in pass5()
274 frags++; in pass5()
276 if (frags == fs->fs_frag) { in pass5()
281 } else if (frags > 0) { in pass5()
282 newcg->cg_cs.cs_nffree += frags; in pass5()
/openbsd/src/sys/dev/usb/
Dusb_mem.c203 p->block->frags = NULL; in usb_allocmem()
222 b->frags = mallocarray(USB_MEM_CHUNKS, sizeof(*f), M_USB, in usb_allocmem()
224 if (b->frags == NULL) { in usb_allocmem()
230 f = &b->frags[i]; in usb_allocmem()
251 if (p->block->frags == NULL) { in usb_freemem()
257 f = &p->block->frags[p->offs / USB_MEM_SMALL]; in usb_freemem()
Dusb_mem.h46 struct usb_frag_dma *frags; member
/openbsd/src/sys/ufs/ffs/
Dffs_alloc.c878 int i, frags, bbase; in ffs_fragextend() local
883 frags = numfrags(fs, nsize); in ffs_fragextend()
885 if (bbase > fragnum(fs, (bprev + frags - 1))) { in ffs_fragextend()
899 for (i = numfrags(fs, osize); i < frags; i++) in ffs_fragextend()
910 for (i = frags; i < fs->fs_frag - bbase; i++) in ffs_fragextend()
914 if (i != frags) in ffs_fragextend()
915 cgp->cg_frsum[i - frags]++; in ffs_fragextend()
916 for (i = numfrags(fs, osize); i < frags; i++) { in ffs_fragextend()
942 int i, frags, allocsiz; in ffs_alloccg() local
972 frags = numfrags(fs, size); in ffs_alloccg()
[all …]
Dfs.h530 #define fragstoblks(fs, frags) /* calculates (frags / fs->fs_frag) */ \ argument
531 ((frags) >> (fs)->fs_fragshift)
/openbsd/src/regress/sbin/pfctl/
Dpf55.in8 set limit { states 4522, frags 43556 }
16 set limit frags 34557
Dpf55.ok19 set limit frags 43556
26 set limit frags 34557
Dpfail11.in4 set limit states 1000, frags 1000
Dpf22.in5 set limit {states 1000,frags 1000}
Dpf22.ok7 set limit frags 1000
/openbsd/src/gnu/usr.bin/binutils/gas/
Dfrags.h122 if (obstack_room (&frags) <= 1) \
127 obstack_1grow (&frags, datum); \
Ddep-in.sed37 s! frags\.h!!g
Dmakefile.vms44 flonum-mult.obj,frags.obj,hash.obj,input-file.obj,input-scrub.obj,\
DMakefile.am189 frags.c \
220 frags.h \
437 frags.o \
527 frags.h hash.h listing.h obj.h read.h symbols.h tc.h write.h
/openbsd/src/sbin/dump/
Ddump.h108 void ufs1_blksout(int32_t *blkp, int frags, ino_t ino);
109 void ufs2_blksout(daddr_t *blkp, int frags, ino_t ino);
Dtraverse.c619 ufs1_blksout(int32_t *blkp, int frags, ino_t ino) in ufs1_blksout() argument
624 blks = howmany(frags * sblock->fs_fsize, TP_BSIZE); in ufs1_blksout()
654 ufs2_blksout(daddr_t *blkp, int frags, ino_t ino) in ufs2_blksout() argument
659 blks = howmany(frags * sblock->fs_fsize, TP_BSIZE); in ufs2_blksout()
/openbsd/src/gnu/usr.bin/binutils/gas/po/
DPOTFILES.in168 frags.c
169 frags.c
170 frags.h
/openbsd/src/gnu/usr.bin/binutils/gas/config/
Dobj-coff.c4104 fixup_mdeps (frags, h, this_segment) in fixup_mdeps() argument
4105 fragS *frags; in fixup_mdeps()
4111 while (frags)
4113 switch (frags->fr_type)
4120 HANDLE_ALIGN (frags);
4122 frags->fr_type = rs_fill;
4123 frags->fr_offset =
4124 ((frags->fr_next->fr_address - frags->fr_address - frags->fr_fix)
4125 / frags->fr_var);
4128 md_convert_frag (h, this_segment, frags);
[all …]
/openbsd/src/gnu/usr.bin/binutils-2.17/gas/po/
DPOTFILES.in145 frags.c
146 frags.h
/openbsd/src/gnu/usr.bin/binutils-2.17/gas/
Ddep-in.sed38 s! frags\.h!!g
/openbsd/src/gnu/lib/libiberty/src/
Dconfigure.ac188 frags=${libiberty_topdir}/libiberty/config/$frag
190 frags=
216 frags="${frags} ${libiberty_topdir}/config/${frag}"
222 for frag in ${frags}; do
/openbsd/src/gnu/usr.bin/binutils/gas/doc/
Dinternals.texi546 @cindex internals, frags
547 @cindex frags
552 frags to hold the data that it reads. At the end of the assembly the frags and
558 of all frags after the entire input file is parsed. The function
645 @code{fr_offset} is 0, this frag has a length of @code{fr_fix}. Most frags
669 A chain of frags is built up for each subsection. The data structure
675 Points to the first frag in the chain. May be NULL if there are no frags in
701 After the input files have been completely processed, and no more frags are to
709 Relaxing is done using variant frags allocated by @code{frag_var}
744 For certain targets, instructions can create variant frags which are used to
[all …]
/openbsd/src/gnu/usr.bin/binutils-2.17/gas/doc/
Dinternals.texi523 @cindex internals, frags
524 @cindex frags
529 frags to hold the data that it reads. At the end of the assembly the frags and
535 of all frags after the entire input file is parsed. The function
622 @code{fr_offset} is 0, this frag has a length of @code{fr_fix}. Most frags
646 A chain of frags is built up for each subsection. The data structure
652 Points to the first frag in the chain. May be NULL if there are no frags in
677 After the input files have been completely processed, and no more frags are to
685 Relaxing is done using variant frags allocated by @code{frag_var}
720 For certain targets, instructions can create variant frags which are used to
[all …]

123