Lines Matching refs:uintptr_t
94 uintptr_t ncec_addr;
117 uintptr_t thw_matchkey;
118 uintptr_t thw_ipst;
125 uintptr_t hash_tbl;
134 uintptr_t ill_addr;
202 static int iphdr(uintptr_t, uint_t, int, const mdb_arg_t *);
203 static int ip6hdr(uintptr_t, uint_t, int, const mdb_arg_t *);
205 static int ill(uintptr_t, uint_t, int, const mdb_arg_t *);
209 static int ill_format(uintptr_t, const void *, void *);
212 static int ipif(uintptr_t, uint_t, int, const mdb_arg_t *);
216 static int ipif_format(uintptr_t, const void *, void *);
224 static int ire_format(uintptr_t addr, const void *, void *);
225 static int ncec_format(uintptr_t addr, const ncec_t *ncec, int ipversion);
226 static int ncec(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv);
231 static int ncec_cb(uintptr_t addr, const ncec_walk_data_t *iw,
240 static int conn_status(uintptr_t, uint_t, int, const mdb_arg_t *);
243 static int srcid_status(uintptr_t, uint_t, int, const mdb_arg_t *);
262 ips_to_stackid(uintptr_t kaddr)
271 kaddr = (uintptr_t)ipss.ips_netstack;
281 zone_to_ips_cb(uintptr_t addr, const void *zi_arg, void *zi_cb_arg)
293 (void) mdb_readstr(zone_name, ZONENAME_MAX, (uintptr_t)zone.zone_name);
301 if (mdb_vread(&ns, sizeof (netstack_t), (uintptr_t)zone.zone_netstack)
364 uintptr_t kaddr;
371 kaddr = (uintptr_t)nss.netstack_modules[which];
436 wsp->walk_addr = (uintptr_t)tcps.tcps_sc;
451 if (mdb_vread(&tcps, sizeof (tcps), (uintptr_t)wsp->walk_data) == -1) {
460 status = wsp->walk_callback((uintptr_t)stats, &stats, wsp->walk_cbdata);
469 wsp->walk_addr = (uintptr_t)next;
535 wsp->walk_addr = (uintptr_t)iw->ill_g_heads[0].ill_g_list_head;
544 uintptr_t addr = wsp->walk_addr;
553 wsp->walk_addr = (uintptr_t)iw->ill_if.illif_next;
556 (uintptr_t)iw->ill_g_heads[list].ill_g_list_head) {
563 (uintptr_t)iw->ill_g_heads[list].ill_g_list_head;
578 uintptr_t ill_addr;
584 illif_cb(uintptr_t addr, const illif_walk_data_t *iw, illif_cbdata_t *id)
630 uintptr_t kaddr;
649 illif(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
739 nce_format(uintptr_t addr, const nce_t *ncep, void *nce_cb_arg)
747 (uintptr_t)ncep->nce_common) == -1) {
755 if (mdb_vread(&ill, sizeof (ill), (uintptr_t)ncep->nce_ill) == -1) {
760 (uintptr_t)ill.ill_name);
878 wsp->walk_addr = (uintptr_t)ire.ire_next;
883 ire_format(uintptr_t addr, const void *ire_arg, void *ire_cb_arg)
934 if (mdb_vread(&ill, sizeof (ill), (uintptr_t)irep->ire_ill) == -1) {
939 (uintptr_t)ill.ill_name);
951 "", ips_to_stackid((uintptr_t)irep->ire_ipst),
960 ips_to_stackid((uintptr_t)irep->ire_ipst),
972 "", ips_to_stackid((uintptr_t)irep->ire_ipst),
979 irep->ire_addr, ips_to_stackid((uintptr_t)irep->ire_ipst),
1174 tcphdr(uintptr_t addr, uint_t flags, int ac, const mdb_arg_t *av)
1195 if (mdb_vread(opt_buf, opt_len, (uintptr_t)opts) == -1) {
1226 udphdr(uintptr_t addr, uint_t flags, int ac, const mdb_arg_t *av)
1258 sctphdr(uintptr_t addr, uint_t flags, int ac, const mdb_arg_t *av)
1275 transport_hdr(int proto, uintptr_t addr)
1324 iphdr(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
1329 uintptr_t nxt_proto;
1390 ip6hdr(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
1396 uintptr_t nxt_proto;
1441 nce(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
1489 dce_format(uintptr_t addr, const dce_t *dcep, void *dce_cb_arg)
1526 dce(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
1566 (uintptr_t)ipst) == -1) {
1575 ire(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
1631 (uintptr_t)ipst) == -1) {
1651 if (mdb_vread(&m, sizeof (m), (uintptr_t)q->q_ptr -
1665 (uintptr_t)q->q_ptr) == sizeof (ill) &&
1666 mdb_readstr(name, sizeof (name), (uintptr_t)ill.ill_name) > 0)
1679 uintptr_t
1686 (uintptr_t)q->q_ptr) == sizeof (ill))
1687 return ((uintptr_t)ill.ill_rq);
1692 uintptr_t
1699 (uintptr_t)q->q_ptr) == sizeof (ill))
1700 return ((uintptr_t)ill.ill_wq);
1710 squeue(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
1714 const int SQUEUE_STATEDELT = (int)(sizeof (uintptr_t) + 9);
1785 modent_summary(uintptr_t addr, const void *data, void *private)
1791 if (mdb_vread(&th, sizeof (th), (uintptr_t)mhe->mhe_val) == -1) {
1802 } else if (thw->thw_matchkey == (uintptr_t)mhe->mhe_key) {
1832 th_hash_summary(uintptr_t addr, const void *data, void *private)
1837 thw->thw_ipst = (uintptr_t)thh->thh_ipst;
1839 (uintptr_t)thh->thh_hash));
1846 th_trace(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
2016 mdb_qops_install(&ip_qops, (uintptr_t)sym.st_value);
2027 mdb_qops_remove(&ip_qops, (uintptr_t)sym.st_value);
2071 (uintptr_t)ncec->ncec_lladdr) == -1) {
2098 (uintptr_t)nce->nce_dlur_mp) == -1) {
2113 if (mdb_vread(h, mblen, (uintptr_t)(mp.b_rptr)) == -1) {
2138 ncec(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
2186 ncec_format(uintptr_t addr, const ncec_t *ncec, int ipversion)
2204 if (mdb_vread(&ill, sizeof (ill), (uintptr_t)ncec->ncec_ill) == -1) {
2211 (uintptr_t)ill.ill_name);
2239 static uintptr_t
2240 ncec_get_next_hash_tbl(uintptr_t start, int *index, struct ndp_g_s ndp)
2242 uintptr_t addr = start;
2249 addr = (uintptr_t)ndp.nce_hash_tbl[i];
2258 uintptr_t kaddr4, kaddr6;
2286 static uintptr_t
2290 uintptr_t addr = NULL, next;
2303 addr = (uintptr_t)connf.connf_head;
2314 uintptr_t tbladdr;
2315 uintptr_t sizeaddr;
2322 if (mdb_vread(&iw->hash_tbl, sizeof (uintptr_t), tbladdr) == -1) {
2354 uintptr_t addr = wsp->walk_addr;
2367 addr = (uintptr_t)conn->conn_next;
2427 uintptr_t addr = wsp->walk_addr;
2438 wsp->walk_addr = (uintptr_t)nw->ncec.ncec_next;
2454 ncec_cb(uintptr_t addr, const ncec_walk_data_t *iw, ncec_cbdata_t *id)
2485 wsp->walk_addr = (uintptr_t)(wsp->walk_addr +
2498 ill_cb(uintptr_t addr, const ill_walk_data_t *iw, ill_cbdata_t *id)
2502 if (mdb_vread(&ill, sizeof (ill_t), (uintptr_t)addr) == -1) {
2511 return (ill_format((uintptr_t)addr, &ill, id));
2530 ill_format(uintptr_t addr, const void *illptr, void *ill_cb_arg)
2583 (uintptr_t)ill->ill_phyint) == -1) {
2585 (uintptr_t)ill->ill_phyint);
2589 (uintptr_t)ill->ill_name);
2620 sizeof (uintptr_t) * 2, "", "");
2641 ill(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
2713 uintptr_t addr = (uintptr_t)(wsp->walk_addr + arg->off);
2719 if (mdb_vread(&wsp->walk_addr, sizeof (uintptr_t),
2735 uintptr_t addr = wsp->walk_addr;
2740 if (mdb_vread(&wsp->walk_addr, sizeof (uintptr_t),
2778 ipif_cb(uintptr_t addr, const ipif_walk_data_t *iw, ipif_cbdata_t *id)
2782 if (mdb_vread(&ipif, sizeof (ipif_t), (uintptr_t)addr) == -1) {
2787 (uintptr_t)ipif.ipif_ill) == -1) {
2791 (void) ipif_format((uintptr_t)addr, &ipif, id);
2845 ipif_format(uintptr_t addr, const void *ipifptr, void *ipif_cb_arg)
2889 (uintptr_t)ipifcb->ill.ill_name)) == -1) {
2925 sizeof (uintptr_t) * 2, "", "");
2949 ipif(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
2983 (uintptr_t)ipif.ipif_ill) == -1) {
3019 conn_status_walk_fanout(uintptr_t addr, mdb_walk_state_t *wsp,
3033 uintptr_t addr = wsp->walk_addr;
3045 conn_status_cb(uintptr_t addr, const void *walk_data,
3059 (uintptr_t)conn->conn_netstack) == -1) {
3093 conn_status(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
3130 srcid_status_cb(uintptr_t addr, const void *walk_data,
3155 srcid_status(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
3188 if ((wsp->walk_addr = (uintptr_t)ilbs.ilbs_rule_head) != NULL)
3207 if ((wsp->walk_addr = (uintptr_t)rule.ir_next) == NULL)
3225 if ((wsp->walk_addr = (uintptr_t)rule.ir_servers) != NULL)
3244 if ((wsp->walk_addr = (uintptr_t)server.iser_next) == NULL)
3293 if (mdb_vread(&head, sizeof (list_t), (uintptr_t)khead) == -1) {
3313 wsp->walk_addr = (uintptr_t)entry;
3345 if (mdb_vread(&head, sizeof (list_t), (uintptr_t)khead) == -1) {
3359 wsp->walk_addr = (uintptr_t)list_object(&head,
3369 if (mdb_vread(&head, sizeof (list_t), (uintptr_t)khead) == -1) {
3385 wsp->walk_addr = (uintptr_t)next_entry;
3432 (uintptr_t)khead) == -1) {
3445 wsp->walk_addr = (uintptr_t)head.ilb_connp;
3476 wsp->walk_addr = (uintptr_t)conn.conn_c2s_next;
3485 (uintptr_t)khead) == -1) {
3498 wsp->walk_addr = (uintptr_t)head.ilb_connp;
3534 if (mdb_vread(&head, sizeof (list_t), (uintptr_t)khead) == -1) {
3555 wsp->walk_addr = (uintptr_t)st;
3586 if (mdb_vread(&head, sizeof (list_t), (uintptr_t)khead) == -1) {
3600 wsp->walk_addr = (uintptr_t)list_object(&head,
3610 if (mdb_vread(&head, sizeof (list_t), (uintptr_t)khead) == -1) {
3627 wsp->walk_addr = (uintptr_t)st_next;