Home
last modified time | relevance | path

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

123

/freebsd-9-stable/contrib/openpam/lib/libpam/
Dpam_set_item.c64 size_t nsize, osize; in pam_set_item() local
70 osize = nsize = 0; in pam_set_item()
88 osize = strlen(*slot) + 1; in pam_set_item()
93 osize = nsize = sizeof(struct pam_repository); in pam_set_item()
96 osize = nsize = sizeof(struct pam_conv); in pam_set_item()
102 memset(*slot, 0xd0, osize); in pam_set_item()
/freebsd-9-stable/sys/dev/dcons/
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()
Ddcons.h53 V u_int32_t osize[DCONS_NPORT]; member
/freebsd-9-stable/sys/ufs/ffs/
Dffs_balloc.c101 int deallocated, osize, nsize, num, i, error; in ffs_balloc_ufs1() local
138 osize = blksize(fs, ip, nb); in ffs_balloc_ufs1()
139 if (osize < fs->fs_bsize && osize > 0) { in ffs_balloc_ufs1()
143 &dp->di_db[0]), osize, (int)fs->fs_bsize, flags, in ffs_balloc_ufs1()
150 fs->fs_bsize, osize, bp); in ffs_balloc_ufs1()
182 osize = fragroundup(fs, blkoff(fs, ip->i_size)); in ffs_balloc_ufs1()
184 if (nsize <= osize) { in ffs_balloc_ufs1()
185 error = bread(vp, lbn, osize, NOCRED, &bp); in ffs_balloc_ufs1()
195 &dp->di_db[0]), osize, nsize, flags, in ffs_balloc_ufs1()
202 nsize, osize, bp); in ffs_balloc_ufs1()
[all …]
Dffs_inode.c192 off_t osize; local
254 osize = ip->i_din2->di_extsize;
268 sblksize(fs, osize, i), ip->i_number,
301 osize = ip->i_size;
307 if (osize < length) {
312 vnode_pager_setsize(vp, osize);
449 ip->i_size = osize;
450 DIP_SET(ip, i_size, osize);
Dffs_alloc.c243 ffs_realloccg(ip, lbprev, bprev, bpref, osize, nsize, flags, cred, bpp) in ffs_realloccg() argument
248 int osize, nsize, flags;
273 if ((u_int)osize > fs->fs_bsize || fragoff(fs, osize) != 0 ||
277 devtoname(ip->i_dev), (long)fs->fs_bsize, osize,
287 freespace(fs, fs->fs_minfree) - numfrags(fs, nsize - osize) < 0) {
300 error = bread_gb(vp, lbprev, osize, NOCRED, gbflags, &bp);
313 error = chkdq(ip, btodb(nsize - osize), cred, 0);
325 bno = ffs_fragextend(ip, cg, bprev, osize, nsize);
329 delta = btodb(nsize - osize);
337 vfs_bio_bzero_buf(bp, osize, nsize - osize);
[all …]
Dffs_vnops.c649 off_t osize; local
704 osize = ip->i_size;
830 (void)ffs_truncate(vp, osize,
1049 off_t osize; in ffs_extwrite() local
1070 osize = dp->di_extsize; in ffs_extwrite()
1153 (void)ffs_truncate(vp, osize, in ffs_extwrite()
/freebsd-9-stable/usr.sbin/makefs/ffs/
Dffs_balloc.c88 int osize, nsize, num, i, error; in ffs_balloc_ufs1() local
112 osize = blksize(fs, ip, nb); in ffs_balloc_ufs1()
113 if (osize < fs->fs_bsize && osize > 0) { in ffs_balloc_ufs1()
150 osize = fragroundup(fs, blkoff(fs, ip->i_ffs1_size)); in ffs_balloc_ufs1()
152 if (nsize <= osize) { in ffs_balloc_ufs1()
162 osize, bpp); in ffs_balloc_ufs1()
339 int osize, nsize, num, i, error; in ffs_balloc_ufs2() local
363 osize = blksize(fs, ip, nb); in ffs_balloc_ufs2()
364 if (osize < fs->fs_bsize && osize > 0) { in ffs_balloc_ufs2()
401 osize = fragroundup(fs, blkoff(fs, ip->i_ffs2_size)); in ffs_balloc_ufs2()
[all …]
/freebsd-9-stable/contrib/binutils/ld/emultempl/
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-9-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
Dlz4.c38 int osize);
43 int isize, int osize);
45 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()
842 real_LZ4_compress(const char *source, char *dest, int isize, int osize) in real_LZ4_compress() argument
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()
[all …]
/freebsd-9-stable/sys/boot/i386/libi386/
Dsmbios.c193 int proc, size, osize, type; in smbios_parse_table() local
269 osize = SMBIOS_GET8(addr, 0x0a) & 0x7f; in smbios_parse_table()
270 if (osize > 0 && osize < 22) in smbios_parse_table()
271 smbios_old_enabled_memory += 1 << (osize + 10); in smbios_parse_table()
/freebsd-9-stable/sys/fs/ext2fs/
Dext2_balloc.c70 int osize, nsize, num, i, error; in ext2_balloc() local
109 osize = fragroundup(fs, blkoff(fs, ip->i_size)); in ext2_balloc()
111 if (nsize <= osize) { in ext2_balloc()
112 error = bread(vp, lbn, osize, NOCRED, &bp); in ext2_balloc()
121 (int)nsize, (int)size, (int)osize, in ext2_balloc()
Dext2_inode.c122 off_t osize; in ext2_truncate() local
153 osize = oip->i_size; in ext2_truncate()
159 if (osize < length) { in ext2_truncate()
168 vnode_pager_setsize(vp, osize); in ext2_truncate()
259 oip->i_size = osize; in ext2_truncate()
/freebsd-9-stable/contrib/gdb/gdb/
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-9-stable/contrib/binutils/libiberty/
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-9-stable/contrib/gcclibs/libiberty/
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-9-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
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-9-stable/sbin/fsck_ffs/
Dgjournal.c359 off_t osize; in clear_inode() local
367 osize = dino->di_extsize; in clear_inode()
373 blkfree(dino->di_extb[i], sblksize(fs, osize, i)); in clear_inode()
/freebsd-9-stable/sys/dev/snc/
Ddp83932subr.c617 size_t osize = size; in snc_nec16_copytobuf() local
644 bus_space_barrier(memt, memh, onoffset, osize, in snc_nec16_copytobuf()
657 size_t osize = size; in snc_nec16_zerobuf() local
679 bus_space_barrier(memt, memh, onoffset, osize, in snc_nec16_zerobuf()
/freebsd-9-stable/sys/contrib/octeon-sdk/
Dcvmx-mixx-defs.h1177 uint64_t osize : 20; /**< Represents the Outbound Ring Buffer's Size(in 8B member
1189 uint64_t osize : 20;
1197 uint64_t osize : 20; /**< Represents the Outbound Ring Buffer's Size(in 8B member
1211 uint64_t osize : 20;
/freebsd-9-stable/contrib/openbsm/bin/auditdistd/
Dreceiver.c367 size_t osize; in receiver_append() local
375 osize = size; in receiver_append()
391 osize, adhost->adh_directory, adhost->adh_trail_name); in receiver_append()
/freebsd-9-stable/sys/gnu/fs/xfs/FreeBSD/support/
Dkmem.h81 #define kmem_realloc(ptr, nsize, osize, flg) \ argument
/freebsd-9-stable/sys/sys/
Dvnode.h772 off_t osize, ooffset, noffset; \
774 osize = ooffset = noffset = 0; \
780 osize = (off_t)va.va_size; \
787 | (noffset > osize ? NOTE_EXTEND : 0)); \
/freebsd-9-stable/lib/libkvm/
Dkvm_proc.c479 size_t size, osize; in kvm_getprocs() local
529 osize = size; in kvm_getprocs()
533 } while (st == -1 && errno == ENOMEM && size == osize); in kvm_getprocs()
/freebsd-9-stable/sys/fs/msdosfs/
Dmsdosfs_vnops.c647 u_long osize; local
717 osize = dep->de_FileSize;
723 if (uio->uio_offset + resid > osize) {
725 de_clcount(pmp, osize);
731 lastcn = de_clcount(pmp, osize) - 1;
838 detrunc(dep, osize, ioflag & IO_SYNC, NOCRED, NULL);

123