Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/arch/x86/kernel/
Dftrace.c316 unsigned long start_offset; in create_trampoline() local
334 start_offset = (unsigned long)ftrace_regs_caller; in create_trampoline()
340 start_offset = (unsigned long)ftrace_caller; in create_trampoline()
347 size = end_offset - start_offset; in create_trampoline()
362 ret = copy_from_kernel_nofault(trampoline, (void *)start_offset, size); in create_trampoline()
380 ip = trampoline + (jmp_offset - start_offset); in create_trampoline()
399 op_offset -= start_offset; in create_trampoline()
417 call_offset -= start_offset; in create_trampoline()
441 unsigned long start_offset; in set_ftrace_ops_ro() local
451 start_offset = (unsigned long)ftrace_regs_caller; in set_ftrace_ops_ro()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
Dmlock-random-test.c163 int start_offset = rand() % (alloc_size - lock_size); in test_mlock_within_limit() local
166 ret = mlock(p + start_offset, lock_size); in test_mlock_within_limit()
168 ret = mlock2_(p + start_offset, lock_size, in test_mlock_within_limit()
175 p + start_offset, lock_size); in test_mlock_within_limit()
235 int start_offset = rand() % (alloc_size - lock_size); in test_mlock_outof_limit() local
238 ret = mlock(p + start_offset, lock_size); in test_mlock_outof_limit()
240 ret = mlock2_(p + start_offset, lock_size, in test_mlock_outof_limit()
246 p + start_offset, lock_size); in test_mlock_outof_limit()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Deprom.c105 u32 start_offset; in read_length() local
123 start_offset = start & EP_PAGE_MASK; in read_length()
124 if (start_offset) { in read_length()
132 bytes = EP_PAGE_SIZE - start_offset; in read_length()
136 memcpy(dest, (u8 *)buffer + start_offset, len); in read_length()
140 memcpy(dest, (u8 *)buffer + start_offset, bytes); in read_length()
/kernel/linux/linux-5.10/drivers/gpu/drm/vboxvideo/
Dmodesetting.c28 s32 origin_x, s32 origin_y, u32 start_offset, in hgsmi_process_display_info() argument
42 p->start_offset = start_offset; in hgsmi_process_display_info()
Dvboxvideo_guest.h53 s32 origin_x, s32 origin_y, u32 start_offset,
/kernel/linux/linux-5.10/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()
276 msg->start_offset = addr; in slim_fill_msg()
/kernel/linux/linux-5.10/mm/
Dprocess_vm_access.c80 unsigned long start_offset = addr - pa; in process_vm_rw_single_vec() local
114 bytes = pinned_pages * PAGE_SIZE - start_offset; in process_vm_rw_single_vec()
119 start_offset, bytes, iter, in process_vm_rw_single_vec()
122 start_offset = 0; in process_vm_rw_single_vec()
Dswap_state.c655 unsigned long start_offset, end_offset; in swap_cluster_readahead() local
676 start_offset = offset & ~mask; in swap_cluster_readahead()
678 if (!start_offset) /* First page is swap header. */ in swap_cluster_readahead()
679 start_offset++; in swap_cluster_readahead()
684 for (offset = start_offset; offset <= end_offset ; offset++) { in swap_cluster_readahead()
Dpercpu.c220 start_addr = chunk->base_addr + chunk->start_offset; in pcpu_addr_in_chunk()
1301 int start_offset, offset_bits, region_size, region_bits; in pcpu_alloc_first_chunk() local
1307 start_offset = tmp_addr - aligned_addr; in pcpu_alloc_first_chunk()
1315 region_size = ALIGN(start_offset + map_size, lcm_align); in pcpu_alloc_first_chunk()
1328 chunk->start_offset = start_offset; in pcpu_alloc_first_chunk()
1329 chunk->end_offset = region_size - chunk->start_offset - map_size; in pcpu_alloc_first_chunk()
1367 if (chunk->start_offset) { in pcpu_alloc_first_chunk()
1369 offset_bits = chunk->start_offset / PCPU_MIN_ALLOC_SIZE; in pcpu_alloc_first_chunk()
1385 set_bit((start_offset + map_size) / PCPU_MIN_ALLOC_SIZE, in pcpu_alloc_first_chunk()
/kernel/linux/linux-5.10/arch/arm/boot/compressed/
Defi-header.S33 .set start_offset, __efi_start - start define
70 .long start_offset @ BaseOfCode
86 .long start_offset @ SizeOfHeaders
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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,
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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,
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mailbox/
Dmtk-gce.txt31 <&phandle subsys_number start_offset size>
35 start_offset: the start offset of register address that GCE can access.
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/hw/
Ddmcu.h62 unsigned int start_offset,
/kernel/linux/linux-5.10/scripts/dtc/
Dyamltree.c36 int off, start_offset = markers->offset; in yaml_propval_int() local
69 if (m->offset == (start_offset + off)) { in yaml_propval_int()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfw_tracer.c291 MLX5_SET(mtrc_stdb, in, start_offset, offset); in mlx5_tracer_read_strings_db()
312 MLX5_SET(mtrc_stdb, in, start_offset, offset); in mlx5_tracer_read_strings_db()
668 u32 block_count, start_offset, prev_start_offset, prev_consumer_index; in mlx5_fw_tracer_handle_traces() local
679 start_offset = tracer->buff.consumer_index * TRACER_BLOCK_SIZE_BYTE; in mlx5_fw_tracer_handle_traces()
682 memcpy(tmp_trace_block, tracer->buff.log_buf + start_offset, in mlx5_fw_tracer_handle_traces()
728 start_offset = tracer->buff.consumer_index * TRACER_BLOCK_SIZE_BYTE; in mlx5_fw_tracer_handle_traces()
729 memcpy(tmp_trace_block, tracer->buff.log_buf + start_offset, in mlx5_fw_tracer_handle_traces()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/
Ddce_dmcu.c75 unsigned int start_offset, in dce_dmcu_load_iram() argument
89 REG_WRITE(DMCU_IRAM_WR_CTRL, start_offset); in dce_dmcu_load_iram()
472 unsigned int start_offset, in dcn10_dmcu_load_iram() argument
490 REG_WRITE(DMCU_IRAM_WR_CTRL, start_offset); in dcn10_dmcu_load_iram()
/kernel/linux/linux-5.10/block/
Dblk-merge.c151 unsigned start_offset = bio->bi_iter.bi_sector & (pbs - 1); in get_max_io_size() local
153 max_sectors += start_offset; in get_max_io_size()
155 if (max_sectors > start_offset) in get_max_io_size()
156 return max_sectors - start_offset; in get_max_io_size()
/kernel/linux/linux-5.10/include/linux/
Dslimbus.h108 u16 start_offset; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd.c95 size_t *start_offset) in amdgpu_doorbell_get_kfd_info() argument
104 *start_offset = adev->doorbell.num_doorbells * sizeof(u32); in amdgpu_doorbell_get_kfd_info()
108 *start_offset = 0; in amdgpu_doorbell_get_kfd_info()

123