Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/ipfilter/lib/
H A Dparseipfexpr.c123 osize = asize;
134 osize += 4;
202 oplist[osize++] = addr.i6[0];
203 oplist[osize++] = addr.i6[1];
204 oplist[osize++] = addr.i6[2];
205 oplist[osize++] = addr.i6[3];
218 oplist[osize++] = p;
233 oplist[osize++] = flags;
234 oplist[osize++] = mask;
250 oplist[osize++] = port;
[all …]
/freebsd-12.1/contrib/openpam/lib/libpam/
H A Dpam_set_item.c64 size_t nsize, osize; in pam_set_item() local
68 osize = nsize = 0; in pam_set_item()
86 osize = strlen(*slot) + 1; in pam_set_item()
91 osize = nsize = sizeof(struct pam_repository); in pam_set_item()
94 osize = nsize = sizeof(struct pam_conv); in pam_set_item()
100 memset(*slot, 0xd0, osize); in pam_set_item()
/freebsd-12.1/sys/dev/dcons/
H A Ddcons.c133 int osize; in dcons_init_port() local
138 osize = size * 3 / 4; in dcons_init_port()
140 dc->o.size = osize; in dcons_init_port()
141 dc->i.size = size - osize; in dcons_init_port()
143 dc->i.buf = dc->o.buf + osize; in dcons_init_port()
149 buf->osize[port] = htonl(osize); in dcons_init_port()
150 buf->isize[port] = htonl(size - osize); in dcons_init_port()
152 buf->ioffset[port] = htonl(offset + osize); in dcons_init_port()
171 dc->o.size = ntohl(buf->osize[port]); in dcons_load_buffer()
/freebsd-12.1/sys/ufs/ffs/
H A Dffs_balloc.c141 osize = blksize(fs, ip, nb); in ffs_balloc_ufs1()
142 if (osize < fs->fs_bsize && osize > 0) { in ffs_balloc_ufs1()
189 if (nsize <= osize) { in ffs_balloc_ufs1()
207 nsize, osize, bp); in ffs_balloc_ufs1()
634 if (osize < fs->fs_bsize && osize > 0) { in ffs_balloc_ufs2()
682 if (nsize <= osize) { in ffs_balloc_ufs2()
704 nsize, osize, bp); in ffs_balloc_ufs2()
739 osize = blksize(fs, ip, nb); in ffs_balloc_ufs2()
740 if (osize < fs->fs_bsize && osize > 0) { in ffs_balloc_ufs2()
787 if (nsize <= osize) { in ffs_balloc_ufs2()
[all …]
H A Dffs_inode.c201 off_t osize; local
264 osize = ip->i_din2->di_extsize;
278 sblksize(fs, osize, i), ip->i_number,
311 osize = ip->i_size;
317 if (osize < length) {
322 vnode_pager_setsize(vp, osize);
502 ip->i_size = osize;
503 DIP_SET(ip, i_size, osize);
H A Dffs_alloc.c250 int osize, nsize, flags;
273 if ((u_int)osize > fs->fs_bsize || fragoff(fs, osize) != 0 ||
329 delta = btodb(nsize - osize);
337 vfs_bio_bzero_buf(bp, osize, nsize - osize);
339 vfs_bio_set_valid(bp, osize, nsize - osize);
413 delta = btodb(nsize - osize);
421 vfs_bio_bzero_buf(bp, osize, nsize - osize);
423 vfs_bio_set_valid(bp, osize, nsize - osize);
1663 int osize, nsize;
1702 cgp->cg_frsum[i - numfrags(fs, osize)]--;
[all …]
/freebsd-12.1/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-12.1/usr.sbin/makefs/ffs/
H A Dffs_balloc.c90 int osize, nsize, num, i, error; in ffs_balloc_ufs1() local
114 osize = blksize(fs, ip, nb); in ffs_balloc_ufs1()
115 if (osize < fs->fs_bsize && osize > 0) { in ffs_balloc_ufs1()
153 osize = fragroundup(fs, blkoff(fs, ip->i_ffs1_size)); in ffs_balloc_ufs1()
155 if (nsize <= osize) { in ffs_balloc_ufs1()
164 error = bread(ip->i_devvp, lbn, osize, in ffs_balloc_ufs1()
341 int osize, nsize, num, i, error; in ffs_balloc_ufs2() local
365 osize = blksize(fs, ip, nb); in ffs_balloc_ufs2()
366 if (osize < fs->fs_bsize && osize > 0) { in ffs_balloc_ufs2()
406 if (nsize <= osize) { in ffs_balloc_ufs2()
[all …]
/freebsd-12.1/contrib/binutils/ld/emultempl/
H A Dspu_ovl.S65 #define osize $7 macro
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-12.1/contrib/lua/src/
H A Dlmem.c77 void *luaM_realloc_ (lua_State *L, void *block, size_t osize, size_t nsize) { in luaM_realloc_() argument
80 size_t realosize = (block) ? osize : 0; in luaM_realloc_()
86 newblock = (*g->frealloc)(g->ud, block, osize, nsize); in luaM_realloc_()
91 newblock = (*g->frealloc)(g->ud, block, osize, nsize); /* try again */ in luaM_realloc_()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlmem.c75 void *luaM_realloc_ (lua_State *L, void *block, size_t osize, size_t nsize) { in luaM_realloc_() argument
78 size_t realosize = (block) ? osize : 0; in luaM_realloc_()
84 newblock = (*g->frealloc)(g->ud, block, osize, nsize); in luaM_realloc_()
90 newblock = (*g->frealloc)(g->ud, block, osize, nsize); /* try again */ in luaM_realloc_()
/freebsd-12.1/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) in LZ4_compressCtx() argument
480 const BYTE *const oend = (BYTE *) dest + osize; in LZ4_compressCtx()
662 int osize) in LZ4_compress64kCtx() argument
675 const BYTE *const oend = (BYTE *) dest + osize; in LZ4_compress64kCtx()
857 result = LZ4_compress64kCtx(ctx, source, dest, isize, osize); in real_LZ4_compress()
859 result = LZ4_compressCtx(ctx, source, dest, isize, osize); in real_LZ4_compress()
865 return (LZ4_compress64kCtx(NULL, source, dest, isize, osize)); in real_LZ4_compress()
[all …]
/freebsd-12.1/sys/fs/ext2fs/
H A Dext2_inode.c241 off_t osize; in ext2_ind_truncate() local
252 osize = oip->i_size; in ext2_ind_truncate()
258 if (osize < length) { in ext2_ind_truncate()
267 vnode_pager_setsize(vp, osize); in ext2_ind_truncate()
358 oip->i_size = osize; in ext2_ind_truncate()
471 off_t osize; in ext2_ext_truncate() local
475 osize = oip->i_size; in ext2_ext_truncate()
477 if (osize < length) { in ext2_ext_truncate()
487 vnode_pager_setsize(vp, osize); in ext2_ext_truncate()
532 oip->i_size = osize; in ext2_ext_truncate()
/freebsd-12.1/contrib/gdb/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()
/freebsd-12.1/tests/sys/fs/fusefs/
H A Dutils.hh163 uint64_t osize, const void *contents, int flags = -1);
199 uint64_t osize, uint32_t flags_set, uint32_t flags_unset,
204 uint64_t osize, const void *contents);
H A Dutils.cc328 uint64_t osize, const void *contents, int flags) in expect_read() argument
344 out.header.len = sizeof(struct fuse_out_header) + osize; in expect_read()
345 memmove(out.body.bytes, contents, osize); in expect_read()
436 uint64_t osize, uint32_t flags_set, uint32_t flags_unset, in expect_write() argument
466 out.body.write.size = osize; in expect_write()
471 uint64_t osize, const void *contents) in expect_write_7_8() argument
489 out.body.write.size = osize; in expect_write_7_8()
H A Dio.cc183 ssize_t osize; in SetUp() local
185 osize = pread(m_backing_fd, buf, isize, iofs); in SetUp()
186 ASSERT_LE(0, osize) << strerror(errno); in SetUp()
187 out.header.len = sizeof(struct fuse_out_header) + osize; in SetUp()
/freebsd-12.1/stand/i386/libi386/
H A Dsmbios.c223 int proc, size, osize, type; in smbios_parse_table() local
306 osize = SMBIOS_GET8(addr, 0x0a) & 0x7f; in smbios_parse_table()
307 if (osize > 0 && osize < 22) in smbios_parse_table()
308 smbios.old_enabled_memory += 1 << (osize + 10); in smbios_parse_table()
/freebsd-12.1/contrib/gcclibs/libiberty/
H A Dhashtab.c498 size_t nsize, osize, elts; in htab_expand() local
503 osize = htab->size; in htab_expand()
504 olimit = oentries + osize; in htab_expand()
509 if (elts * 2 > osize || (elts * 8 < osize && osize > 32)) in htab_expand()
517 nsize = osize; in htab_expand()
/freebsd-12.1/contrib/binutils/libiberty/
H A Dhashtab.c498 size_t nsize, osize, elts; in htab_expand() local
503 osize = htab->size; in htab_expand()
504 olimit = oentries + osize; in htab_expand()
509 if (elts * 2 > osize || (elts * 8 < osize && osize > 32)) in htab_expand()
517 nsize = osize; in htab_expand()
/freebsd-12.1/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_map.c74 size_t osize = maxformat * sizeof (void *); in dt_strdata_add() local
82 bcopy(*data, new_data, osize); in dt_strdata_add()
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-12.1/sbin/fsck_ffs/
H A Dgjournal.c356 off_t osize; in clear_inode() local
364 osize = dino->di_extsize; in clear_inode()
370 blkfree(dino->di_extb[i], sblksize(fs, osize, i)); in clear_inode()
/freebsd-12.1/usr.sbin/makefs/msdos/
H A Dmsdosfs_vnops.c438 size_t osize = dep->de_FileSize; in msdosfs_wfile() local
458 MSDOSFS_DPRINTF(("%s(nsize=%zu, osize=%zu)\n", __func__, nsize, osize)); in msdosfs_wfile()
459 if (nsize > osize) { in msdosfs_wfile()
/freebsd-12.1/sys/contrib/octeon-sdk/
H A Dcvmx-mixx-defs.h1243 uint64_t osize : 20; /**< Represents the Outbound Ring Buffer's Size(in 8B member
1255 uint64_t osize : 20;
1262 uint64_t osize : 20; /**< Represents the Outbound Ring Buffer's Size(in 8B member
1276 uint64_t osize : 20;
/freebsd-12.1/contrib/openbsm/bin/auditdistd/
H A Dreceiver.c365 size_t osize; in receiver_append() local
373 osize = size; in receiver_append()
389 osize, adhost->adh_directory, adhost->adh_trail_name); in receiver_append()

123