Lines Matching refs:proto
177 /*proto*/
495 * If typeinfo is null and proto exists, then the typeinfo field of
496 * the proto is used intead in the DEVFS_CREATE case.
506 dev_add_node(int entrytype, devnode_type_t * typeinfo, devnode_t * proto,
516 if (proto) {
517 dnp = proto->dn_nextsibling;
518 while( dnp != proto) {
526 typeinfo = &(proto->dn_typeinfo);
529 if ( proto ) {
530 switch (proto->type) {
533 *dn_pp = proto;
544 * If we have a proto, that means that we are duplicating some
547 if (proto) {
548 bcopy(proto, dnp, sizeof(devnode_t));
554 dnp->dn_prevsiblingp = proto->dn_prevsiblingp;
556 dnp->dn_nextsibling = proto;
557 proto->dn_prevsiblingp = &(dnp->dn_nextsibling);
560 mac_devfs_label_copy(proto->dn_label, dnp->dn_label);
1357 devnode_t * proto, struct devfsmount *dvm, devdirent_t * *nm_pp)
1362 if ((error = dev_add_node(type, typeinfo, proto, &dnp,