Lines Matching refs:nodep

306 			sgen_type_node_t *nodep;  in sgen_setup_binddb()  local
316 nodep = kmem_zalloc(sizeof (sgen_type_node_t), in sgen_setup_binddb()
318 nodep->node_type = devtype; in sgen_setup_binddb()
319 nodep->node_next = sgen_binddb.sdb_type_nodes; in sgen_setup_binddb()
320 sgen_binddb.sdb_type_nodes = nodep; in sgen_setup_binddb()
345 sgen_inq_node_t *nodep; in sgen_setup_binddb() local
369 nodep = kmem_zalloc(sizeof (sgen_inq_node_t), in sgen_setup_binddb()
371 nodep->node_vendor = kmem_alloc(vcplen + 1, KM_SLEEP); in sgen_setup_binddb()
372 (void) strcpy(nodep->node_vendor, vcp); in sgen_setup_binddb()
373 nodep->node_product = kmem_alloc(pcplen + 1, KM_SLEEP); in sgen_setup_binddb()
374 (void) strcpy(nodep->node_product, pcp); in sgen_setup_binddb()
376 nodep->node_next = sgen_binddb.sdb_inq_nodes; in sgen_setup_binddb()
377 sgen_binddb.sdb_inq_nodes = nodep; in sgen_setup_binddb()
382 nodep->node_vendor, nodep->node_product, in sgen_setup_binddb()
432 sgen_inq_node_t *nodep; in sgen_bind_byinq() local
448 for (nodep = sgen_binddb.sdb_inq_nodes; nodep != NULL; in sgen_bind_byinq()
449 nodep = nodep->node_next) { in sgen_bind_byinq()
453 if (strcmp(nodep->node_vendor, "*") != 0) { in sgen_bind_byinq()
454 if (strncasecmp(nodep->node_vendor, vend_str, in sgen_bind_byinq()
455 strlen(nodep->node_vendor)) != 0) { in sgen_bind_byinq()
464 if (strncasecmp(nodep->node_product, prod_str, in sgen_bind_byinq()
465 strlen(nodep->node_product)) == 0) { in sgen_bind_byinq()
480 sgen_type_node_t *nodep; in sgen_bind_bytype() local
485 for (nodep = sgen_binddb.sdb_type_nodes; nodep != NULL; in sgen_bind_bytype()
486 nodep = nodep->node_next) { in sgen_bind_bytype()
487 if (nodep->node_type == scsidevp->sd_inq->inq_dtype) { in sgen_bind_bytype()