Home
last modified time | relevance | path

Searched refs:bdev (Results 1 – 18 of 18) sorted by relevance

/third_party/ltp/testcases/kernel/fs/scsi/ltpfs/
DLtpfsCmds.c89 struct block_device *bdev = NULL; in ltpdev_ioctl() local
148 bdev = lookup_bdev(LTP_FS_DEVICE_NAME); in ltpdev_ioctl()
151 bdev->bd_block_size); in ltpdev_ioctl()
160 my_bio_copy = bio_map_user(bdev, uaddr, TEST_MEM_SIZE, FALSE); in ltpdev_ioctl()
261 struct block_device *bdev; in lookup_bdev() local
283 bdev = inode->i_bdev; in lookup_bdev()
287 return bdev; in lookup_bdev()
289 bdev = ERR_PTR(error); in lookup_bdev()
295 struct block_device *bdev; in bd_acquire() local
303 bdev = bdget(kdev_t_to_nr(inode->i_rdev)); in bd_acquire()
[all …]
/third_party/ltp/testcases/kernel/device-drivers/tbio/tbio_kernel/
Dltp_tbio.c73 struct block_device *bdev; member
78 struct block_device *bdev, struct tbio_interface *inter, in send_request() argument
105 if (blk_execute_rq(q, bdev->bd_disk, rq, 0)) in send_request()
118 static int tbio_io(struct block_device *bdev, struct tbio_interface *uptr) in tbio_io() argument
125 struct request_queue *q = bdev_get_queue(bdev); in tbio_io()
150 bio = bio_map_user(q, bdev, (unsigned long)inter.data, in tbio_io()
170 send_request(q, bio, bdev, &inter, writing); in tbio_io()
277 tbiop->bi_bdev = tbio_dev.bdev; in test_bio_alloc()
283 static int test_bio_split(struct block_device *bdev, in test_bio_split() argument
292 struct request_queue *q = bdev_get_queue(bdev); in test_bio_split()
[all …]
/third_party/FreeBSD/sys/dev/usb/controller/
Dusb_controller.c303 DPRINTF("%s: Controller shutdown\n", device_get_nameunit(bus->bdev)); in usb_shutdown()
316 device_get_nameunit(bus->bdev)); in usb_shutdown()
397 dev = bus->bdev; in usb_bus_detach()
414 bus->bdev = NULL; in usb_bus_detach()
435 if ((udev == NULL) || (bus->bdev == NULL)) in usb_bus_suspend()
449 (void)bus_generic_shutdown(bus->bdev); in usb_bus_suspend()
455 device_printf(bus->bdev, "Could not unconfigure root HUB\n"); in usb_bus_suspend()
492 if ((udev == NULL) || (bus->bdev == NULL)) in usb_bus_resume()
499 USB_TAKE_CONTROLLER(device_get_parent(bus->bdev)); in usb_bus_resume()
520 device_printf(bus->bdev, "Could not configure root HUB\n"); in usb_bus_resume()
[all …]
Dxhci_pci.c128 sc->sc_bus.bdev = device_add_child(self, "usbus", -1); in xhci_pci_attach()
129 if (sc->sc_bus.bdev == NULL) { in xhci_pci_attach()
133 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus); in xhci_pci_attach()
143 err = device_probe_and_attach(sc->sc_bus.bdev); in xhci_pci_attach()
218 device_printf(sc->sc_bus.bdev, "waiting for BIOS " in xhci_pci_take_controller()
230 device_printf(sc->sc_bus.bdev, in xhci_pci_take_controller()
Dehci_pci.c131 sc->sc_bus.bdev = device_add_child(self, "usbus", -1); in ehci_pci_attach()
132 if (!sc->sc_bus.bdev) { in ehci_pci_attach()
136 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus); in ehci_pci_attach()
142 device_set_desc(sc->sc_bus.bdev, ehci_pci_match(self)); in ehci_pci_attach()
161 err = device_probe_and_attach(sc->sc_bus.bdev); in ehci_pci_attach()
Dehci.c159 device_printf(sc->sc_bus.bdev, "Reset timeout\n"); in ehci_reset()
182 device_printf(sc->sc_bus.bdev, "stop timeout\n"); in ehci_hcreset()
234 device_printf(sc->sc_bus.bdev, "run timeout\n"); in ehci_init_sub()
273 device_printf(sc->sc_bus.bdev, "EHCI version %x.%x\n", in ehci_init()
284 device_get_nameunit(sc->sc_bus.bdev)); in ehci_init()
287 device_printf(sc->sc_bus.bdev, "reset timeout\n"); in ehci_init()
297 device_printf(sc->sc_bus.bdev, "invalid frame-list-size\n"); in ehci_init()
3309 device_printf(sc->sc_bus.bdev,
3392 device_printf(sc->sc_bus.bdev,
/third_party/ltp/testcases/kernel/device-drivers/nls/
DnlsTest.c65 static int test_open(struct block_device *bdev, fmode_t mode);
67 static int test_ioctl(struct block_device *bdev, fmode_t mode,
89 static int test_open(struct block_device *bdev, fmode_t mode) in test_open()
110 static int test_ioctl(struct block_device *bdev, fmode_t mode, in test_ioctl()
/third_party/boost/boost/numeric/ublas/opencl/
Dprod.hpp98 ublas::matrix<T, L2, opencl::storage> bdev(b, queue); in prod() local
100 prod(adev, bdev, rdev, queue); in prod()
173 ublas::vector<T, opencl::storage> bdev(b, queue); in prod() local
175 prod(adev, bdev, rdev, queue); in prod()
247 ublas::matrix<T, L, opencl::storage> bdev(b, queue); in prod() local
249 prod(adev, bdev, rdev, queue); in prod()
282 ublas::vector<T, opencl::storage> bdev(b, queue); in inner_prod() local
283 return inner_prod(adev, bdev, queue); in inner_prod()
342 ublas::vector<T, opencl::storage> bdev(b, queue); in outer_prod() local
344 outer_prod(adev, bdev, rdev, queue); in outer_prod()
Delementwise.hpp50 ublas::matrix<T, L2, opencl::storage> bdev(b, queue); in element_wise() local
52 element_wise(adev, bdev, rdev, op, queue); in element_wise()
95 ublas::vector<T, opencl::storage> bdev(b, queue); in element_wise() local
97 element_wise(adev, bdev, rdev, op, queue); in element_wise()
/third_party/e2fsprogs/e2fsck/
Drevoke.c331 struct block_device *bdev; in jbd2_journal_revoke() local
344 bdev = journal->j_fs_dev; in jbd2_journal_revoke()
348 bh = __find_get_block(bdev, blocknr, journal->j_blocksize); in jbd2_journal_revoke()
358 bh2 = __find_get_block(bdev, blocknr, journal->j_blocksize); in jbd2_journal_revoke()
/third_party/FreeBSD/sys/dev/usb/
Dusb_bus.h95 device_t bdev; /* filled by HC driver */ member
Dusb_util.c89 device_get_nameunit(udev->bus->bdev)); in device_set_usb_desc()
Dusb_device.c1510 device_printf(bus->bdev, in usb_alloc_device()
1516 device_printf(bus->bdev, in usb_alloc_device()
1607 device_get_unit(bus->bdev), device_index); in usb_alloc_device()
1851 device_get_nameunit(udev->bus->bdev)); in usb_alloc_device()
1886 pd->bus_index = device_get_unit(udev->bus->bdev); in usb_make_dev()
2048 usb_get_manufacturer(udev), device_get_nameunit(bus->bdev)); in usb_free_device()
2419 return ((uint8_t)device_get_unit(udev->bus->bdev)); in usbd_get_bus_index()
2470 device_get_nameunit(device_get_parent(udev->bus->bdev)) in usb_notify_addq()
Dusb_generic.c785 di->udi_bus = device_get_unit(udev->bus->bdev); in usb_gen_fill_deviceinfo()
1881 dpp->udp_bus = device_get_unit(udev->bus->bdev); in ugen_get_port_path()
Dusb_hub.c1772 device_get_unit(res.udev->bus->bdev), in uhub_child_location_string()
/third_party/e2fsprogs/tests/u_mke2fs_opt_oddsize/
Dscript1 test_description="e2undo with mke2fs -z and non-32k-aligned bdev size"
/third_party/ltp/testcases/kdump/lib/lkdtm/
Dlkdtm.c189 struct block_device *bdev, unsigned int cmd, in jp_generic_ide_ioctl() argument
/third_party/selinux/libsepol/tests/policies/test-cond/
Drefpolicy-base.conf1696 genfscon bdev / system_u:object_r:bdev_t:s0