Home
last modified time | relevance | path

Searched defs:bdev (Results 1 – 25 of 211) sorted by relevance

123456789

/linux/block/
H A Dbdev.c38 struct block_device bdev; member
47 static inline struct inode *BD_INODE(struct block_device *bdev) in BD_INODE()
64 static void bdev_write_inode(struct block_device *bdev) in bdev_write_inode()
83 static void kill_bdev(struct block_device *bdev) in kill_bdev()
95 void invalidate_bdev(struct block_device *bdev) in invalidate_bdev()
111 int truncate_bdev_range(struct block_device *bdev, blk_mode_t mode, in truncate_bdev_range()
140 static void set_init_blocksize(struct block_device *bdev) in set_init_blocksize()
156 struct block_device *bdev = I_BDEV(inode); in set_blocksize() local
202 int sync_blockdev_nowait(struct block_device *bdev) in sync_blockdev_nowait()
214 int sync_blockdev(struct block_device *bdev) in sync_blockdev()
[all …]
H A Dioctl.c19 static int blkpg_do_ioctl(struct block_device *bdev, in blkpg_do_ioctl()
65 static int blkpg_ioctl(struct block_device *bdev, in blkpg_ioctl()
85 static int compat_blkpg_ioctl(struct block_device *bdev, in compat_blkpg_ioctl()
103 static int blk_validate_byte_range(struct block_device *bdev, in blk_validate_byte_range()
119 static int blk_ioctl_discard(struct block_device *bdev, blk_mode_t mode, in blk_ioctl_discard()
179 static int blk_ioctl_secure_erase(struct block_device *bdev, blk_mode_t mode, in blk_ioctl_secure_erase()
211 static int blk_ioctl_zeroout(struct block_device *bdev, blk_mode_t mode, in blk_ioctl_zeroout()
299 int blkdev_compat_ptr_ioctl(struct block_device *bdev, blk_mode_t mode, in blkdev_compat_ptr_ioctl()
313 static bool blkdev_pr_allowed(struct block_device *bdev, blk_mode_t mode) in blkdev_pr_allowed()
328 static int blkdev_pr_register(struct block_device *bdev, blk_mode_t mode, in blkdev_pr_register()
[all …]
H A Dblk-lib.c13 static sector_t bio_discard_limit(struct block_device *bdev, sector_t sector) in bio_discard_limit()
38 struct bio *blk_alloc_discard_bio(struct block_device *bdev, in blk_alloc_discard_bio()
63 int __blkdev_issue_discard(struct block_device *bdev, sector_t sector, in __blkdev_issue_discard()
85 int blkdev_issue_discard(struct block_device *bdev, sector_t sector, in blkdev_issue_discard()
106 static sector_t bio_write_zeroes_limit(struct block_device *bdev) in bio_write_zeroes_limit()
121 static void __blkdev_issue_write_zeroes(struct block_device *bdev, in __blkdev_issue_write_zeroes()
148 static int blkdev_issue_write_zeroes(struct block_device *bdev, sector_t sector, in blkdev_issue_write_zeroes()
195 static void __blkdev_issue_zero_pages(struct block_device *bdev, in __blkdev_issue_zero_pages()
227 static int blkdev_issue_zero_pages(struct block_device *bdev, sector_t sector, in blkdev_issue_zero_pages()
273 int __blkdev_issue_zeroout(struct block_device *bdev, sector_t sector, in __blkdev_issue_zeroout()
[all …]
H A Dfops.c38 static bool blkdev_dio_invalid(struct block_device *bdev, struct kiocb *iocb, in blkdev_dio_invalid()
48 struct iov_iter *iter, struct block_device *bdev, in __blkdev_direct_IO_simple()
164 struct block_device *bdev, unsigned int nr_pages) in __blkdev_direct_IO()
301 struct block_device *bdev, in __blkdev_direct_IO_async()
367 struct block_device *bdev = I_BDEV(iocb->ki_filp->f_mapping->host); in blkdev_direct_IO() local
391 struct block_device *bdev = I_BDEV(inode); in blkdev_iomap_begin() local
548 struct block_device *bdev = I_BDEV(filp->f_mapping->host); in blkdev_fsync() local
608 struct block_device *bdev; in blkdev_open() local
679 struct block_device *bdev = I_BDEV(bd_inode); in blkdev_write_iter() local
735 struct block_device *bdev = I_BDEV(iocb->ki_filp->f_mapping->host); in blkdev_read_iter() local
[all …]
H A Dholder.c13 static struct bd_holder_disk *bd_find_holder_disk(struct block_device *bdev, in bd_find_holder_disk()
62 int bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk) in bd_link_disk_holder()
138 void bd_unlink_disk_holder(struct block_device *bdev, struct gendisk *disk) in bd_unlink_disk_holder()
H A Dblk-crypto.c360 bool blk_crypto_config_supported_natively(struct block_device *bdev, in blk_crypto_config_supported_natively()
372 bool blk_crypto_config_supported(struct block_device *bdev, in blk_crypto_config_supported()
394 int blk_crypto_start_using_key(struct block_device *bdev, in blk_crypto_start_using_key()
417 void blk_crypto_evict_key(struct block_device *bdev, in blk_crypto_evict_key()
/linux/drivers/bluetooth/
H A Dbtmtksdio.c149 struct btmtksdio_dev *bdev = hci_get_drvdata(hdev); in mtk_hci_wmt_sync() local
258 static int btmtksdio_tx_packet(struct btmtksdio_dev *bdev, in btmtksdio_tx_packet()
298 static u32 btmtksdio_drv_own_query(struct btmtksdio_dev *bdev) in btmtksdio_drv_own_query()
303 static u32 btmtksdio_drv_own_query_79xx(struct btmtksdio_dev *bdev) in btmtksdio_drv_own_query_79xx()
308 static u32 btmtksdio_chcr_query(struct btmtksdio_dev *bdev) in btmtksdio_chcr_query()
313 static int btmtksdio_fw_pmctrl(struct btmtksdio_dev *bdev) in btmtksdio_fw_pmctrl()
350 static int btmtksdio_drv_pmctrl(struct btmtksdio_dev *bdev) in btmtksdio_drv_pmctrl()
382 struct btmtksdio_dev *bdev = hci_get_drvdata(hdev); in btmtksdio_recv_event() local
423 struct btmtksdio_dev *bdev = hci_get_drvdata(hdev); in btmtksdio_recv_acl() local
448 static int btmtksdio_rx_packet(struct btmtksdio_dev *bdev, u16 rx_size) in btmtksdio_rx_packet()
[all …]
H A Dhci_bcm.c324 struct bcm_device *bdev = data; in bcm_host_wake() local
337 struct bcm_device *bdev = bcm->dev; in bcm_request_irq() local
530 struct bcm_device *bdev = NULL; in bcm_close() local
739 struct bcm_device *bdev = NULL; in bcm_dequeue() local
764 struct bcm_device *bdev = dev_get_drvdata(dev); in bcm_suspend_device() local
794 struct bcm_device *bdev = dev_get_drvdata(dev); in bcm_resume_device() local
823 struct bcm_device *bdev = dev_get_drvdata(dev); in bcm_suspend() local
857 struct bcm_device *bdev = dev_get_drvdata(dev); in bcm_resume() local
1228 static int bcm_of_probe(struct bcm_device *bdev) in bcm_of_probe()
/linux/drivers/nvme/host/
H A Dpr.c52 static int nvme_send_ns_head_pr_command(struct block_device *bdev, in nvme_send_ns_head_pr_command()
97 static int __nvme_send_pr_command(struct block_device *bdev, u32 cdw10, in __nvme_send_pr_command()
112 static int nvme_send_pr_command(struct block_device *bdev, u32 cdw10, u32 cdw11, in nvme_send_pr_command()
121 static int nvme_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in nvme_pr_register()
142 static int nvme_pr_reserve(struct block_device *bdev, u64 key, in nvme_pr_reserve()
161 static int nvme_pr_preempt(struct block_device *bdev, u64 old, u64 new, in nvme_pr_preempt()
178 static int nvme_pr_clear(struct block_device *bdev, u64 key) in nvme_pr_clear()
192 static int nvme_pr_release(struct block_device *bdev, u64 key, enum pr_type type) in nvme_pr_release()
207 static int nvme_pr_resv_report(struct block_device *bdev, void *data, in nvme_pr_resv_report()
230 static int nvme_pr_read_keys(struct block_device *bdev, in nvme_pr_read_keys()
[all …]
/linux/drivers/s390/block/
H A Dscm_blk.c146 static bool scm_permit_request(struct scm_blk_dev *bdev, struct request *req) in scm_permit_request()
181 struct scm_blk_dev *bdev = scmrq->bdev; in scm_request_prepare() local
218 static inline void scm_request_init(struct scm_blk_dev *bdev, in scm_request_init()
239 struct scm_blk_dev *bdev = scmrq->bdev; in scm_request_requeue() local
252 struct scm_blk_dev *bdev = scmrq->bdev; in scm_request_finish() local
269 struct scm_blk_dev *bdev = scmrq->bdev; in scm_request_start() local
287 struct scm_blk_dev *bdev = dev_get_drvdata(&scmdev->dev); in scm_blk_request() local
374 struct scm_blk_dev *bdev = scmrq->bdev; in scm_blk_handle_error() local
436 int scm_blk_dev_setup(struct scm_blk_dev *bdev, struct scm_device *scmdev) in scm_blk_dev_setup()
509 void scm_blk_dev_cleanup(struct scm_blk_dev *bdev) in scm_blk_dev_cleanup()
[all …]
H A Dscm_drv.c19 struct scm_blk_dev *bdev = dev_get_drvdata(&scmdev->dev); in scm_notify() local
38 struct scm_blk_dev *bdev; in scm_probe() local
65 struct scm_blk_dev *bdev = dev_get_drvdata(&scmdev->dev); in scm_remove() local
/linux/drivers/gpu/drm/ttm/
H A Dttm_device.c133 struct ttm_device *bdev; in ttm_global_swapout() local
148 int ttm_device_swapout(struct ttm_device *bdev, struct ttm_operation_ctx *ctx, in ttm_device_swapout()
184 int ttm_device_init(struct ttm_device *bdev, const struct ttm_device_funcs *funcs, in ttm_device_init()
229 void ttm_device_fini(struct ttm_device *bdev) in ttm_device_fini()
256 static void ttm_device_clear_lru_dma_mappings(struct ttm_device *bdev, in ttm_device_clear_lru_dma_mappings()
281 void ttm_device_clear_dma_mappings(struct ttm_device *bdev) in ttm_device_clear_dma_mappings()
H A Dttm_bo.c120 struct ttm_device *bdev = bo->bdev; in ttm_bo_handle_move_mem() local
249 struct ttm_device *bdev = bo->bdev; in ttm_bo_release() local
358 struct ttm_device *bdev = bo->bdev; in ttm_bo_evict() local
422 struct ttm_device *bdev = bo->bdev; in ttm_bo_eviction_valuable() local
443 int ttm_bo_evict_first(struct ttm_device *bdev, struct ttm_resource_manager *man, in ttm_bo_evict_first()
542 static int ttm_bo_evict_alloc(struct ttm_device *bdev, in ttm_bo_evict_alloc()
681 struct ttm_device *bdev = bo->bdev; in ttm_bo_alloc_resource() local
887 int ttm_bo_init_reserved(struct ttm_device *bdev, struct ttm_buffer_object *bo, in ttm_bo_init_reserved()
980 int ttm_bo_init_validate(struct ttm_device *bdev, struct ttm_buffer_object *bo, in ttm_bo_init_validate()
1012 struct ttm_device *bdev = bo->bdev; in ttm_bo_unmap_virtual() local
[all …]
H A Dttm_resource.c120 void ttm_lru_bulk_move_fini(struct ttm_device *bdev, in ttm_lru_bulk_move_fini()
274 struct ttm_device *bdev = bo->bdev; in ttm_resource_move_to_lru_tail() local
342 struct ttm_device *bdev = man->bdev; in ttm_resource_fini() local
399 bool ttm_resource_intersects(struct ttm_device *bdev, in ttm_resource_intersects()
430 struct ttm_device *bdev = bo->bdev; in ttm_resource_compatible() local
479 struct ttm_device *bdev, in ttm_resource_manager_init()
504 int ttm_resource_manager_evict_all(struct ttm_device *bdev, in ttm_resource_manager_evict_all()
787 struct ttm_device *bdev, in ttm_kmap_iter_linear_io_init()
849 struct ttm_device *bdev, in ttm_kmap_iter_linear_io_fini()
H A Dttm_bo_util.c45 int ttm_mem_io_reserve(struct ttm_device *bdev, in ttm_mem_io_reserve()
58 void ttm_mem_io_free(struct ttm_device *bdev, in ttm_mem_io_free()
146 struct ttm_device *bdev = bo->bdev; in ttm_bo_move_memcpy() local
616 struct ttm_device *bdev = bo->bdev; in ttm_bo_move_pipeline_evict() local
657 struct ttm_device *bdev = bo->bdev; in ttm_bo_move_accel_cleanup() local
691 struct ttm_device *bdev = bo->bdev; in ttm_bo_move_sync_cleanup() local
859 s64 ttm_lru_walk_for_evict(struct ttm_lru_walk *walk, struct ttm_device *bdev, in ttm_lru_walk_for_evict()
/linux/drivers/hid/
H A Dhid-picolcd_backlight.c16 static int picolcd_get_brightness(struct backlight_device *bdev) in picolcd_get_brightness()
22 static int picolcd_set_brightness(struct backlight_device *bdev) in picolcd_set_brightness()
50 struct backlight_device *bdev; in picolcd_init_backlight() local
78 struct backlight_device *bdev = data->backlight; in picolcd_exit_backlight() local
/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_mock_manager.c93 int ttm_mock_manager_init(struct ttm_device *bdev, u32 mem_type, u32 size) in ttm_mock_manager_init()
125 void ttm_mock_manager_fini(struct ttm_device *bdev, u32 mem_type) in ttm_mock_manager_fini()
189 int ttm_bad_manager_init(struct ttm_device *bdev, u32 mem_type, u32 size) in ttm_bad_manager_init()
207 int ttm_busy_manager_init(struct ttm_device *bdev, u32 mem_type, u32 size) in ttm_busy_manager_init()
220 void ttm_bad_manager_fini(struct ttm_device *bdev, uint32_t mem_type) in ttm_bad_manager_fini()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_ttm_buffer.c273 static int vmw_ttm_bind(struct ttm_device *bdev, in vmw_ttm_bind()
320 static void vmw_ttm_unbind(struct ttm_device *bdev, in vmw_ttm_unbind()
348 static void vmw_ttm_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in vmw_ttm_destroy()
362 static int vmw_ttm_populate(struct ttm_device *bdev, in vmw_ttm_populate()
378 static void vmw_ttm_unpopulate(struct ttm_device *bdev, in vmw_ttm_unpopulate()
438 static int vmw_ttm_io_mem_reserve(struct ttm_device *bdev, struct ttm_resource *mem) in vmw_ttm_io_mem_reserve()
/linux/drivers/pci/controller/
H A Dpcie-iproc-bcma.c29 struct bcma_device *bdev = container_of(pcie->dev, struct bcma_device, dev); in iproc_bcma_pcie_map_irq() local
34 static int iproc_bcma_pcie_probe(struct bcma_device *bdev) in iproc_bcma_pcie_probe()
74 static void iproc_bcma_pcie_remove(struct bcma_device *bdev) in iproc_bcma_pcie_remove()
/linux/drivers/input/keyboard/
H A Dgpio_keys_polled.c48 struct gpio_keys_polled_dev *bdev = input_get_drvdata(input); in gpio_keys_button_event() local
89 struct gpio_keys_polled_dev *bdev = input_get_drvdata(input); in gpio_keys_polled_poll() local
124 struct gpio_keys_polled_dev *bdev = input_get_drvdata(input); in gpio_keys_polled_open() local
135 struct gpio_keys_polled_dev *bdev = input_get_drvdata(input); in gpio_keys_polled_close() local
231 struct gpio_keys_polled_dev *bdev; in gpio_keys_polled_probe() local
/linux/drivers/gpu/drm/loongson/
H A Dlsdc_ttm.c86 static void lsdc_ttm_tt_destroy(struct ttm_device *bdev, struct ttm_tt *tt) in lsdc_ttm_tt_destroy()
111 static int lsdc_ttm_tt_populate(struct ttm_device *bdev, in lsdc_ttm_tt_populate()
128 static void lsdc_ttm_tt_unpopulate(struct ttm_device *bdev, in lsdc_ttm_tt_unpopulate()
219 static int lsdc_bo_reserve_io_mem(struct ttm_device *bdev, in lsdc_bo_reserve_io_mem()
405 struct ttm_device *bdev = &ldev->bdev; in lsdc_bo_evict_vram() local
437 struct ttm_device *bdev = &ldev->bdev; in lsdc_bo_create() local
575 struct ttm_device *bdev = &ldev->bdev; in lsdc_ttm_debugfs_init() local
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_sgdma.c20 nouveau_sgdma_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in nouveau_sgdma_destroy()
31 nouveau_sgdma_bind(struct ttm_device *bdev, struct ttm_tt *ttm, struct ttm_resource *reg) in nouveau_sgdma_bind()
58 nouveau_sgdma_unbind(struct ttm_device *bdev, struct ttm_tt *ttm) in nouveau_sgdma_unbind()
/linux/drivers/comedi/drivers/
H A Dcomedi_bond.c81 struct bonded_device *bdev = *devs++; in bonding_dio_insn_bits() local
131 struct bonded_device *bdev; in bonding_dio_insn_config() local
186 struct bonded_device *bdev; in do_dev_config() local
323 struct bonded_device *bdev; in bonding_detach() local
/linux/drivers/net/fddi/
H A Ddefxx.c377 struct device __maybe_unused *bdev = bp->bus_dev; in dfx_port_write_long() local
399 struct device __maybe_unused *bdev = bp->bus_dev; in dfx_port_read_long() local
434 struct device *bdev = bp->bus_dev; in dfx_get_bars() local
530 static int dfx_register(struct device *bdev) in dfx_register()
724 struct device *bdev = bp->bus_dev; in dfx_bus_init() local
883 struct device *bdev = bp->bus_dev; in dfx_bus_uninit() local
945 struct device __maybe_unused *bdev = bp->bus_dev; in dfx_bus_config_check() local
1043 struct device *bdev = bp->bus_dev; in dfx_driver_init() local
1951 struct device *bdev = bp->bus_dev; in dfx_interrupt() local
3695 static void dfx_unregister(struct device *bdev) in dfx_unregister()
/linux/drivers/gpu/drm/qxl/
H A Dqxl_ttm.c40 static struct qxl_device *qxl_get_qdev(struct ttm_device *bdev) in qxl_get_qdev()
71 int qxl_ttm_io_mem_reserve(struct ttm_device *bdev, in qxl_ttm_io_mem_reserve()
100 static void qxl_ttm_backend_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in qxl_ttm_backend_destroy()

123456789