Home
last modified time | relevance | path

Searched refs:new_dev (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/cmd/hal/tools/
H A Dhal-device.c83 new_dev_t new_dev; variable
363 new_dev.udi = strdup(udi); in add_udi()
371 new_dev.real_udi = strdup(new_dev.udi); in add_udi()
373 new_dev.real_udi = libhal_new_device(hal_ctx, &error); in add_udi()
375 if (!new_dev.real_udi) { in add_udi()
378 free(new_dev.real_udi); in add_udi()
383 printf("tmp udi: %s\n", new_dev.real_udi); in add_udi()
392 err = add_properties(hal_ctx, &new_dev, prop); in add_udi()
397 if (!libhal_device_commit_to_gdl(hal_ctx, new_dev.real_udi, new_dev.udi, &error)) { in add_udi()
400 free(new_dev.real_udi); in add_udi()
[all …]
/titanic_44/usr/src/cmd/devfsadm/
H A Ddevfsadm_impl.h411 static int translate_major(dev_t old_dev, dev_t *new_dev);
H A Ddevfsadm.c5902 translate_major(dev_t old_dev, dev_t *new_dev) in translate_major() argument
5925 *new_dev = makedev(newmajor, minor(old_dev)); in translate_major()
5926 if (old_dev != *new_dev) { in translate_major()
5929 minor(old_dev), major(*new_dev), minor(*new_dev)); in translate_major()
5952 *new_dev = makedev(newmajor, newminor); in translate_major()
5953 if (old_dev != *new_dev) { in translate_major()
5957 major(*new_dev), minor(*new_dev)); in translate_major()