Home
last modified time | relevance | path

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

123456789

/linux/block/
H A Dioctl.c20 static int blkpg_do_ioctl(struct block_device *bdev, in blkpg_do_ioctl()
66 static int blkpg_ioctl(struct block_device *bdev, in blkpg_ioctl()
86 static int compat_blkpg_ioctl(struct block_device *bdev, in compat_blkpg_ioctl()
104 static int blk_validate_byte_range(struct block_device *bdev, in blk_validate_byte_range()
120 static int blk_ioctl_discard(struct block_device *bdev, blk_mode_t mode, in blk_ioctl_discard()
180 static int blk_ioctl_secure_erase(struct block_device *bdev, blk_mode_t mode, in blk_ioctl_secure_erase()
212 static int blk_ioctl_zeroout(struct block_device *bdev, blk_mode_t mode, in blk_ioctl_zeroout()
300 int blkdev_compat_ptr_ioctl(struct block_device *bdev, blk_mode_t mode, in blkdev_compat_ptr_ioctl()
314 static bool blkdev_pr_allowed(struct block_device *bdev, blk_mode_t mode) in blkdev_pr_allowed()
329 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()
169 struct block_device *bdev, unsigned int nr_pages) in __blkdev_direct_IO()
317 struct block_device *bdev, in __blkdev_direct_IO_async()
392 struct block_device *bdev = I_BDEV(iocb->ki_filp->f_mapping->host); in blkdev_direct_IO() local
416 struct block_device *bdev = I_BDEV(inode); in blkdev_iomap_begin() local
573 struct block_device *bdev = I_BDEV(filp->f_mapping->host); in blkdev_fsync() local
633 struct block_device *bdev; in blkdev_open() local
704 struct block_device *bdev = I_BDEV(bd_inode); in blkdev_write_iter() local
760 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.c385 bool blk_crypto_config_supported_natively(struct block_device *bdev, in blk_crypto_config_supported_natively()
397 bool blk_crypto_config_supported(struct block_device *bdev, in blk_crypto_config_supported()
423 int blk_crypto_start_using_key(struct block_device *bdev, in blk_crypto_start_using_key()
450 void blk_crypto_evict_key(struct block_device *bdev, in blk_crypto_evict_key()
595 int blk_crypto_ioctl(struct block_device *bdev, unsigned int cmd, in blk_crypto_ioctl()
/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/dma/qcom/
H A Dbam_dma.c350 struct bam_device *bdev; member
409 static inline void __iomem *bam_addr(struct bam_device *bdev, u32 pipe, in bam_addr()
424 static void bam_reset(struct bam_device *bdev) in bam_reset()
466 struct bam_device *bdev = bchan->bdev; in bam_reset_channel() local
491 struct bam_device *bdev = bchan->bdev; in bam_chan_init_hw() local
541 struct bam_device *bdev = bchan->bdev; in bam_alloc_chan() local
571 struct bam_device *bdev = bchan->bdev; in bam_free_chan() local
653 struct bam_device *bdev = bchan->bdev; in bam_prep_slave_sg() local
775 struct bam_device *bdev = bchan->bdev; in bam_pause() local
801 struct bam_device *bdev = bchan->bdev; in bam_resume() local
[all …]
/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.c121 struct ttm_device *bdev = bo->bdev; in ttm_bo_handle_move_mem() local
250 struct ttm_device *bdev = bo->bdev; ttm_bo_release() local
359 struct ttm_device *bdev = bo->bdev; ttm_bo_evict() local
423 struct ttm_device *bdev = bo->bdev; ttm_bo_eviction_valuable() local
444 ttm_bo_evict_first(struct ttm_device * bdev,struct ttm_resource_manager * man,struct ttm_operation_ctx * ctx) ttm_bo_evict_first() argument
554 ttm_bo_evict_alloc(struct ttm_device * bdev,struct ttm_resource_manager * man,const struct ttm_place * place,struct ttm_buffer_object * evictor,struct ttm_operation_ctx * ctx,struct ww_acquire_ctx * ticket,struct ttm_resource ** res,struct dmem_cgroup_pool_state * limit_pool) ttm_bo_evict_alloc() argument
711 struct ttm_device *bdev = bo->bdev; ttm_bo_alloc_resource() local
923 ttm_bo_init_reserved(struct ttm_device * bdev,struct ttm_buffer_object * bo,enum ttm_bo_type type,struct ttm_placement * placement,uint32_t alignment,struct ttm_operation_ctx * ctx,struct sg_table * sg,struct dma_resv * resv,void (* destroy)(struct ttm_buffer_object *)) ttm_bo_init_reserved() argument
1016 ttm_bo_init_validate(struct ttm_device * bdev,struct ttm_buffer_object * bo,enum ttm_bo_type type,struct ttm_placement * placement,uint32_t alignment,bool interruptible,struct sg_table * sg,struct dma_resv * resv,void (* destroy)(struct ttm_buffer_object *)) ttm_bo_init_validate() argument
1048 struct ttm_device *bdev = bo->bdev; ttm_bo_unmap_virtual() local
1209 ttm_bo_swapout(struct ttm_device * bdev,struct ttm_operation_ctx * ctx,struct ttm_resource_manager * man,gfp_t gfp_flags,s64 target) ttm_bo_swapout() argument
[all...]
H A Dttm_resource.c121 ttm_lru_bulk_move_fini(struct ttm_device * bdev,struct ttm_lru_bulk_move * bulk) ttm_lru_bulk_move_fini() argument
275 struct ttm_device *bdev = bo->bdev; ttm_resource_move_to_lru_tail() local
343 struct ttm_device *bdev = man->bdev; ttm_resource_fini() local
418 ttm_resource_intersects(struct ttm_device * bdev,struct ttm_resource * res,const struct ttm_place * place,size_t size) ttm_resource_intersects() argument
449 struct ttm_device *bdev = bo->bdev; ttm_resource_compatible() local
498 ttm_resource_manager_init(struct ttm_resource_manager * man,struct ttm_device * bdev,uint64_t size) ttm_resource_manager_init() argument
523 ttm_resource_manager_evict_all(struct ttm_device * bdev,struct ttm_resource_manager * man) ttm_resource_manager_evict_all() argument
806 ttm_kmap_iter_linear_io_init(struct ttm_kmap_iter_linear_io * iter_io,struct ttm_device * bdev,struct ttm_resource * mem) ttm_kmap_iter_linear_io_init() argument
868 ttm_kmap_iter_linear_io_fini(struct ttm_kmap_iter_linear_io * iter_io,struct ttm_device * bdev,struct ttm_resource * mem) ttm_kmap_iter_linear_io_fini() argument
[all...]
H A Dttm_bo_util.c45 int ttm_mem_io_reserve(struct ttm_device *bdev, in ttm_mem_io_reserve() argument
58 void ttm_mem_io_free(struct ttm_device *bdev, in ttm_mem_io_free() argument
146 struct ttm_device *bdev = bo->bdev; in ttm_bo_move_memcpy() local
616 struct ttm_device *bdev = bo->bdev; ttm_bo_move_pipeline_evict() local
657 struct ttm_device *bdev = bo->bdev; ttm_bo_move_accel_cleanup() local
691 struct ttm_device *bdev = bo->bdev; ttm_bo_move_sync_cleanup() local
859 ttm_lru_walk_for_evict(struct ttm_lru_walk * walk,struct ttm_device * bdev,struct ttm_resource_manager * man,s64 target) ttm_lru_walk_for_evict() argument
[all...]
/linux/include/linux/
H A Dblkdev.h739 static inline unsigned int bdev_nr_zones(struct block_device *bdev) in bdev_nr_zones()
744 static inline unsigned int bdev_max_open_zones(struct block_device *bdev) in bdev_max_open_zones()
749 static inline unsigned int bdev_max_active_zones(struct block_device *bdev) in bdev_max_active_zones()
786 static inline u8 bdev_partno(const struct block_device *bdev) in bdev_partno()
791 static inline bool bdev_test_flag(const struct block_device *bdev, unsigned flag) in bdev_test_flag()
796 static inline void bdev_set_flag(struct block_device *bdev, unsigned flag) in bdev_set_flag()
801 static inline void bdev_clear_flag(struct block_device *bdev, unsigned flag) in bdev_clear_flag()
812 static inline bool bdev_read_only(struct block_device *bdev) in bdev_read_only()
824 static inline sector_t get_start_sect(struct block_device *bdev) in get_start_sect()
829 static inline sector_t bdev_nr_sectors(struct block_device *bdev) in bdev_nr_sectors()
[all …]
/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/s390/block/
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/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