/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_devstamp.c | 38 mddrivename_t *dnp, 48 if ((np = metaslicename(dnp, MD_SLICE0, ep)) == NULL) 77 mddrivename_t *dnp, 88 if ((np = metaslicename(dnp, MD_SLICE0, ep)) == NULL) 37 getdevstamp( mddrivename_t *dnp, time_t *stamp, md_error_t *ep ) argument 76 setdevstamp( mddrivename_t *dnp, time_t *stamp, md_error_t *ep ) argument
|
H A D | meta_repartition.c | 37 * INPUT: dnp - the name of the drive to check 52 mddrivename_t *dnp, 63 rname = dnp->rname; 133 * dnp - the name of the drive to partition 187 mddrivename_t *dnp, 214 if (meta_replicaslice(dnp, &replicaslice, ep) != 0) { 228 if ((resnp = metaslicename(dnp, MD_SLICE0, ep)) == NULL) 51 meta_replicaslice( mddrivename_t *dnp, uint_t *slicep, md_error_t *ep ) argument 185 meta_repartition_drive( mdsetname_t *sp, mddrivename_t *dnp, int options, mdvtoc_t *vtocp, md_error_t *ep ) argument
|
H A D | meta_mh.c | 805 mddrivename_t *dnp; local 814 if ((dnp = metadrivename(&sp, mp->dif_name, ep)) == NULL) { 820 if ((np = metaslicename(dnp, MD_SLICE0, ep)) == NULL) 833 tailpp = meta_drivenamelist_append_wrapper(tailpp, dnp);
|
H A D | meta_set_drv.c | 131 mddrivename_t *dnp, 148 if (meta_replicaslice(dnp, &rep_slice, ep) != 0) { 152 dnp->side_names_key = MD_KEYWILD; 154 if ((np = metaslicename(dnp, rep_slice, ep)) == NULL) 162 dnp->side_names_key = MD_KEYWILD; 165 metaflushsidenames(dnp); 166 sn_next = &dnp->side_names; 1366 mddrivename_t *dnp; local 1368 dnp = p->drivenamep; 1370 if ((is_it = meta_is_drive_in_thisset(sp, dnp, FALS 129 meta_make_sidenmlist( mdsetname_t *sp, mddrivename_t *dnp, int import_flag, md_im_drive_info_t *midp, md_error_t *ep ) argument [all...] |
H A D | meta_set_prv.c | 47 mddrivename_t *dnp, 69 if (meta_is_drive_in_thisset(sp, dnp, FALSE, ep)) { 74 dd.dd_dnp = dnp; 82 if ((np = metaslicename(dnp, MD_SLICE0, ep)) == NULL) { 97 if (dnp->devid != NULL) { 113 ret = clnt_devinfo_by_devid(node, sp, dnp->devid, &dev, 141 node, dnp->cname, sp->setname); 148 * a dnp for this new rname. 158 remote_dnp = dnp; 166 ret = setdevstamp(dnp, 45 checkdrive_onnode( mdsetname_t *sp, mddrivename_t *dnp, char *node, md_error_t *ep) argument 343 metadrivedesc_append( md_drive_desc **dd, mddrivename_t *dnp, int dbcnt, int dbsize, md_timeval32_t timestamp, ulong_t genid, uint_t flags ) argument 667 mddrivename_t *dnp; local [all...] |
H A D | meta_set_tkr.c | 330 mddrivename_t *dnp; local 360 dnp = dd->dd_dnp; 370 if (meta_replicaslice(dnp, &sliceno, ep) != 0) 373 if ((rsp = metaslicename(dnp, sliceno, ep)) == NULL) 380 if (devid_str_decode(dnp->devid, &devid, NULL) != 0) { 632 mddrivename_t *dnp; local 642 * the dnp using the devid and not the name. 676 dnp = metadrivenamebydevid(&sp, cdevidp, 679 if (dnp == NULL) { 689 dnlpp = meta_drivenamelist_append_wrapper(dnlpp, dnp); [all...] |
/illumos-gate/usr/src/tools/ndrgen/ |
H A D | ndr_print.c | 247 ndr_node_t *dnp = np->n_m_decl; local 259 if (dnp && dnp->label == STAR) { 261 while (dnp && dnp->label == STAR) { 263 dnp = dnp->n_d_descend; 273 print_node(dnp);
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_subr.c | 69 smbfs_fullpath(struct mbchain *mbp, struct smb_vc *vcp, struct smbnode *dnp, argument 86 dnp->n_rpath, dnp->n_rplen, 93 if (dnp->n_rplen <= 1 && sep == '\\') 107 if (dnp->n_flag & N_XATTR)
|
H A D | smbfs_node.c | 107 smbfs_getino(struct smbnode *dnp, const char *name, int nmlen) argument 113 ino = (uint32_t)dnp->n_ino; 116 sep = SMBFS_DNP_SEP(dnp); 161 struct smbnode *dnp = VTOSMB(dvp); local 174 sep = SMBFS_DNP_SEP(dnp); 177 np = smbfs_node_findcreate(dnp->n_mount, 178 dnp->n_rpath, dnp->n_rplen, 191 if (dnp->n_flag & N_XATTR) { 214 smbfs_attr_touchdir(struct smbnode *dnp) argument [all...] |
H A D | smbfs_xattr.c | 300 smbfs_xa_findopen(struct smbfs_fctx *ctx, struct smbnode *dnp, argument 310 ASSERT(dnp->n_flag & N_XATTR); 318 error = smbfs_xa_parent(SMBTOV(dnp), &pvp);
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | pi_defer.c | 76 pi_defernode_t *dnp; local 90 dnp = topo_mod_zalloc(mod, sizeof (pi_defernode_t)); 91 if (dnp == NULL) { 95 uu_list_node_init(dnp, &(dnp->defer_node), defer_pool); 97 dnp->mde_node = mde_node; 98 dnp->t_parent = t_parent; 99 dnp->t_node = t_node; 100 dnp->private = private; 101 dnp [all...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_xlator.c | 104 dt_node_t *dnp; local 217 for (dnp = dxp->dx_members; dnp != NULL; dnp = dnp->dn_list) { 218 dnp->dn_membxlator = dxp; 219 dnp->dn_membid = dxp->dx_nmembers++; 372 dt_node_t *dnp; local 374 for (dnp = dxp->dx_members; dnp ! [all...] |
H A D | dt_as.c | 153 uint_t i, uint_t xi, dt_node_t *dnp) 156 dt_xlator_t *dxp = dnp->dn_membexpr->dn_xlator; 161 assert(dnp->dn_kind == DT_NODE_MEMBER); 162 assert(dnp->dn_membexpr->dn_kind == DT_NODE_XLATOR); 165 assert(dnp->dn_membid < dxp->dx_nmembers); 185 BT_SET(pcb->pcb_asxrefs[dxp->dx_id], dnp->dn_membid); 186 dp->dtdo_xlmtab[xi] = dnp; 152 dt_as_xlate(dt_pcb_t *pcb, dtrace_difo_t *dp, uint_t i, uint_t xi, dt_node_t *dnp) argument
|
H A D | dt_dis.c | 514 dt_node_t *dnp = dp->dtdo_xlmtab[i]; local 515 dt_xlator_t *dxp = dnp->dn_membexpr->dn_xlator; 517 (uint_t)dxp->dx_id, dxp->dx_arg, dnp->dn_membname, 518 dt_node_type_name(dnp, type, sizeof (type)));
|
H A D | dt_pragma.c | 77 dt_pragma_attributes(const char *prname, dt_node_t *dnp) argument 85 if (dnp == NULL || dnp->dn_kind != DT_NODE_IDENT || 86 dnp->dn_list == NULL || dnp->dn_list->dn_kind != DT_NODE_IDENT) { 91 if (dtrace_str2attr(dnp->dn_string, &attr) == -1) { 96 dnp = dnp->dn_list; 97 name = dnp->dn_string; 100 dnp 160 dt_pragma_binding(const char *prname, dt_node_t *dnp) argument 313 dt_pragma_error(const char *prname, dt_node_t *dnp) argument 341 dt_pragma_ident(const char *prname, dt_node_t *dnp) argument 347 dt_pragma_option(const char *prname, dt_node_t *dnp) argument 393 dt_pragma_line(const char *prname, dt_node_t *dnp) argument 470 dt_node_t *dnp; local [all...] |
H A D | dt_program.c | 404 dt_node_t *dnp; local 421 for (dnp = prp->pr_nargs, i = 0; dnp != NULL; dnp = dnp->dn_list, i++) { 423 ctf_type_name(dnp->dn_ctfp, dnp->dn_type,
|
H A D | dt_sugar.c | 193 dt_sugar_visit_all(dt_sugar_parse_t *dp, dt_node_t *dnp) argument 197 switch (dnp->dn_kind) { 209 for (arg = dnp->dn_args; arg != NULL; arg = arg->dn_list) 214 dt_sugar_visit_all(dp, dnp->dn_child); 218 dt_sugar_visit_all(dp, dnp->dn_left); 219 dt_sugar_visit_all(dp, dnp->dn_right); 220 if (dnp->dn_op == DT_TOK_LBRAC) { 221 dt_node_t *ln = dnp->dn_right; 230 dt_sugar_visit_all(dp, dnp->dn_expr); 231 dt_sugar_visit_all(dp, dnp [all...] |
H A D | dt_decl.c | 307 dt_node_t *dnp; local 309 for (dnp = flist; dnp != fnp && dnp != NULL; dnp = dnp->dn_list) { 310 if (dnp->dn_string != NULL && 311 strcmp(dnp->dn_string, fnp->dn_string) == 0) 333 dt_node_t *dnp; local 335 for (dnp 385 dt_decl_array(dt_node_t *dnp) argument 446 dt_decl_func(dt_decl_t *pdp, dt_node_t *dnp) argument 521 dt_decl_member(dt_node_t *dnp) argument 710 dt_decl_enumerator(char *s, dt_node_t *dnp) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | bptree.c | 153 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) 152 bptree_visit_cb(spa_t *spa, zilog_t *zilog, const blkptr_t *bp, const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) argument
|
H A D | dmu_diff.c | 85 report_dnode(struct diffarg *da, uint64_t object, dnode_phys_t *dnp) argument 87 ASSERT(dnp != NULL); 88 if (dnp->dn_type == DMU_OT_NONE) 103 #define DBP_SPAN(dnp, level) \ 104 (((uint64_t)dnp->dn_datablkszsec) << (SPA_MINBLOCKSHIFT + \ 105 (level) * (dnp->dn_indblkshift - SPA_BLKPTRSHIFT))) 110 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) 122 uint64_t span = DBP_SPAN(dnp, zb->zb_level); 109 diff_cb(spa_t *spa, zilog_t *zilog, const blkptr_t *bp, const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) argument
|
H A D | dnode_sync.c | 549 dnode_phys_t *dnp = dn->dn_phys; local 556 ASSERT(dnp->dn_type != DMU_OT_NONE || dn->dn_allocated_txg); 557 ASSERT(dnp->dn_type != DMU_OT_NONE || 558 bcmp(dnp, &zerodn, DNODE_SIZE) == 0); 580 if (dnp->dn_type == DMU_OT_NONE) { 582 dnp->dn_nlevels = 1; 583 dnp->dn_nblkptr = dn->dn_nblkptr; 586 dnp->dn_type = dn->dn_type; 587 dnp->dn_bonustype = dn->dn_bonustype; 588 dnp [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi_bay.c | 111 bay_pgroups(topo_mod_t *mod, tnode_t *tnp, di_node_t *dnp, di_node_t *sibp, argument 137 di_devfs_path(*dnp), minor_name);
|
/illumos-gate/usr/src/cmd/lvm/util/ |
H A D | metaimport.c | 570 mddrivename_t *dnp; local 571 dnp = metadrivename(&sp, argv[optind], ep); 572 if (dnp == NULL) { 576 cnames.min_names[i] = dnp->rname; 683 mddrivename_t *dnp; local 696 dnp = d->mid_dnp; 698 if (meta_imp_drvused(sp, dnp, ep)) { 701 dnp->cname, NULL); 726 dnp->cname, NULL);
|
H A D | metainit.c | 533 mddrivename_t *dnp; local 537 * The cname style for dnp and replica list will be same since 541 if ((dnp = metadrivename_withdrkey(&sn, sideno, dr->dr_key, 552 if (strcmp(rl->rl_repp->r_namep->drivenamep->cname, dnp->cname)
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | check.c | 475 struct node *dnp; local 561 if ((dnp = tree_event2np_lut_lookup(lutp, np)) == NULL) { 566 dnp->u.stmt.flags |= STMT_REF; 567 np->u.event.declp = dnp; 892 struct node *dnp; local 905 if ((dnp = tree_event2np_lut_lookup(Errors, rhs)) == NULL) { 913 check_cycle(NULL, dnp, 0);
|