ioat_test.c (71bf3900b7827643830dfd9aa1db81bc2926eadb) | ioat_test.c (7ae99f80b6661760c5de3edd330b279f04b092a2) |
---|---|
1/*- 2 * Copyright (C) 2012 Intel Corporation 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 490 unchanged lines hidden (view full) --- 499 IT_UNLOCK(); 500 501 ioat_test_log(1, "Test Elapsed2: %d ticks (overrun %d), %d sec.\n", 502 ticks - start, ticks - end, (ticks - start) / hz); 503 504 ioat_test_release_memory(test); 505out: 506 if (test->testkind == IOAT_TEST_RAW_DMA && !test->raw_is_virtual) | 1/*- 2 * Copyright (C) 2012 Intel Corporation 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 490 unchanged lines hidden (view full) --- 499 IT_UNLOCK(); 500 501 ioat_test_log(1, "Test Elapsed2: %d ticks (overrun %d), %d sec.\n", 502 ticks - start, ticks - end, (ticks - start) / hz); 503 504 ioat_test_release_memory(test); 505out: 506 if (test->testkind == IOAT_TEST_RAW_DMA && !test->raw_is_virtual) |
507 pmap_unmapdev((vm_offset_t)test->raw_vtarget, 508 test->buffer_size); | 507 pmap_unmapdev(test->raw_vtarget, test->buffer_size); |
509 ioat_put_dmaengine(dmaengine); 510} 511 512static int 513ioat_test_open(struct cdev *dev, int flags, int fmt, struct thread *td) 514{ 515 516 return (0); --- 100 unchanged lines hidden --- | 508 ioat_put_dmaengine(dmaengine); 509} 510 511static int 512ioat_test_open(struct cdev *dev, int flags, int fmt, struct thread *td) 513{ 514 515 return (0); --- 100 unchanged lines hidden --- |