Searched refs:bsize (Results 1 - 25 of 43) sorted by relevance

12

/osnet-11/usr/src/lib/libc/port/gen/
H A Dgetxby_door.h58 nss_status_t _nsc_trydoorcall(void **dptr, size_t *bsize, size_t *dsize);
59 nss_status_t _nsc_trydoorcall_ext(void **dptr, size_t *bsize, size_t *dsize);
60 int _nsc_getdoorbuf(void **dptr, size_t *bsize);
61 void _nsc_resizedoorbuf(size_t bsize);
/osnet-11/usr/src/cmd/sendmail/src/
H A Dbf.c108 size_t bsize; local
116 bsize = ((struct bf_info *) info)->bi_bsize;
142 /* A zero bsize is valid, just don't allocate memory */
143 if (bsize > 0)
145 bfp->bf_buf = (char *) sm_malloc(bsize);
161 bfp->bf_bufsize = bsize;
192 ** bsize -- amount of buffer space to allocate (may be 0)
218 bfopen(char *filename, MODE_T fmode, size_t bsize, long flags) argument
221 bfopen(filename, fmode, bsize, flags)
224 size_t bsize;
832 int bsize; local
[all...]
H A Dcontrol.c365 long bsize; local
372 free = freediskspace(Queue[qgrp]->qg_qdir, &bsize);
376 ** precision (if bsize == 512)
381 ((double) bsize / 1024));
H A Dcollect.c965 long bsize; local
990 &bsize);
993 if (bsize > 1024)
994 avail *= bsize / 1024;
995 else if (bsize < 1024)
996 avail /= 1024 / bsize;
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dfsys_ffs.c101 int bnum, offset, bsize; local
114 bsize = MAPBUF_LEN;
121 bsize = SUPERBLOCK->fs_bsize;
125 if (! devread (bnum, offset * sizeof (int), bsize, (char *) MAPBUF))
135 mapblock_bsize = bsize;
H A Dfsys_ufs2.c125 int bnum, offset, bsize; local
139 bsize = MAPBUF_LEN;
146 bsize = SUPERBLOCK->fs_bsize;
150 if (! devread (bnum, offset * sizeof (int), bsize, (char *) MAPBUF))
160 mapblock_bsize = bsize;
H A Dfsys_xfs.c36 int bsize; member in struct:xfs_info
466 xfs.bsize = le32 (super.sb_blocksize);
472 xfs.dirbsize = xfs.bsize << super.sb_dirblklog;
479 ((xfs.bsize - sizeof(xfs_btree_block_t)) /
543 char linkbuf[xfs.bsize];
558 if (di_size < xfs.bsize - 1) {
568 while (n < (xfs.bsize - 1) && (linkbuf[n++] = *dirname++));
/osnet-11/usr/src/grub/grub2/grub-core/disk/ieee1275/
H A Dnand.c145 grub_size_t bsize, ofs; local
167 bsize = (data->block_size << GRUB_DISK_SECTOR_BITS);
173 len = (ofs + size > bsize) ? (bsize - ofs) : size;
/osnet-11/usr/src/lib/libast/common/misc/
H A Dstk.c215 register int bsize; local
232 bsize = init+sizeof(struct frame);
235 bsize = roundof(bsize,STK_FSIZE/16);
238 bsize = roundof(bsize,STK_FSIZE);
239 bsize -= sizeof(struct frame);
240 if(!(fp=newof((char*)0,struct frame, 1,bsize)))
245 count(addsize,sizeof(*fp)+bsize);
251 fp->end = sp->stkend = cp+bsize;
[all...]
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash.c168 (info && info->bsize ? info->bsize : DEF_BUCKET_SIZE)) !=
190 (hashp->hdr.bsize << BYTE_SHIFT) - 1) >>
202 csize = info->cachesize / hashp->hdr.bsize;
204 csize = DEF_CACHESIZE / hashp->hdr.bsize;
205 hashp->mp = mpool_open(&mpool_key, hashp->fp, hashp->hdr.bsize, csize);
224 hashp->split_buf = (PAGE16 *)malloc(hashp->hdr.bsize);
248 "BUCKET SIZE ", hashp->hdr.bsize,
329 hashp->hdr.bsize = DEF_BUCKET_SIZE;
340 hashp->hdr.bsize
[all...]
H A Dhsearch.c59 info.bsize = 256;
H A Dhash.h70 int32_t bsize; /* Bucket/Page Size */ member in struct:hashhdr
165 #define MAX_PAGES(H) (DB_OFF_T_MAX / (H)->hdr.bsize)
H A Dhash_page.c145 key->size = hashp->hdr.bsize -
350 delta = hashp->hdr.bsize - DATA_OFF(pagep, ndx);
377 (u_int8_t *)pagep + hashp->hdr.bsize - len;
462 off = hashp->hdr.bsize;
471 memcpy(temp_pagep, old_pagep, hashp->hdr.bsize);
483 off = hashp->hdr.bsize;
797 OFFSET(pagep) = hashp->hdr.bsize - 1;
901 max = hashp->hdr.bsize >> 2; /* divide by 4 bytes */
932 max = hashp->hdr.bsize >> 2; /* divide by 4 bytes */
1060 0xFF, hashp->hdr.bsize
[all...]
H A Dpage.h130 #define ISBIG(N, P) (((N) > ((P)->hdr.bsize * MINFILL)) ? 1 : 0)
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dbfs.c81 grub_uint32_t bsize; member in struct:grub_bfs_superblock
627 grub_bfs_to_cpu32 (sb->bsize), (char *) ino);
640 grub_uint8_t raw[grub_bfs_to_cpu32 (sb->bsize)];
645 grub_bfs_to_cpu32 (sb->bsize));
660 grub_memcpy (&old_ino, ino, grub_bfs_to_cpu32 (sb->bsize));
723 grub_bfs_to_cpu32 (sb->bsize));
731 grub_memcpy (ino, &old_ino, grub_bfs_to_cpu32 (sb->bsize));
767 || (grub_bfs_to_cpu32 (sb->bsize)
794 grub_uint8_t raw[grub_bfs_to_cpu32 (sb.bsize)];
801 grub_bfs_to_cpu32 (sb.bsize), (cha
[all...]
H A Dufs.c53 #define UFS_BLKSZ(sblock) (grub_le_to_cpu32 (sblock->bsize))
101 grub_int32_t bsize; member in struct:grub_ufs_sblock
542 /* No need to byteswap bsize in this check. It works the same on both
545 && data->sblock.bsize != 0
546 && ((data->sblock.bsize & (data->sblock.bsize - 1)) == 0))
549 (1U << data->log2_blksz) < grub_le_to_cpu32 (data->sblock.bsize);
/osnet-11/usr/src/lib/libparted/common/libparted/fs/hfs/
H A Dreloc_plus.c486 unsigned int i, j, size, bsize; local
504 bsize = PED_BE16_TO_CPU (header->node_size);
505 size = bsize / PED_SECTOR_SIZE_DEFAULT;
508 node = (uint8_t*) ped_malloc(bsize);
525 (node+(bsize - 2*i)))) );
533 >= (signed) bsize
611 unsigned int i, j, size, bsize; local
626 bsize = PED_BE16_TO_CPU (header->node_size);
627 size = bsize / PED_SECTOR_SIZE_DEFAULT;
630 node = (uint8_t*) ped_malloc (bsize);
726 unsigned int i, j, size, bsize; local
[all...]
H A Dadvfs_plus.c81 unsigned int node_number, record_number, size, bsize; local
95 size = (bsize = PED_BE16_TO_CPU (header->node_size)) / PED_SECTOR_SIZE_DEFAULT;
96 node = (uint8_t*) ped_malloc (bsize);
112 (node+(bsize - 2*i)))));
116 >= (signed)bsize
/osnet-11/usr/src/lib/libc/port/threads/
H A Dalloc.c223 size_t bsize; local
235 bsize = CHUNKSIZE * bp->chunks;
236 n = bsize / size;
237 ptr = mmap((void *)CHUNKSIZE, bsize, prot,
/osnet-11/usr/src/lib/nsswitch/dns/common/
H A Ddns_common.c355 size_t bsize, blen; local
398 bsize = pbuf->data_len - sizeof (nssuint_t);
489 while (ancount-- > 0 && cp < eom && blen < bsize) {
607 if (blen + len > bsize) {
611 (void) strlcpy(bptr, np, bsize - blen);
616 (void) strlcpy(bptr, host, bsize - blen);
622 (void) strlcpy(bptr, ap, bsize - blen);
/osnet-11/usr/src/lib/efcode/engine/
H A Denv.c513 * bsize - size of caller's fmtbuf buffer
526 fmt_str(fcode_env_t *env, char *fmt, char *fmtbuf, int bsize) argument
563 strncpy(fmtbuf, tbuf, bsize);
602 (void) snprintf(fmtbuf, bsize, tbuf, arg);
605 (void) snprintf(fmtbuf, bsize, tbuf);
615 (void) snprintf(fmtbuf, bsize, tbuf, llarg);
618 strncpy(fmtbuf, fmt, bsize);
/osnet-11/usr/src/lib/libc/port/fp/
H A D__x_power.c256 if (n <= 16 && pbf->blength + 2 < pbf->bsize) {
306 if (n <= 4 && pbf->blength + 1 < pbf->bsize) {
356 if (productsize <= pbf->bsize) {
370 pbf->bsize = productsize;
/osnet-11/usr/src/lib/libast/common/disc/
H A Dsfdcdos.c56 int bsize; member in struct:_dosdisc
183 if(count>dp->bsize)
185 if(dp->bsize==0)
189 dp->bsize = count;
379 if(dp->bsize>0)
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/include/
H A Ddb.h137 u_int bsize; /* bucket size */ member in struct:__anon1014
/osnet-11/usr/src/lib/libc/inc/
H A Dbase_conversion.h209 * from context.) bsize indicates the size of the significand
217 unsigned short bsize; member in struct:__anon1319

Completed in 99 milliseconds

12