Searched defs:bsize (Results 1 - 25 of 107) sorted by relevance

12345

/illumos-gate/usr/src/cmd/cdrw/
H A Ddumpinfo.c45 uint_t bsize; local
94 cap = read_format_capacity(target->d_fd, &bsize);
H A Dwrite_image.c105 uint_t bsize; local
118 &bsize)) <= 0) {
132 &bsize);
H A Dcopycd.c138 uint_t bsize; local
150 &bsize);
167 nblks_avail = read_format_capacity(target->d_fd, &bsize);
H A Ddevice.c258 uint_t bsize; local
262 read_format_capacity(fd, &bsize));
H A Dtrackio.c88 init_tio_data(int bsize) argument
94 tio_iobs[i].iob_buf = (uchar_t *)my_zalloc(bsize);
95 tio_iobs[i].iob_total_size = bsize;
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dnblk.c41 nblk(fsblkcnt_t size, ulong_t bsize, ulong_t frsize) argument
46 if (size == 0 || bsize == 0)
53 ind = howmany(bsize, sizeof (daddr_t));
57 tot = howmany(size, bsize);
70 roundup(size, bsize);
80 tot *= howmany(bsize, DEV_BSIZE);
/illumos-gate/usr/src/cmd/fs.d/ufs/fsirand/
H A Dfsirand.c70 int bsize; local
134 bsize = INOPB(fs) * sizeof (struct dinode);
147 n = read(fd, (char *)dibuf, bsize);
148 if (n != bsize) {
172 n = write(fd, (char *)dibuf, bsize);
173 if (n != bsize) {
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/
H A Dprom_fio.c223 prom_compinfo(ihandle_t fsih, int fd, int *iscmp, size_t *fsize, size_t *bsize) argument
245 *bsize = p1275_cell2uint(ci[9]); /* Res4: bsize */
/illumos-gate/usr/src/cmd/sgs/tools/common/
H A Dalist.c107 Aliste bsize; local
114 bsize = size * init_arritems;
115 bsize = S_ROUND(bsize, sizeof (void *));
116 bsize = ALIST_OFF_DATA + bsize;
117 if ((lp = malloc((size_t)bsize)) == NULL)
133 Aliste bsize; local
135 bsize = lp->al_size * lp->al_arritems * 2;
136 bsize
196 Aliste bsize; local
214 Aliste bsize; local
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dfbio.c110 * XXX - this won't work right when bsize < PAGESIZE!!!
189 fbiwrite(struct fbuf *fbp, vnode_t *devvp, daddr_t bn, int bsize) argument
209 bp->b_blkno = bn * btod(bsize);
/illumos-gate/usr/src/test/zfs-tests/cmd/file_trunc/
H A Dfile_trunc.c53 static size_t bsize = BSIZE; variable
107 count = fsize / bsize;
112 bsize = atoi(optarg);
176 buf = (char *)calloc(1, bsize);
177 rbuf = (char *)calloc(1, bsize);
190 if (write(fd, buf, bsize) < bsize) {
201 if (read(fd, rbuf, bsize) < bsize) {
206 if (memcmp(buf, rbuf, bsize) !
[all...]
/illumos-gate/usr/src/cmd/sendmail/src/
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 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 Dcollect.c965 long bsize; local
990 &bsize);
993 if (bsize > 1024)
994 avail *= bsize / 1024;
995 else if (bsize < 1024)
996 avail /= 1024 / bsize;
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dserialize.c150 size_t bufsize, bsize;
157 bsize = bufsize;
162 &bsize))) {
163 if (bsize != 0)
164 bufsize -= bsize;
145 size_t bufsize, bsize; local
/illumos-gate/usr/src/uts/common/zmod/
H A Dzutil.c225 ulg bsize = (ulg)items*size; local
230 if (bsize < 65520L) {
231 buf = farmalloc(bsize);
234 buf = farmalloc(bsize + 16L);
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dalloc.c224 size_t bsize; local
236 bsize = CHUNKSIZE * bp->chunks;
237 n = bsize / size;
238 ptr = mmap((void *)CHUNKSIZE, bsize, prot,
/illumos-gate/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;
/illumos-gate/usr/src/boot/lib/libz/
H A Dzutil.c223 ulg bsize = (ulg)items*size; local
228 if (bsize < 65520L) {
229 buf = farmalloc(bsize);
232 buf = farmalloc(bsize + 16L);
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_acl.c60 smb_acl_alloc(uint8_t revision, uint16_t bsize, uint16_t acecnt) argument
70 acl->sl_bsize = bsize;
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dbase_conversion.h225 unsigned short bsize; /* Maximum allowable logical length of */ member in struct:__anon2816
/illumos-gate/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:__anon2903
/illumos-gate/usr/src/cmd/filesync/
H A Daction.c1069 int bsize; /* block-size for file */ local
1097 bsize = checksparse(ifd);
1098 if (bsize > 0 && bsize <= COPY_BSIZE)
1102 bsize = COPY_BSIZE;
1158 count = read(ifd, (char *) inbuf, bsize);
1166 if (sparse && count == bsize) {
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dpass3b.c241 size_t size, bsize; local
246 bsize = size = sblock.fs_fsize * idesc->id_numfrags;
253 bp = getdatablk(idesc->id_blkno, bsize);

Completed in 102 milliseconds

12345