Searched defs:blkid (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddmu_zfetch.c147 * The "blkid" argument is the next block that we expect this stream to access.
152 dmu_zfetch_stream_create(zfetch_t *zf, uint64_t blkid) argument
189 zs->zs_blkid = blkid;
190 zs->zs_pf_blkid = blkid;
191 zs->zs_ipf_blkid = blkid;
200 * specified with blkid and nblks arguments with prefetch stream, predicts
207 dmu_zfetch(zfetch_t *zf, uint64_t blkid, uint64_t nblks, boolean_t fetch_data) argument
213 uint64_t end_of_access_blkid = blkid + nblks;
233 if (blkid == 0)
245 if (blkid
[all...]
H A Ddnode_sync.c249 free_children(dmu_buf_impl_t *db, uint64_t blkid, uint64_t nblks, argument
294 start = blkid >> shift;
301 end = (blkid + nblks - 1) >> shift;
320 free_children(subdb, blkid, nblks, free_indirects, tx);
341 dnode_sync_free_range_impl(dnode_t *dn, uint64_t blkid, uint64_t nblks, argument
348 if (blkid > dn->dn_phys->dn_maxblkid)
352 if (blkid + nblks > dn->dn_phys->dn_maxblkid) {
353 nblks = dn->dn_phys->dn_maxblkid - blkid + 1;
359 if (blkid >= dn->dn_phys->dn_nblkptr) {
363 ASSERT3U(blkid
419 dnode_sync_free_range(void *arg, uint64_t blkid, uint64_t nblks) argument
[all...]
H A Ddmu_tx.c191 dmu_tx_check_ioerr(zio_t *zio, dnode_t *dn, int level, uint64_t blkid) argument
197 db = dbuf_hold_level(dn, level, blkid, FTAG);
615 uint64_t blkid = db->db_blkid; local
624 if (blkid >= beginblk && blkid <= endblk)
631 if (blkid == DMU_BONUS_BLKID ||
632 blkid == DMU_SPILL_BLKID)
640 if (blkid == 0)
649 if (blkid >= beginblk && (blkid <
[all...]
H A Dzap.c473 zap_open_leaf(uint64_t blkid, dmu_buf_t *db) argument
475 ASSERT(blkid != 0);
480 l->l_blkid = blkid;
519 zap_get_leaf_byblk(zap_t *zap, uint64_t blkid, dmu_tx_t *tx, krw_t lt, argument
529 blkid << bs, NULL, &db, DMU_READ_NO_PREFETCH);
535 ASSERT3U(db->db_offset, ==, blkid << bs);
537 ASSERT(blkid != 0);
542 l = zap_open_leaf(blkid, db);
551 ASSERT3U(l->l_blkid, ==, blkid);
H A Ddnode.c1868 dnode_new_blkid(dnode_t *dn, uint64_t blkid, dmu_tx_t *tx, boolean_t have_read,
1874 ASSERT(blkid != DMU_BONUS_BLKID);
1885 if (blkid <= dn->dn_maxblkid)
1896 * given blkid even if the value is lower than the current value.
1898 if (!force && blkid <= dn->dn_maxblkid)
1906 dn->dn_maxblkid = blkid;
1908 blkid | DMU_NEXT_MAXBLKID_SET;
1917 sz <= blkid && sz >= dn->dn_nblkptr; sz <<= epbs)
1971 * Setup the next blkid we want to search for.
2012 uint64_t blkoff, blkid, nblk
1843 dnode_new_blkid(dnode_t *dn, uint64_t blkid, dmu_tx_t *tx, boolean_t have_read, boolean_t force) argument
1987 uint64_t blkoff, blkid, nblks; local
2206 dnode_block_freed(dnode_t *dn, uint64_t blkid) argument
2308 uint64_t blkid = dbuf_whichblock(dn, lvl, *offset); local
[all...]
H A Ddmu.c172 uint64_t blkid; local
175 blkid = dbuf_whichblock(dn, 0, offset);
177 db = dbuf_hold(dn, blkid, tag);
193 uint64_t blkid; local
200 blkid = dbuf_whichblock(dn, 0, offset);
202 db = dbuf_hold(dn, blkid, tag);
553 uint64_t blkid, nblks, i; local
589 blkid = dbuf_whichblock(dn, 0, offset);
591 dmu_buf_impl_t *db = dbuf_hold(dn, blkid + i, tag);
607 dmu_zfetch(&dn->dn_zfetch, blkid, nblk
709 uint64_t blkid; local
1770 uint64_t blkid; local
[all...]
H A Ddbuf.c209 dbuf_hash(void *os, uint64_t obj, uint8_t lvl, uint64_t blkid) argument
211 return (cityhash4((uintptr_t)os, obj, (uint64_t)lvl, blkid));
214 #define DBUF_EQUAL(dbuf, os, obj, level, blkid) \
218 (dbuf)->db_blkid == (blkid))
221 dbuf_find(objset_t *os, uint64_t obj, uint8_t level, uint64_t blkid) argument
224 uint64_t hv = dbuf_hash(os, obj, level, blkid);
230 if (DBUF_EQUAL(db, os, obj, level, blkid)) {
274 uint64_t blkid = db->db_blkid; local
275 uint64_t hv = dbuf_hash(os, obj, level, blkid);
281 if (DBUF_EQUAL(dbf, os, obj, level, blkid)) {
2376 dbuf_findbp(dnode_t *dn, int level, uint64_t blkid, int fail_sparse, dmu_buf_impl_t **parentp, blkptr_t **bpp) argument
2461 dbuf_create(dnode_t *dn, uint8_t level, uint64_t blkid, dmu_buf_impl_t *parent, blkptr_t *blkptr) argument
2676 dbuf_prefetch(dnode_t *dn, int64_t level, uint64_t blkid, zio_priority_t prio, arc_flags_t aflags) argument
2843 dbuf_hold_impl(dnode_t *dn, uint8_t level, uint64_t blkid, boolean_t fail_sparse, boolean_t fail_uncached, void *tag, dmu_buf_impl_t **dbp) argument
2935 dbuf_hold(dnode_t *dn, uint64_t blkid, void *tag) argument
2941 dbuf_hold_level(dnode_t *dn, int level, uint64_t blkid, void *tag) argument
2996 dbuf_try_add_ref(dmu_buf_t *db_fake, objset_t *os, uint64_t obj, uint64_t blkid, void *tag) argument
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c529 dmu_read(dnode_phys_t *dn, uint64_t blkid, void *buf, char *stack) argument
543 idx = (blkid >> (epbs * level)) & ((1<<epbs)-1);
725 uint64_t hash, idx, blkid; local
743 blkid = ((uint64_t *)zap)[idx + (1<<(blksft-3-1))];
750 if (errnum = dmu_read(zap_dnode, blkid, l, stack))
861 uint64_t blkid, blksz; /* the block id this object dnode is in */ local
868 blkid = objnum >> epbs;
881 dnode_start = blkid << epbs;
882 dnode_end = (blkid + 1) << epbs;
888 if (errnum = dmu_read(mdn, blkid, (cha
1867 uint64_t blkid = filepos / blksz; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c661 ptr_width, "addr", "object", "lvl", "blkid", "holds", "os");
900 uint64_t blkid; member in struct:dbufs_data
914 uint64_t blkid; local
920 GETMEMBID(addr, &data->id, db_blkid, blkid)) {
929 (data->blkid == DBUFS_UNSET || data->blkid == blkid)) {
941 char *blkid = NULL; local
943 data.objset = data.object = data.level = data.blkid = DBUFS_UNSET;
951 'b', MDB_OPT_STR, &blkid,
[all...]

Completed in 332 milliseconds