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

12

/macosx-10.9.5/hfs-226.1.1/hfs_util/
H A Dhfsutil_jnl.c178 //printf("%s start offset %lld; byte len %lld (blksize %d)\n",
200 #define HFS_PRI_SECTOR(blksize) (1024 / (blksize))
201 #define HFS_PRI_OFFSET(blksize) ((blksize) > 1024 ? 1024 : 0)
217 u_int32_t blksize; local
255 if (ioctl(fd, DKIOCGETBLOCKSIZE, (caddr_t)&blksize) != 0) {
257 blksize = 512;
271 blkcnt = st.st_size / blksize;
276 * blksize ha
647 u_int32_t blksize; local
901 u_int32_t blksize; local
1101 u_int32_t blksize; local
[all...]
/macosx-10.9.5/CPANInternal-140/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.9.5/diskdev_cmds-572.1.1/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.9.5/Heimdal-323.92.1/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.9.5/remote_cmds-41.90.1/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.9.5/curl-78.94.1/curl/lib/
H A Dtftp.c73 #define TFTP_OPTION_BLKSIZE "blksize"
142 int blksize; member in struct:tftp_state_data
340 /* if OACK doesn't contain blksize option, the default (512) must be used */
341 state->blksize = TFTP_BLKSIZE_DEFAULT;
355 long blksize; local
357 blksize = strtol( value, NULL, 10 );
359 if(!blksize) {
363 else if(blksize > TFTP_BLKSIZE_MAX) {
364 failf(data, "%s (%d)", "blksize is larger than max supported",
368 else if(blksize < TFTP_BLKSIZE_MI
946 int blksize, rc; local
[all...]
/macosx-10.9.5/remote_cmds-41.90.1/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);
347 readlen = blksize
[all...]
H A Dmain.c87 int blksize=SEGSIZE; variable
170 { "blksize", blhelp, setblksize },
201 blksize = MAXSEGSIZE;
589 strcpy(line, "blksize ");
590 printf("(blksize) ");
604 blksize = t;
/macosx-10.9.5/OpenSSH-186/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.9.5/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.9.5/tcl-102/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.9.5/xnu-2422.115.4/bsd/hfs/
H A Dhfs.h530 #define HFS_PRI_SECTOR(blksize) (1024 / (blksize))
531 #define HFS_PRI_OFFSET(blksize) ((blksize) > 1024 ? 1024 : 0)
533 #define HFS_ALT_SECTOR(blksize, blkcnt) (((blkcnt) - 1) - (512 / (blksize)))
534 #define HFS_ALT_OFFSET(blksize) ((blksize) > 1024 ? (blksize) - 1024 : 0)
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_readwrite.c3288 int blksize; local
3294 blksize = VTOVCB(vp)->blockSize;
3296 filebytes = (off_t)fileblocks * (off_t)blksize;
3336 retval = hfs_chkdq(cp, (int64_t)(roundup(length - filebytes, blksize)),
3384 filebytes = (off_t)fp->ff_blocks * (off_t)blksize;
3489 finalblks = (length + blksize - 1) / blksize;
3510 off_t savedbytes = ((off_t)fp->ff_blocks * (off_t)blksize);
3543 filebytes = (off_t)fp->ff_blocks * (off_t)blksize;
3696 int blksize local
3807 int blksize, error = 0; local
4862 u_int32_t blksize; local
5125 hfs_clonefile(struct vnode *vp, int blkstart, int blkcnt, int blksize) argument
5223 hfs_clonesysfile(struct vnode *vp, int blkstart, int blkcnt, int blksize, kauth_cred_t cred, struct proc *p) argument
[all...]
H A Dhfs_vfsutils.c2157 size_t blksize; member in struct:jopen_cb_info
2200 error = journal_is_clean(ji->jvp, 0, ji->jsize, (void *)1, ji->blksize);
2235 size_t blksize,
2244 ji.blksize = blksize;
2286 uint32_t blksize = hfsmp->hfs_logical_block_size; local
2302 sectors_per_fsblock = SWAP_BE32(vhp->blockSize) / blksize;
2306 (daddr64_t)((embeddedOffset/blksize) +
2392 blksize,
2416 blksize,
2230 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_xattr.c2349 int blksize; local
2357 blksize = (int)hfsmp->blockSize;
2364 iosize = extents[i].blockCount * blksize;
2368 uio_setoffset(uio, (u_int64_t)extents[i].startBlock * (u_int64_t)blksize);
2399 int blksize; local
2407 blksize = (int) hfsmp->blockSize;
2414 iosize = extents[i].blockCount * blksize;
2418 uio_setoffset(uio, (u_int64_t)extents[i].startBlock * (u_int64_t)blksize);
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/
H A Dkern_symfile.c80 uint32_t blksize; member in struct:kern_direct_file_io_ref_t
138 fileblk = blkno * ref->blksize;
205 uint32_t blksize; local
320 error = do_ioctl(p1, p2, DKIOCGETBLOCKSIZE, (caddr_t) &ref->blksize);
329 ref->filelength = fileblk * ref->blksize;
357 fileblk = blkno * ref->blksize;
411 error = do_ioctl(p1, p2, DKIOCGETBLOCKSIZE, (caddr_t) &blksize);
420 count *= blksize;
427 count *= blksize;
H A Duipc_usrreq.c605 blksize_t blksize; local
610 blksize = so->so_snd.sb_hiwat;
613 blksize += so2->so_rcv.sb_cc;
622 sb64->st_blksize = blksize;
629 sb->st_blksize = blksize;
/macosx-10.9.5/xnu-2422.115.4/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.9.5/tcpdump-56/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.9.5/emacs-92/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.9.5/CPANInternal-140/Template-Toolkit/lib/Template/Plugin/
H A DFile.pm34 atime mtime ctime blksize blocks );
180 atime mtime ctime blksize blocks
/macosx-10.9.5/CPANInternal-140/Template-Toolkit-2.24/lib/Template/Plugin/
H A DFile.pm34 atime mtime ctime blksize blocks );
180 atime mtime ctime blksize blocks
/macosx-10.9.5/PostgreSQL-97/Support/backup_restore/
H A Dxpostgres627 $size, $atime, $mtime, $ctime, $blksize, $blocks
687 $size, $atime, $mtime, $ctime, $blksize, $blocks

Completed in 203 milliseconds

12