Searched refs:newdev (Results 1 – 3 of 3) sorted by relevance
758 struct cam_device *newdev; in cam_device_dup() local765 newdev = malloc(sizeof(struct cam_device)); in cam_device_dup()766 if (newdev == NULL) { in cam_device_dup()772 bcopy(device, newdev, sizeof(struct cam_device)); in cam_device_dup()774 return(newdev); in cam_device_dup()
119 Device_spec SEMICOLON { newdev(&cur); }390 newdev(struct device *dp) in newdev() function
1384 char parent[8], newdev[8]; in open_interface() local1391 strlcpy(newdev, device, sizeof(newdev)); in open_interface()1397 newdev[strlen(newdev)-1]++; in open_interface()1402 device, newdev, parent, newdev); in open_interface()