/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_sa.c | 135 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 D | bpobj.c | 98 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 D | dsl_deadlist.c | 98 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 D | spa_history.c | 231 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 D | space_map.c | 402 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 D | zfs_dir.c | 471 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 D | dmu_traverse.c | 674 dmu_object_info_t doi; local 676 err = dmu_object_info(mos, obj, &doi); 683 if (doi.doi_bonus_type == DMU_OT_DSL_DATASET) {
|
H A D | ddt.c | 106 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 D | zfs_znode.c | 1104 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 D | zap_micro.c | 476 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);
|
H A D | dmu.c | 1979 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 D | dsl_dir.c | 171 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 D | metaslab.c | 2039 dmu_object_info_t doi; local 2068 dmu_object_info_from_db(sm->sm_dbuf, &doi); 2069 record_size = MAX(doi.doi_data_block_size, vdev_blocksize);
|
H A D | sa.c | 1365 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 D | zvol.c | 212 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 D | zfs_vnops.c | 304 dmu_object_info_t doi; local 371 error = dmu_object_info(zfsvfs->z_os, zp->z_id, &doi); 377 ndata = doi.doi_fill_count;
|
/illumos-gate/usr/src/lib/libtsnet/common/ |
H A D | misc.c | 113 "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 D | zone.c | 42 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 D | tlabel.c | 86 labelalloc(const bslabel_t *val, uint32_t doi, int flag) argument 92 lab->tsl_doi = doi;
|
H A D | cred.c | 1106 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 D | tn_ipopt.c | 55 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 D | tnet.c | 343 #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 D | snoop_ip.c | 839 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/lib/libipsecutil/common/ |
H A D | ipsec_util.c | 2264 ipsec_convert_sl_to_sens(int doi, bslabel_t *sl, sadb_sens_t *sens) argument 2278 sens->sadb_sens_dpd = doi;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipseckey.c | 931 int doi = 1; /* XXX XXX DEFAULT_DOI XXX XXX */ local 937 len = ipsec_convert_sl_to_sens(doi, sl, NULL); 946 (void) ipsec_convert_sl_to_sens(doi, sl, sens);
|