Home
last modified time | relevance | path

Searched refs:data_block (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dhv_vhca.c319 struct mlx5_hv_vhca_data_block *data_block, in mlx5_hv_vhca_data_block_prepare() argument
322 int bytes = min_t(int, (int)sizeof(data_block->data), len); in mlx5_hv_vhca_data_block_prepare()
324 data_block->sequence = agent->seq; in mlx5_hv_vhca_data_block_prepare()
325 data_block->offset = (*offset)++; in mlx5_hv_vhca_data_block_prepare()
326 memcpy(data_block->data, src, bytes); in mlx5_hv_vhca_data_block_prepare()
345 struct mlx5_hv_vhca_data_block data_block = {0}; in mlx5_hv_vhca_agent_write() local
348 bytes = mlx5_hv_vhca_data_block_prepare(agent, &data_block, in mlx5_hv_vhca_agent_write()
354 err = mlx5_hv_write_config(agent->hv_vhca->dev, &data_block, in mlx5_hv_vhca_agent_write()
355 sizeof(data_block), offset); in mlx5_hv_vhca_agent_write()
/Linux-v5.4/fs/squashfs/
Dfile.c228 u64 *index_block, int *index_offset, u64 *data_block) in fill_meta_index() argument
259 cur_data_block = meta_entry->data_block; in fill_meta_index()
295 meta_entry->data_block = cur_data_block; in fill_meta_index()
309 *data_block = cur_data_block; in fill_meta_index()
Dsquashfs_fs.h212 u64 data_block; member
/Linux-v5.4/drivers/gpu/drm/radeon/
Datom.c244 val = gctx->data_block; in atom_get_src_int()
272 if (gctx->data_block) in atom_get_src_int()
273 DEBUG("ID[0x%04X+%04X]", idx, gctx->data_block); in atom_get_src_int()
277 val = U32(idx + gctx->data_block); in atom_get_src_int()
514 gctx->data_block = val; in atom_put_dst()
839 ctx->ctx->data_block = 0; in atom_op_setdatablock()
841 ctx->ctx->data_block = ctx->start; in atom_op_setdatablock()
843 ctx->ctx->data_block = U16(ctx->ctx->data_table + 4 + 2 * idx); in atom_op_setdatablock()
844 SDEBUG(" base: 0x%04X\n", ctx->ctx->data_block); in atom_op_setdatablock()
1225 ctx->data_block = 0; in atom_execute_table_scratch_unlocked()
Datom.h132 uint16_t data_block; member
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Datom.c238 val = gctx->data_block; in atom_get_src_int()
266 if (gctx->data_block) in atom_get_src_int()
267 DEBUG("ID[0x%04X+%04X]", idx, gctx->data_block); in atom_get_src_int()
271 val = U32(idx + gctx->data_block); in atom_get_src_int()
508 gctx->data_block = val; in atom_put_dst()
868 ctx->ctx->data_block = 0; in atom_op_setdatablock()
870 ctx->ctx->data_block = ctx->start; in atom_op_setdatablock()
872 ctx->ctx->data_block = U16(ctx->ctx->data_table + 4 + 2 * idx); in atom_op_setdatablock()
873 SDEBUG(" base: 0x%04X\n", ctx->ctx->data_block); in atom_op_setdatablock()
1268 ctx->data_block = 0; in amdgpu_atom_execute_table()
Datom.h134 uint16_t data_block; member
/Linux-v5.4/drivers/md/
Ddm-thin.c819 dm_block_t data_block; member
1010 r = dm_thin_insert_block(tc->td, m->virt_begin, m->data_block); in process_prepared_mapping()
1024 inc_remap_and_issue_cell(tc, m->cell, m->data_block); in process_prepared_mapping()
1028 remap_and_issue(tc, m->cell->holder, m->data_block); in process_prepared_mapping()
1029 inc_remap_and_issue_cell(tc, m->cell, m->data_block); in process_prepared_mapping()
1088 dm_block_t b = m->data_block, e, end = m->data_block + m->virt_end - m->virt_begin; in passdown_double_checking_shared_status()
1153 dm_block_t data_end = m->data_block + (m->virt_end - m->virt_begin); in process_prepared_discard_passdown_pt1()
1173 r = dm_pool_inc_data_range(pool->pmd, m->data_block, data_end); in process_prepared_discard_passdown_pt1()
1198 r = issue_discard(&op, m->data_block, data_end); in process_prepared_discard_passdown_pt1()
1214 r = dm_pool_dec_data_range(pool->pmd, m->data_block, in process_prepared_discard_passdown_pt2()
[all …]
Ddm-thin-metadata.h167 dm_block_t data_block);
Ddm-thin-metadata.c1587 dm_block_t data_block) in __insert() argument
1594 value = cpu_to_le64(pack_block_time(data_block, pmd->time)); in __insert()
1610 dm_block_t data_block) in dm_thin_insert_block() argument
1616 r = __insert(td, block, data_block); in dm_thin_insert_block()
/Linux-v5.4/sound/firewire/
Damdtp-stream.c900 unsigned int data_block; in amdtp_stream_start() member
930 s->ctx_data.rx.data_block_state = entry->data_block; in amdtp_stream_start()
/Linux-v5.4/arch/sparc/kernel/
Dmdesc.c623 static void *data_block(struct mdesc_hdr *mdesc) in data_block() function
662 void *data = data_block(&hp->mdesc); in mdesc_get_property()