Home
last modified time | relevance | path

Searched refs:start_block (Results 1 – 23 of 23) sorted by relevance

/drivers/md/dm-vdo/indexer/
A Dindex-layout.c116 u64 start_block; member
373 .start_block = start_block, in setup_sub_index()
380 .start_block = next_block, in setup_sub_index()
390 .start_block = next_block, in setup_sub_index()
426 .start_block = next_block, in initialize_layout()
589 .start_block = next_block, in reset_index_save_layout()
599 .start_block = next_block, in reset_index_save_layout()
979 .start_block = next_block, in instantiate_index_save_layout()
1003 .start_block = next_block, in instantiate_index_save_layout()
1012 .start_block = next_block, in instantiate_index_save_layout()
[all …]
/drivers/infiniband/hw/mlx5/
A Dumr.c688 size_t start_block, size_t nblocks) in _mlx5r_umr_update_mr_pas() argument
709 if (start_block > total_blocks) in _mlx5r_umr_update_mr_pas()
725 offset = (u64)start_block * ent_size; in _mlx5r_umr_update_mr_pas()
736 if (cur_block_idx < start_block) { in _mlx5r_umr_update_mr_pas()
801 size_t start_block, in mlx5r_umr_update_data_direct_ksm_pas_range() argument
809 return _mlx5r_umr_update_mr_pas(mr, flags, true, start_block, nblocks); in mlx5r_umr_update_data_direct_ksm_pas_range()
819 size_t start_block, size_t nblocks) in mlx5r_umr_update_mr_pas_range() argument
824 return _mlx5r_umr_update_mr_pas(mr, flags, false, start_block, nblocks); in mlx5r_umr_update_mr_pas_range()
971 size_t start_block, size_t nblocks, bool dd) in _mlx5r_dmabuf_umr_update_pas() argument
975 start_block, in _mlx5r_dmabuf_umr_update_pas()
[all …]
A Dumr.h99 size_t start_block,
103 size_t start_block, size_t nblocks);
/drivers/media/test-drivers/vivid/
A Dvivid-vid-common.c1105 if (edid->start_block == 0 && edid->blocks == 0) { in vidioc_g_edid()
1111 if (edid->start_block >= dev_rx->edid_blocks) in vidioc_g_edid()
1113 if (edid->blocks > dev_rx->edid_blocks - edid->start_block) in vidioc_g_edid()
1114 edid->blocks = dev_rx->edid_blocks - edid->start_block; in vidioc_g_edid()
1116 memcpy(edid->edid, dev_rx->edid + edid->start_block * 128, edid->blocks * 128); in vidioc_g_edid()
1121 loc >= edid->start_block * 128 && in vidioc_g_edid()
1122 loc < (edid->start_block + edid->blocks) * 128) { in vidioc_g_edid()
1126 loc -= edid->start_block * 128; in vidioc_g_edid()
A Dvivid-vid-cap.c1613 if (dev->input_type[edid->pad] != HDMI || edid->start_block) in vidioc_s_edid()
/drivers/media/i2c/adv748x/
A Dadv748x-hdmi.c469 if (edid->start_block == 0 && edid->blocks == 0) { in adv748x_hdmi_get_edid()
474 if (edid->start_block >= hdmi->edid.blocks) in adv748x_hdmi_get_edid()
477 if (edid->start_block + edid->blocks > hdmi->edid.blocks) in adv748x_hdmi_get_edid()
478 edid->blocks = hdmi->edid.blocks - edid->start_block; in adv748x_hdmi_get_edid()
480 memcpy(edid->edid, hdmi->edid.edid + edid->start_block * 128, in adv748x_hdmi_get_edid()
518 if (edid->start_block != 0) in adv748x_hdmi_set_edid()
/drivers/hwtracing/intel_th/
A Dmsu.c99 struct scatterlist *start_block; member
491 if (iter->start_block) in msc_iter_block_start()
494 iter->start_block = msc_win_oldest_sg(iter->win); in msc_iter_block_start()
495 iter->block = iter->start_block; in msc_iter_block_start()
518 iter->start_block = NULL; in msc_iter_win_start()
528 iter->start_block = NULL; in msc_iter_win_advance()
545 if (iter->wrap_count && iter->block == iter->start_block) { in msc_iter_block_advance()
564 if (!iter->wrap_count && iter->block == iter->start_block) in msc_iter_block_advance()
621 if (iter->block == iter->start_block && iter->wrap_count == 2) { in msc_buffer_iterate()
/drivers/s390/block/
A Ddasd_diag.h63 sblocknum_t start_block; member
/drivers/infiniband/hw/hfi1/
A Dmad.c985 u32 start_block = am & 0x7ff; in __subn_get_opa_pkeytable() local
995 port, start_block, n_blocks_req); in __subn_get_opa_pkeytable()
1013 start_block, n_blocks_req, n_blocks_avail, in __subn_get_opa_pkeytable()
1022 if (start_block == 0) { in __subn_get_opa_pkeytable()
1684 u32 start_block = am & 0x7ff; in __subn_set_opa_pkeytable() local
1694 port, start_block, n_blocks_sent); in __subn_set_opa_pkeytable()
1711 start_block, n_blocks_sent, n_blocks_avail, in __subn_set_opa_pkeytable()
3893 u32 start_block = OPA_AM_START_BLK(am); in __subn_get_opa_cc_table() local
3917 sentry = start_block * IB_CCT_ENTRIES; in __subn_get_opa_cc_table()
3944 u32 start_block = OPA_AM_START_BLK(am); in __subn_set_opa_cc_table() local
[all …]
/drivers/md/dm-vdo/
A Dencodings.h89 physical_block_number_t start_block; member
803 return geometry.regions[VDO_INDEX_REGION].start_block; in vdo_get_index_region_start()
815 return geometry.regions[VDO_DATA_REGION].start_block; in vdo_get_data_region_start()
A Dencodings.c272 physical_block_number_t start_block; in decode_volume_geometry() local
276 decode_u64_le(buffer, offset, &start_block); in decode_volume_geometry()
280 .start_block = start_block, in decode_volume_geometry()
/drivers/media/i2c/
A Dtc358743.c1782 if (edid->start_block == 0 && edid->blocks == 0) { in tc358743_g_edid()
1790 if (edid->start_block >= state->edid_blocks_written || in tc358743_g_edid()
1794 if (edid->start_block + edid->blocks > state->edid_blocks_written) in tc358743_g_edid()
1795 edid->blocks = state->edid_blocks_written - edid->start_block; in tc358743_g_edid()
1797 i2c_rd(sd, EDID_RAM + (edid->start_block * EDID_BLOCK_SIZE), edid->edid, in tc358743_g_edid()
1813 __func__, edid->pad, edid->start_block, edid->blocks); in tc358743_s_edid()
1820 if (edid->start_block != 0) in tc358743_s_edid()
A Dadv7511-v4l2.c1192 if (edid->start_block == 0 && edid->blocks == 0) { in adv7511_get_edid()
1200 if (edid->start_block >= state->edid.blocks) in adv7511_get_edid()
1203 if (edid->start_block + edid->blocks > state->edid.blocks) in adv7511_get_edid()
1204 edid->blocks = state->edid.blocks - edid->start_block; in adv7511_get_edid()
1206 memcpy(edid->edid, &state->edid.data[edid->start_block * 128], in adv7511_get_edid()
A Dtda1997x.c1848 if (edid->start_block == 0 && edid->blocks == 0) { in tda1997x_get_edid()
1856 if (edid->start_block >= state->edid.blocks) in tda1997x_get_edid()
1859 if (edid->start_block + edid->blocks > state->edid.blocks) in tda1997x_get_edid()
1860 edid->blocks = state->edid.blocks - edid->start_block; in tda1997x_get_edid()
1862 memcpy(edid->edid, state->edid.edid + edid->start_block * 128, in tda1997x_get_edid()
1876 if (edid->start_block != 0) in tda1997x_set_edid()
A Dadv7604.c2298 if (edid->start_block == 0 && edid->blocks == 0) { in adv76xx_get_edid()
2306 if (edid->start_block >= state->edid.blocks) in adv76xx_get_edid()
2309 if (edid->start_block + edid->blocks > state->edid.blocks) in adv76xx_get_edid()
2310 edid->blocks = state->edid.blocks - edid->start_block; in adv76xx_get_edid()
2312 memcpy(edid->edid, data + edid->start_block * 128, edid->blocks * 128); in adv76xx_get_edid()
2330 if (edid->start_block != 0) in adv76xx_set_edid()
A Dadv7842.c2483 if (edid->start_block == 0 && edid->blocks == 0) { in adv7842_get_edid()
2491 if (edid->start_block >= blocks) in adv7842_get_edid()
2494 if (edid->start_block + edid->blocks > blocks) in adv7842_get_edid()
2495 edid->blocks = blocks - edid->start_block; in adv7842_get_edid()
2497 memcpy(edid->edid, data + edid->start_block * 128, edid->blocks * 128); in adv7842_get_edid()
2519 if (e->start_block != 0) in adv7842_set_edid()
/drivers/md/
A Ddm-zoned-metadata.c2695 sector_t start_block = *chunk_block; in dmz_first_valid_block() local
2698 ret = dmz_to_next_set_block(zmd, zone, start_block, in dmz_first_valid_block()
2699 zmd->zone_nr_blocks - start_block, 1); in dmz_first_valid_block()
2703 start_block += ret; in dmz_first_valid_block()
2704 *chunk_block = start_block; in dmz_first_valid_block()
2706 return dmz_to_next_set_block(zmd, zone, start_block, in dmz_first_valid_block()
2707 zmd->zone_nr_blocks - start_block, 0); in dmz_first_valid_block()
/drivers/media/cec/usb/extron-da-hd-4k-plus/
A Dextron-da-hd-4k-plus.c1271 if (edid->start_block == 0 && edid->blocks == 0) { in extron_g_edid()
1275 if (edid->start_block >= port->edid_blocks) in extron_g_edid()
1277 if (edid->blocks > port->edid_blocks - edid->start_block) in extron_g_edid()
1278 edid->blocks = port->edid_blocks - edid->start_block; in extron_g_edid()
1279 memcpy(edid->edid, port->edid + edid->start_block * 128, edid->blocks * 128); in extron_g_edid()
/drivers/media/pci/cobalt/
A Dcobalt-driver.c501 .start_block = 0, in cobalt_subdevs_init()
594 .start_block = 0, in cobalt_subdevs_hsma_init()
/drivers/media/platform/synopsys/hdmirx/
A Dsnps_hdmirx.c659 if (edid->start_block) in hdmirx_set_edid()
709 if (!edid->start_block && !edid->blocks) { in hdmirx_get_edid()
717 if (edid->start_block >= hdmirx_dev->edid_blocks_written || !edid->blocks) in hdmirx_get_edid()
720 if (edid->start_block + edid->blocks > hdmirx_dev->edid_blocks_written) in hdmirx_get_edid()
721 edid->blocks = hdmirx_dev->edid_blocks_written - edid->start_block; in hdmirx_get_edid()
/drivers/input/mouse/
A Dcyapa_gen3.c699 size_t start_block, size_t block_count, in cyapa_gen3_write_blocks() argument
706 size_t block = start_block + i; in cyapa_gen3_write_blocks()
/drivers/media/v4l2-core/
A Dv4l2-compat-ioctl32.c812 __u32 start_block; member
A Dv4l2-ioctl.c857 p->pad, p->start_block, p->blocks); in v4l_print_edid()

Completed in 100 milliseconds