Home
last modified time | relevance | path

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

123

/linux-6.6.21/arch/x86/kernel/
Dftrace.c315 unsigned long start_offset; in create_trampoline() local
333 start_offset = (unsigned long)ftrace_regs_caller; in create_trampoline()
339 start_offset = (unsigned long)ftrace_caller; in create_trampoline()
346 size = end_offset - start_offset; in create_trampoline()
361 ret = copy_from_kernel_nofault(trampoline, (void *)start_offset, size); in create_trampoline()
374 ip = trampoline + (jmp_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
445 start_offset = (unsigned long)ftrace_regs_caller; in set_ftrace_ops_ro()
[all …]
/linux-6.6.21/tools/testing/selftests/mm/
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()
/linux-6.6.21/drivers/infiniband/hw/mlx5/
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()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
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()
/linux-6.6.21/drivers/gpu/drm/vboxvideo/
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()
Dvboxvideo_guest.h53 s32 origin_x, s32 origin_y, u32 start_offset,
/linux-6.6.21/drivers/slimbus/
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()
/linux-6.6.21/mm/
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()
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()
Dpercpu-internal.h61 int start_offset; /* the overlap with the previous member
/linux-6.6.21/arch/arm/boot/compressed/
Defi-header.S33 .set start_offset, __efi_start - start define
70 .long start_offset @ BaseOfCode
86 .long start_offset @ SizeOfHeaders
/linux-6.6.21/drivers/char/agp/
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()
/linux-6.6.21/include/rdma/
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,
/linux-6.6.21/net/devlink/
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 …]
/linux-6.6.21/drivers/staging/media/tegra-video/
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()
/linux-6.6.21/drivers/misc/ocxl/
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()
/linux-6.6.21/include/trace/events/
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,
/linux-6.6.21/drivers/thunderbolt/
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()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/
Dmlx5_ifc_dr_ste_v1.h40 u8 start_offset[0x7]; member
86 u8 start_offset[0x7]; member
96 u8 start_offset[0x7]; member
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_lib_common.h37 u32 start_offset; member
Dcxgb4_cudbg.c119 entity_hdr->start_offset = dbg_buff->offset; in cxgb4_cudbg_collect_entity()
124 dbg_buff->offset = entity_hdr->start_offset; in cxgb4_cudbg_collect_entity()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/hw/
Ddmcu.h62 unsigned int start_offset,
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfw_tracer.c296 MLX5_SET(mtrc_stdb, in, start_offset, offset); in mlx5_tracer_read_strings_db()
317 MLX5_SET(mtrc_stdb, in, start_offset, offset); in mlx5_tracer_read_strings_db()
696 u32 block_count, start_offset, prev_start_offset, prev_consumer_index; in mlx5_fw_tracer_handle_traces() local
710 start_offset = tracer->buff.consumer_index * TRACER_BLOCK_SIZE_BYTE; in mlx5_fw_tracer_handle_traces()
713 memcpy(tmp_trace_block, tracer->buff.log_buf + start_offset, in mlx5_fw_tracer_handle_traces()
759 start_offset = tracer->buff.consumer_index * TRACER_BLOCK_SIZE_BYTE; in mlx5_fw_tracer_handle_traces()
760 memcpy(tmp_trace_block, tracer->buff.log_buf + start_offset, in mlx5_fw_tracer_handle_traces()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd.c95 size_t *start_offset) in amdgpu_doorbell_get_kfd_info() argument
110 *start_offset = 0; in amdgpu_doorbell_get_kfd_info()
115 *start_offset = adev->doorbell.num_kernel_doorbells * sizeof(u32); in amdgpu_doorbell_get_kfd_info()
119 *start_offset = 0; in amdgpu_doorbell_get_kfd_info()
/linux-6.6.21/include/linux/
Dslimbus.h108 u16 start_offset; member

123