Lines Matching defs:pcnp
543 read_nodes(struct di_devlink_handle *hdp, cache_node_t *pcnp, uint32_t nidx)
555 if ((pcnp == NULL) ^ (nidx == DB_HDR(hdp)->root_idx)) {
569 cnp = node_insert(hdp, pcnp, path, INSERT_HEAD);
591 read_minors(struct di_devlink_handle *hdp, cache_node_t *pcnp, uint32_t nidx)
600 if (pcnp == NULL) {
612 cmnp = minor_insert(hdp, pcnp, name, nodetype, NULL);
2649 cache_node_t *pcnp,
2672 cnp->parent = pcnp;
2674 if (pcnp == NULL) {
2679 cnp->sib = pcnp->child;
2680 pcnp->child = cnp;
2682 CACHE_LAST(hdp)->node->parent == pcnp &&
2690 for (pp = &pcnp->child; *pp != NULL; pp = &(*pp)->sib)
2705 cache_node_t *pcnp,
2712 if (pcnp == NULL || name == NULL) {
2740 cmnp->node = pcnp;
2744 cmnp->sib = pcnp->minor;
2745 pcnp->minor = cmnp;