Home
last modified time | relevance | path

Searched defs:bs (Results 51 – 75 of 263) sorted by relevance

1234567891011

/openbmc/qemu/block/
H A Dqcow.c110 static int qcow_open(BlockDriverState *bs, QDict *options, int flags, in qcow_open()
533 qcow_co_block_status(BlockDriverState *bs, bool want_zero, in qcow_co_block_status()
596 decompress_cluster(BlockDriverState *bs, uint64_t cluster_offset) in decompress_cluster()
619 static void qcow_refresh_limits(BlockDriverState *bs, Error **errp) in qcow_refresh_limits()
629 qcow_co_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in qcow_co_preadv()
725 qcow_co_pwritev(BlockDriverState *bs, int64_t offset, int64_t bytes, in qcow_co_pwritev()
796 static void qcow_close(BlockDriverState *bs) in qcow_close()
819 BlockDriverState *bs; in qcow_co_create() local
936 BlockDriverState *bs = NULL; in qcow_co_create_opts() local
1030 static int GRAPH_RDLOCK qcow_make_empty(BlockDriverState *bs) in qcow_make_empty()
[all …]
H A Dquorum.c105 BlockDriverState *bs; member
118 BlockDriverState *bs; member
164 static QuorumAIOCB *coroutine_fn quorum_aio_get(BlockDriverState *bs, in quorum_aio_get()
673 quorum_co_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in quorum_co_preadv()
729 quorum_co_pwritev(BlockDriverState *bs, int64_t offset, int64_t bytes, in quorum_co_pwritev()
768 quorum_co_getlength(BlockDriverState *bs) in quorum_co_getlength()
926 static void quorum_refresh_flags(BlockDriverState *bs) in quorum_refresh_flags()
1055 static void quorum_close(BlockDriverState *bs) in quorum_close()
1190 static char *quorum_dirname(BlockDriverState *bs, Error **errp) in quorum_dirname()
1200 static void quorum_child_perm(BlockDriverState *bs, BdrvChild *c, in quorum_child_perm()
[all …]
H A Dcloop.c63 static int cloop_open(BlockDriverState *bs, QDict *options, int flags, in cloop_open()
216 static void cloop_refresh_limits(BlockDriverState *bs, Error **errp) in cloop_refresh_limits()
222 cloop_read_block(BlockDriverState *bs, int block_num) in cloop_read_block()
255 cloop_co_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in cloop_co_preadv()
289 static void cloop_close(BlockDriverState *bs) in cloop_close()
H A Ddmg.c74 read_uint64(BlockDriverState *bs, int64_t offset, uint64_t *result) in read_uint64()
89 read_uint32(BlockDriverState *bs, int64_t offset, uint32_t *result) in read_uint32()
327 dmg_read_resource_fork(BlockDriverState *bs, DmgHeaderState *ds, in dmg_read_resource_fork()
395 dmg_read_plist_xml(BlockDriverState *bs, DmgHeaderState *ds, in dmg_read_plist_xml()
449 static int dmg_open(BlockDriverState *bs, QDict *options, int flags, in dmg_open()
593 static void dmg_refresh_limits(BlockDriverState *bs, Error **errp) in dmg_refresh_limits()
631 dmg_read_chunk(BlockDriverState *bs, uint64_t sector_num) in dmg_read_chunk()
729 dmg_co_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in dmg_co_preadv()
769 static void dmg_close(BlockDriverState *bs) in dmg_close()
H A Dgluster.c800 static int qemu_gluster_open(BlockDriverState *bs, QDict *options, in qemu_gluster_open()
893 static void qemu_gluster_refresh_limits(BlockDriverState *bs, Error **errp) in qemu_gluster_refresh_limits()
1183 static coroutine_fn int qemu_gluster_co_rw(BlockDriverState *bs, in qemu_gluster_co_rw()
1214 static coroutine_fn int qemu_gluster_co_truncate(BlockDriverState *bs, in qemu_gluster_co_truncate()
1225 static coroutine_fn int qemu_gluster_co_readv(BlockDriverState *bs, in qemu_gluster_co_readv()
1233 static coroutine_fn int qemu_gluster_co_writev(BlockDriverState *bs, in qemu_gluster_co_writev()
1242 static void qemu_gluster_close(BlockDriverState *bs) in qemu_gluster_close()
1299 static coroutine_fn int qemu_gluster_co_pdiscard(BlockDriverState *bs, in qemu_gluster_co_pdiscard()
1337 qemu_gluster_co_get_allocated_file_size(BlockDriverState *bs) in qemu_gluster_co_get_allocated_file_size()
1363 static int find_allocation(BlockDriverState *bs, off_t start, in find_allocation()
[all …]
H A Dqcow2-threads.c42 qcow2_co_process(BlockDriverState *bs, ThreadPoolFunc *func, void *arg) in qcow2_co_process()
339 qcow2_co_do_compress(BlockDriverState *bs, void *dest, size_t dest_size, in qcow2_co_do_compress()
368 qcow2_co_compress(BlockDriverState *bs, void *dest, size_t dest_size, in qcow2_co_compress()
405 qcow2_co_decompress(BlockDriverState *bs, void *dest, size_t dest_size, in qcow2_co_decompress()
457 qcow2_co_encdec(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_encdec()
508 qcow2_co_encrypt(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_encrypt()
522 qcow2_co_decrypt(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_decrypt()
H A Dvpc.c200 static void vpc_parse_options(BlockDriverState *bs, QemuOpts *opts, in vpc_parse_options()
219 static int vpc_open(BlockDriverState *bs, QDict *options, int flags, in vpc_open()
557 alloc_block(BlockDriverState *bs, int64_t offset) in alloc_block()
604 vpc_co_get_info(BlockDriverState *bs, BlockDriverInfo *bdi) in vpc_co_get_info()
616 vpc_co_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in vpc_co_preadv()
666 vpc_co_pwritev(BlockDriverState *bs, int64_t offset, int64_t bytes, in vpc_co_pwritev()
724 vpc_co_block_status(BlockDriverState *bs, bool want_zero, in vpc_co_block_status()
977 BlockDriverState *bs = NULL; in vpc_co_create() local
1099 BlockDriverState *bs = NULL; in vpc_co_create_opts() local
1173 static int GRAPH_RDLOCK vpc_has_zero_init(BlockDriverState *bs) in vpc_has_zero_init()
[all …]
H A Dvmdk.c269 static void vmdk_free_extents(BlockDriverState *bs) in vmdk_free_extents()
291 static void vmdk_free_last_extent(BlockDriverState *bs) in vmdk_free_last_extent()
347 vmdk_write_cid(BlockDriverState *bs, uint32_t cid) in vmdk_write_cid()
529 static int vmdk_add_extent(BlockDriverState *bs, in vmdk_add_extent()
1452 get_whole_cluster(BlockDriverState *bs, VmdkExtent *extent, in get_whole_cluster()
1780 vmdk_co_block_status(BlockDriverState *bs, bool want_zero, in vmdk_co_block_status()
2663 BlockDriverState *bs = NULL; in vmdk_co_create_opts_cb() local
2813 BlockDriverState *bs; in vmdk_co_create_cb() local
2884 static void vmdk_close(BlockDriverState *bs) in vmdk_close()
2895 vmdk_co_get_allocated_file_size(BlockDriverState *bs) in vmdk_co_get_allocated_file_size()
[all …]
H A Dblock-backend.c431 BlockDriverState *bs; in blk_new_open() local
611 BlockDriverState *bs, *old_bs; in bdrv_next() local
802 bool bdrv_has_blk(BlockDriverState *bs) in bdrv_has_blk()
1349 BlockDriverState *bs; in blk_co_do_preadv_part() local
1424 BlockDriverState *bs; in blk_co_do_pwritev_part() local
1673 BlockDriverState *bs = blk_bs(blk); in blk_co_nb_sectors() local
1691 BlockDriverState *bs = blk_bs(blk); in blk_nb_sectors() local
2089 BlockDriverState *bs = blk_bs(blk); in blk_drain() local
2164 BlockDriverState *bs = blk_bs(blk); in send_qmp_error_event() local
2212 BlockDriverState *bs = blk_bs(blk); in blk_supports_write_perm() local
[all …]
H A Discsi.c799 static int coroutine_fn iscsi_co_readv(BlockDriverState *bs, in iscsi_co_readv()
920 static int coroutine_fn iscsi_co_flush(BlockDriverState *bs) in iscsi_co_flush()
1011 BlockDriverState *bs = acb->common.bs; in iscsi_ioctl_handle_emulated() local
1032 static BlockAIOCB *iscsi_aio_ioctl(BlockDriverState *bs, in iscsi_aio_ioctl()
1132 iscsi_co_getlength(BlockDriverState *bs) in iscsi_co_getlength()
1538 static void iscsi_detach_aio_context(BlockDriverState *bs) in iscsi_detach_aio_context()
1556 static void iscsi_attach_aio_context(BlockDriverState *bs, in iscsi_attach_aio_context()
2047 static void iscsi_close(BlockDriverState *bs) in iscsi_close()
2181 iscsi_co_get_info(BlockDriverState *bs, BlockDriverInfo *bdi) in iscsi_co_get_info()
2196 iscsi_co_copy_range_from(BlockDriverState *bs, in iscsi_co_copy_range_from()
[all …]
H A Dvdi.c276 static int coroutine_fn vdi_co_check(BlockDriverState *bs, BdrvCheckResult *res, in vdi_co_check()
331 vdi_co_get_info(BlockDriverState *bs, BlockDriverInfo *bdi) in vdi_co_get_info()
342 static int vdi_make_empty(BlockDriverState *bs) in vdi_make_empty()
372 static int vdi_open(BlockDriverState *bs, QDict *options, int flags, in vdi_open()
524 vdi_co_block_status(BlockDriverState *bs, bool want_zero, int64_t offset, in vdi_co_block_status()
549 vdi_co_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in vdi_co_preadv()
605 vdi_co_pwritev(BlockDriverState *bs, int64_t offset, int64_t bytes, in vdi_co_pwritev()
983 static void vdi_close(BlockDriverState *bs) in vdi_close()
992 static int GRAPH_RDLOCK vdi_has_zero_init(BlockDriverState *bs) in vdi_has_zero_init()
H A Dbochs.c100 static int bochs_open(BlockDriverState *bs, QDict *options, int flags, in bochs_open()
207 static void bochs_refresh_limits(BlockDriverState *bs, Error **errp) in bochs_refresh_limits()
213 seek_to_sector(BlockDriverState *bs, int64_t sector_num) in seek_to_sector()
248 bochs_co_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in bochs_co_preadv()
296 static void bochs_close(BlockDriverState *bs) in bochs_close()
H A Dcommit.c219 bdrv_commit_top_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in bdrv_commit_top_preadv()
225 static GRAPH_RDLOCK void bdrv_commit_top_refresh_filename(BlockDriverState *bs) in bdrv_commit_top_refresh_filename()
231 static void bdrv_commit_top_child_perm(BlockDriverState *bs, BdrvChild *c, in bdrv_commit_top_child_perm()
253 void commit_start(const char *job_id, BlockDriverState *bs, in commit_start()
448 int bdrv_commit(BlockDriverState *bs) in bdrv_commit()
H A Dparallels-ext.c63 parallels_load_bitmap_data(BlockDriverState *bs, const uint64_t *l1_table, in parallels_load_bitmap_data()
123 parallels_load_bitmap(BlockDriverState *bs, uint8_t *data, size_t data_size, in parallels_load_bitmap()
185 parallels_parse_format_extension(BlockDriverState *bs, uint8_t *ext_cluster, in parallels_parse_format_extension()
281 int parallels_read_format_extension(BlockDriverState *bs, in parallels_read_format_extension()
/openbmc/qemu/tests/unit/
H A Dtest-bdrv-graph-mod.c34 static void no_perm_default_perms(BlockDriverState *bs, BdrvChild *c, in no_perm_default_perms()
50 static void exclusive_write_perms(BlockDriverState *bs, BdrvChild *c, in exclusive_write_perms()
135 BlockDriverState *bs = no_perm_node("node"); in test_update_perm_tree() local
201 BlockDriverState *bs = no_perm_node("node"); in test_should_update_child() local
284 static void write_to_selected_perms(BlockDriverState *bs, BdrvChild *c, in write_to_selected_perms()
H A Dtest-block-iothread.c35 static int coroutine_fn bdrv_test_co_preadv(BlockDriverState *bs, in bdrv_test_co_preadv()
43 static int coroutine_fn bdrv_test_co_pwritev(BlockDriverState *bs, in bdrv_test_co_pwritev()
51 static int coroutine_fn bdrv_test_co_pdiscard(BlockDriverState *bs, in bdrv_test_co_pdiscard()
58 bdrv_test_co_truncate(BlockDriverState *bs, int64_t offset, bool exact, in bdrv_test_co_truncate()
65 static int coroutine_fn bdrv_test_co_block_status(BlockDriverState *bs, in bdrv_test_co_block_status()
358 BlockDriverState *bs = blk_bs(blk); in test_sync_op_blk_flush() local
471 BlockDriverState *bs; in test_sync_op() local
556 BlockDriverState *bs; in test_attach_blockjob() local
836 BlockDriverState *bs, *filter; in test_attach_second_node() local
873 BlockDriverState *bs; in test_attach_preserve_blk_ctx() local
H A Dtest-write-threshold.c17 BlockDriverState bs; in test_threshold_not_trigger() local
30 BlockDriverState bs; in test_threshold_trigger() local
/openbmc/linux/drivers/crypto/
H A Domap-crypto.c16 static int omap_crypto_copy_sg_lists(int total, int bs, in omap_crypto_copy_sg_lists()
55 static int omap_crypto_copy_sgs(int total, int bs, struct scatterlist **sg, in omap_crypto_copy_sgs()
88 static int omap_crypto_check_sg(struct scatterlist *sg, int total, int bs, in omap_crypto_check_sg()
125 int omap_crypto_align_sg(struct scatterlist **sg, int total, int bs, in omap_crypto_align_sg()
/openbmc/qemu/
H A Dblockdev.c316 BlockDriverState *bs; member
488 BlockDriverState *bs; in blockdev_init() local
665 BlockDriverState *bs; in bds_tree_init() local
1050 BlockDriverState *bs; in qmp_get_root_bs() local
1143 BlockDriverState *bs; in qmp_blockdev_snapshot_delete_internal_sync() local
1212 BlockDriverState *bs; member
1230 BlockDriverState *bs; in internal_snapshot_action() local
1645 BlockDriverState *bs; member
1669 BlockDriverState *bs; in drive_backup_action() local
1863 BlockDriverState *bs; member
[all …]
/openbmc/linux/drivers/pcmcia/
H A Dsa11xx_base.h69 #define MECR_SET(mecr, sock, shift, mask, bs) \ argument
78 #define MECR_BSIO_SET(mecr, sock, bs) \ argument
84 #define MECR_BSA_SET(mecr, sock, bs) \ argument
90 #define MECR_BSM_SET(mecr, sock, bs) \ argument
/openbmc/linux/block/
H A Dbio-integrity.c25 static void __bio_integrity_free(struct bio_set *bs, in __bio_integrity_free()
53 struct bio_set *bs = bio->bi_pool; in bio_integrity_alloc() local
104 struct bio_set *bs = bio->bi_pool; in bio_integrity_free() local
422 int bioset_integrity_create(struct bio_set *bs, int pool_size) in bioset_integrity_create()
440 void bioset_integrity_free(struct bio_set *bs) in bioset_integrity_free()
H A Dbio.c136 static void bio_put_slab(struct bio_set *bs) in bio_put_slab()
231 struct bio_set *bs = bio->bi_pool; in bio_free() local
379 static void punt_bios_to_rescuer(struct bio_set *bs) in punt_bios_to_rescuer()
434 struct bio_set *bs) in bio_alloc_percpu_cache()
494 struct bio_set *bs) in bio_alloc_bioset()
731 struct bio_set *bs; in bio_cpu_dead() local
742 static void bio_alloc_cache_destroy(struct bio_set *bs) in bio_alloc_cache_destroy()
846 gfp_t gfp, struct bio_set *bs) in bio_alloc_clone()
1625 gfp_t gfp, struct bio_set *bs) in bio_split()
1698 void bioset_exit(struct bio_set *bs) in bioset_exit()
[all …]
/openbmc/linux/crypto/
H A Dxcbc.c59 int bs = sizeof(key1); in crypto_xcbc_digest_setkey() local
76 int bs = crypto_shash_blocksize(pdesc->tfm); in crypto_xcbc_digest_init() local
93 int bs = crypto_shash_blocksize(parent); in crypto_xcbc_digest_update() local
139 int bs = crypto_shash_blocksize(parent); in crypto_xcbc_digest_final() local
H A Dcmac.c55 unsigned int bs = crypto_shash_blocksize(parent); in crypto_cmac_digest_setkey() local
109 int bs = crypto_shash_blocksize(pdesc->tfm); in crypto_cmac_digest_init() local
126 int bs = crypto_shash_blocksize(parent); in crypto_cmac_digest_update() local
172 int bs = crypto_shash_blocksize(parent); in crypto_cmac_digest_final() local
/openbmc/linux/fs/xfs/scrub/
H A Drmap.c137 struct xchk_btree *bs) in xchk_rmapbt_check_unwritten_in_keyflags()
193 struct xchk_btree *bs, in xchk_rmapbt_check_overlapping()
257 struct xchk_btree *bs, in xchk_rmapbt_check_mergeable()
273 struct xchk_btree *bs, in xchk_rmapbt_mark_bitmap()
344 struct xchk_btree *bs, in xchk_rmapbt_rec()

1234567891011