Searched defs:blkid (Results 1 - 10 of 10) 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;
222 if (blkid == 0)
229 if (blkid
[all...]
H A Ddnode_sync.c233 free_children(dmu_buf_impl_t *db, uint64_t blkid, uint64_t nblks, argument
260 start = blkid >> shift;
267 end = (blkid + nblks - 1) >> shift;
286 free_children(subdb, blkid, nblks, tx);
323 dnode_sync_free_range_impl(dnode_t *dn, uint64_t blkid, uint64_t nblks, argument
330 if (blkid > dn->dn_phys->dn_maxblkid)
334 if (blkid + nblks > dn->dn_phys->dn_maxblkid) {
335 nblks = dn->dn_phys->dn_maxblkid - blkid + 1;
341 if (blkid >= dn->dn_phys->dn_nblkptr) {
345 ASSERT3U(blkid
386 dnode_sync_free_range(void *arg, uint64_t blkid, uint64_t nblks) argument
[all...]
H A Ddmu_tx.c162 dmu_tx_check_ioerr(zio_t *zio, dnode_t *dn, int level, uint64_t blkid) argument
168 db = dbuf_hold_level(dn, level, blkid, FTAG);
179 int level, uint64_t blkid, boolean_t freeable, uint64_t *history)
188 if (level >= dn->dn_nlevels || history[level] == blkid)
191 history[level] = blkid;
202 ASSERT(db->db_blkid == blkid);
224 blkid >> epbs, freeable, history);
391 * We also need a new blkid=0 indirect block
453 uint64_t blkid, nblks, lastblk; local
474 blkid
178 dmu_tx_count_twig(dmu_tx_hold_t *txh, dnode_t *dn, dmu_buf_impl_t *db, int level, uint64_t blkid, boolean_t freeable, uint64_t *history) argument
937 uint64_t blkid = db->db_blkid; local
[all...]
H A Ddsl_scan.c560 uint64_t objset, uint64_t object, uint64_t blkid)
572 SET_BOOKMARK(&czb, objset, object, BP_GET_LEVEL(bp), blkid);
559 dsl_scan_prefetch(dsl_scan_t *scn, arc_buf_t *buf, blkptr_t *bp, uint64_t objset, uint64_t object, uint64_t blkid) argument
H A Ddnode.c1432 dnode_new_blkid(dnode_t *dn, uint64_t blkid, dmu_tx_t *tx, boolean_t have_read) argument
1438 ASSERT(blkid != DMU_BONUS_BLKID);
1449 if (blkid <= dn->dn_maxblkid)
1458 if (blkid <= dn->dn_maxblkid)
1461 dn->dn_maxblkid = blkid;
1469 sz <= blkid && sz >= dn->dn_nblkptr; sz <<= epbs)
1527 uint64_t blkoff, blkid, nblks; local
1560 blkid = 0;
1637 blkid = off >> blkshift;
1665 first = blkid >> epb
1747 dnode_block_freed(dnode_t *dn, uint64_t blkid) argument
1868 uint64_t blkid = dbuf_whichblock(dn, lvl, *offset); local
[all...]
H A Dzap.c461 zap_open_leaf(uint64_t blkid, dmu_buf_t *db) argument
465 ASSERT(blkid != 0);
470 l->l_blkid = blkid;
509 zap_get_leaf_byblk(zap_t *zap, uint64_t blkid, dmu_tx_t *tx, krw_t lt, argument
521 blkid << bs, NULL, &db, DMU_READ_NO_PREFETCH);
527 ASSERT3U(db->db_offset, ==, blkid << bs);
529 ASSERT(blkid != 0);
534 l = zap_open_leaf(blkid, db);
543 ASSERT3U(l->l_blkid, ==, blkid);
H A Ddbuf.c169 dbuf_hash(void *os, uint64_t obj, uint8_t lvl, uint64_t blkid) argument
179 crc = (crc >> 8) ^ zfs_crc64_table[(crc ^ (blkid >> 0)) & 0xFF];
180 crc = (crc >> 8) ^ zfs_crc64_table[(crc ^ (blkid >> 8)) & 0xFF];
182 crc ^= (osv>>14) ^ (obj>>16) ^ (blkid>>16);
187 #define DBUF_EQUAL(dbuf, os, obj, level, blkid) \
191 (dbuf)->db_blkid == (blkid))
194 dbuf_find(objset_t *os, uint64_t obj, uint8_t level, uint64_t blkid) argument
197 uint64_t hv = dbuf_hash(os, obj, level, blkid);
203 if (DBUF_EQUAL(db, os, obj, level, blkid)) {
247 uint64_t blkid local
2161 dbuf_findbp(dnode_t *dn, int level, uint64_t blkid, int fail_sparse, dmu_buf_impl_t **parentp, blkptr_t **bpp) argument
2228 dbuf_create(dnode_t *dn, uint8_t level, uint64_t blkid, dmu_buf_impl_t *parent, blkptr_t *blkptr) argument
2422 dbuf_prefetch(dnode_t *dn, int64_t level, uint64_t blkid, zio_priority_t prio, arc_flags_t aflags) argument
2544 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
2636 dbuf_hold(dnode_t *dn, uint64_t blkid, void *tag) argument
2642 dbuf_hold_level(dnode_t *dn, int level, uint64_t blkid, void *tag) argument
2697 dbuf_try_add_ref(dmu_buf_t *db_fake, objset_t *os, uint64_t obj, uint64_t blkid, void *tag) argument
[all...]
H A Ddmu.c133 uint64_t blkid; local
136 blkid = dbuf_whichblock(dn, 0, offset);
138 db = dbuf_hold(dn, blkid, tag);
154 uint64_t blkid; local
161 blkid = dbuf_whichblock(dn, 0, offset);
163 db = dbuf_hold(dn, blkid, tag);
435 uint64_t blkid, nblks, i; local
471 blkid = dbuf_whichblock(dn, 0, offset);
473 dmu_buf_impl_t *db = dbuf_hold(dn, blkid + i, tag);
489 dmu_zfetch(&dn->dn_zfetch, blkid, nblk
591 uint64_t blkid; local
1399 uint64_t blkid; local
[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.c479 ptr_width, "addr", "object", "lvl", "blkid", "holds", "os");
718 uint64_t blkid; member in struct:dbufs_data
732 uint64_t blkid; local
738 GETMEMBID(addr, &data->id, db_blkid, blkid)) {
747 (data->blkid == DBUFS_UNSET || data->blkid == blkid)) {
759 char *blkid = NULL; local
761 data.objset = data.object = data.level = data.blkid = DBUFS_UNSET;
769 'b', MDB_OPT_STR, &blkid) !
[all...]

Completed in 491 milliseconds