HomeSort by: relevance | last modified time | path
    Searched refs:dnp (Results 1 - 25 of 40) sorted by relevancy

1 2

  /src/external/cddl/osnet/dist/lib/libdtrace/common/
dt_cg.c 145 dt_cg_load(dt_node_t *dnp, ctf_file_t *ctfp, ctf_id_t type)
166 if ((dnp->dn_flags & DT_NF_BITFIELD) &&
179 if (dnp->dn_flags & DT_NF_SIGNED)
181 if (dnp->dn_flags & DT_NF_USERLAND)
188 dt_cg_ptrsize(dt_node_t *dnp, dt_irlist_t *dlp, dt_regset_t *drp,
191 ctf_file_t *ctfp = dnp->dn_ctfp;
199 type = ctf_type_resolve(ctfp, dnp->dn_type);
240 dt_cg_field_get(dt_node_t *dnp, dt_irlist_t *dlp, dt_regset_t *drp,
253 assert(dnp->dn_op == DT_TOK_PTR || dnp->dn_op == DT_TOK_DOT)
545 dt_node_t *dnp; local
    [all...]
dt_parser.c 407 dt_node_promote(dt_node_t *lp, dt_node_t *rp, dt_node_t *dnp)
409 dt_type_promote(lp, rp, &dnp->dn_ctfp, &dnp->dn_type);
410 dt_node_type_assign(dnp, dnp->dn_ctfp, dnp->dn_type, B_FALSE);
411 dt_node_attr_assign(dnp, dt_attr_min(lp->dn_attr, rp->dn_attr));
415 dt_node_name(const dt_node_t *dnp, char *buf, size_t len)
424 switch (dnp->dn_kind) {
427 (u_longlong_t)dnp->dn_value)
518 dt_node_t *dnp = dt_alloc(dtp, sizeof (dt_node_t)); local
547 dt_node_t *dnp = dt_node_xalloc(yypcb->pcb_hdl, kind); local
1242 dt_node_t *dnp = dt_node_alloc(DT_NODE_INT); local
1292 dt_node_t *dnp; local
1309 dt_node_t *dnp; local
1354 dt_node_t *dnp; local
1395 dt_node_t *dnp = dt_node_alloc(DT_NODE_TYPE); local
1650 dt_node_t *dnp = ddp->dd_node; local
1845 dt_node_t *dnp; local
1942 dt_node_t *dnp; local
2113 dt_node_t *dnp; local
2130 dt_node_t *dnp; local
2148 dt_node_t *dnp = dt_node_alloc(DT_NODE_IF); local
2160 dt_node_t *dnp; local
2192 dt_node_t *dnp = dt_node_alloc(DT_NODE_PDESC); local
2219 dt_node_t *dnp = dt_node_alloc(DT_NODE_CLAUSE); local
2240 dt_node_t *dnp; local
2425 dt_node_t *dnp; local
2454 dt_node_t *dnp; local
2517 dt_node_t *dnp; local
2569 dt_node_t *dnp = dt_node_alloc(DT_NODE_PROVIDER); local
2625 dt_node_t *dnp = dt_node_alloc(DT_NODE_PROG); local
4539 dt_node_t *dnp, *nnp; local
4555 dt_node_t *dnp, *nnp; local
4569 dt_node_t *dnp, *nnp; local
4588 dt_node_t *dnp; local
    [all...]
dt_pragma.c 82 dt_pragma_attributes(const char *prname, dt_node_t *dnp)
90 if (dnp == NULL || dnp->dn_kind != DT_NODE_IDENT ||
91 dnp->dn_list == NULL || dnp->dn_list->dn_kind != DT_NODE_IDENT) {
96 if (dtrace_str2attr(dnp->dn_string, &attr) == -1) {
101 dnp = dnp->dn_list;
102 name = dnp->dn_string;
105 dnp = dnp->dn_list
508 dt_node_t *dnp; local
    [all...]
dt_sugar.c 193 dt_sugar_visit_all(dt_sugar_parse_t *dp, dt_node_t *dnp)
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->dn_left)
    [all...]
dt_cc.c 182 dt_stmt_append(dtrace_stmtdesc_t *sdp, const dt_node_t *dnp)
196 dnerror(dnp, D_COMM_COMM, "commit( ) may "
201 dnerror(dnp, D_COMM_DREC, "commit( ) may "
209 dnerror(dnp, D_AGG_COMM, "aggregating actions "
219 dnerror(dnp, D_SPEC_SPEC, "speculate( ) may "
224 dnerror(dnp, D_SPEC_COMM, "speculate( ) may "
229 dnerror(dnp, D_SPEC_DREC, "speculate( ) may "
239 dnerror(dnp, D_AGG_SPEC, "aggregating actions "
249 dnerror(dnp, D_ACT_SPEC, "destructive actions "
254 dnerror(dnp, D_EXIT_SPEC, "exit( ) may not
1606 dt_node_t *dnp; local
2392 dt_node_t *dnp; local
2482 dt_node_t *dnp, *next_dnp; local
    [all...]
dt_decl.c 290 dt_node_t *dnp; local
292 for (dnp = flist; dnp != fnp && dnp != NULL; dnp = dnp->dn_list) {
293 if (dnp->dn_string != NULL &&
294 strcmp(dnp->dn_string, fnp->dn_string) == 0)
316 dt_node_t *dnp; local
318 for (dnp = plist; dnp != NULL; dnp = dnp->dn_list, i++)
    [all...]
dt_ident.c 60 dt_idcook_sign(dt_node_t *dnp, dt_ident_t *idp,
109 dt_node_type_assign(dnp, idp->di_ctfp, idp->di_type, B_FALSE);
118 dt_idcook_assc(dt_node_t *dnp, dt_ident_t *idp, int argc, dt_node_t *args)
168 dt_node_type_assign(dnp, idp->di_ctfp, idp->di_type, B_FALSE);
171 dt_idcook_sign(dnp, idp, argc, args,
182 dt_idcook_func(dt_node_t *dnp, dt_ident_t *idp, int argc, dt_node_t *args)
313 dt_idcook_sign(dnp, idp, argc, args, "", "( )");
322 dt_idcook_args(dt_node_t *dnp, dt_ident_t *idp, int argc, dt_node_t *ap)
370 * assign it the appropriate attributes, and set the type of 'dnp'.
387 dnp->dn_ident = dt_ident_create(idp->di_name, idp->di_kind
993 const dt_node_t *dnp = ((dt_idnode_t *)idp->di_iarg)->din_root; local
    [all...]
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 != NULL; dnp = dnp->dn_list)
    [all...]
dt_printf.c 51 pfcheck_addr(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
53 return (dt_node_is_pointer(dnp) || dt_node_is_integer(dnp));
58 pfcheck_kaddr(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
60 return (dt_node_is_pointer(dnp) || dt_node_is_integer(dnp) ||
61 dt_node_is_symaddr(dnp));
66 pfcheck_uaddr(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
71 if (dt_node_is_usymaddr(dnp))
77 return (dt_node_is_pointer(dnp) || dt_node_is_integer(dnp))
    [all...]
dt_dof.c 266 dt_node_t *dnp = *pnp++; local
267 dt_xlator_t *dxp = dnp->dn_membexpr->dn_xlator;
271 ddo->ddo_pgp->dp_xrefs[dxp->dx_id], dnp->dn_membid);
345 dt_node_t *dnp; local
362 for (dnp = dxp->dx_members; dnp != NULL; dnp = dnp->dn_list, i++) {
369 dxp->dx_membdif[dnp->dn_membid]);
372 dofxm.dofxm_name = dof_add_string(ddo, dnp->dn_membname)
407 dt_node_t *dnp; local
    [all...]
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;
dt_provider.c 198 dt_node_t *args = NULL, *pnp = NULL, *dnp; local
201 for (i = 0; i < argc; i++, pnp = dnp) {
202 if ((dnp = dt_node_xalloc(pvp->pv_hdl, DT_NODE_TYPE)) == NULL)
205 dnp->dn_link = pvp->pv_nodes;
206 pvp->pv_nodes = dnp;
209 args = dnp;
211 pnp->dn_list = dnp;
627 dt_probe_tag(dt_probe_t *prp, uint_t argn, dt_node_t *dnp)
655 bzero(dnp, sizeof (dt_node_t));
656 dnp->dn_kind = DT_NODE_TYPE
    [all...]
dt_program.c 409 dt_node_t *dnp; local
426 for (dnp = prp->pr_nargs, i = 0; dnp != NULL; dnp = dnp->dn_list, i++) {
428 ctf_type_name(dnp->dn_ctfp, dnp->dn_type,
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)));
  /src/external/lgpl3/gmp/dist/tests/mpn/
t-div.c 132 mp_ptr np, dup, dnp, qp, rp, junkp; local
164 dnp = TMP_ALLOC_LIMBS (maxdn);
189 MPN_COPY (dnp, dup, dn);
190 dnp[dn - 1] |= GMP_NUMB_HIGHBIT;
224 dnp[dn - 1] = GMP_NUMB_MAX;
236 mpn_sub_1 (np + nn - dn, dnp, dn, urandom ());
239 mpn_add_1 (np + nn - dn, dnp, dn, urandom ());
244 invert_pi1 (dinv, dnp[dn - 1], dnp[dn - 2]);
265 qp[nn - dn] = mpn_sbpi1_div_qr (qp, rp, nn, dnp, dn, dinv.inv32)
    [all...]
  /src/external/cddl/osnet/dist/uts/common/fs/zfs/
dnode_sync.c 542 dnode_phys_t *dnp = dn->dn_phys; local
549 ASSERT(dnp->dn_type != DMU_OT_NONE || dn->dn_allocated_txg);
550 ASSERT(dnp->dn_type != DMU_OT_NONE ||
551 bcmp(dnp, &zerodn, DNODE_SIZE) == 0);
573 if (dnp->dn_type == DMU_OT_NONE) {
575 dnp->dn_nlevels = 1;
576 dnp->dn_nblkptr = dn->dn_nblkptr;
579 dnp->dn_type = dn->dn_type;
580 dnp->dn_bonustype = dn->dn_bonustype;
581 dnp->dn_bonuslen = dn->dn_bonuslen
    [all...]
dmu_diff.c 126 report_dnode(struct diffarg *da, uint64_t object, dnode_phys_t *dnp)
128 ASSERT(dnp != NULL);
129 if (dnp->dn_type == DMU_OT_NONE)
144 #define DBP_SPAN(dnp, level) \
145 (((uint64_t)dnp->dn_datablkszsec) << (SPA_MINBLOCKSHIFT + \
146 (level) * (dnp->dn_indblkshift - SPA_BLKPTRSHIFT)))
151 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg)
163 uint64_t span = DBP_SPAN(dnp, zb->zb_level);
dmu_traverse.c 76 static int traverse_dnode(traverse_data_t *td, const dnode_phys_t *dnp,
162 resume_skip_check(traverse_data_t *td, const dnode_phys_t *dnp,
170 if (zbookmark_subtree_completed(dnp, zb, td->td_resume))
221 traverse_visitbp(traverse_data_t *td, const dnode_phys_t *dnp,
230 switch (resume_skip_check(td, dnp, zb)) {
285 err = td->td_func(td->td_spa, NULL, bp, zb, dnp, td->td_arg);
292 err = td->td_func(td->td_spa, NULL, bp, zb, dnp,
324 err = traverse_visitbp(td, dnp, &cbp[i], &czb);
395 err = td->td_func(td->td_spa, NULL, bp, zb, dnp, td->td_arg);
419 * Note, if zb_level <= 0, dnp may be NULL, so we don't wan
    [all...]
dnode.c 286 dnode_byteswap(dnode_phys_t *dnp)
288 uint64_t *buf64 = (void*)&dnp->dn_blkptr;
291 if (dnp->dn_type == DMU_OT_NONE) {
292 bzero(dnp, sizeof (dnode_phys_t));
296 dnp->dn_datablkszsec = BSWAP_16(dnp->dn_datablkszsec);
297 dnp->dn_bonuslen = BSWAP_16(dnp->dn_bonuslen);
298 dnp->dn_maxblkid = BSWAP_64(dnp->dn_maxblkid)
1910 dnode_phys_t *dnp = data; local
    [all...]
dsl_scan.c 396 dnode_phys_t *dnp, dsl_dataset_t *ds, dsl_scan_t *scn,
400 dnode_phys_t *dnp, uint64_t object, dmu_tx_t *tx, zbookmark_phys_t *);
607 dsl_scan_check_resume(dsl_scan_t *scn, const dnode_phys_t *dnp,
619 if (zbookmark_subtree_completed(dnp, zb,
648 dnode_phys_t *dnp, const blkptr_t *bp,
678 dsl_scan_visitbp(cbp, czb, dnp,
755 dmu_objset_type_t ostype, dnode_phys_t *dnp,
760 for (j = 0; j < dnp->dn_nblkptr; j++) {
762 dnp->dn_nlevels - 1, j);
763 dsl_scan_visitbp(&dnp->dn_blkptr[j]
    [all...]
  /src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
dnode.h 103 #define DN_BONUS(dnp) ((void*)((dnp)->dn_bonus + \
104 (((dnp)->dn_nblkptr - 1) * sizeof (blkptr_t))))
106 #define DN_USED_BYTES(dnp) (((dnp)->dn_flags & DNODE_FLAG_USED_BYTES) ? \
107 (dnp)->dn_used : (dnp)->dn_used << SPA_MINBLOCKSHIFT)
273 void dnode_special_open(struct objset *dd, dnode_phys_t *dnp,
282 void *ref, dnode_t **dnp);
284 void *ref, dnode_t **dnp);
    [all...]
dmu_traverse.h 43 const zbookmark_phys_t *zb, const struct dnode_phys *dnp, void *arg);
  /src/sys/fs/nfs/client/
nfs_clvnops.c 1438 struct nfsnode *np = NULL, *dnp; local
1482 dnp = VTONFS(dvp);
1483 mtx_lock(&dnp->n_mtx);
1484 dnp->n_flag |= NMODIFIED;
1486 dnp->n_attrstamp = 0;
1489 mtx_unlock(&dnp->n_mtx);
1537 struct nfsnode *np = NULL, *dnp; local
1556 dnp = VTONFS(dvp);
1560 mtx_lock(&dnp->n_mtx);
1561 while (NFSHASNFSV4(nmp) && (dnp->n_flag & NREMOVEINPROG))
1727 struct nfsnode *dnp = VTONFS(dvp); local
2016 struct nfsnode *np = NULL, *dnp; local
2090 struct nfsnode *np = NULL, *dnp; local
2166 struct nfsnode *dnp; local
2274 struct nfsnode *dnp = VTONFS(vp); local
2334 struct nfsnode *dnp = VTONFS(vp); local
2455 struct nfsnode *np, *dnp = VTONFS(dvp); local
    [all...]
nfs_clport.c 135 struct nfsnode *np, *dnp; local
143 dnp = VTONFS(dvp);
186 dnp->n_fhp->nfh_len != np->n_v4->n4_fhlen ||
187 NFSBCMP(dnp->n_fhp->nfh_fh, np->n_v4->n4_data,
188 dnp->n_fhp->nfh_len))) {
190 sizeof (struct nfsv4node) + dnp->n_fhp->nfh_len +
197 dnp->n_fhp->nfh_len != np->n_v4->n4_fhlen ||
198 NFSBCMP(dnp->n_fhp->nfh_fh, np->n_v4->n4_data,
199 dnp->n_fhp->nfh_len))) {
203 np->n_v4->n4_fhlen = dnp->n_fhp->nfh_len
    [all...]
  /src/sys/nfs/
nfs_vnops.c 234 struct nfsnode *dnp = VTONFS(dvp); local
245 if (!timespecisset(&dnp->n_nctime))
246 dnp->n_nctime = dnp->n_vattr->va_mtime;
1450 struct nfsnode *dnp, *np; local
1467 dnp = VTONFS(dvp);
1468 nfsm_reqhead(dnp, NFSPROC_MKNOD, NFSX_FH(v3) + 4 * NFSX_UNSIGNED +
1470 nfsm_fhtom(dnp, v3);
1493 nfsm_request(dnp, NFSPROC_MKNOD, curlwp, cnp->cn_cred);
1565 struct nfsnode *dnp, *np = (struct nfsnode *)0 local
1782 struct nfsnode *dnp = VTONFS(dvp); local
2069 struct nfsnode *dnp = VTONFS(dvp); local
2152 struct nfsnode *dnp = VTONFS(dvp), *np = (struct nfsnode *)0; local
2248 struct nfsnode *dnp; local
2381 struct nfsnode *dnp = VTONFS(vp); local
2608 struct nfsnode *dnp = VTONFS(vp), *np; local
2906 struct nfsnode *np, *dnp = VTONFS(dvp); local
    [all...]

Completed in 37 milliseconds

1 2