Searched refs:fdno (Results 1 – 2 of 2) sorted by relevance
421 int fdno; in iommufd_fault_alloc() local435 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() local515 fdno = iommufd_eventq_init(&veventq->common, "[iommufd-viommu-event]", in iommufd_veventq_alloc()517 if (fdno < 0) { in iommufd_veventq_alloc()[all …]
1475 int fdno; in iommufd_test_create_access() local1485 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()