Home
last modified time | relevance | path

Searched refs:create_dev (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/init/
H A Ddo_mounts_initrd.c96 create_dev("/dev/root.old", Root_RAM0); in handle_initrd()
140 create_dev("/dev/ram", Root_RAM0); in initrd_load()
H A Ddo_mounts.h17 static inline __init int create_dev(char *name, dev_t dev) in create_dev() function
H A Ddo_mounts_rd.c281 create_dev("/dev/root", ROOT_DEV); in rd_load_disk()
282 create_dev("/dev/ram", MKDEV(RAMDISK_MAJOR, n)); in rd_load_disk()
H A Ddo_mounts.c374 int err = create_dev("/dev/root", ROOT_DEV); in mount_block_root()
/openbmc/linux/drivers/thermal/intel/int340x_thermal/
H A Dacpi_thermal_rel.h141 bool create_dev);
143 bool create_dev);
H A Dacpi_thermal_rel.c68 bool create_dev) in acpi_parse_trt() argument
111 if (!create_dev) in acpi_parse_trt()
142 bool create_dev) in acpi_parse_art() argument
187 if (!create_dev) in acpi_parse_art()
/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c1678 struct kvm_create_device create_dev = { in __kvm_test_create_device() local
1683 return __vm_ioctl(vm, KVM_CREATE_DEVICE, &create_dev); in __kvm_test_create_device()
1688 struct kvm_create_device create_dev = { in __kvm_create_device() local
1695 err = __vm_ioctl(vm, KVM_CREATE_DEVICE, &create_dev); in __kvm_create_device()
1697 return err ? : create_dev.fd; in __kvm_create_device()
/openbmc/qemu/accel/kvm/
H A Dkvm-all.c3637 struct kvm_create_device create_dev; in kvm_create_device() local
3639 create_dev.type = type; in kvm_create_device()
3640 create_dev.fd = -1; in kvm_create_device()
3641 create_dev.flags = test ? KVM_CREATE_DEVICE_TEST : 0; in kvm_create_device()
3647 ret = kvm_vm_ioctl(s, KVM_CREATE_DEVICE, &create_dev); in kvm_create_device()
3652 return test ? 0 : create_dev.fd; in kvm_create_device()
3657 struct kvm_create_device create_dev = { in kvm_device_supported() local
3667 return (ioctl(vmfd, KVM_CREATE_DEVICE, &create_dev) >= 0); in kvm_device_supported()