Home
last modified time | relevance | path

Searched refs:fdno (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/iommu/iommufd/
H A Deventq.c421 int fdno; in iommufd_fault_alloc() local
435 fdno = iommufd_eventq_init(&fault->common, "[iommufd-pgfault]", in iommufd_fault_alloc()
437 if (fdno < 0) in iommufd_fault_alloc()
438 return fdno; in iommufd_fault_alloc()
441 cmd->out_fault_fd = fdno; in iommufd_fault_alloc()
447 fd_install(fdno, fault->common.filep); in iommufd_fault_alloc()
451 put_unused_fd(fdno); in iommufd_fault_alloc()
480 int fdno; in iommufd_veventq_alloc() local
515 fdno = iommufd_eventq_init(&veventq->common, "[iommufd-viommu-event]", in iommufd_veventq_alloc()
517 if (fdno < 0) { in iommufd_veventq_alloc()
[all …]
H A Dselftest.c1475 int fdno; in iommufd_test_create_access() local
1485 fdno = get_unused_fd_flags(O_CLOEXEC); in iommufd_test_create_access()
1486 if (fdno < 0) { in iommufd_test_create_access()
1504 cmd->create_access.out_access_fd = fdno; in iommufd_test_create_access()
1510 fd_install(fdno, staccess->file); in iommufd_test_create_access()
1516 put_unused_fd(fdno); in iommufd_test_create_access()