/openbmc/qemu/block/ |
H A D | block-backend.c | 99 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 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 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/linux/sound/pci/ctxfi/ |
H A D | cthw20k1.c | 157 struct src_rsc_ctrl_blk *blk; in src_get_rsc_ctrl_blk() local 169 static int src_put_rsc_ctrl_blk(void *blk) in src_put_rsc_ctrl_blk() 176 static int src_set_state(void *blk, unsigned int state) in src_set_state() 185 static int src_set_bm(void *blk, unsigned int bm) in src_set_bm() 194 static int src_set_rsr(void *blk, unsigned int rsr) in src_set_rsr() 203 static int src_set_sf(void *blk, unsigned int sf) in src_set_sf() 212 static int src_set_wr(void *blk, unsigned int wr) in src_set_wr() 221 static int src_set_pm(void *blk, unsigned int pm) in src_set_pm() 230 static int src_set_rom(void *blk, unsigned int rom) in src_set_rom() 239 static int src_set_vo(void *blk, unsigned int vo) in src_set_vo() [all …]
|
H A D | cthw20k2.c | 157 struct src_rsc_ctrl_blk *blk; in src_get_rsc_ctrl_blk() local 169 static int src_put_rsc_ctrl_blk(void *blk) in src_put_rsc_ctrl_blk() 176 static int src_set_state(void *blk, unsigned int state) in src_set_state() 185 static int src_set_bm(void *blk, unsigned int bm) in src_set_bm() 194 static int src_set_rsr(void *blk, unsigned int rsr) in src_set_rsr() 203 static int src_set_sf(void *blk, unsigned int sf) in src_set_sf() 212 static int src_set_wr(void *blk, unsigned int wr) in src_set_wr() 221 static int src_set_pm(void *blk, unsigned int pm) in src_set_pm() 230 static int src_set_rom(void *blk, unsigned int rom) in src_set_rom() 239 static int src_set_vo(void *blk, unsigned int vo) in src_set_vo() [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() 630 ice_find_prot_off(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 fv_idx, in ice_find_prot_off() 663 ice_ptg_find_ptype(struct ice_hw *hw, enum ice_block blk, u16 ptype, u8 *ptg) in ice_ptg_find_ptype() 681 static void ice_ptg_alloc_val(struct ice_hw *hw, enum ice_block blk, u8 ptg) in ice_ptg_alloc_val() 697 ice_ptg_remove_ptype(struct ice_hw *hw, enum ice_block blk, u16 ptype, u8 ptg) in ice_ptg_remove_ptype() 744 ice_ptg_add_mv_ptype(struct ice_hw *hw, enum ice_block blk, u16 ptype, u8 ptg) in ice_ptg_add_mv_ptype() 888 ice_vsig_find_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 *vsig) in ice_vsig_find_vsi() 910 static u16 ice_vsig_alloc_val(struct ice_hw *hw, enum ice_block blk, u16 vsig) in ice_vsig_alloc_val() 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() [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() 1313 ice_flow_rem_entry_sync(struct ice_hw *hw, enum ice_block __always_unused blk, in ice_flow_rem_entry_sync() 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() 1521 ice_flow_add_prof(struct ice_hw *hw, enum ice_block blk, enum ice_flow_dir dir, in ice_flow_add_prof() 1558 int ice_flow_rem_prof(struct ice_hw *hw, enum ice_block blk, u64 prof_id) in ice_flow_rem_prof() [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 145 static inline void release_slot(rh_info_t * info, rh_block_t * blk) in release_slot() 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 530 rh_block_t *blk, *newblk1, *newblk2; in rh_alloc_fixed() 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() 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 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 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 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
|
H A D | test-bdrv-drain.c | 187 BlockBackend *blk; in test_setup() local 215 test_drv_cb_common(BlockBackend *blk, enum drain_type drain_type, in test_drv_cb_common() 266 BlockBackend *blk = test_setup(); in test_drv_cb_drain_all() local 273 BlockBackend *blk = test_setup(); in test_drv_cb_drain() local 280 BlockBackend *blk = blk_all_next(NULL); in test_drv_cb_co_drain_all_entry() local 286 BlockBackend *blk = test_setup(); in test_drv_cb_co_drain_all() local 293 BlockBackend *blk = blk_all_next(NULL); in test_drv_cb_co_drain_entry() local 299 BlockBackend *blk = test_setup(); in test_drv_cb_co_drain() local 310 test_quiesce_common(BlockBackend *blk, enum drain_type drain_type, in test_quiesce_common() 336 BlockBackend *blk = test_setup(); in test_quiesce_drain_all() local [all …]
|
/openbmc/qemu/ |
H A D | qemu-io-cmds.c | 58 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/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 258 int snd_emu10k1_memblk_map(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) in snd_emu10k1_memblk_map() 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 [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 | 56 static ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in read_blk() 65 static ssize_t write_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in write_blk() 119 int ret, blk; in get_free_dqblk() local 149 static int put_free_dqblk(struct qtree_mem_dqinfo *info, char *buf, uint blk) in put_free_dqblk() 167 uint blk) in remove_free_dqentry() 214 uint blk) in insert_free_dqentry() 262 uint blk, i; in find_free_dqentry() local 480 uint blk) in free_dqentry() 623 struct dquot *dquot, uint blk) in find_block_dqentry() 666 uint blk; in find_tree_dqentry() local [all …]
|
/openbmc/qemu/hw/intc/ |
H A D | pnv_xive.c | 76 uint8_t blk = xive->chip->chip_id; in pnv_xive_block_id() local 198 uint64_t vsd, uint8_t blk, in pnv_xive_vst_addr_remote() 225 static uint64_t pnv_xive_vst_addr(PnvXive *xive, uint32_t type, uint8_t blk, in pnv_xive_vst_addr() 251 static int pnv_xive_vst_read(PnvXive *xive, uint32_t type, uint8_t blk, in pnv_xive_vst_read() 275 static int pnv_xive_vst_write(PnvXive *xive, uint32_t type, uint8_t blk, in pnv_xive_vst_write() 305 static int pnv_xive_get_end(XiveRouter *xrtr, uint8_t blk, uint32_t idx, in pnv_xive_get_end() 318 static int pnv_xive_write_end(XiveRouter *xrtr, uint8_t blk, uint32_t idx, in pnv_xive_write_end() 334 uint8_t blk = GETFIELD(VC_EQC_CWATCH_BLOCKID, in pnv_xive_end_update() local 351 uint8_t blk = GETFIELD(VC_EQC_CWATCH_BLOCKID, in pnv_xive_end_cache_load() local 367 static int pnv_xive_get_nvt(XiveRouter *xrtr, uint8_t blk, uint32_t idx, in pnv_xive_get_nvt() [all …]
|
H A D | pnv_xive2.c | 94 uint8_t blk = xive->chip->chip_id; in pnv_xive2_block_id() local 110 static PnvXive2 *pnv_xive2_get_remote(uint8_t blk) in pnv_xive2_get_remote() 234 static uint64_t pnv_xive2_vst_addr(PnvXive2 *xive, uint32_t type, uint8_t blk, in pnv_xive2_vst_addr() 273 static int pnv_xive2_vst_read(PnvXive2 *xive, uint32_t type, uint8_t blk, in pnv_xive2_vst_read() 297 static int pnv_xive2_vst_write(PnvXive2 *xive, uint32_t type, uint8_t blk, in pnv_xive2_vst_write() 327 static int pnv_xive2_get_pq(Xive2Router *xrtr, uint8_t blk, uint32_t idx, in pnv_xive2_get_pq() 341 static int pnv_xive2_set_pq(Xive2Router *xrtr, uint8_t blk, uint32_t idx, in pnv_xive2_set_pq() 355 static int pnv_xive2_get_end(Xive2Router *xrtr, uint8_t blk, uint32_t idx, in pnv_xive2_get_end() 361 static int pnv_xive2_write_end(Xive2Router *xrtr, uint8_t blk, uint32_t idx, in pnv_xive2_write_end() 437 uint8_t blk; in pnv_xive2_end_update() 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() 62 bool blk_check_size_and_read_all(BlockBackend *blk, DeviceState *dev, in blk_check_size_and_read_all() 105 BlockBackend *blk = conf->blk; in blkconf_blocksizes() local 202 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 989 static void qup_i2c_clear_blk_v1(struct qup_i2c_block *blk) in qup_i2c_clear_blk_v1() 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 [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
|