/openbmc/qemu/block/ |
H A D | block-backend.c | 99 BlockBackend *blk; member 169 BlockBackend *blk = opaque; in blk_vm_state_changed() local 357 BlockBackend *blk; in blk_new() local 430 BlockBackend *blk; in blk_new_open() local 575 BlockBackend *blk = NULL; in blk_remove_all_bs() local 762 BlockBackend *blk = NULL; in blk_by_name() local 854 BlockBackend *blk = NULL; in blk_by_legacy_dinfo() local 1080 BlockBackend *blk = NULL; in blk_by_dev() local 1514 BlockBackend *blk; member 2109 BlockBackend *blk = NULL; in blk_drain_all() local [all …]
|
H A D | qapi-sysemu.c | 45 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 236 static void qmp_blockdev_insert_anon_medium(BlockBackend *blk, in qmp_blockdev_insert_anon_medium() 289 BlockBackend *blk; in blockdev_insert_medium() local 328 BlockBackend *blk; in qmp_blockdev_change_medium() local 439 BlockBackend *blk; in qmp_block_set_io_throttle() local 539 BlockBackend *blk = qmp_get_blk(NULL, id, errp); in qmp_block_latency_histogram_set() local
|
/openbmc/linux/sound/pci/ctxfi/ |
H A D | cthw20k1.c | 157 struct src_rsc_ctrl_blk *blk; in src_get_rsc_ctrl_blk() local 341 static int src_set_dirty_all(void *blk) in src_set_dirty_all() 483 struct src_mgr_ctrl_blk *blk; in src_mgr_get_ctrl_blk() local 504 struct srcimp_mgr_ctrl_blk *blk; in srcimp_mgr_get_ctrl_blk() local 677 static int amixer_get_y(void *blk) in amixer_get_y() 691 struct amixer_rsc_ctrl_blk *blk; in amixer_rsc_get_ctrl_blk() local 898 struct dai_ctrl_blk *blk; in dai_get_ctrl_blk() local 910 static int dai_put_ctrl_blk(void *blk) in dai_put_ctrl_blk() 947 struct dao_ctrl_blk *blk; in dao_get_ctrl_blk() local 959 static int dao_put_ctrl_blk(void *blk) in dao_put_ctrl_blk() [all …]
|
H A D | cthw20k2.c | 157 struct src_rsc_ctrl_blk *blk; in src_get_rsc_ctrl_blk() local 341 static int src_set_dirty_all(void *blk) in src_set_dirty_all() 483 struct src_mgr_ctrl_blk *blk; in src_mgr_get_ctrl_blk() local 504 struct srcimp_mgr_ctrl_blk *blk; in srcimp_mgr_get_ctrl_blk() local 679 static int amixer_get_y(void *blk) in amixer_get_y() 693 struct amixer_rsc_ctrl_blk *blk; in amixer_rsc_get_ctrl_blk() local 882 struct dai_ctrl_blk *blk; in dai_get_ctrl_blk() local 894 static int dai_put_ctrl_blk(void *blk) in dai_put_ctrl_blk() 932 struct dao_ctrl_blk *blk; in dao_get_ctrl_blk() local 944 static int dao_put_ctrl_blk(void *blk) in dao_put_ctrl_blk() [all …]
|
/openbmc/u-boot/fs/yaffs2/ |
H A D | yaffs_bitmap.c | 20 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/drivers/net/ethernet/intel/ice/ |
H A D | ice_flex_pipe.c | 84 static u32 ice_sect_id(enum ice_block blk, enum ice_sect sect) in ice_sect_id() 930 static u16 ice_vsig_alloc(struct ice_hw *hw, enum ice_block blk) in ice_vsig_alloc() 957 ice_find_dup_props_vsig(struct ice_hw *hw, enum ice_block blk, in ice_find_dup_props_vsig() 1726 ice_write_es(struct ice_hw *hw, enum ice_block blk, u8 prof_id, in ice_write_es() 2459 ice_prof_bld_es(struct ice_hw *hw, enum ice_block blk, in ice_prof_bld_es() 2497 ice_prof_bld_tcam(struct ice_hw *hw, enum ice_block blk, in ice_prof_bld_tcam() 2604 ice_upd_prof_hw(struct ice_hw *hw, enum ice_block blk, in ice_upd_prof_hw() 3167 ice_rem_prof_id(struct ice_hw *hw, enum ice_block blk, in ice_rem_prof_id() 3193 ice_rem_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig, in ice_rem_vsig() 3361 ice_get_prof(struct ice_hw *hw, enum ice_block blk, u64 hdl, in ice_get_prof() [all …]
|
H A D | ice_flow.c | 589 enum ice_block blk; member 1250 ice_flow_find_prof_conds(struct ice_hw *hw, enum ice_block blk, in ice_flow_find_prof_conds() 1295 ice_flow_find_prof_id(struct ice_hw *hw, enum ice_block blk, u64 prof_id) in ice_flow_find_prof_id() 1340 ice_flow_add_prof_sync(struct ice_hw *hw, enum ice_block blk, in ice_flow_add_prof_sync() 1417 ice_flow_rem_prof_sync(struct ice_hw *hw, enum ice_block blk, in ice_flow_rem_prof_sync() 1459 ice_flow_assoc_prof(struct ice_hw *hw, enum ice_block blk, in ice_flow_assoc_prof() 1490 ice_flow_disassoc_prof(struct ice_hw *hw, enum ice_block blk, in ice_flow_disassoc_prof() 1592 ice_flow_add_entry(struct ice_hw *hw, enum ice_block blk, u64 prof_id, in ice_flow_add_entry() 1933 const enum ice_block blk = ICE_BLK_RSS; in ice_rem_vsi_rss_cfg() local 2058 const enum ice_block blk = ICE_BLK_RSS; in ice_add_rss_cfg_sync() local [all …]
|
/openbmc/linux/arch/powerpc/lib/ |
H A D | rheap.c | 47 rh_block_t *block, *blk; in grow() local 123 rh_block_t *blk; in get_slot() local 153 rh_block_t *blk; in attach_free_block() local 234 rh_block_t *blk; in attach_taken_block() local 304 rh_block_t *blk; in rh_init() local 331 rh_block_t *blk; in rh_attach_region() local 373 rh_block_t *blk, *newblk; in rh_detach_region() local 445 rh_block_t *blk; in rh_alloc_align() local 614 rh_block_t *blk, *blk2; in rh_free() local 643 rh_block_t *blk; in rh_get_stats() local [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-block-iothread.c | 114 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() 356 static void test_sync_op_blk_flush(BlockBackend *blk) in test_sync_op_blk_flush() 470 BlockBackend *blk; in test_sync_op() local 555 BlockBackend *blk; in test_attach_blockjob() local 623 BlockBackend *blk; in test_propagate_basic() local 689 BlockBackend *blk; in test_propagate_diamond() local 757 BlockBackend *blk; in test_propagate_mirror() local 835 BlockBackend *blk; in test_attach_second_node() local [all …]
|
H A D | test-replication.c | 51 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 217 BlockBackend *blk; in test_primary_read() local 229 BlockBackend *blk; in test_primary_write() local 241 BlockBackend *blk = NULL; in test_primary_start() local 295 BlockBackend *blk; in start_secondary() local 347 BlockBackend *blk; in teardown_secondary() local 373 BlockBackend *blk; in test_secondary_read() local [all …]
|
H A D | test-blockjob.c | 33 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 460 BlockBackend *blk; in test_complete_in_standby() local
|
H A D | test-bdrv-drain.c | 193 BlockBackend *blk; in test_setup() local 278 BlockBackend *blk = test_setup(); in test_drv_cb_drain_all() local 285 BlockBackend *blk = test_setup(); in test_drv_cb_drain() local 298 BlockBackend *blk = test_setup(); in test_drv_cb_co_drain_all() local 388 BlockBackend *blk; in test_nested() local 542 BlockBackend *blk; in test_iothread_common() local 1020 BlockBackend *blk; member 1028 BlockBackend *blk = dbdd->blk; in test_co_delete_by_drain() local 1075 BlockBackend *blk; in do_test_delete_by_drain() local 1257 BlockBackend *blk; in test_detach_indirect() local [all …]
|
/openbmc/qemu/ |
H A D | qemu-io-cmds.c | 579 static int do_pwrite_zeroes(BlockBackend *blk, int64_t offset, in do_pwrite_zeroes() 708 static int read_f(BlockBackend *blk, int argc, char **argv) in read_f() 905 static int readv_f(BlockBackend *blk, int argc, char **argv) in readv_f() 1048 static int write_f(BlockBackend *blk, int argc, char **argv) in write_f() 1346 BlockBackend *blk; member 1721 static int flush_f(BlockBackend *blk, int argc, char **argv) in flush_f() 2031 static int info_f(BlockBackend *blk, int argc, char **argv) in info_f() 2175 static int alloc_f(BlockBackend *blk, int argc, char **argv) in alloc_f() 2265 static int map_f(BlockBackend *blk, int argc, char **argv) in map_f() 2676 static int help_f(BlockBackend *blk, int argc, char **argv) in help_f() [all …]
|
/openbmc/linux/sound/pci/emu10k1/ |
H A D | memory.c | 76 static void emu10k1_memblk_init(struct snd_emu10k1_memblk *blk) in emu10k1_memblk_init() 104 struct snd_emu10k1_memblk *blk = get_emu10k1_memblk(pos, mapped_link); in search_empty_map_area() local 134 static int map_memblk(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) in map_memblk() 165 static int unmap_memblk(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) in unmap_memblk() 209 struct snd_emu10k1_memblk *blk; in search_empty() local 306 struct snd_emu10k1_memblk *blk; in snd_emu10k1_alloc_pages() local 361 int snd_emu10k1_free_pages(struct snd_emu10k1 *emu, struct snd_util_memblk *blk) in snd_emu10k1_free_pages() 407 struct snd_emu10k1_memblk *blk; in snd_emu10k1_synth_alloc() local 435 struct snd_emu10k1_memblk *blk = (struct snd_emu10k1_memblk *)memblk; in snd_emu10k1_synth_free() local 453 struct snd_emu10k1_memblk *blk, in get_single_page_range() [all …]
|
/openbmc/linux/sound/synth/ |
H A D | util_mem.c | 62 struct snd_util_memblk *blk; in __snd_util_mem_alloc() local 100 struct snd_util_memblk *blk; in __snd_util_memblk_new() local 127 struct snd_util_memblk *blk; in snd_util_mem_alloc() local 140 __snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk) in __snd_util_mem_free() 151 int snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk) in snd_util_mem_free()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_mem_input.h | 158 #define MI_GFX6_TILE_MASK_SH_LIST(mask_sh, blk)\ argument 169 #define MI_GFX8_TILE_MASK_SH_LIST(mask_sh, blk)\ argument 180 #define MI_DCP_MASK_SH_LIST(mask_sh, blk)\ argument 205 #define MI_DCP_MASK_SH_LIST_DCE6(mask_sh, blk)\ argument 229 #define MI_DCP_DCE11_MASK_SH_LIST(mask_sh, blk)\ argument 232 #define MI_DCP_PTE_MASK_SH_LIST(mask_sh, blk)\ argument 240 #define MI_DMIF_PG_MASK_SH_LIST_DCE6(mask_sh, blk)\ argument 249 #define MI_DMIF_PG_MASK_SH_DCE6(mask_sh, blk)\ argument 266 #define MI_DMIF_PG_MASK_SH_LIST(mask_sh, blk)\ argument 277 #define MI_DMIF_PG_MASK_SH_DCE(mask_sh, blk)\ argument [all …]
|
H A D | dce_hwseq.h | 61 #define HSWEQ_DCN_PIXEL_RATE_REG_LIST(blk, inst) \ argument 65 #define HWSEQ_PIXEL_RATE_REG_LIST(blk) \ argument 73 #define HWSEQ_PIXEL_RATE_REG_LIST_201(blk) \ argument 77 #define HWSEQ_PHYPLL_REG_LIST(blk) \ argument 85 #define HWSEQ_PIXEL_RATE_REG_LIST_3(blk) \ argument 93 #define HWSEQ_PHYPLL_REG_LIST_3(blk) \ argument 101 #define HWSEQ_PIXEL_RATE_REG_LIST_302(blk) \ argument 108 #define HWSEQ_PHYPLL_REG_LIST_302(blk) \ argument 115 #define HWSEQ_PIXEL_RATE_REG_LIST_303(blk) \ argument 119 #define HWSEQ_PHYPLL_REG_LIST_303(blk) \ argument [all …]
|
/openbmc/linux/fs/quota/ |
H A D | quota_tree.c | 50 static ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in read_blk() 59 static ssize_t write_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in write_blk() 113 int ret, blk; in get_free_dqblk() local 161 uint blk) in remove_free_dqentry() 208 uint blk) in insert_free_dqentry() 256 uint blk, i; in find_free_dqentry() local 449 uint blk) in free_dqentry() 514 uint *blk, int depth) in remove_tree() 578 struct dquot *dquot, uint blk) in find_block_dqentry() 616 struct dquot *dquot, uint blk, int depth) in find_tree_dqentry() [all …]
|
/openbmc/qemu/hw/intc/ |
H A D | pnv_xive.c | 77 uint8_t blk = xive->chip->chip_id; in pnv_xive_block_id() local 335 uint8_t blk = GETFIELD(VC_EQC_CWATCH_BLOCKID, in pnv_xive_end_update() local 352 uint8_t blk = GETFIELD(VC_EQC_CWATCH_BLOCKID, in pnv_xive_end_cache_load() local 383 uint8_t blk = GETFIELD(PC_VPC_CWATCH_BLOCKID, in pnv_xive_nvt_update() local 400 uint8_t blk = GETFIELD(PC_VPC_CWATCH_BLOCKID, in pnv_xive_nvt_cache_load() local 569 uint8_t blk = pnv_xive_block_id(xive); in pnv_xive_notify() local 593 static uint32_t pnv_xive_nr_ipis(PnvXive *xive, uint8_t blk) in pnv_xive_nr_ipis() 606 uint8_t blk = pnv_xive_block_id(xive); in pnv_xive_vst_per_subpage() local 863 uint8_t blk = GETFIELD(VST_TABLE_BLOCK, in pnv_xive_vst_set_data() local 1443 uint8_t blk; in pnv_xive_ic_hw_trigger() local [all …]
|
H A D | pnv_xive2.c | 84 uint8_t blk = xive->chip->chip_id; in pnv_xive2_block_id() local 100 static PnvXive2 *pnv_xive2_get_remote(uint8_t blk) in pnv_xive2_get_remote() 335 uint8_t blk = GETFIELD(VC_ENDC_WATCH_BLOCK_ID, in pnv_xive2_end_update() local 385 uint8_t blk = GETFIELD(PC_NXC_WATCH_BLOCK_ID, in pnv_xive2_nvp_update() local 403 uint8_t blk = GETFIELD(PC_NXC_WATCH_BLOCK_ID, in pnv_xive2_nvp_cache_load() local 565 uint8_t blk = pnv_xive2_block_id(xive); in pnv_xive2_notify() local 689 uint8_t blk = GETFIELD(VC_VSD_TABLE_ADDRESS, in pnv_xive2_vst_set_data() local 1450 uint8_t blk; in pnv_xive2_ic_hw_trigger() local 2062 uint8_t blk = pnv_xive2_block_id(xive); in pnv_xive2_nr_esbs() local 2074 uint8_t blk = pnv_xive2_block_id(xive); in pnv_xive2_vst_per_subpage() local [all …]
|
/openbmc/qemu/hw/block/ |
H A D | block.c | 26 static int blk_pread_nonzeroes(BlockBackend *blk, hwaddr size, void *buf) in blk_pread_nonzeroes() 64 bool blk_check_size_and_read_all(BlockBackend *blk, void *buf, hwaddr size, in blk_check_size_and_read_all() 100 BlockBackend *blk = conf->blk; in blkconf_blocksizes() local 197 BlockBackend *blk = conf->blk; in blkconf_apply_backend_options() local
|
/openbmc/linux/sound/pci/trident/ |
H A D | trident_memory.c | 101 #define firstpg(blk) (((struct snd_trident_memblk_arg *)snd_util_memblk_argptr(blk))->first_page) argument 102 #define lastpg(blk) (((struct snd_trident_memblk_arg *)snd_util_memblk_argptr(blk))->last_page) argument 110 struct snd_util_memblk *blk; in search_empty() local 161 struct snd_util_memblk *blk; in snd_trident_alloc_sg_pages() local 206 struct snd_util_memblk *blk; in snd_trident_alloc_cont_pages() local 261 struct snd_util_memblk *blk) in snd_trident_free_pages()
|
/openbmc/u-boot/test/dm/ |
H A D | blk.c | 48 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/i2c/busses/ |
H A D | i2c-qup.c | 241 struct qup_i2c_block blk; member 283 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_interrupt() local 458 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_write_tx_fifo_v1() local 919 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_read_rx_fifo_v1() local 956 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_conf_v1() local 998 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_conf_xfer_v1() local 1042 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_write_one() local 1053 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_read_one() local 1125 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_conf_count_v2() local 1156 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_conf_mode_v2() local [all …]
|
/openbmc/linux/drivers/vdpa/vdpa_sim/ |
H A D | vdpa_sim_blk.c | 67 static void vdpasim_blk_buffer_lock(struct vdpasim_blk *blk) in vdpasim_blk_buffer_lock() 73 static void vdpasim_blk_buffer_unlock(struct vdpasim_blk *blk) in vdpasim_blk_buffer_unlock() 112 struct vdpasim_blk *blk = sim_to_blk(vdpasim); in vdpasim_blk_handle_req() local 394 struct vdpasim_blk *blk = sim_to_blk(vdpasim); in vdpasim_blk_free() local 413 struct vdpasim_blk *blk; in vdpasim_blk_dev_add() local
|