Lines Matching defs:node

527 	node_t		node;
548 if (mdb_vread(&node, sizeof (node_t), addr) == -1) {
554 NCA_ADDR_WIDTH, addr, node.cnt, node.ref,
555 node.datasz, NCA_ADDR_WIDTH, node.sqp, NCA_ADDR_WIDTH,
556 node.req, NCA_ADDR_WIDTH, node.plrunn, NCA_ADDR_WIDTH, node.vlrunn);
561 if ((node.ref & (1 << i)) == 0)
576 if (!request || node.req == NULL)
581 "%u in content)\n", node.reqsz, node.version >> 16,
582 node.version & 0xff, method2name(node.method), node.reqhdrsz,
583 node.reqcontl);
586 hdr[0].nm_addr = (uintptr_t)node.path;
587 hdr[0].nm_len = node.pathsz;
590 hdr[1].nm_addr = (uintptr_t)node.reqaccept;
591 hdr[1].nm_len = node.reqacceptsz;
594 hdr[2].nm_addr = (uintptr_t)node.reqacceptl;
595 hdr[2].nm_len = node.reqacceptlsz;
598 hdr[3].nm_addr = (uintptr_t)node.reqhost;
599 hdr[3].nm_len = node.reqhostsz;
606 max = node.reqhdrsz;
631 if (node.reqhdrsz > 0 && verbose) {
632 if (mdb_vread(buf, node.reqhdrsz, (uintptr_t)node.reqhdr) == -1)
633 mdb_warn("cannot read header at %p", node.reqhdr);
637 printbuf((uint8_t *)buf, node.reqhdrsz);
858 * Initialize a walk for the NCA node fanout tables. Note that local
891 * Walk the NCA node fanout table; `wsp->walk_data' is used to keep
899 node_t node;
921 if (mdb_vread(&node, sizeof (node),
928 &node, wsp->walk_cbdata);
1037 * Initialize a walk for NCA node LRUs; the type of LRU to walk should
1079 * Walk the NCA node LRUs; the type of LRU to walk should be specified
1085 node_t node;
1091 if (mdb_vread(&node, sizeof (node_t), wsp->walk_addr) == -1) {
1096 status = wsp->walk_callback(wsp->walk_addr, &node, wsp->walk_cbdata);
1099 wsp->walk_addr = (uintptr_t)node.plrunn;
1101 wsp->walk_addr = (uintptr_t)node.vlrunn;
1107 * Walk the NCA node structures; follows node_t next pointers from a
1113 node_t node;
1121 if (mdb_vread(&node, sizeof (node_t), wsp->walk_addr) == -1) {
1126 status = wsp->walk_callback(wsp->walk_addr, &node, wsp->walk_cbdata);
1131 wsp->walk_addr = *(uintptr_t *)((caddr_t)&node +
1198 { "nca_node_file", "walk the NCA node file chain", 0,
1200 { "nca_node_hash", "walk the NCA node hash chain", 0,
1202 { "nca_node_chunk", "walk the NCA node chunk chain", 0,
1204 { "nca_node_ctag", "walk the NCA node ctag chain", 0,
1207 { "nca_node_plru", "walk the NCA node physical LRU chain",
1209 { "nca_node_vlru", "walk the NCA node virtual LRU chain",
1212 { "nca_uri_hash", "walk the NCA URI node hash table",
1214 { "nca_file_hash", "walk the NCA file node hash table",
1216 { "nca_ctag_hash", "walk the NCA ctag node hash table",
1218 { "nca_vnode_hash", "walk the NCA vnode node hash table",