Searched refs:blksize (Results 1 - 25 of 38) sorted by relevance

12

/macosx-10.10/hfs-285/hfs_util/
H A Dhfsutil_jnl.c181 //printf("%s start offset %lld; byte len %lld (blksize %d)\n",
203 #define HFS_PRI_SECTOR(blksize) (1024 / (blksize))
204 #define HFS_PRI_OFFSET(blksize) ((blksize) > 1024 ? 1024 : 0)
220 u_int32_t blksize; local
258 if (ioctl(fd, DKIOCGETBLOCKSIZE, (caddr_t)&blksize) != 0) {
260 blksize = 512;
274 blkcnt = st.st_size / blksize;
279 * blksize ha
667 u_int32_t blksize; local
921 u_int32_t blksize; local
1121 u_int32_t blksize; local
[all...]
/macosx-10.10/CPANInternal-159.1/Perl4-CoreLibs-0.003/lib/
H A Dlook.pl16 $blksize,$blocks) = stat(FH);
17 $blksize = 8192 unless $blksize;
20 $max = int($size / $blksize);
23 seek(FH,$mid * $blksize,0);
36 $min *= $blksize;
/macosx-10.10/diskdev_cmds-576/disklib/
H A Ddkdisklabel.c72 int blksize; local
82 if ( (error = ioctl(fd, DKIOCGETBLOCKSIZE, &blksize)) < 0 )
88 numblks = ((numblks * blksize) / newblksize);
89 blksize = newblksize;
114 lp->d_secsize = blksize; /* # of bytes per sector */
183 pp->p_fsize = MAX(GENFRAGSIZE, blksize); /* fs fragment size */
/macosx-10.10/Heimdal-398.1.2/appl/rcp/
H A Dutil.c146 allocbuf(bp, fd, blksize)
148 int fd, blksize;
158 size = roundup(stb.st_blksize, blksize);
160 size = blksize;
/macosx-10.10/curl-83.1.2/curl/lib/
H A Dtftp.c74 #define TFTP_OPTION_BLKSIZE "blksize"
143 int blksize; member in struct:tftp_state_data
341 /* if OACK doesn't contain blksize option, the default (512) must be used */
342 state->blksize = TFTP_BLKSIZE_DEFAULT;
356 long blksize; local
358 blksize = strtol( value, NULL, 10 );
360 if(!blksize) {
364 else if(blksize > TFTP_BLKSIZE_MAX) {
365 failf(data, "%s (%d)", "blksize is larger than max supported",
369 else if(blksize < TFTP_BLKSIZE_MI
948 int blksize, rc; local
[all...]
/macosx-10.10/remote_cmds-47/rcp.tproj/
H A Dutil.c130 allocbuf(BUF *bp, int fd, int blksize) argument
139 size = roundup(stb.st_blksize, blksize);
141 size = blksize;
/macosx-10.10/remote_cmds-47/tftp.tproj/
H A Dtftp.c84 extern int blksize;
143 } else if (strcmp(opt, "blksize") == 0) {
145 blksize = val;
202 size = readit(file, &dp, blksize, convert);
222 read_ahead(file, blksize, convert);
262 * matters is blksize, but we'll
265 blksize = def_blksize;
285 blksize = def_blksize;
295 } while (size == blksize || block == 1);
349 readlen = blksize
[all...]
H A Dmain.c88 int blksize=SEGSIZE; variable
171 { "blksize", blhelp, setblksize },
202 blksize = MAXSEGSIZE;
606 strcpy(line, "blksize ");
607 printf("(blksize) ");
621 blksize = t;
/macosx-10.10/OpenSSH-189/osslshim/ossl/
H A Dossl-hmac.c94 int i, blksize, reset = 0; local
106 blksize = EVP_MD_block_size(md);
109 if (blksize < keylen) {
/macosx-10.10/libfs-13/
H A DFSFormatName.h82 static int getblk(int fd, unsigned long blk, int blksize, char* buf);
H A DFSFormatName.c588 static int getblk(int fd, unsigned long blknum, int blksize, char* buf) argument
593 offset = (off_t)blknum * (off_t)blksize;
595 if ((bytes_read = pread(fd, buf, blksize, offset)) != blksize) {
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libjpeg/
H A Djquant1.c278 int i,j,k, nci, blksize, blkdist, ptr, val; local
299 /* blksize is number of adjacent repeated entries for a component */
306 blksize = blkdist / nci;
311 for (ptr = j * blksize; ptr < total_colors; ptr += blkdist) {
312 /* fill in blksize entries beginning at ptr */
313 for (k = 0; k < blksize; k++)
317 blkdist = blksize; /* blksize of this color is blkdist of next */
337 int i,j,k, nci, blksize, val, pad; local
357 /* blksize i
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dkern_symfile.c80 uint32_t blksize; member in struct:kern_direct_file_io_ref_t
139 fileblk = blkno * ref->blksize;
205 uint32_t blksize; local
298 error = do_ioctl(p1, p2, DKIOCGETBLOCKSIZE, (caddr_t) &ref->blksize);
307 ref->filelength = fileblk * ref->blksize;
336 fileblk = blkno * ref->blksize;
393 error = do_ioctl(p1, p2, DKIOCGETBLOCKSIZE, (caddr_t) &blksize);
402 count *= blksize;
409 count *= blksize;
H A Duipc_usrreq.c610 blksize_t blksize; local
615 blksize = so->so_snd.sb_hiwat;
618 blksize += so2->so_rcv.sb_cc;
627 sb64->st_blksize = blksize;
634 sb->st_blksize = blksize;
/macosx-10.10/xnu-2782.1.97/bsd/miscfs/mockfs/
H A Dmockfs_vnops.c361 uint32_t blksize; local
372 blksize = vp->v_mount->mnt_devblocksize;
387 *bpn = foffset / blksize;
/macosx-10.10/xnu-2782.1.97/bsd/hfs/
H A Dhfs_btreeio.c53 static int ClearBTNodes(struct vnode *vp, int blksize, off_t offset, off_t amount);
577 ClearBTNodes(struct vnode *vp, int blksize, off_t offset, off_t amount) argument
584 blk = offset / blksize;
585 blkcnt = amount / blksize;
588 bp = buf_getblk(vp, blk, blksize, 0, 0, BLK_META);
598 bzero((char *)buf_dataptr(bp), blksize);
H A Dhfs.h569 #define HFS_PRI_SECTOR(blksize) (1024 / (blksize))
570 #define HFS_PRI_OFFSET(blksize) ((blksize) > 1024 ? 1024 : 0)
572 #define HFS_ALT_SECTOR(blksize, blkcnt) (((blkcnt) - 1) - (512 / (blksize)))
573 #define HFS_ALT_OFFSET(blksize) ((blksize) > 1024 ? (blksize) - 1024 : 0)
H A Dhfs_readwrite.c3279 int blksize; local
3285 blksize = VTOVCB(vp)->blockSize;
3287 filebytes = (off_t)fileblocks * (off_t)blksize;
3327 retval = hfs_chkdq(cp, (int64_t)(roundup(length - filebytes, blksize)),
3380 filebytes = (off_t)fp->ff_blocks * (off_t)blksize;
3492 finalblks = (length + blksize - 1) / blksize;
3506 off_t savedbytes = ((off_t)fp->ff_blocks * (off_t)blksize);
3539 filebytes = (off_t)fp->ff_blocks * (off_t)blksize;
3692 int blksize local
3833 int blksize; local
4926 u_int32_t blksize; local
5189 hfs_clonefile(struct vnode *vp, int blkstart, int blkcnt, int blksize) argument
5287 hfs_clonesysfile(struct vnode *vp, int blkstart, int blkcnt, int blksize, kauth_cred_t cred, struct proc *p) argument
[all...]
H A Dhfs_xattr.c2380 int blksize; local
2388 blksize = (int)hfsmp->blockSize;
2395 iosize = extents[i].blockCount * blksize;
2399 uio_setoffset(uio, (u_int64_t)extents[i].startBlock * (u_int64_t)blksize);
2430 int blksize; local
2438 blksize = (int) hfsmp->blockSize;
2445 iosize = extents[i].blockCount * blksize;
2449 uio_setoffset(uio, (u_int64_t)extents[i].startBlock * (u_int64_t)blksize);
H A Dhfs_vfsutils.c2349 size_t blksize; member in struct:jopen_cb_info
2392 error = journal_is_clean(ji->jvp, 0, ji->jsize, (void *)1, ji->blksize);
2427 size_t blksize,
2436 ji.blksize = blksize;
2478 uint32_t blksize = hfsmp->hfs_logical_block_size; local
2494 sectors_per_fsblock = SWAP_BE32(vhp->blockSize) / blksize;
2498 (daddr64_t)((embeddedOffset/blksize) +
2584 blksize,
2608 blksize,
2422 open_journal_dev(const char *vol_device, int need_clean, char *uuid_str, char *machine_serial_num, off_t jsize, size_t blksize, int *need_init) argument
[all...]
H A Dhfs_catalog.c1783 long blksize; local
1788 blksize = HFSTOVCB(hfsmp)->blockSize;
1826 file->rsrcPhysicalSize = forkp->cf_blocks * blksize;
1837 file->dataPhysicalSize = forkp->cf_blocks * blksize;
1998 howmany(forkp->cf_bytesread, blksize);
2008 howmany(forkp->cf_bytesread, blksize);
2627 int blksize; local
2636 blksize = hfsmp->blockSize;
2637 blkcount = howmany(kHFSAliasSize, blksize);
2659 blkno = ((u_int64_t)rsrcforkp->extents[0].startBlock * (u_int64_t)blksize) / sectorsiz
2882 int blksize = HFSTOVCB(hfsmp)->blockSize; local
[all...]
/macosx-10.10/tcpdump-61/tcpdump/
H A Dprint-decnet.c183 int src, dst, info, blksize, eco, ueco, hello, other, vers; local
197 blksize = EXTRACT_LE_16BITS(cmp->cm_init.in_blksize);
205 dnaddr_string(src), blksize, vers, eco, ueco,
261 blksize = EXTRACT_LE_16BITS(cmp->cm_rhello.rh_blksize);
266 "vers %d eco %d ueco %d src %s blksize %d pri %d hello %d",
268 blksize, priority, hello);
284 blksize = EXTRACT_LE_16BITS(cmp->cm_ehello.eh_blksize);
293 "vers %d eco %d ueco %d src %s blksize %d rtr %s hello %d data %o",
295 blksize, dnaddr_string(dst), hello, other);
/macosx-10.10/emacs-93/emacs/src/
H A Dsound.c624 int blksize = sd->period_size ? sd->period_size (sd) : 2048;
627 buffer = (char *) alloca (blksize);
630 && (nbytes = emacs_read (s->fd, buffer, blksize)) > 0)
716 int blksize = sd->period_size ? sd->period_size (sd) : 2048;
724 buffer = (char *) alloca (blksize);
725 while ((nbytes = emacs_read (s->fd, buffer, blksize)) > 0)
623 int blksize = sd->period_size ? sd->period_size (sd) : 2048; local
715 int blksize = sd->period_size ? sd->period_size (sd) : 2048; local
/macosx-10.10/CPANInternal-159.1/Template-Toolkit-2.25/lib/Template/Plugin/
H A DFile.pm34 atime mtime ctime blksize blocks );
180 atime mtime ctime blksize blocks
/macosx-10.10/PostgreSQL-97/Support/backup_restore/
H A Dxpostgres627 $size, $atime, $mtime, $ctime, $blksize, $blocks
687 $size, $atime, $mtime, $ctime, $blksize, $blocks

Completed in 374 milliseconds

12