Searched refs:blkno (Results 1 - 24 of 24) sorted by relevance

/macosx-10.10/apr-32/apr-util/apr-util/dbm/sdbm/
H A Dsdbm_private.h59 long blkno; /* current page to read/write */ member in struct:apr_sdbm_t
/macosx-10.10/ruby-106/ruby/ext/sdbm/
H A Dsdbm.h29 long blkno; /* current page to read/write */ member in struct:__anon12376
/macosx-10.10/tcl-105/tcl_ext/xotcl/xotcl/library/store/XOTclSdbm/
H A Dsdbm.h28 long blkno; /* current page to read/write */ member in struct:__anon13386
/macosx-10.10/xnu-2782.1.97/bsd/dev/dtrace/
H A Dblist.h10 * blkno = blist_alloc(blist, count)
11 * (void) blist_free(blist, blkno, count)
96 extern void blist_free(blist_t blist, daddr_t blkno, daddr_t count);
H A Dblist.c243 blist_free(blist_t bl, daddr_t blkno, daddr_t count) argument
247 blst_leaf_free(bl->bl_root, blkno, count);
249 blst_meta_free(bl->bl_root, blkno, count,
/macosx-10.10/xnu-2782.1.97/bsd/vm/
H A Dvnode_pager.c107 vnode_pager_issue_reprioritize_io(struct vnode *devvp, uint64_t blkno, uint32_t len, int priority) argument
121 extent.offset = blkno * (u_int64_t) blocksize;
296 daddr64_t blkno; local
426 blkno = ubc_offtoblk(vp, (off_t)f_offset);
427 error = buf_invalblkno(vp, blkno, 0);
482 blkno = ubc_offtoblk(vp, (off_t)f_offset);
483 error = buf_invalblkno(vp, blkno, 0);
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dkern_symfile.c132 daddr64_t blkno; local
136 error = VNOP_BLOCKMAP(ref->vp, offset, filechunk, &blkno,
139 fileblk = blkno * ref->blksize;
329 daddr64_t blkno; local
331 error = VNOP_BLOCKMAP(ref->vp, f_offset, filechunk, &blkno,
336 fileblk = blkno * ref->blksize;
H A Dubc_subr.c1449 * blkno The block number to convert
1468 ubc_blktooff(vnode_t vp, daddr64_t blkno) argument
1474 error = VNOP_BLKTOOFF(vp, blkno, &file_offset);
1513 daddr64_t blkno = -1; local
1517 error = VNOP_OFFTOBLK(vp, offset, &blkno);
1519 blkno = -1;
1522 return (blkno);
/macosx-10.10/xnu-2782.1.97/bsd/vfs/
H A Dvfs_bio.c117 static boolean_t incore(vnode_t vp, daddr64_t blkno);
152 static buf_t incore_locked(vnode_t vp, daddr64_t blkno, struct bufhashhdr *dp);
950 buf_setblkno(buf_t bp, daddr64_t blkno) { argument
952 bp->b_blkno = blkno;
2082 bio_doread(vnode_t vp, daddr64_t blkno, int size, kauth_cred_t cred, int async, int queuetype) argument
2086 bp = buf_getblk(vp, blkno, size, 0, 0, queuetype);
2107 trace(TR_BREADMISS, pack(vp, size), blkno);
2128 trace(TR_BREADHIT, pack(vp, size), blkno);
2138 do_breadn_for_type(vnode_t vp, daddr64_t blkno, int size, daddr64_t *rablks, int *rasizes, argument
2144 bp = *bpp = bio_doread(vp, blkno, siz
2168 buf_bread(vnode_t vp, daddr64_t blkno, int size, kauth_cred_t cred, buf_t *bpp) argument
2184 buf_meta_bread(vnode_t vp, daddr64_t blkno, int size, kauth_cred_t cred, buf_t *bpp) argument
2199 buf_breadn(vnode_t vp, daddr64_t blkno, int size, daddr64_t *rablks, int *rasizes, int nrablks, kauth_cred_t cred, buf_t *bpp) argument
2209 buf_meta_breadn(vnode_t vp, daddr64_t blkno, int size, daddr64_t *rablks, int *rasizes, int nrablks, kauth_cred_t cred, buf_t *bpp) argument
2817 incore(vnode_t vp, daddr64_t blkno) argument
2837 incore_locked(vnode_t vp, daddr64_t blkno, struct bufhashhdr *dp) argument
2853 buf_wait_for_shadow_io(vnode_t vp, daddr64_t blkno) argument
2886 buf_getblk(vnode_t vp, daddr64_t blkno, int size, int slpflag, int slptimeo, int operation) argument
[all...]
H A Dvfs_cluster.c229 int (*bootcache_contains_block)(dev_t device, u_int64_t blkno) = NULL;
465 daddr64_t blkno; local
467 int (*bootcache_check_fn)(dev_t device, u_int64_t blkno) = bootcache_contains_block;
470 if (VNOP_BLOCKMAP(vp, f_offset, PAGE_SIZE, &blkno, &io_size, NULL, VNODE_READ, NULL))
476 if (bootcache_check_fn(vp->v_mount->mnt_devvp->v_rdev, blkno))
1054 daddr64_t blkno; local
1067 if ((error = VNOP_BLOCKMAP(vp, f_offset, io_size, &blkno, &io_size_tmp, NULL, bmap_flags, NULL)))
1076 real_bp->b_blkno = blkno;
1079 (int)f_offset, (int)(blkno>>32), (int)blkno, io_siz
[all...]
H A Dvfs_journal.c578 //printf("jnl: buf flush: bp @ 0x%x l/blkno %qd/%qd vp 0x%x tr @ 0x%x\n",
2628 //printf("jnl: mod block start (bp 0x%x vp 0x%x l/blkno %qd/%qd bsz %d; total bytes %d)\n",
2801 //printf("jnl: mod block end: (bp 0x%x vp 0x%x l/blkno %qd/%qd bsz %d, total bytes %d)\n",
4085 daddr64_t blkno; local
4091 blkno = buf_blkno(bp);
4094 if (vp == NULL && lblkno == blkno) {
4095 printf("jnl: %s: end_tr: bad news! bp @ %p w/null vp and l/blkno = %qd/%qd. aborting the transaction (tr %p jnl %p).\n",
4096 jnl->jdev_name, bp, lblkno, blkno, tr, jnl);
4101 // if the lblkno is the same as blkno and this bp isn't
4105 if ((lblkno == blkno)
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/nfs/
H A Dnfs_bio.c304 nfs_buf_is_incore(nfsnode_t np, daddr64_t blkno) argument
308 if (nfs_buf_incore(np, blkno))
320 nfs_buf_incore(nfsnode_t np, daddr64_t blkno) argument
323 struct nfsbuf * bp = NFSBUFHASH(np, blkno)->lh_first;
325 if ((bp->nb_lblkno == blkno) && (bp->nb_np == np)) {
327 FSDBG(547, bp, blkno, bp->nb_flags, bp->nb_np);
639 daddr64_t blkno,
654 FSDBG_TOP(541, np, blkno, size, flags);
662 FSDBG_BOT(541, np, blkno, 0, ENXIO);
675 FSDBG_TOP(542, np, blkno, nfs_nbdwrit
637 nfs_buf_get( nfsnode_t np, daddr64_t blkno, uint32_t size, thread_t thd, int flags, struct nfsbuf **bpp) argument
[all...]
/macosx-10.10/xnu-2782.1.97/osfmk/mach/
H A Dmemory_object_types.h686 #define UPL_SET_REPRIO_INFO(upl, index, blkno, len) \
687 ((upl)->upl_reprio_info[(index)]) = (((uint64_t)(blkno) & UPL_REPRIO_INFO_MASK) | \
726 extern void upl_set_blkno(upl_t upl, vm_offset_t upl_offset, int size, int64_t blkno);
/macosx-10.10/xnu-2782.1.97/bsd/hfs/
H A Dhfs_btreeio.c112 daddr64_t blkno; local
118 VNOP_BLOCKMAP(vp, offset, block->blockSize, &blkno, NULL, NULL, 0, NULL) == 0) {
119 buf_setblkno(bp, blkno);
H A Dhfs_resize.c253 daddr64_t blkno; local
262 blkno = (daddr64_t)fp->ff_blocks;
309 error = (int)buf_meta_bread(vp, blkno, vcb->blockSize, NOCRED, &bp);
322 ++blkno;
883 daddr64_t blkno; local
886 blkno = buf_blkno(bp);
889 if (blkno >= args->sectorStart && blkno < args->sectorStart+args->sectorCount)
1020 * it is correct to have lblkno and blkno both point to the
H A Dhfs_readwrite.c5295 daddr64_t blkno; local
5313 blkno = 0;
5315 while (blkno < last_blk) {
5320 for (i = 0, blk = blkno; (i < breadcnt) && (blk < last_blk); ++i, ++blk) {
5343 for (i = 0; (i < breadcnt) && (blkno < last_blk); ++i, ++blkno) {
5344 bp = buf_getblk(vp, start_blk + blkno, iosize, 0, 0, BLK_META);
5346 printf("hfs_clonesysfile: getblk failed on blk %qd\n", start_blk + blkno);
H A Dhfs_catalog.c2625 daddr64_t blkno; local
2659 blkno = ((u_int64_t)rsrcforkp->extents[0].startBlock * (u_int64_t)blksize) / sectorsize;
2660 blkno += hfsmp->hfsPlusIOPosOffset / sectorsize;
2662 bp = buf_getblk(hfsmp->hfs_devvp, blkno, roundup(kHFSAliasSize, hfsmp->hfs_logical_block_size), 0, 0, BLK_META);
/macosx-10.10/xnu-2782.1.97/bsd/sys/
H A Dconf.h169 extern int (*bootcache_contains_block)(dev_t device, u_int64_t blkno);
/macosx-10.10/BootCache-109/
H A Dkext.c577 static int BC_add_history(daddr64_t blkno, u_int64_t length, int pid, int hit, int write, int tag, int shared, dev_t dev);
712 static int BC_cache_contains_block(dev_t device, u_int64_t blkno) { argument
738 u_int64_t disk_offset = CB_BLOCK_TO_BYTE(cm, blkno);
1658 daddr64_t blkno; local
1680 blkno = buf_blkno(bp);
1739 disk_offset = CB_BLOCK_TO_BYTE(BC_cache->c_mounts + cm_idx, blkno);
1753 // debug("not recording %s%s from app %s for file %s (disk block 0x%llx) which is%s throttled", (vp && vnode_israge(vp)) ? "rapid age " : "", (bufflags & B_READ) ? "read" : "write", procname, filename?:"unknown", blkno, (bufflags & B_THROTTLED_IO) ? "" : " not");
1838 xdebug("Missed IO from app %s for file %s (disk offset 0x%llx) (intersected, though)", procname, filename?:"unknown", blkno);
1840 xdebug("Missed IO from app %s for file %s (disk offset 0x%llx)", procname, filename?:"unknown", blkno);
2197 BC_add_history(blkno, nbyte
4586 BC_add_history(daddr64_t blkno, u_int64_t length, int pid, int hit, int write, int tag, int shared, dev_t dev) argument
[all...]
/macosx-10.10/system_cmds-643.1.1/fs_usage.tproj/
H A Dfs_usage.c273 int blkno; member in struct:diskio
3499 clen += printf(" D=0x%8.8x [%3d]", dio->blkno, dio->io_errno);
3502 clen += printf(" D=0x%8.8x B=0x%-6x BC:%s /dev/%s ", dio->blkno, dio->iosize, BC_STR(dio->bc_info), find_disk_name(dio->dev));
3504 clen += printf(" D=0x%8.8x B=0x%-6x /dev/%s ", dio->blkno, dio->iosize, find_disk_name(dio->dev));
3508 pathname = find_meta_name(dio->blkno);
3520 clen += printf(" D=0x%8.8x [%3d]", dio->blkno, dio->io_errno);
3522 clen += printf(" D=0x%8.8x B=0x%-6x /dev/%s", dio->blkno, dio->iosize, generate_cs_disk_name(dio->dev, &cs_diskname[0]));
5029 struct diskio *insert_diskio(int type, int bp, int dev, int blkno, int io_size, uintptr_t thread, double curtime) argument
5045 dio->blkno = blkno;
[all...]
/macosx-10.10/xnu-2782.1.97/osfmk/vm/
H A Dvm_protos.h201 uint64_t blkno,
H A Dvm_object.c8655 vm_page_request_reprioritize(vm_object_t o, uint64_t blkno, uint32_t len, int prio) argument
8666 req->blkno = blkno;
8689 uint64_t blkno; local
8753 blkno = io_upl_reprio_info[(offset / PAGE_SIZE)] & UPL_REPRIO_INFO_MASK;
8758 * fact that we dont cleanup the blkno & len from the upl_reprio_info
8762 if (blkno != 0 && len != 0) {
8766 req->blkno = blkno;
8870 vnode_pager_issue_reprioritize_io(req->devvp, req->blkno, re
[all...]
H A Dvm_object.h811 uint64_t blkno; member in struct:io_reprioritize_req
H A Dvm_pageout.c9551 int64_t blkno)
9559 UPL_SET_REPRIO_INFO(upl, i, blkno, io_size);
9547 upl_set_blkno( upl_t upl, vm_offset_t upl_offset, int io_size, int64_t blkno) argument

Completed in 529 milliseconds