Lines Matching defs:ldev
7371 struct login_dev *ldev;
7392 ldev = login_dev_cache;
7393 login_dev_cache = ldev->ldev_next;
7394 free(ldev->ldev_console);
7395 free(ldev->ldev_device);
7396 regfree(&ldev->ldev_device_regex);
7397 list = ldev->ldev_driver_list;
7403 free(ldev);
7460 ldev = (struct login_dev *)s_zalloc(
7462 ldev->ldev_console = s_strdup(console);
7463 ldev->ldev_perms = perm;
7469 ldev->ldev_device = convert_to_re(dev);
7470 if (ldev->ldev_device &&
7471 (rv = regcomp(&ldev->ldev_device_regex,
7472 ldev->ldev_device, REG_EXTENDED))) {
7473 bzero(&ldev->ldev_device_regex,
7474 sizeof (ldev->ldev_device_regex));
7476 ldev->ldev_device, rv);
7478 ldev->ldev_next = login_dev_cache;
7479 login_dev_cache = ldev;
7502 list->next = ldev->ldev_driver_list;
7503 ldev->ldev_driver_list = list;