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

12

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dbpobj.c98 dmu_object_info_t doi; local
110 VERIFY3U(0, ==, dmu_object_info(os, bpo.bpo_phys->bpo_subobjs, &doi));
111 epb = doi.doi_data_block_size / sizeof (uint64_t);
149 dmu_object_info_t doi; local
152 err = dmu_object_info(os, object, &doi);
162 ASSERT3U(doi.doi_type, ==, DMU_OT_BPOBJ);
163 ASSERT3U(doi.doi_bonus_type, ==, DMU_OT_BPOBJ_HDR);
171 bpo->bpo_epb = doi.doi_data_block_size >> SPA_BLKPTRSHIFT;
172 bpo->bpo_havecomp = (doi.doi_bonus_size > BPOBJ_SIZE_V0);
173 bpo->bpo_havesubobj = (doi
207 dmu_object_info_t doi; local
405 dmu_object_info_t doi; local
422 dmu_object_info_t doi; local
[all...]
H A Dspace_map.c402 dmu_object_info_t doi; local
407 dmu_object_info_from_db(sm->sm_dbuf, &doi);
418 doi.doi_bonus_size != sizeof (space_map_phys_t)) ||
419 doi.doi_data_block_size != space_map_blksz) {
422 spa_name(spa), doi.doi_bonus_size, doi.doi_data_block_size);
493 dmu_object_info_t doi; local
495 dmu_object_info_from_db(sm->sm_dbuf, &doi);
496 if (doi.doi_bonus_size != SPACE_MAP_SIZE_V0) {
H A Ddsl_deadlist.c98 dmu_object_info_t doi; local
104 dmu_object_info_from_db(dl->dl_dbuf, &doi);
105 if (doi.doi_type == DMU_OT_BPOBJ) {
158 dmu_object_info_t doi; local
162 VERIFY3U(0, ==, dmu_object_info(os, dlobj, &doi));
163 if (doi.doi_type == DMU_OT_BPOBJ) {
466 dmu_object_info_t doi; local
468 VERIFY3U(0, ==, dmu_object_info(dl->dl_os, obj, &doi));
469 if (doi.doi_type == DMU_OT_BPOBJ) {
H A Dzfs_sa.c135 dmu_object_info_t doi; local
142 sa_object_info(zp->z_sa_hdl, &doi);
146 if (len <= doi.doi_bonus_size) {
168 dmu_object_info_t doi; local
172 sa_object_info(zp->z_sa_hdl, &doi);
175 if (len > doi.doi_bonus_size)
H A Dspa_history.c231 dmu_object_info_t doi; local
232 dmu_object_info_from_db(dbp, &doi);
233 ASSERT3U(doi.doi_bonus_type, ==, DMU_OT_SPA_HISTORY_OFFSETS);
368 dmu_object_info_t doi; local
369 dmu_object_info_from_db(dbp, &doi);
370 ASSERT3U(doi.doi_bonus_type, ==, DMU_OT_SPA_HISTORY_OFFSETS);
H A Ddmu.c1979 dmu_object_info_from_dnode(dnode_t *dn, dmu_object_info_t *doi) argument
1988 doi->doi_data_block_size = dn->dn_datablksz;
1989 doi->doi_metadata_block_size = dn->dn_indblkshift ?
1991 doi->doi_type = dn->dn_type;
1992 doi->doi_bonus_type = dn->dn_bonustype;
1993 doi->doi_bonus_size = dn->dn_bonuslen;
1994 doi->doi_indirection = dn->dn_nlevels;
1995 doi->doi_checksum = dn->dn_checksum;
1996 doi->doi_compress = dn->dn_compress;
1997 doi
2013 dmu_object_info(objset_t *os, uint64_t object, dmu_object_info_t *doi) argument
2032 dmu_object_info_from_db(dmu_buf_t *db_fake, dmu_object_info_t *doi) argument
2037 dmu_object_info_from_dnode(DB_DNODE(db), doi); local
[all...]
H A Dddt.c106 dmu_object_info_t doi; local
125 VERIFY(ddt_object_info(ddt, type, class, &doi) == 0);
128 ddo->ddo_dspace = doi.doi_physical_blocks_512 << 9;
129 ddo->ddo_mspace = doi.doi_fill_count * doi.doi_data_block_size;
139 dmu_object_info_t doi; local
151 VERIFY(ddt_object_info(ddt, type, class, &doi) == 0);
154 ddo->ddo_dspace = doi.doi_physical_blocks_512 << 9;
155 ddo->ddo_mspace = doi.doi_fill_count * doi
220 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.c1104 dmu_object_info_t doi; local
1120 dmu_object_info_from_db(db, &doi);
1121 if (doi.doi_bonus_type != DMU_OT_SA &&
1122 (doi.doi_bonus_type != DMU_OT_ZNODE ||
1123 (doi.doi_bonus_type == DMU_OT_ZNODE &&
1124 doi.doi_bonus_size < sizeof (znode_phys_t)))) {
1169 zp = zfs_znode_alloc(zfsvfs, db, doi.doi_data_block_size,
1170 doi.doi_bonus_type, NULL);
1184 dmu_object_info_t doi; local
1209 dmu_object_info_from_db(db, &doi);
1896 dmu_object_info_t doi; local
[all...]
H A Dzfs_dir.c471 dmu_object_info_t doi; local
487 zap.za_first_integer, &doi);
491 ASSERT((doi.doi_type == DMU_OT_PLAIN_FILE_CONTENTS) ||
492 (doi.doi_type == DMU_OT_DIRECTORY_CONTENTS));
H A Ddsl_dir.c171 dmu_object_info_t doi; local
172 dmu_object_info_from_db(dbuf, &doi);
173 ASSERT3U(doi.doi_bonus_type, ==, DMU_OT_DSL_DIR);
174 ASSERT3U(doi.doi_bonus_size, >=, sizeof (dsl_dir_phys_t));
1982 dmu_object_info_t doi; local
1984 dmu_object_info_from_db(dd->dd_dbuf, &doi);
1985 return (doi.doi_type == DMU_OTN_ZAP_METADATA);
H A Dzvol.c212 dmu_object_info_t doi; local
221 error = dmu_object_info(os, ZVOL_OBJ, &doi);
225 doi.doi_data_block_size);
485 dmu_object_info_t doi; local
555 error = dmu_object_info(os, ZVOL_OBJ, &doi);
557 zv->zv_volblocksize = doi.doi_data_block_size;
832 dmu_object_info_t doi; local
859 if ((error = dmu_object_info(os, ZVOL_OBJ, &doi)) != 0 ||
860 (error = zvol_check_volsize(volsize, doi.doi_data_block_size)) != 0)
H A Dsa.c1365 dmu_object_info_t doi; local
1369 dmu_object_info_from_db(db, &doi);
1370 ASSERT(doi.doi_bonus_type == DMU_OT_SA ||
1371 doi.doi_bonus_type == DMU_OT_ZNODE);
1921 sa_object_info(sa_handle_t *hdl, dmu_object_info_t *doi) argument
1923 dmu_object_info_from_db((dmu_buf_t *)hdl->sa_bonus, doi);
H A Dzap_micro.c476 dmu_object_info_t doi; local
477 dmu_object_info_from_db(db, &doi);
478 ASSERT3U(DMU_OT_BYTESWAP(doi.doi_type), ==, DMU_BSWAP_ZAP);
645 dmu_object_info_t doi; local
646 dmu_object_info_from_db(db, &doi);
647 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/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/zdb/
H A Dzdb.c490 dmu_object_info_t doi; local
492 VERIFY0(dmu_object_info(os, object, &doi));
493 uint64_t *subobjs = kmem_alloc(doi.doi_max_offset, KM_SLEEP);
495 int err = dmu_read(os, object, 0, doi.doi_max_offset, subobjs, 0);
498 kmem_free(subobjs, doi.doi_max_offset);
503 for (uint64_t i = 0; i < doi.doi_max_offset / 8; i++) {
511 kmem_free(subobjs, doi.doi_max_offset);
945 dmu_object_info_t doi; local
949 error = ddt_object_info(ddt, type, class, &doi);
958 dspace = doi
1814 dmu_object_info_t doi; local
[all...]
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c1297 dmu_object_info_t doi; local
1300 dmu_object_info_from_db(db, &doi);
1301 ASSERT3U(doi.doi_bonus_size, <=, db->db_size);
1302 ASSERT3U(doi.doi_bonus_size, >=, sizeof (*bt));
1303 bt = (void *)((char *)db->db_data + doi.doi_bonus_size - sizeof (*bt));
1510 dmu_object_info_t doi; local
1526 VERIFY3U(0, ==, dmu_object_info(os, object, &doi));
1539 if (doi.doi_type == DMU_OT_ZAP_OTHER) {
1565 dmu_object_info_t doi; local
1597 dmu_object_info_from_db(db, &doi);
1847 dmu_object_info_t doi; local
1967 dmu_object_info_t doi; local
2169 dmu_object_info_t doi; local
3205 dmu_object_info_t doi; local
3838 dmu_object_info_t doi; local
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddmu.h807 * If doi is NULL, just indicates whether the object exists.
809 int dmu_object_info(objset_t *os, uint64_t object, dmu_object_info_t *doi);
811 void dmu_object_info_from_dnode(dnode_t *dn, dmu_object_info_t *doi);
813 void dmu_object_info_from_db(dmu_buf_t *db, dmu_object_info_t *doi);
/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;
H A Dcred.c1106 newcred_from_bslabel(bslabel_t *blabel, uint32_t doi, int flags) argument
1108 ts_label_t *lbl = labelalloc(blabel, doi, flags);
1147 uint32_t doi, int flags)
1149 ts_label_t *lbl = labelalloc(blabel, doi, flags);
1146 copycred_from_bslabel(const cred_t *cr, bslabel_t *blabel, uint32_t doi, int flags) argument
/illumos-gate/usr/src/uts/common/sys/
H A Dzone.h186 uint32_t doi; /* DOI for label */ member in struct:__anon321
202 uint32_t doi; /* DOI for label */ member in struct:__anon322
/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dipsec_util.h413 extern int ipsec_convert_sl_to_sens(int doi, bslabel_t *, struct sadb_sens *);

Completed in 164 milliseconds

12