Searched refs:osize (Results 1 - 25 of 56) sorted by relevance

123

/freebsd-11-stable/contrib/openpam/lib/libpam/
H A Dpam_set_item.c64 size_t nsize, osize; local
68 osize = nsize = 0;
86 osize = strlen(*slot) + 1;
91 osize = nsize = sizeof(struct pam_repository);
94 osize = nsize = sizeof(struct pam_conv);
100 memset(*slot, 0xd0, osize);
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dparseipfexpr.c39 int not, items, asize, *oplist, osize, i; local
120 * osize will mark the end of where we have filled up to
123 osize = asize;
133 ipfe = (ipfexp_t *)(oplist + osize);
134 osize += 4;
141 for (s = arg; (*s != '\0') && (osize < asize); s = t) {
173 oplist[osize++] = addr.in4.s_addr;
174 oplist[osize++] = mask.in4.s_addr;
202 oplist[osize++] = addr.i6[0];
203 oplist[osize
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlmem.c26 ** void * frealloc (void *ud, void *ptr, size_t osize, size_t nsize);
27 ** (`osize' is the old size, `nsize' is the new size)
75 void *luaM_realloc_ (lua_State *L, void *block, size_t osize, size_t nsize) { argument
78 size_t realosize = (block) ? osize : 0;
84 newblock = (*g->frealloc)(g->ud, block, osize, nsize);
90 newblock = (*g->frealloc)(g->ud, block, osize, nsize); /* try again */
/freebsd-11-stable/contrib/lua/src/
H A Dlmem.c28 ** void * frealloc (void *ud, void *ptr, size_t osize, size_t nsize);
29 ** ('osize' is the old size, 'nsize' is the new size)
77 void *luaM_realloc_ (lua_State *L, void *block, size_t osize, size_t nsize) { argument
80 size_t realosize = (block) ? osize : 0;
86 newblock = (*g->frealloc)(g->ud, block, osize, nsize);
91 newblock = (*g->frealloc)(g->ud, block, osize, nsize); /* try again */
/freebsd-11-stable/sys/dev/dcons/
H A Ddcons.c131 int osize; local
136 osize = size * 3 / 4;
138 dc->o.size = osize;
139 dc->i.size = size - osize;
141 dc->i.buf = dc->o.buf + osize;
147 buf->osize[port] = htonl(osize);
148 buf->isize[port] = htonl(size - osize);
150 buf->ioffset[port] = htonl(offset + osize);
169 dc->o.size = ntohl(buf->osize[por
[all...]
H A Ddcons.h53 V u_int32_t osize[DCONS_NPORT]; member in struct:dcons_buf
/freebsd-11-stable/contrib/netbsd-tests/sbin/resize_ffs/
H A Dcommon.sh113 local osize=$3
130 -s ${osize} ${i} -F ${IMG}
132 newfs -O${fslevel} -b ${bs} -f ${fragsz} -s ${osize} ${i} \
140 if [ ${nsize} -lt ${osize} ]; then
142 local remove=$((numdata-numdata*nsize/osize))
154 if [ ${nsize} -lt ${osize} ]; then
/freebsd-11-stable/usr.sbin/makefs/ffs/
H A Dffs_balloc.c88 int osize, nsize, num, i, error; local
113 osize = blksize(fs, ip, nb);
114 if (osize < fs->fs_bsize && osize > 0) {
151 osize = fragroundup(fs, blkoff(fs, ip->i_ffs1_size));
153 if (nsize <= osize) {
162 error = bread(&vp, lbn, osize, NULL,
338 int osize, nsize, num, i, error; local
363 osize = blksize(fs, ip, nb);
364 if (osize < f
[all...]
/freebsd-11-stable/contrib/binutils/ld/emultempl/
H A Dspu_ovl.S65 #define osize $7 define
224 rotqbyi osize, vma, 4
239 cgt cmp, osize, maxsize
240 selb sz, osize, maxsize, cmp
252 sf osize, sz, osize
253 brnz osize, __ovly_xfer_loop
/freebsd-11-stable/sys/ufs/ffs/
H A Dffs_balloc.c102 int deallocated, osize, nsize, num, i, error; local
139 osize = blksize(fs, ip, nb);
140 if (osize < fs->fs_bsize && osize > 0) {
144 &dp->di_db[0]), osize, (int)fs->fs_bsize, flags,
151 fs->fs_bsize, osize, bp);
184 osize = fragroundup(fs, blkoff(fs, ip->i_size));
186 if (nsize <= osize) {
187 error = bread(vp, lbn, osize, NOCRED, &bp);
197 &dp->di_db[0]), osize, nsiz
580 int deallocated, osize, nsize, num, i, error; local
[all...]
H A Dffs_inode.c217 off_t osize; local
279 osize = ip->i_din2->di_extsize;
293 sblksize(fs, osize, i), ip->i_number,
326 osize = ip->i_size;
330 * value of osize is 0, length will be at least 1.
332 if (osize < length) {
337 vnode_pager_setsize(vp, osize);
519 ip->i_size = osize;
520 DIP_SET(ip, i_size, osize);
H A Dffs_alloc.c242 ffs_realloccg(ip, lbprev, bprev, bpref, osize, nsize, flags, cred, bpp)
247 int osize, nsize, flags;
272 if ((u_int)osize > fs->fs_bsize || fragoff(fs, osize) != 0 ||
275 "dev = %s, bsize = %ld, osize = %d, nsize = %d, fs = %s\n",
276 devtoname(ump->um_dev), (long)fs->fs_bsize, osize,
286 freespace(fs, fs->fs_minfree) - numfrags(fs, nsize - osize) < 0) {
299 error = bread_gb(vp, lbprev, osize, NOCRED, gbflags, &bp);
312 error = chkdq(ip, btodb(nsize - osize), cred, 0);
324 bno = ffs_fragextend(ip, cg, bprev, osize, nsiz
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dlz4.c41 int osize);
46 int isize, int osize);
48 int isize, int osize);
467 int osize)
480 const BYTE *const oend = (BYTE *) dest + osize;
662 int osize)
675 const BYTE *const oend = (BYTE *) dest + osize;
842 real_LZ4_compress(const char *source, char *dest, int isize, int osize) argument
857 result = LZ4_compress64kCtx(ctx, source, dest, isize, osize);
859 result = LZ4_compressCtx(ctx, source, dest, isize, osize);
466 LZ4_compressCtx(void *ctx, const char *source, char *dest, int isize, int osize) argument
661 LZ4_compress64kCtx(void *ctx, const char *source, char *dest, int isize, int osize) argument
[all...]
H A Dzcp.c732 * Otherwise, behaves as realloc(), changing the allocation from osize to nsize.
740 zcp_lua_alloc(void *ud, void *ptr, size_t osize, size_t nsize) argument
775 } else if (nsize <= osize) {
782 ASSERT3U(nsize, >, osize);
788 (void) memcpy(luabuf, ptr, osize);
789 VERIFY3P(zcp_lua_alloc(ud, ptr, osize, 0), ==, NULL);
/freebsd-11-stable/stand/i386/libi386/
H A Dsmbios.c223 int proc, size, osize, type; local
306 osize = SMBIOS_GET8(addr, 0x0a) & 0x7f;
307 if (osize > 0 && osize < 22)
308 smbios.old_enabled_memory += 1 << (osize + 10);
/freebsd-11-stable/contrib/gdb/gdb/
H A Dprintcmd.c195 decode_format (char **string_ptr, int oformat, int osize)
232 val.size = osize;
246 val.size = osize ? 'g' : osize;
248 val.size = osize ? 'w' : osize;
250 val.size = osize ? 'h' : osize;
257 if (osize == 'w' || osize
194 decode_format(char **string_ptr, int oformat, int osize) argument
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_map.c74 size_t osize = maxformat * sizeof (void *); local
82 bcopy(*data, new_data, osize);
135 size_t osize = max * sizeof (void *); local
137 bcopy(dtp->dt_pdesc, new_pdesc, osize);
140 bcopy(dtp->dt_edesc, new_edesc, osize);
/freebsd-11-stable/stand/common/
H A Dinterp_lua.c68 interp_lua_realloc(void *ud __unused, void *ptr, size_t osize __unused, size_t nsize)
/freebsd-11-stable/sys/fs/ext2fs/
H A Dext2_inode.c128 off_t osize; local
159 osize = oip->i_size;
163 * value of osize is 0, length will be at least 1.
165 if (osize < length) {
174 vnode_pager_setsize(vp, osize);
265 oip->i_size = osize;
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dhashtab.c498 size_t nsize, osize, elts; local
503 osize = htab->size;
504 olimit = oentries + osize;
509 if (elts * 2 > osize || (elts * 8 < osize && osize > 32))
517 nsize = osize;
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dhashtab.c498 size_t nsize, osize, elts; local
503 osize = htab->size;
504 olimit = oentries + osize;
509 if (elts * 2 > osize || (elts * 8 < osize && osize > 32))
517 nsize = osize;
/freebsd-11-stable/sbin/fsck_ffs/
H A Dgjournal.c358 off_t osize; local
366 osize = dino->di_extsize;
372 blkfree(dino->di_extb[i], sblksize(fs, osize, i));
/freebsd-11-stable/sys/dev/snc/
H A Ddp83932subr.c617 size_t osize = size; local
644 bus_space_barrier(memt, memh, onoffset, osize,
657 size_t osize = size; local
679 bus_space_barrier(memt, memh, onoffset, osize,
/freebsd-11-stable/usr.sbin/binmiscctl/
H A Dbinmiscctl.c484 size_t osize = xbe_out_sz; local
489 xbe_out_sz == osize) {
/freebsd-11-stable/contrib/openbsm/bin/auditdistd/
H A Dreceiver.c365 size_t osize; local
373 osize = size;
389 osize, adhost->adh_directory, adhost->adh_trail_name);

Completed in 203 milliseconds

123