Home
last modified time | relevance | path

Searched defs:blk (Results 1 – 25 of 178) sorted by relevance

12345678

/openbmc/qemu/block/
H A Dblock-backend.c99 BlockBackend *blk; member
145 BlockBackend *blk = child->opaque; in blk_root_get_parent_desc() local
169 BlockBackend *blk = opaque; in blk_vm_state_changed() local
192 BlockBackend *blk = child->opaque; in blk_root_activate() local
238 void blk_set_force_allow_inactivate(BlockBackend *blk) in blk_set_force_allow_inactivate()
244 static bool blk_can_inactivate(BlockBackend *blk) in blk_can_inactivate()
265 BlockBackend *blk = child->opaque; in blk_root_inactivate() local
285 BlockBackend *blk = child->opaque; in blk_root_attach() local
300 BlockBackend *blk = child->opaque; in blk_root_detach() local
315 BlockBackend *blk = c->opaque; in blk_root_get_parent_aio_context() local
[all …]
H A Dqapi-system.c45 BlockBackend *blk; in qmp_get_blk() local
79 BlockBackend *blk; in do_open_tray() local
143 BlockBackend *blk; in qmp_blockdev_close_tray() local
175 BlockBackend *blk; in blockdev_remove_medium() local
229 static void qmp_blockdev_insert_anon_medium(BlockBackend *blk, in qmp_blockdev_insert_anon_medium()
277 BlockBackend *blk; in blockdev_insert_medium() local
316 BlockBackend *blk; in qmp_blockdev_change_medium() local
425 BlockBackend *blk; in qmp_block_set_io_throttle() local
518 BlockBackend *blk = qmp_get_blk(NULL, id, errp); in qmp_block_latency_histogram_set() local
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_bitmap.c20 static inline u8 *yaffs_block_bits(struct yaffs_dev *dev, int blk) in yaffs_block_bits()
32 void yaffs_verify_chunk_bit_id(struct yaffs_dev *dev, int blk, int chunk) in yaffs_verify_chunk_bit_id()
43 void yaffs_clear_chunk_bits(struct yaffs_dev *dev, int blk) in yaffs_clear_chunk_bits()
50 void yaffs_clear_chunk_bit(struct yaffs_dev *dev, int blk, int chunk) in yaffs_clear_chunk_bit()
58 void yaffs_set_chunk_bit(struct yaffs_dev *dev, int blk, int chunk) in yaffs_set_chunk_bit()
66 int yaffs_check_chunk_bit(struct yaffs_dev *dev, int blk, int chunk) in yaffs_check_chunk_bit()
74 int yaffs_still_some_chunks(struct yaffs_dev *dev, int blk) in yaffs_still_some_chunks()
87 int yaffs_count_chunk_bits(struct yaffs_dev *dev, int blk) in yaffs_count_chunk_bits()
/openbmc/linux/sound/pci/ctxfi/
Dcthw20k1.c
Dcthw20k2.c
/openbmc/linux/arch/powerpc/lib/
Drheap.c
/openbmc/qemu/tests/unit/
H A Dtest-block-iothread.c114 static void test_sync_op_blk_pread(BlockBackend *blk) in test_sync_op_blk_pread()
128 static void test_sync_op_blk_pwrite(BlockBackend *blk) in test_sync_op_blk_pwrite()
142 static void test_sync_op_blk_preadv(BlockBackend *blk) in test_sync_op_blk_preadv()
157 static void test_sync_op_blk_pwritev(BlockBackend *blk) in test_sync_op_blk_pwritev()
172 static void test_sync_op_blk_preadv_part(BlockBackend *blk) in test_sync_op_blk_preadv_part()
187 static void test_sync_op_blk_pwritev_part(BlockBackend *blk) in test_sync_op_blk_pwritev_part()
202 static void test_sync_op_blk_pwrite_compressed(BlockBackend *blk) in test_sync_op_blk_pwrite_compressed()
216 static void test_sync_op_blk_pwrite_zeroes(BlockBackend *blk) in test_sync_op_blk_pwrite_zeroes()
268 static void test_sync_op_blk_pdiscard(BlockBackend *blk) in test_sync_op_blk_pdiscard()
302 static void test_sync_op_blk_truncate(BlockBackend *blk) in test_sync_op_blk_truncate()
[all …]
H A Dtest-replication.c51 static void test_blk_read(BlockBackend *blk, long pattern, in test_blk_read()
96 static void test_blk_write(BlockBackend *blk, long pattern, int64_t offset, in test_blk_write()
173 BlockBackend *blk; in start_primary() local
201 BlockBackend *blk; in teardown_primary() local
213 BlockBackend *blk; in test_primary_read() local
225 BlockBackend *blk; in test_primary_write() local
237 BlockBackend *blk = NULL; in test_primary_start() local
291 BlockBackend *blk; in start_secondary() local
343 BlockBackend *blk; in teardown_secondary() local
362 BlockBackend *blk; in test_secondary_read() local
[all …]
H A Dtest-blockjob.c33 static BlockJob *mk_job(BlockBackend *blk, const char *id, in mk_job()
59 static BlockJob *do_test_id(BlockBackend *blk, const char *id, in do_test_id()
71 BlockBackend *blk = blk_new(qemu_get_aio_context(), 0, BLK_PERM_ALL); in create_blk() local
92 static void destroy_blk(BlockBackend *blk) in destroy_blk()
94 if (blk_name(blk)[0] != '\0') { in destroy_blk() local
104 BlockBackend *blk[3]; in test_job_ids() local
163 BlockBackend *blk; member
205 BlockBackend *blk; in create_common() local
229 BlockBackend *blk = s->blk; in cancel_common() local
H A Dtest-bdrv-drain.c187 BlockBackend *blk; in test_setup() local
217 test_drv_cb_common(BlockBackend *blk, enum drain_type drain_type, in test_drv_cb_common()
268 BlockBackend *blk = test_setup(); in test_drv_cb_drain_all() local
275 BlockBackend *blk = test_setup(); in test_drv_cb_drain() local
282 BlockBackend *blk = blk_all_next(NULL); in test_drv_cb_co_drain_all_entry() local
288 BlockBackend *blk = test_setup(); in test_drv_cb_co_drain_all() local
295 BlockBackend *blk = blk_all_next(NULL); in test_drv_cb_co_drain_entry() local
301 BlockBackend *blk = test_setup(); in test_drv_cb_co_drain() local
312 test_quiesce_common(BlockBackend *blk, enum drain_type drain_type, in test_quiesce_common()
338 BlockBackend *blk = test_setup(); in test_quiesce_drain_all() local
[all …]
H A Dtest-block-backend.c41 BlockBackend *blk = blk_new(qemu_get_aio_context(), in test_drain_aio_error() local
58 BlockBackend *blk = blk_new(qemu_get_aio_context(), in test_drain_all_aio_error() local
/openbmc/qemu/
H A Dqemu-io-cmds.c58 static int init_check_command(BlockBackend *blk, const cmdinfo_t *ct) in init_check_command()
70 static int command(BlockBackend *blk, const cmdinfo_t *ct, int argc, in command()
341 static void *qemu_io_alloc(BlockBackend *blk, size_t len, int pattern, in qemu_io_alloc()
360 static void qemu_io_free(BlockBackend *blk, void *p, size_t len, in qemu_io_free()
388 static void *qemu_io_alloc_from_file(BlockBackend *blk, size_t len, in qemu_io_alloc_from_file()
496 create_iovec(BlockBackend *blk, QEMUIOVector *qiov, char **argv, int nr_iov, in create_iovec()
545 static int do_pread(BlockBackend *blk, char *buf, int64_t offset, in do_pread()
562 static int do_pwrite(BlockBackend *blk, char *buf, int64_t offset, in do_pwrite()
579 static int do_pwrite_zeroes(BlockBackend *blk, int64_t offset, in do_pwrite_zeroes()
593 static int do_write_compressed(BlockBackend *blk, char *buf, int64_t offset, in do_write_compressed()
[all …]
/openbmc/linux/sound/synth/
Dutil_mem.c
/openbmc/qemu/hw/intc/
H A Dpnv_xive.c75 uint8_t blk = xive->chip->chip_id; in pnv_xive_block_id() local
197 uint64_t vsd, uint8_t blk, in pnv_xive_vst_addr_remote()
224 static uint64_t pnv_xive_vst_addr(PnvXive *xive, uint32_t type, uint8_t blk, in pnv_xive_vst_addr()
250 static int pnv_xive_vst_read(PnvXive *xive, uint32_t type, uint8_t blk, in pnv_xive_vst_read()
274 static int pnv_xive_vst_write(PnvXive *xive, uint32_t type, uint8_t blk, in pnv_xive_vst_write()
304 static int pnv_xive_get_end(XiveRouter *xrtr, uint8_t blk, uint32_t idx, in pnv_xive_get_end()
317 static int pnv_xive_write_end(XiveRouter *xrtr, uint8_t blk, uint32_t idx, in pnv_xive_write_end()
333 uint8_t blk = GETFIELD(VC_EQC_CWATCH_BLOCKID, in pnv_xive_end_update() local
350 uint8_t blk = GETFIELD(VC_EQC_CWATCH_BLOCKID, in pnv_xive_end_cache_load() local
366 static int pnv_xive_get_nvt(XiveRouter *xrtr, uint8_t blk, uint32_t idx, in pnv_xive_get_nvt()
[all …]
H A Dpnv_xive2.c93 uint8_t blk = xive->chip->chip_id; in pnv_xive2_block_id() local
244 static uint64_t pnv_xive2_vst_addr(PnvXive2 *xive, uint32_t type, uint8_t blk, in pnv_xive2_vst_addr()
282 static int pnv_xive2_vst_read(PnvXive2 *xive, uint32_t type, uint8_t blk, in pnv_xive2_vst_read()
306 static int pnv_xive2_vst_write(PnvXive2 *xive, uint32_t type, uint8_t blk, in pnv_xive2_vst_write()
336 static int pnv_xive2_get_pq(Xive2Router *xrtr, uint8_t blk, uint32_t idx, in pnv_xive2_get_pq()
350 static int pnv_xive2_set_pq(Xive2Router *xrtr, uint8_t blk, uint32_t idx, in pnv_xive2_set_pq()
364 static int pnv_xive2_get_end(Xive2Router *xrtr, uint8_t blk, uint32_t idx, in pnv_xive2_get_end()
370 static int pnv_xive2_write_end(Xive2Router *xrtr, uint8_t blk, uint32_t idx, in pnv_xive2_write_end()
446 uint8_t blk; in pnv_xive2_end_update() local
468 uint8_t blk; in pnv_xive2_end_cache_load() local
[all …]
/openbmc/qemu/hw/block/
H A Dblock.c27 static int blk_pread_nonzeroes(BlockBackend *blk, hwaddr size, void *buf) in blk_pread_nonzeroes()
63 bool blk_check_size_and_read_all(BlockBackend *blk, DeviceState *dev, in blk_check_size_and_read_all()
110 BlockBackend *blk = conf->blk; in blkconf_blocksizes() local
207 BlockBackend *blk = conf->blk; in blkconf_apply_backend_options() local
H A Dhd-geometry.c54 static int guess_disk_lchs(BlockBackend *blk, in guess_disk_lchs()
97 static void guess_chs_for_size(BlockBackend *blk, in guess_chs_for_size()
116 void hd_geometry_guess(BlockBackend *blk, in hd_geometry_guess()
/openbmc/u-boot/test/dm/
H A Dblk.c48 struct udevice *blk; in count_blk_devices() local
95 struct udevice *blk, *dev; in dm_test_blk_find() local
151 struct udevice *dev, *blk; in dm_test_blk_get_from_parent() local
/openbmc/linux/drivers/vdpa/vdpa_sim/
Dvdpa_sim_blk.c
/openbmc/qemu/block/export/
H A Dvirtio-blk-handler.c26 virtio_blk_sect_range_ok(BlockBackend *blk, uint32_t block_size, in virtio_blk_sect_range_ok()
56 BlockBackend *blk = handler->blk; in virtio_blk_discard_write_zeroes() local
138 BlockBackend *blk = handler->blk; in virtio_blk_process_req() local
/openbmc/u-boot/cmd/
H A Dblk_common.c66 lbaint_t blk = simple_strtoul(argv[3], NULL, 16); in blk_common_cmd() local
81 lbaint_t blk = simple_strtoul(argv[3], NULL, 16); in blk_common_cmd() local
H A Dmmc.c173 u16 blk, cnt; in do_mmcrpmb_read() local
201 u16 blk, cnt; in do_mmcrpmb_write() local
297 u32 blk, cnt, n; in do_mmc_read() local
321 static lbaint_t mmc_sparse_write(struct sparse_storage *info, lbaint_t blk, in mmc_sparse_write()
330 lbaint_t blk, lbaint_t blkcnt) in mmc_sparse_reserve()
343 u32 blk; in do_mmc_sparse_write() local
390 u32 blk, cnt, n; in do_mmc_write() local
420 u32 blk, cnt, n; in do_mmc_erase() local
/openbmc/qemu/tests/qtest/libqos/
H A Dvhost-user-blk.h40 QVhostUserBlk blk; member
45 QVhostUserBlk blk; member
H A Dvirtio-blk.h37 QVirtioBlk blk; member
42 QVirtioBlk blk; member
/openbmc/linux/fs/affs/
Dbitmap.c

12345678