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

12

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dbpobj.c99 dmu_object_info_t doi; local
111 VERIFY3U(0, ==, dmu_object_info(os, bpo.bpo_phys->bpo_subobjs, &doi));
112 epb = doi.doi_data_block_size / sizeof (uint64_t);
150 dmu_object_info_t doi; local
153 err = dmu_object_info(os, object, &doi);
163 ASSERT3U(doi.doi_type, ==, DMU_OT_BPOBJ);
164 ASSERT3U(doi.doi_bonus_type, ==, DMU_OT_BPOBJ_HDR);
172 bpo->bpo_epb = doi.doi_data_block_size >> SPA_BLKPTRSHIFT;
173 bpo->bpo_havecomp = (doi.doi_bonus_size > BPOBJ_SIZE_V0);
174 bpo->bpo_havesubobj = (doi
214 dmu_object_info_t doi; local
416 dmu_object_info_t doi; local
432 dmu_object_info_t doi; local
[all...]
H A Ddsl_deadlist.c95 dmu_object_info_t doi; local
103 dmu_object_info_from_db(dl->dl_dbuf, &doi);
104 if (doi.doi_type == DMU_OT_BPOBJ) {
167 dmu_object_info_t doi; local
171 VERIFY3U(0, ==, dmu_object_info(os, dlobj, &doi));
172 if (doi.doi_type == DMU_OT_BPOBJ) {
485 dmu_object_info_t doi; local
487 VERIFY3U(0, ==, dmu_object_info(dl->dl_os, obj, &doi));
488 if (doi.doi_type == DMU_OT_BPOBJ) {
H A Dzfs_sa.c137 dmu_object_info_t doi; local
144 sa_object_info(zp->z_sa_hdl, &doi);
148 if (len <= doi.doi_bonus_size) {
170 dmu_object_info_t doi; local
174 sa_object_info(zp->z_sa_hdl, &doi);
177 if (len > doi.doi_bonus_size)
H A Dspace_map.c837 dmu_object_info_t doi; local
843 dmu_object_info_from_db(sm->sm_dbuf, &doi);
854 doi.doi_bonus_size != sizeof (space_map_phys_t)) ||
855 doi.doi_data_block_size != blocksize ||
856 doi.doi_metadata_block_size != 1 << space_map_ibs) {
860 doi.doi_bonus_size, doi.doi_data_block_size);
910 dmu_object_info_t doi; local
912 VERIFY0(dmu_object_info(os, smobj, &doi));
913 if (doi
[all...]
H A Dspa_history.c297 dmu_object_info_t doi; local
298 dmu_object_info_from_db(dbp, &doi);
299 ASSERT3U(doi.doi_bonus_type, ==, DMU_OT_SPA_HISTORY_OFFSETS);
455 dmu_object_info_t doi; local
456 dmu_object_info_from_db(dbp, &doi);
457 ASSERT3U(doi.doi_bonus_type, ==, DMU_OT_SPA_HISTORY_OFFSETS);
H A Dddt.c107 dmu_object_info_t doi; local
126 VERIFY(ddt_object_info(ddt, type, class, &doi) == 0);
129 ddo->ddo_dspace = doi.doi_physical_blocks_512 << 9;
130 ddo->ddo_mspace = doi.doi_fill_count * doi.doi_data_block_size;
140 dmu_object_info_t doi; local
152 VERIFY(ddt_object_info(ddt, type, class, &doi) == 0);
155 ddo->ddo_dspace = doi.doi_physical_blocks_512 << 9;
156 ddo->ddo_mspace = doi.doi_fill_count * doi
221 ddt_object_info(ddt_t *ddt, enum ddt_type type, enum ddt_class class, dmu_object_info_t *doi) argument
[all...]
H A Dzfs_znode.c1179 dmu_object_info_t doi; local
1195 dmu_object_info_from_db(db, &doi);
1196 if (doi.doi_bonus_type != DMU_OT_SA &&
1197 (doi.doi_bonus_type != DMU_OT_ZNODE ||
1198 (doi.doi_bonus_type == DMU_OT_ZNODE &&
1199 doi.doi_bonus_size < sizeof (znode_phys_t)))) {
1244 zp = zfs_znode_alloc(zfsvfs, db, doi.doi_data_block_size,
1245 doi.doi_bonus_type, NULL);
1259 dmu_object_info_t doi; local
1285 dmu_object_info_from_db(db, &doi);
2005 dmu_object_info_t doi; local
[all...]
H A Ddmu.c2457 dmu_object_info_from_dnode(dnode_t *dn, dmu_object_info_t *doi) argument
2466 doi->doi_data_block_size = dn->dn_datablksz;
2467 doi->doi_metadata_block_size = dn->dn_indblkshift ?
2469 doi->doi_type = dn->dn_type;
2470 doi->doi_bonus_type = dn->dn_bonustype;
2471 doi->doi_bonus_size = dn->dn_bonuslen;
2472 doi->doi_dnodesize = dn->dn_num_slots << DNODE_SHIFT;
2473 doi->doi_indirection = dn->dn_nlevels;
2474 doi->doi_checksum = dn->dn_checksum;
2475 doi
2492 dmu_object_info(objset_t *os, uint64_t object, dmu_object_info_t *doi) argument
2511 dmu_object_info_from_db(dmu_buf_t *db_fake, dmu_object_info_t *doi) argument
2516 dmu_object_info_from_dnode(DB_DNODE(db), doi); local
[all...]
H A Ddmu_recv.c1103 dmu_object_info_t doi; local
1160 err = dmu_object_info(rwa->os, drro->drr_object, &doi);
1200 if (drro->drr_blksz != doi.doi_data_block_size ||
1201 nblkptr < doi.doi_nblkptr ||
1202 dn_slots != doi.doi_dnodesize >> DNODE_SHIFT ||
1204 (indblksz != doi.doi_metadata_block_size ||
1205 drro->drr_nlevels < doi.doi_indirection))) {
1225 if ((rwa->raw && drro->drr_nlevels < doi.doi_indirection) ||
1226 dn_slots != doi.doi_dnodesize >> DNODE_SHIFT) {
1250 (drro->drr_maxblkid + 1) * doi
1455 dmu_object_info_t doi; local
2039 dmu_object_info_t doi; local
[all...]
H A Dvdev_indirect_mapping.c341 dmu_object_info_t doi; local
342 VERIFY0(dmu_object_info(os, mapping_object, &doi));
352 (doi.doi_bonus_size > VDEV_INDIRECT_MAPPING_SIZE_V0);
H A Ddmu_object.c362 dmu_object_info_t doi; local
371 error = dmu_object_info(os, i, &doi);
383 i += doi.doi_dnodesize >> DNODE_SHIFT;
H A Dzcp_get.c461 dmu_object_info_t doi; local
464 error = dmu_object_info(os, ZVOL_OBJ, &doi);
466 numval = doi.doi_data_block_size;
H A Dzfs_dir.c489 dmu_object_info_t doi; local
507 zap.za_first_integer, &doi);
511 ASSERT((doi.doi_type == DMU_OT_PLAIN_FILE_CONTENTS) ||
512 (doi.doi_type == DMU_OT_DIRECTORY_CONTENTS));
H A Ddsl_dir.c167 dmu_object_info_t doi; local
177 dmu_object_info_from_db(dbuf, &doi);
178 ASSERT3U(doi.doi_bonus_type, ==, DMU_OT_DSL_DIR);
179 ASSERT3U(doi.doi_bonus_size, >=, sizeof (dsl_dir_phys_t));
2161 dmu_object_info_t doi; local
2163 dmu_object_info_from_db(dd->dd_dbuf, &doi);
2164 return (doi.doi_type == DMU_OTN_ZAP_METADATA);
H A Dzvol.c215 dmu_object_info_t doi; local
224 error = dmu_object_info(os, ZVOL_OBJ, &doi);
228 doi.doi_data_block_size);
493 dmu_object_info_t doi; local
561 error = dmu_object_info(os, ZVOL_OBJ, &doi);
563 zv->zv_volblocksize = doi.doi_data_block_size;
841 dmu_object_info_t doi; local
868 if ((error = dmu_object_info(os, ZVOL_OBJ, &doi)) != 0 ||
869 (error = zvol_check_volsize(volsize, doi.doi_data_block_size)) != 0)
H A Dzap_micro.c555 dmu_object_info_t doi; local
556 dmu_object_info_from_db(db, &doi);
557 ASSERT3U(DMU_OT_BYTESWAP(doi.doi_type), ==, DMU_BSWAP_ZAP);
579 dmu_object_info_t doi; local
580 dmu_object_info_from_db(db, &doi);
581 ASSERT3U(DMU_OT_BYTESWAP(doi.doi_type), ==, DMU_BSWAP_ZAP);
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dzone.c42 int *extended_error, int match, int doi, const bslabel_t *label, int flags)
59 zd.doi = doi;
40 zone_create(const char *name, const char *root, const struct priv_set *privs, const char *rctls, size_t rctlsz, const char *zfs, size_t zfssz, int *extended_error, int match, int doi, const bslabel_t *label, int flags) argument
/illumos-gate/usr/src/lib/libtsnet/common/
H A Dmisc.c113 "doi",
169 slen += snprintf(line + slen, len - slen, "doi=%d",
185 uint32_t mask = 0, doi; local
297 doi = strtoul(attrbuf, &cp, 0);
298 if (doi == 0 || errno != 0 || *cp != '\0') {
353 sp->rtsa_doi = doi;
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dtn_ipopt.c55 tsol2cipso_tt1(const bslabel_t *sl, unsigned char *cop, uint32_t doi) argument
62 if (doi == 0)
96 doi = htonl(doi);
97 ucp = (const uchar_t *)&doi;
216 uint32_t doi; local
253 bcopy(opt_ptr, &doi, sizeof (doi));
254 doi = ntohl(doi);
974 uint32_t doi; local
[all...]
H A Dtnet.c343 #define RTSAFLAGS "\20\11cipso\3doi\2max_sl\1min_sl"
353 "rtsa(1) lacks flag or has 0 doi.",
625 tsol_find_unlabeled_label(tsol_tpc_t *rhtp, bslabel_t *sl, uint32_t *doi) argument
627 *doi = rhtp->tpc_tp.tp_doi;
688 uint32_t doi; local
732 bcopy(co->cipso_doi, &doi, sizeof (doi));
733 doi = ntohl(doi);
816 if (!tsol_find_unlabeled_label(src_rhtp, &sl, &doi)) {
[all...]
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c534 dmu_object_info_t doi; local
536 VERIFY0(dmu_object_info(os, object, &doi));
537 uint64_t *subobjs = kmem_alloc(doi.doi_max_offset, KM_SLEEP);
539 int err = dmu_read(os, object, 0, doi.doi_max_offset, subobjs, 0);
542 kmem_free(subobjs, doi.doi_max_offset);
547 for (uint64_t i = 0; i < doi.doi_max_offset / 8; i++) {
555 kmem_free(subobjs, doi.doi_max_offset);
715 dmu_object_info_t doi; local
717 obsolete_sm_obj, &doi));
718 if (doi
738 dmu_object_info_t doi; local
1221 dmu_object_info_t doi; local
2196 dmu_object_info_t doi; local
2649 dmu_object_info_t doi; local
5306 dmu_object_info_t doi; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ip.c839 uint32_t doi; local
851 GETINT32(doi, data);
853 " DOI = %d (%s)", doi, doi == IP6LS_DOI_V4 ? "IPv4" : "???");
1420 uint32_t doi; local
1438 (void) memcpy(&doi, opt + 2, sizeof (doi));
1440 "Domain of Interpretation = %u", (unsigned)ntohl(doi));
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c1474 dmu_object_info_t doi; local
1477 dmu_object_info_from_db(db, &doi);
1478 ASSERT3U(doi.doi_bonus_size, <=, db->db_size);
1479 ASSERT3U(doi.doi_bonus_size, >=, sizeof (*bt));
1480 bt = (void *)((char *)db->db_data + doi.doi_bonus_size - sizeof (*bt));
1740 dmu_object_info_t doi; local
1756 VERIFY3U(0, ==, dmu_object_info(os, object, &doi));
1769 if (doi.doi_type == DMU_OT_ZAP_OTHER) {
1797 dmu_object_info_t doi; local
1829 dmu_object_info_from_db(db, &doi);
2085 dmu_object_info_t doi; local
2205 dmu_object_info_t doi; local
2407 dmu_object_info_t doi; local
3817 dmu_object_info_t doi; local
4478 dmu_object_info_t doi; local
5265 dmu_object_info_t doi; local
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dtlabel.c86 labelalloc(const bslabel_t *val, uint32_t doi, int flag) argument
92 lab->tsl_doi = doi;
/illumos-gate/usr/src/uts/common/sys/
H A Dzone.h197 uint32_t doi; /* DOI for label */ member in struct:__anon93
213 uint32_t doi; /* DOI for label */ member in struct:__anon94

Completed in 132 milliseconds

12