Home
last modified time | relevance | path

Searched refs:start_offset (Results 1 – 25 of 97) sorted by relevance

1234

/openbmc/qemu/tests/qemu-iotests/tests/
H A Diov-padding51 for start_offset in 4096 512; do
56 …echo "== performing 1024-element vectored requests to image (offset: $start_offset; length: $lengt…
62 cmd_params="-P 2 $start_offset $(yes 512 | head -n 1023 | tr '\n' ' ') $last_element_length"
72 -c "read -P 1 0 $start_offset" \
73 -c "read -P 2 $start_offset $length" \
/openbmc/linux/arch/x86/kernel/
H A Dftrace.c315 unsigned long start_offset; in create_trampoline() local
339 start_offset = (unsigned long)ftrace_caller; in create_trampoline()
346 size = end_offset - start_offset; in create_trampoline()
393 op_offset -= start_offset; in create_trampoline()
411 call_offset -= start_offset; in create_trampoline()
435 unsigned long start_offset; in set_ftrace_ops_ro() local
448 start_offset = (unsigned long)ftrace_caller; in set_ftrace_ops_ro()
451 size = end_offset - start_offset; in set_ftrace_ops_ro()
460 unsigned long start_offset; in calc_trampoline_call_offset() local
467 start_offset = (unsigned long)ftrace_caller; in calc_trampoline_call_offset()
[all …]
/openbmc/linux/tools/testing/selftests/mm/
H A Dmlock-random-test.c164 int start_offset = rand() % (alloc_size - lock_size); in test_mlock_within_limit() local
167 ret = mlock(p + start_offset, lock_size); in test_mlock_within_limit()
169 ret = mlock2_(p + start_offset, lock_size, in test_mlock_within_limit()
176 p + start_offset, lock_size); in test_mlock_within_limit()
236 int start_offset = rand() % (alloc_size - lock_size); in test_mlock_outof_limit() local
239 ret = mlock(p + start_offset, lock_size); in test_mlock_outof_limit()
241 ret = mlock2_(p + start_offset, lock_size, in test_mlock_outof_limit()
247 p + start_offset, lock_size); in test_mlock_outof_limit()
/openbmc/u-boot/drivers/usb/common/
H A Dfsl-dt-fixup.c35 static int fdt_usb_get_node_type(void *blob, int start_offset, in fdt_usb_get_node_type() argument
43 (blob, start_offset, in fdt_usb_get_node_type()
56 const char *phy_type, int start_offset) in fdt_fixup_usb_mode_phy_type() argument
64 err = fdt_usb_get_node_type(blob, start_offset, in fdt_fixup_usb_mode_phy_type()
90 int start_offset) in fsl_fdt_fixup_usb_erratum() argument
96 err = fdt_usb_get_node_type(blob, start_offset, in fsl_fdt_fixup_usb_erratum()
/openbmc/u-boot/drivers/video/exynos/
H A Dexynos_dp_lowlevel.c558 unsigned int start_offset; in exynos_dp_write_bytes_to_dpcd() local
568 start_offset = 0; in exynos_dp_write_bytes_to_dpcd()
569 while (start_offset < count) { in exynos_dp_write_bytes_to_dpcd()
571 if ((count - start_offset) > 16) in exynos_dp_write_bytes_to_dpcd()
574 cur_data_count = count - start_offset; in exynos_dp_write_bytes_to_dpcd()
612 start_offset += cur_data_count; in exynos_dp_write_bytes_to_dpcd()
624 unsigned int start_offset; in exynos_dp_read_bytes_from_dpcd() local
634 start_offset = 0; in exynos_dp_read_bytes_from_dpcd()
635 while (start_offset < count) { in exynos_dp_read_bytes_from_dpcd()
637 if ((count - start_offset) > 16) in exynos_dp_read_bytes_from_dpcd()
[all …]
/openbmc/qemu/hw/acpi/
H A Dbios-linker-loader.c232 unsigned start_offset, unsigned size, in bios_linker_loader_add_checksum() argument
239 assert(start_offset < file->blob->len); in bios_linker_loader_add_checksum()
240 assert(start_offset + size <= file->blob->len); in bios_linker_loader_add_checksum()
241 assert(checksum_offset >= start_offset); in bios_linker_loader_add_checksum()
242 assert(checksum_offset + 1 <= start_offset + size); in bios_linker_loader_add_checksum()
249 entry.cksum.start = cpu_to_le32(start_offset); in bios_linker_loader_add_checksum()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Ddm.c176 u64 start_offset; in copy_op_to_user() local
181 start_offset = op_entry->op_addr & ~PAGE_MASK; in copy_op_to_user()
189 &start_offset, sizeof(start_offset)); in copy_op_to_user()
280 u64 start_offset; in handle_alloc_dm_memic() local
323 start_offset = dm->base.dev_addr & ~PAGE_MASK; in handle_alloc_dm_memic()
326 &start_offset, sizeof(start_offset)); in handle_alloc_dm_memic()
507 u64 start_offset; in UVERBS_HANDLER() local
521 start_offset = memic->base.dev_addr & ~PAGE_MASK; in UVERBS_HANDLER()
523 &start_offset, sizeof(start_offset)); in UVERBS_HANDLER()
/openbmc/linux/drivers/gpu/drm/vboxvideo/
H A Dmodesetting.c30 s32 origin_x, s32 origin_y, u32 start_offset, in hgsmi_process_display_info() argument
44 p->start_offset = start_offset; in hgsmi_process_display_info()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Deprom.c64 u32 start_offset; in read_length() local
82 start_offset = start & EP_PAGE_MASK; in read_length()
83 if (start_offset) { in read_length()
91 bytes = EP_PAGE_SIZE - start_offset; in read_length()
95 memcpy(dest, (u8 *)buffer + start_offset, len); in read_length()
99 memcpy(dest, (u8 *)buffer + start_offset, bytes); in read_length()
/openbmc/u-boot/common/
H A Davb_verify.c396 u64 start_offset, start_sector, sectors, residue; in mmc_byte_io() local
410 start_offset = calc_offset(part, offset); in mmc_byte_io()
412 start_sector = start_offset / part->info.blksz; in mmc_byte_io()
415 if (start_offset % part->info.blksz || in mmc_byte_io()
418 if (start_offset % part->info.blksz) { in mmc_byte_io()
420 (start_offset % part->info.blksz); in mmc_byte_io()
442 tmp_buf += (start_offset % part->info.blksz); in mmc_byte_io()
456 start_offset % part->info.blksz, in mmc_byte_io()
470 start_offset += residue; in mmc_byte_io()
495 start_offset += ret * part->info.blksz; in mmc_byte_io()
/openbmc/linux/drivers/slimbus/
H A Dmessaging.c183 (msg->start_offset + msg->num_bytes) > 0xC00) in slim_val_inf_sanity()
207 msg->start_offset, mc); in slim_val_inf_sanity()
252 msg->start_offset, msg->num_bytes, mc, sl); in slim_xfer_msg()
254 txn->ec = ((sl | (1 << 3)) | ((msg->start_offset & 0xFFF) << 4)); in slim_xfer_msg()
277 msg->start_offset = addr; in slim_fill_msg()
/openbmc/linux/mm/
H A Dprocess_vm_access.c79 unsigned long start_offset = addr - pa; in process_vm_rw_single_vec() local
113 bytes = pinned_pages * PAGE_SIZE - start_offset; in process_vm_rw_single_vec()
118 start_offset, bytes, iter, in process_vm_rw_single_vec()
121 start_offset = 0; in process_vm_rw_single_vec()
H A Dswap_state.c626 unsigned long start_offset, end_offset; in swap_cluster_readahead() local
640 start_offset = offset & ~mask; in swap_cluster_readahead()
642 if (!start_offset) /* First page is swap header. */ in swap_cluster_readahead()
643 start_offset++; in swap_cluster_readahead()
648 for (offset = start_offset; offset <= end_offset ; offset++) { in swap_cluster_readahead()
/openbmc/linux/arch/arm/boot/compressed/
H A Defi-header.S33 .set start_offset, __efi_start - start define
70 .long start_offset @ BaseOfCode
86 .long start_offset @ SizeOfHeaders
/openbmc/linux/include/rdma/
H A Dib_umem_odp.h96 int ib_umem_odp_map_dma_and_lock(struct ib_umem_odp *umem_odp, u64 start_offset,
99 void ib_umem_odp_unmap_dma_pages(struct ib_umem_odp *umem_odp, u64 start_offset,
/openbmc/linux/drivers/char/agp/
H A Di460-agp.c403 int i, start_offset, end_offset, idx, pg, num_entries; in i460_insert_memory_large_io_page() local
416 start_offset = pg_start % I460_KPAGES_PER_IOPAGE; in i460_insert_memory_large_io_page()
429 for (idx = ((lp == start) ? start_offset : 0); in i460_insert_memory_large_io_page()
449 for (idx = ((lp == start) ? start_offset : 0); in i460_insert_memory_large_io_page()
464 int i, pg, start_offset, end_offset, idx, num_entries; in i460_remove_memory_large_io_page() local
474 start_offset = pg_start % I460_KPAGES_PER_IOPAGE; in i460_remove_memory_large_io_page()
478 for (idx = ((lp == start) ? start_offset : 0); in i460_remove_memory_large_io_page()
/openbmc/linux/net/devlink/
H A Dregion.c797 void *cb_priv, u64 start_offset, u64 end_offset, in devlink_nl_region_read_fill() argument
800 u64 curr_offset = start_offset; in devlink_nl_region_read_fill()
809 *new_offset = start_offset; in devlink_nl_region_read_fill()
872 u64 ret_offset, start_offset, end_offset = U64_MAX; in devlink_nl_cmd_region_read_dumpit() local
884 start_offset = state->start_offset; in devlink_nl_cmd_region_read_dumpit()
962 if (!start_offset) in devlink_nl_cmd_region_read_dumpit()
963 start_offset = in devlink_nl_cmd_region_read_dumpit()
974 if (start_offset == end_offset) { in devlink_nl_cmd_region_read_dumpit()
1009 start_offset, end_offset, &ret_offset, in devlink_nl_cmd_region_read_dumpit()
1016 if (ret_offset == start_offset) { in devlink_nl_cmd_region_read_dumpit()
[all …]
/openbmc/google-misc/subprojects/libcr51sign/src/
H A Dlibcr51sign.c796 uint32_t start_offset, uint32_t limit, uint32_t alignment, in scan_for_magic_8() argument
803 if (limit <= start_offset || limit > ctx->end_offset || in scan_for_magic_8()
815 start_offset = ((start_offset - 1) & ~(alignment - 1)) + alignment; in scan_for_magic_8()
816 for (offset = start_offset; offset < limit - sizeof(magic); in scan_for_magic_8()
872 rv = scan_for_magic_8(ctx, intf, DESCRIPTOR_MAGIC, ctx->start_offset, in libcr51sign_validate()
882 ctx, intf, descriptor_offset, descriptor_offset - ctx->start_offset, in libcr51sign_validate()
883 ctx->end_offset - ctx->start_offset, &payload_blob_offset); in libcr51sign_validate()
/openbmc/linux/drivers/staging/media/tegra-video/
H A Dtegra20.c300 chan->start_offset = 0; in tegra20_channel_queue_setup()
308 chan->start_offset += stride * (height - 1); in tegra20_channel_queue_setup()
310 chan->start_offset += stride - 1; in tegra20_channel_queue_setup()
331 chan->start_offset += stride * (height - 1); in tegra20_channel_queue_setup()
336 chan->start_offset += stride - 1; in tegra20_channel_queue_setup()
375 tegra20_vi_write(chan, TEGRA_VI_VB0_START_ADDRESS_FIRST, base + chan->start_offset); in tegra20_channel_vi_buffer_setup()
/openbmc/linux/drivers/misc/ocxl/
H A Dcore.c85 int start_offset, size; in reclaim_afu_actag() local
87 start_offset = afu->actag_base - fn->actag_base; in reclaim_afu_actag()
89 ocxl_actag_afu_free(afu->fn, start_offset, size); in reclaim_afu_actag()
124 int start_offset, size; in reclaim_afu_pasid() local
126 start_offset = afu->pasid_base - fn->pasid_base; in reclaim_afu_pasid()
128 ocxl_pasid_afu_free(afu->fn, start_offset, size); in reclaim_afu_pasid()
/openbmc/linux/include/trace/events/
H A Dbcache.h399 unsigned start_inode, uint64_t start_offset,
402 start_inode, start_offset,
408 __field(__u64, start_offset )
416 __entry->start_offset = start_offset;
422 __entry->start_inode, __entry->start_offset,
/openbmc/linux/drivers/thunderbolt/
H A Dproperty.c349 u32 *block, unsigned int start_offset, size_t block_len) in __tb_property_format_dir() argument
403 data_offset = start_offset + dir_len; in __tb_property_format_dir()
404 dir_end = start_offset + data_len + dir_len; in __tb_property_format_dir()
415 pe = (struct tb_property_dir_entry *)&block[start_offset]; in __tb_property_format_dir()
421 re = (struct tb_property_rootdir_entry *)&block[start_offset]; in __tb_property_format_dir()
/openbmc/qemu/include/hw/acpi/
H A Dbios-linker-loader.h21 unsigned start_offset, unsigned size,
/openbmc/pldm/tools/fw-update/
H A Dpldm_fwup_pkg_creator.py568 start_offset = pldm_fw_up_pkg.tell() + pkg_header_checksum_size
573 pldm_fw_up_pkg.write(struct.pack("<II", start_offset, file_size))
574 start_offset += file_size
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcudbg_lib_common.h37 u32 start_offset; member

1234