| /src/sys/stand/efiboot/ |
| efiblock.c | 67 struct efi_block_dev *bdev; local in function:efi_block_parse 100 TAILQ_FOREACH(bdev, &efi_block_devs, entries) { 101 if (bdev->index == dev) { 102 TAILQ_FOREACH(bpart, &bdev->partitions, entries) { 125 efi_block_do_read_blockio(struct efi_block_dev *bdev, UINT64 off, void *buf, 134 lba_start = off / bdev->bio->Media->BlockSize; 135 lba_end = (off + bufsize - 1) / bdev->bio->Media->BlockSize; 136 blkbuf_offset = off % bdev->bio->Media->BlockSize; 137 blkbuf_size = (lba_end - lba_start + 1) * bdev->bio->Media->BlockSize; 140 if (bdev->bio->Media->IoAlign > 1) 472 struct efi_block_dev *bdev; local in function:efi_block_probe 564 struct efi_block_dev *bdev; local in function:efi_block_show 684 struct efi_block_dev *bdev = bpart->bdev; local in function:efi_block_strategy 726 struct efi_block_dev *bdev = bpart->bdev; local in function:efi_block_ioctl [all...] |
| efiblock.h | 65 struct efi_block_dev *bdev; member in struct:efi_block_part
|
| /src/sys/external/bsd/drm2/dist/drm/ttm/ |
| ttm_bo.c | 104 static void ttm_mem_type_debug(struct ttm_bo_device *bdev, struct drm_printer *p, 107 struct ttm_mem_type_manager *man = &bdev->man[mem_type]; 136 ttm_mem_type_debug(bo->bdev, &p, mem_type); 197 struct ttm_bo_device *bdev = bo->bdev; local in function:ttm_bo_add_mem_to_lru 208 man = &bdev->man[mem->mem_type]; 227 struct ttm_bo_device *bdev = bo->bdev; local in function:ttm_bo_del_from_lru 241 if (notify && bdev->driver->del_from_lru_notify) 242 bdev->driver->del_from_lru_notify(bo) 332 struct ttm_bo_device *bdev = bo->bdev; local in function:ttm_bo_handle_move_mem 485 struct ttm_bo_device *bdev = bo->bdev; local in function:ttm_bo_cleanup_refs_or_queue 667 struct ttm_bo_device *bdev = local in function:ttm_bo_delayed_workqueue 679 struct ttm_bo_device *bdev = bo->bdev; local in function:ttm_bo_release 723 struct ttm_bo_device *bdev = bo->bdev; local in function:ttm_bo_evict 973 struct ttm_bo_device *bdev = bo->bdev; local in function:ttm_bo_mem_force_space 1054 struct ttm_bo_device *bdev = bo->bdev; local in function:ttm_bo_mem_placement 1102 struct ttm_bo_device *bdev = bo->bdev; local in function:ttm_bo_mem_space 1872 struct ttm_bo_device *bdev = bo->bdev; local in function:ttm_bo_unmap_virtual [all...] |
| ttm_bo_util.c | 141 int ttm_mem_io_reserve(struct ttm_bo_device *bdev, 144 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; 147 if (!bdev->driver->io_mem_reserve) 150 return bdev->driver->io_mem_reserve(bdev, mem); 152 if (bdev->driver->io_mem_reserve && 155 ret = bdev->driver->io_mem_reserve(bdev, mem); 165 void ttm_mem_io_free(struct ttm_bo_device *bdev, 168 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type] 417 struct ttm_bo_device *bdev = bo->bdev; local in function:ttm_bo_move_memcpy 812 struct ttm_bo_device *bdev = bo->bdev; local in function:ttm_bo_move_accel_cleanup 873 struct ttm_bo_device *bdev = bo->bdev; local in function:ttm_bo_pipeline_move [all...] |
| ttm_bo_vm.c | 103 struct ttm_bo_device *bdev = bo->bdev; local in function:ttm_bo_io_mem_pfn 105 if (bdev->driver->io_mem_pfn) 106 return bdev->driver->io_mem_pfn(bo, page_offset); 188 struct ttm_bo_device *bdev = bo->bdev; local in function:ttm_bo_vm_fault_reserved 199 &bdev->man[bo->mem.mem_type]; 208 if (bdev->driver->fault_reserve_notify) { 211 err = bdev->driver->fault_reserve_notify(bo); 356 WARN_ON(bo->bdev->dev_mapping != vma->vm_file->f_mapping) [all...] |
| ttm_tt.c | 55 struct ttm_bo_device *bdev = bo->bdev; local in function:ttm_tt_create 60 if (bdev->need_dma32) 63 if (bdev->no_retry) 82 bo->ttm = bdev->driver->ttm_tt_create(bo, page_flags); 140 return -bus_dmamap_create(ttm->ttm.bdev->dmat, 273 ttm->bdev = bo->bdev; 283 uao_set_pgfl(ttm->swap_storage, bus_dmamem_pgfl(ttm->bdev->dmat)); 360 bus_dmamap_destroy(ttm->bdev->dmat, ttm_dma->dma_address) [all...] |
| /src/sys/arch/luna68k/stand/boot/ |
| init_main.c | 180 int bdev, ctlr, id; local in function:main 241 bdev = bi1->bi_device; 242 switch (bdev) { 246 id = 6 - bi1->bi_devinfo[bdev].bd_drv; 259 printf("bi1->bi_devinfo[bdev].bd_boot = 0x%02x\n", 260 bi1->bi_devinfo[bdev].bd_boot); 261 printf("bi1->bi_devinfo[bdev].bd_name = %c%c\n", 262 bi1->bi_devinfo[bdev].bd_name[0], 263 bi1->bi_devinfo[bdev].bd_name[1]); 264 printf("bi1->bi_devinfo[bdev].bd_drv = 0x%02x\n" [all...] |
| /src/sys/arch/mmeye/mmeye/ |
| autoconf.c | 88 device_t bdev, cdev; local in function:device_register 90 bdev = device_parent(dev); 91 if (!device_is_a(bdev, "atabus")) 93 cdev = device_parent(bdev);
|
| /src/sys/external/bsd/drm2/dist/drm/qxl/ |
| qxl_ttm.c | 46 static struct qxl_device *qxl_get_qdev(struct ttm_bo_device *bdev) 51 mman = container_of(bdev, struct qxl_mman, bdev); 56 static int qxl_invalidate_caches(struct ttm_bo_device *bdev, uint32_t flags) 61 static int qxl_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, 64 struct qxl_device *qdev = qxl_get_qdev(bdev); 118 int qxl_ttm_io_mem_reserve(struct ttm_bo_device *bdev, 121 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; 122 struct qxl_device *qdev = qxl_get_qdev(bdev); 151 static void qxl_ttm_io_mem_free(struct ttm_bo_device *bdev, [all...] |
| /src/sys/external/bsd/drm2/dist/include/drm/ttm/ |
| ttm_bo_api.h | 147 * @bdev: Pointer to the buffer object device structure. 192 struct ttm_bo_device *bdev; member in struct:ttm_buffer_object 218 * Members protected by the bdev::lru_lock. 423 int ttm_bo_lock_delayed_workqueue(struct ttm_bo_device *bdev); 430 void ttm_bo_unlock_delayed_workqueue(struct ttm_bo_device *bdev, int resched); 446 * @bdev: Pointer to a ttm_bo_device struct. 452 size_t ttm_bo_acc_size(struct ttm_bo_device *bdev, 455 size_t ttm_bo_dma_acc_size(struct ttm_bo_device *bdev, 462 * @bdev: Pointer to a ttm_bo_device struct. 494 int ttm_bo_init_reserved(struct ttm_bo_device *bdev, [all...] |
| ttm_bo_driver.h | 160 * @io_reserve_fastpath: Only use bdev::driver::io_mem_reserve to obtain 162 * static information. bdev::driver::io_mem_free is never used. 173 struct ttm_bo_device *bdev; member in struct:ttm_mem_type_manager 273 * @bdev: the buffer object device. 282 int (*invalidate_caches)(struct ttm_bo_device *bdev, uint32_t flags); 283 int (*init_mem_type)(struct ttm_bo_device *bdev, uint32_t type, 365 int (*io_mem_reserve)(struct ttm_bo_device *bdev, 367 void (*io_mem_free)(struct ttm_bo_device *bdev, 573 * @bdev: Pointer to a struct ttm_bo_device. 579 bool ttm_mem_reg_is_pci(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) [all...] |
| /src/sys/arch/hp300/stand/uboot/ |
| uboot.c | 63 static int bdev, badapt, bctlr, bunit, bpart; variable in typeref:typename:int 79 bdev = B_TYPE(bootdev); 106 devsw[bdev].dv_name, bctlr + (8 * badapt), 'a' + bpart, name);
|
| /src/sys/arch/x68k/x68k/ |
| autoconf.c | 168 scsi_find(dev_t bdev) 178 ifid = B_X68K_SCSI_IF(bdev); 199 name_scsiif[ifid], B_X68K_SCSI_IF_UN(bdev)); 214 B_X68K_SCSI_ID(bdev), B_X68K_SCSI_LUN(bdev));
|
| /src/sys/arch/bebox/bebox/ |
| autoconf.c | 173 device_t bdev, cdev; local in function:device_register 215 bdev = device_parent(dev); 216 if (!device_is_a(bdev, "scsibus")) 218 cdev = device_parent(bdev); 228 bdev = device_parent(dev); 229 if (!device_is_a(bdev, "atabus")) 231 cdev = device_parent(bdev);
|
| /src/sys/kern/ |
| subr_devsw.c | 129 * bdev probes 131 SDT_PROBE_DEFINE6(sdt, bdev, open, acquire, 138 SDT_PROBE_DEFINE4(sdt, bdev, open, entry, 143 SDT_PROBE_DEFINE5(sdt, bdev, open, return, 149 SDT_PROBE_DEFINE6(sdt, bdev, open, release, 157 SDT_PROBE_DEFINE4(sdt, bdev, cancel, entry, 162 SDT_PROBE_DEFINE5(sdt, bdev, cancel, return, 169 SDT_PROBE_DEFINE4(sdt, bdev, close, entry, 174 SDT_PROBE_DEFINE5(sdt, bdev, close, return, 181 SDT_PROBE_DEFINE3(sdt, bdev, strategy, entry 740 const struct bdevsw *bdev = NULL, *const *curbdevsw; local in function:bdevsw_lookup_acquire [all...] |
| /src/sys/arch/arm/arm32/ |
| stubs.c | 131 const struct bdevsw *bdev; local in function:cpu_dump 134 bdev = bdevsw_lookup(dumpdev); 135 if (bdev == NULL) 137 dump = bdev->d_dump; 218 const struct bdevsw *bdev; local in function:dodumpsys 245 bdev = bdevsw_lookup(dumpdev); 246 if (bdev == NULL || bdev->d_psize == NULL) 273 error = (*bdev->d_dump)(dumpdev,
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/ |
| nouveau_ttm.h | 10 return container_of(bd, struct nouveau_drm, ttm.bdev);
|
| nouveau_ttm.c | 73 struct nouveau_drm *drm = nouveau_bdev(bo->bdev); 111 struct nouveau_drm *drm = nouveau_bdev(bo->bdev); 137 struct nouveau_drm *drm = nouveau_bdev(bo->bdev); 180 return ttm_bo_mmap_object(&drm->ttm.bdev, offset, size, prot, 192 return ttm_bo_mmap(filp, vma, &drm->ttm.bdev); 259 ret = ttm_bo_device_init(&drm->ttm.bdev, 280 ret = ttm_bo_init_mm(&drm->ttm.bdev, TTM_PL_VRAM, 302 ret = ttm_bo_init_mm(&drm->ttm.bdev, TTM_PL_TT, 319 ttm_bo_clean_mm(&drm->ttm.bdev, TTM_PL_VRAM); 320 ttm_bo_clean_mm(&drm->ttm.bdev, TTM_PL_TT) [all...] |
| /src/sys/external/bsd/drm2/ttm/ |
| ttm_bo_vm.c | 175 struct ttm_bo_device *const bdev = bo->bdev; local in function:ttm_bo_uvm_fault_reserved 177 &bdev->man[bo->mem.mem_type]; 197 if (bdev->driver->fault_reserve_notify) { 200 err = bdev->driver->fault_reserve_notify(bo); 277 } else if (bdev->driver->io_mem_pfn) { 278 paddr = (paddr_t)(*bdev->driver->io_mem_pfn)(bo, 281 const paddr_t cookie = bus_space_mmap(bdev->memt, 348 ttm_bo_mmap_object(struct ttm_bo_device *bdev, off_t offset, size_t size, 360 ret = ttm_bo_uvm_lookup(bdev, startpage, npages, &bo) [all...] |
| ttm_bus_dma.c | 78 ret = -bus_dmamap_load_pages(ttm_dma->ttm.bdev->dmat, 88 bus_dmamap_unload(ttm_dma->ttm.bdev->dmat, ttm_dma->dma_address); 113 bus_dmamap_unload(ttm_dma->ttm.bdev->dmat,
|
| /src/sys/arch/atari/stand/tostools/aptck/ |
| diskio.c | 96 int bdev; local in function:disk_read 107 bdev = BIOSDEV(dd->major, dd->minor); 108 if (bdev && !bios_read(buffer, start, count, bdev)) 123 int bdev; local in function:disk_write 130 bdev = BIOSDEV(dd->major, dd->minor); 131 if (bdev) 132 e = bios_write(buffer, start, count, bdev);
|
| /src/sys/arch/atari/stand/tostools/libtos/ |
| diskio.c | 96 int bdev; local in function:disk_read 107 bdev = BIOSDEV(dd->major, dd->minor); 108 if (bdev && !bios_read(buffer, start, count, bdev)) 123 int bdev; local in function:disk_write 130 bdev = BIOSDEV(dd->major, dd->minor); 131 if (bdev) 132 e = bios_write(buffer, start, count, bdev);
|
| /src/sys/arch/i386/i386/ |
| dumpsys.c | 154 const struct bdevsw *bdev; local in function:dodumpsys 161 bdev = bdevsw_lookup(dumpdev); 162 if (bdev == NULL || bdev->d_psize == NULL) 516 const struct bdevsw *bdev; local in function:dump_header_flush 520 bdev = bdevsw_lookup(dumpdev); 522 error = bdev->d_dump(dumpdev, dump_header_blkno, 606 const struct bdevsw *bdev; local in function:cpu_dump 608 bdev = bdevsw_lookup(dumpdev); 609 if (bdev == NULL 639 const struct bdevsw *bdev; local in function:dumpsys_seg [all...] |
| /src/sys/arch/atari/atari/ |
| autoconf.c | 242 const struct bdevsw *bdev; local in function:findroot 268 bdev = bdevsw_lookup(makedev(maj, 0)); 270 if (bdev == NULL) 273 if (bdev == NULL || 274 bdev->d_strategy != dkp->dk_driver->d_strategy) 278 if ((*bdev->d_open)(MAKEDISKDEV(maj, 281 (void)(*bdev->d_close)(MAKEDISKDEV(maj,
|
| /src/sys/arch/hp300/stand/common/ |
| autoconf.c | 147 u_long bdev = 0; local in function:msustobdev 161 bdev = MAKEBOOTDEV(type, ctlr, slave, punit, 0); 164 printf("msus %x -> bdev %x\n", rp->msus, bdev); 166 return bdev;
|