Home
last modified time | relevance | path

Searched refs:osize (Results 1 – 25 of 38) sorted by relevance

12

/openbsd/usr.sbin/makefs/ffs/
H A Dffs_balloc.c79 int osize, nsize, num, i, error; in ffs_balloc_ufs1() local
102 osize = blksize(fs, ip, nb); in ffs_balloc_ufs1()
103 if (osize < fs->fs_bsize && osize > 0) { in ffs_balloc_ufs1()
140 osize = fragroundup(fs, blkoff(fs, ip->i_ffs1_size)); in ffs_balloc_ufs1()
142 if (nsize <= osize) { in ffs_balloc_ufs1()
151 error = bread(ip->i_devvp, lbn, osize, in ffs_balloc_ufs1()
328 int osize, nsize, num, i, error; in ffs_balloc_ufs2() local
351 osize = blksize(fs, ip, nb); in ffs_balloc_ufs2()
352 if (osize < fs->fs_bsize && osize > 0) { in ffs_balloc_ufs2()
391 if (nsize <= osize) { in ffs_balloc_ufs2()
[all …]
/openbsd/sys/ufs/ffs/
H A Dffs_balloc.c80 int deallocated, osize, nsize, num, i, error; in ffs1_balloc() local
103 osize = blksize(fs, ip, nb); in ffs1_balloc()
104 if (osize < fs->fs_bsize && osize > 0) { in ffs1_balloc()
151 if (nsize <= osize) { in ffs1_balloc()
164 buf_adjcnt((*bpp), osize); in ffs1_balloc()
175 osize, nsize, cred, bpp, &newb); in ffs1_balloc()
442 osize = blksize(fs, ip, nb); in ffs2_balloc()
443 if (osize < fs->fs_bsize && osize > 0) { in ffs2_balloc()
445 lastlbn, nb, &ip->i_ffs2_db[0]), osize, in ffs2_balloc()
495 if (nsize <= osize) { in ffs2_balloc()
[all …]
H A Dffs_alloc.c185 if ((u_int)osize > fs->fs_bsize || fragoff(fs, osize) != 0 || in ffs_realloccg()
212 buf_adjcnt(bp, osize); in ffs_realloccg()
219 quota_updated = btodb(nsize - osize); in ffs_realloccg()
226 DIP_ADD(ip, blocks, btodb(nsize - osize)); in ffs_realloccg()
237 memset(bp->b_data + osize, 0, nsize - osize); in ffs_realloccg()
294 ffs_blkfree(ip, bprev, (long)osize); in ffs_realloccg()
298 DIP_ADD(ip, blocks, btodb(nsize - osize)); in ffs_realloccg()
308 memset(bp->b_data + osize, 0, nsize - osize); in ffs_realloccg()
899 for (i = numfrags(fs, osize); i < frags; i++) in ffs_fragextend()
913 cgp->cg_frsum[i - numfrags(fs, osize)]--; in ffs_fragextend()
[all …]
H A Dffs_inode.c138 off_t osize; in ffs_truncate() local
175 osize = DIP(oip, size); in ffs_truncate()
181 if (osize < length) { in ffs_truncate()
284 DIP_ASSIGN(oip, size, osize); in ffs_truncate()
H A Dffs_vnops.c281 off_t osize; in ffs_write() local
331 osize = DIP(ip, size); in ffs_write()
399 (void)UFS_TRUNCATE(ip, osize, in ffs_write()
/openbsd/libexec/spamd/
H A Dspamd.c78 size_t osize; member
197 cp->osize = 0; in grow_obuf()
200 cp->osize += 8192; in grow_obuf()
477 size_t len = cp->osize - off; in append_error_string()
500 len = cp->osize - (off + i); in append_error_string()
595 int left = cp->osize - off; in doreply()
626 if (cp->osize == -1) in doreply()
634 cp->osize = 0; in doreply()
788 cp->osize = 0; in closecon()
813 snprintf(cp->obuf, cp->osize, in nextstate()
[all …]
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dprintcmd.c194 decode_format (char **string_ptr, int oformat, int osize) in decode_format() argument
231 val.size = osize; in decode_format()
245 val.size = osize ? 'g' : osize; in decode_format()
247 val.size = osize ? 'w' : osize; in decode_format()
249 val.size = osize ? 'h' : osize; in decode_format()
256 if (osize == 'w' || osize == 'g') in decode_format()
257 val.size = osize; in decode_format()
261 val.size = osize ? 'g' : osize; in decode_format()
265 val.size = osize ? 'b' : osize; in decode_format()
269 val.size = osize; in decode_format()
/openbsd/sys/nfs/
H A Dnfs_kq.c95 u_quad_t osize; in nfs_kqpoll() local
119 osize = np->n_size; in nfs_kqpoll()
130 if (attr.va_size != osize) { in nfs_kqpoll()
133 if (attr.va_size > osize) in nfs_kqpoll()
H A Dnfs_vfsops.c444 int osize = nmp->nm_wsize; in nfs_decode_args() local
450 adjsock |= (nmp->nm_wsize != osize); in nfs_decode_args()
458 int osize = nmp->nm_rsize; in nfs_decode_args() local
464 adjsock |= (nmp->nm_rsize != osize); in nfs_decode_args()
/openbsd/gnu/lib/libiberty/src/
H A Dhashtab.c477 size_t nsize, osize, elts; in htab_expand() local
482 osize = htab->size; in htab_expand()
483 olimit = oentries + osize; in htab_expand()
488 if (elts * 2 > osize || (elts * 8 < osize && osize > 32)) in htab_expand()
496 nsize = osize; in htab_expand()
/openbsd/usr.bin/newsyslog/
H A Dnewsyslog.c1005 off_t osize; in domonitor() local
1038 if (fscanf(fp, "%lld\n", &osize) != 1) { in domonitor()
1046 if (sb.st_size < osize) in domonitor()
1047 osize = 0; in domonitor()
1050 if (sb.st_size > osize) { in domonitor()
1051 rb = malloc(sb.st_size - osize); in domonitor()
1061 fseek(fp, osize, SEEK_SET); in domonitor()
1062 rd = fread(rb, 1, sb.st_size - osize, fp); in domonitor()
/openbsd/sys/ufs/ext2fs/
H A Dext2fs_inode.c219 off_t osize; in ext2fs_truncate() local
245 osize = ext2fs_size(oip); in ext2fs_truncate()
251 if (osize < length) { in ext2fs_truncate()
341 (void)ext2fs_setsize(oip, osize); in ext2fs_truncate()
H A Dext2fs_readwrite.c243 off_t osize; in ext2fs_write() local
293 osize = ext2fs_size(ip); in ext2fs_write()
362 (void)ext2fs_truncate(ip, osize, in ext2fs_write()
/openbsd/bin/ksh/
H A Dtable.c58 int osize = tp->size; in texpand() local
68 for (i = 0; i < osize; i++) in texpand()
/openbsd/usr.sbin/makefs/msdos/
H A Dmsdosfs_vnops.c406 size_t osize = dep->de_FileSize; in msdosfs_wfile() local
427 DPRINTF(("%s(nsize=%zu, osize=%zu)\n", __func__, nsize, osize)); in msdosfs_wfile()
428 if (nsize > osize) { in msdosfs_wfile()
/openbsd/sys/msdosfs/
H A Dmsdosfs_vnops.c575 uint32_t osize; in msdosfs_write() local
636 osize = dep->de_FileSize; in msdosfs_write()
642 if (uio->uio_offset + resid > osize) { in msdosfs_write()
645 de_clcount(pmp, osize); in msdosfs_write()
651 lastcn = de_clcount(pmp, osize) - 1; in msdosfs_write()
738 if (dep->de_FileSize < osize) in msdosfs_write()
748 detrunc(dep, osize, ioflag & IO_SYNC, NOCRED, curproc); in msdosfs_write()
/openbsd/sys/dev/pci/drm/radeon/
H A Dradeon_legacy_crtc.c450 unsigned long nsize, osize; in radeon_crtc_do_set_base() local
453 osize = radeon_bo_size(old_rbo); in radeon_crtc_do_set_base()
455 if (nsize <= osize && !radeon_bo_reserve(old_rbo, false)) { in radeon_crtc_do_set_base()
/openbsd/sys/netinet/
H A Din_pcb.c1077 int osize; in in_pcbresize() local
1085 osize = table->inpt_size; in in_pcbresize()
1106 hashfree(ohashtbl, osize, M_PCB); in in_pcbresize()
1107 hashfree(olhashtbl, osize, M_PCB); in in_pcbresize()
/openbsd/usr.bin/ssh/
H A Dmoduli.c148 u_int32_t osize, u_int32_t ogenerator, BIGNUM * omodulus) in qfileout() argument
162 otype, otests, otries, osize, ogenerator); in qfileout()
/openbsd/gnu/usr.bin/binutils/include/
H A Dbfdlink.h434 bfd *obfd, enum bfd_link_hash_type otype, bfd_vma osize,
/openbsd/gnu/usr.bin/binutils-2.17/include/
H A Dbfdlink.h488 bfd *obfd, enum bfd_link_hash_type otype, bfd_vma osize,
/openbsd/gnu/usr.bin/binutils/ld/
H A Dldmain.c1013 bfd_vma osize, in multiple_common() argument
1044 if (osize > nsize) in multiple_common()
1051 else if (nsize > osize) in multiple_common()
/openbsd/sbin/pfctl/
H A Dpfctl.c1184 int osize = pf->trans->pfrb_size; in pfctl_ruleset_trans() local
1190 if (pfctl_trans(pf->dev, pf->trans, DIOCXBEGIN, osize)) in pfctl_ruleset_trans()
1546 int osize; in pfctl_rules() local
1556 osize = 0; in pfctl_rules()
1559 osize = t->pfrb_size; in pfctl_rules()
1648 if (pfctl_trans(dev, t, DIOCXCOMMIT, osize)) in pfctl_rules()
1657 if (pfctl_trans(dev, t, DIOCXROLLBACK, osize)) in pfctl_rules()
/openbsd/usr.bin/compress/
H A Dmain.c877 set_outfile(const char *infile, char *outfile, size_t osize) in set_outfile() argument
885 (void)strlcpy(outfile, infile, osize); in set_outfile()
/openbsd/gnu/usr.bin/binutils-2.17/ld/
H A Dldmain.c1071 bfd_vma osize, in multiple_common() argument
1102 if (osize > nsize) in multiple_common()
1109 else if (nsize > osize) in multiple_common()

12