Home
last modified time | relevance | path

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

123

/Linux-v5.15/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()
377 ip = trampoline + (jmp_offset - start_offset); in create_trampoline()
396 op_offset -= start_offset; in create_trampoline()
414 call_offset -= start_offset; in create_trampoline()
438 unsigned long start_offset; in set_ftrace_ops_ro() local
448 start_offset = (unsigned long)ftrace_regs_caller; in set_ftrace_ops_ro()
[all …]
/Linux-v5.15/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()
/Linux-v5.15/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()
490 u64 start_offset; in UVERBS_HANDLER() local
504 start_offset = memic->base.dev_addr & ~PAGE_MASK; in UVERBS_HANDLER()
506 &start_offset, sizeof(start_offset)); in UVERBS_HANDLER()
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/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.c619 unsigned long start_offset, end_offset; in swap_cluster_readahead() local
633 start_offset = offset & ~mask; in swap_cluster_readahead()
635 if (!start_offset) /* First page is swap header. */ in swap_cluster_readahead()
636 start_offset++; in swap_cluster_readahead()
641 for (offset = start_offset; offset <= end_offset ; offset++) { in swap_cluster_readahead()
Dpercpu-internal.h53 int start_offset; /* the overlap with the previous member
Dpercpu.c226 start_addr = chunk->base_addr + chunk->start_offset; in pcpu_addr_in_chunk()
1346 int start_offset, offset_bits, region_size, region_bits; in pcpu_alloc_first_chunk() local
1352 start_offset = tmp_addr - aligned_addr; in pcpu_alloc_first_chunk()
1360 region_size = ALIGN(start_offset + map_size, lcm_align); in pcpu_alloc_first_chunk()
1373 chunk->start_offset = start_offset; in pcpu_alloc_first_chunk()
1374 chunk->end_offset = region_size - chunk->start_offset - map_size; in pcpu_alloc_first_chunk()
1412 if (chunk->start_offset) { in pcpu_alloc_first_chunk()
1414 offset_bits = chunk->start_offset / PCPU_MIN_ALLOC_SIZE; in pcpu_alloc_first_chunk()
1430 set_bit((start_offset + map_size) / PCPU_MIN_ALLOC_SIZE, in pcpu_alloc_first_chunk()
/Linux-v5.15/arch/arm/boot/compressed/
Defi-header.S27 .set start_offset, __efi_start - start define
64 .long start_offset @ BaseOfCode
80 .long start_offset @ SizeOfHeaders
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/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-v5.15/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-v5.15/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-v5.15/scripts/dtc/
Dyamltree.c36 unsigned int off, start_offset = markers->offset; in yaml_propval_int() local
69 if (m->offset == (start_offset + off)) { in yaml_propval_int()
/Linux-v5.15/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-v5.15/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.
/Linux-v5.15/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()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/inc/hw/
Ddmcu.h76 unsigned int start_offset,
/Linux-v5.15/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()

123