Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/device-drivers/block/block_dev_kernel/
Dltp_block_dev.c79 int major1, major2; in tc01() local
88 major2 = register_blkdev(0, BLK_DEV_NAME); in tc01()
89 prk_debug("major2 = %i\n", major2); in tc01()
99 if (major2 >= 0) { in tc01()
100 unregister_blkdev(major2, BLK_DEV_NAME); in tc01()
104 major2); in tc01()
150 int major, major2, major3; in tc03() local
163 major2 = register_blkdev(major, BLK_DEV_NAME); in tc03()
168 if (major2 == 0) { in tc03()
173 "failed with error %i\n", major, major2); in tc03()
/third_party/libdrm/tests/amdgpu/
Dhotunplug_tests.c356 uint32_t major2, minor2; in amdgpu_hotunplug_with_exported_fence() local
367 r = amdgpu_device_initialize(drm_amdgpu[1], &major2, &minor2, &device2); in amdgpu_hotunplug_with_exported_fence()