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

12

/illumos-gate/usr/src/uts/common/fs/zfs/
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 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 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 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 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 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 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 Dzfs_dir.c488 dmu_object_info_t doi; local
504 zap.za_first_integer, &doi);
508 ASSERT((doi.doi_type == DMU_OT_PLAIN_FILE_CONTENTS) ||
509 (doi.doi_type == DMU_OT_DIRECTORY_CONTENTS));
H A Ddmu_traverse.c709 dmu_object_info_t doi; local
711 err = dmu_object_info(mos, obj, &doi);
718 if (doi.doi_bonus_type == DMU_OT_DSL_DATASET) {
H A Dspace_map.c832 dmu_object_info_t doi; local
838 dmu_object_info_from_db(sm->sm_dbuf, &doi);
849 doi.doi_bonus_size != sizeof (space_map_phys_t)) ||
850 doi.doi_data_block_size != blocksize ||
851 doi.doi_metadata_block_size != 1 << space_map_ibs) {
855 doi.doi_bonus_size, doi.doi_data_block_size);
905 dmu_object_info_t doi; local
907 VERIFY0(dmu_object_info(os, smobj, &doi));
908 if (doi
[all...]
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 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);
H A Dvdev_removal.c318 dmu_object_info_t doi; local
319 VERIFY0(dmu_object_info(mos, DMU_POOL_DIRECTORY_OBJECT, &doi));
320 for (uint64_t offset = 0; offset < doi.doi_max_offset; ) {
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 Ddmu_recv.c1107 dmu_object_info_t doi; local
1164 err = dmu_object_info(rwa->os, drro->drr_object, &doi);
1204 if (drro->drr_blksz != doi.doi_data_block_size ||
1205 nblkptr < doi.doi_nblkptr ||
1206 dn_slots != doi.doi_dnodesize >> DNODE_SHIFT ||
1208 (indblksz != doi.doi_metadata_block_size ||
1209 drro->drr_nlevels < doi.doi_indirection))) {
1229 if ((rwa->raw && drro->drr_nlevels < doi.doi_indirection) ||
1230 dn_slots != doi.doi_dnodesize >> DNODE_SHIFT) {
1254 (drro->drr_maxblkid + 1) * doi
1459 dmu_object_info_t doi; local
2043 dmu_object_info_t doi; local
[all...]
H A Dsa.c1366 dmu_object_info_t doi; local
1370 dmu_object_info_from_db(db, &doi);
1371 ASSERT(doi.doi_bonus_type == DMU_OT_SA ||
1372 doi.doi_bonus_type == DMU_OT_ZNODE);
2099 sa_object_info(sa_handle_t *hdl, dmu_object_info_t *doi) argument
2101 dmu_object_info_from_db((dmu_buf_t *)hdl->sa_bonus, doi);
H A Dzfs_znode.c1173 dmu_object_info_t doi; local
1189 dmu_object_info_from_db(db, &doi);
1190 if (doi.doi_bonus_type != DMU_OT_SA &&
1191 (doi.doi_bonus_type != DMU_OT_ZNODE ||
1192 (doi.doi_bonus_type == DMU_OT_ZNODE &&
1193 doi.doi_bonus_size < sizeof (znode_phys_t)))) {
1238 zp = zfs_znode_alloc(zfsvfs, db, doi.doi_data_block_size,
1239 doi.doi_bonus_type, NULL);
1253 dmu_object_info_t doi; local
1279 dmu_object_info_from_db(db, &doi);
1998 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...]
/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/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/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/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));

Completed in 266 milliseconds

12