Home
last modified time | relevance | path

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

1234

/Linux-v4.19/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-v4.19/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()
/Linux-v4.19/arch/x86/kernel/
Dftrace.c740 unsigned long start_offset; in create_trampoline() local
754 start_offset = (unsigned long)ftrace_regs_caller; in create_trampoline()
758 start_offset = (unsigned long)ftrace_caller; in create_trampoline()
763 size = end_offset - start_offset; in create_trampoline()
777 ret = probe_kernel_read(trampoline, (void *)start_offset, size); in create_trampoline()
800 op_offset -= start_offset; in create_trampoline()
826 unsigned long start_offset; in calc_trampoline_call_offset() local
830 start_offset = (unsigned long)ftrace_regs_caller; in calc_trampoline_call_offset()
833 start_offset = (unsigned long)ftrace_caller; in calc_trampoline_call_offset()
837 return call_offset - start_offset; in calc_trampoline_call_offset()
/Linux-v4.19/drivers/staging/vboxvideo/
Dmodesetting.c47 s32 origin_x, s32 origin_y, u32 start_offset, in hgsmi_process_display_info() argument
61 p->start_offset = start_offset; in hgsmi_process_display_info()
Dvboxvideo_guest.h86 s32 origin_x, s32 origin_y, u32 start_offset,
/Linux-v4.19/drivers/slimbus/
Dmessaging.c182 (msg->start_offset + msg->num_bytes) > 0xC00) in slim_val_inf_sanity()
206 msg->start_offset, mc); in slim_val_inf_sanity()
251 msg->start_offset, msg->num_bytes, mc, sl); in slim_xfer_msg()
253 txn->ec = ((sl | (1 << 3)) | ((msg->start_offset & 0xFFF) << 4)); in slim_xfer_msg()
275 msg->start_offset = addr; in slim_fill_msg()
/Linux-v4.19/arch/arm/boot/compressed/
Defi-header.S30 .set start_offset, __efi_start - start define
67 .long start_offset @ BaseOfCode
83 .long start_offset @ SizeOfHeaders
/Linux-v4.19/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-v4.19/include/rdma/
Dib_umem_odp.h108 int ib_umem_odp_map_dma_pages(struct ib_umem *umem, u64 start_offset, u64 bcnt,
111 void ib_umem_odp_unmap_dma_pages(struct ib_umem *umem, u64 start_offset,
/Linux-v4.19/mm/
Dprocess_vm_access.c87 unsigned long start_offset = addr - pa; in process_vm_rw_single_vec() local
120 bytes = pages * PAGE_SIZE - start_offset; in process_vm_rw_single_vec()
125 start_offset, bytes, iter, in process_vm_rw_single_vec()
128 start_offset = 0; in process_vm_rw_single_vec()
Dswap_state.c572 unsigned long start_offset, end_offset; in swap_cluster_readahead() local
586 start_offset = offset & ~mask; in swap_cluster_readahead()
588 if (!start_offset) /* First page is swap header. */ in swap_cluster_readahead()
589 start_offset++; in swap_cluster_readahead()
594 for (offset = start_offset; offset <= end_offset ; offset++) { in swap_cluster_readahead()
Dpercpu.c212 start_addr = chunk->base_addr + chunk->start_offset; in pcpu_addr_in_chunk()
1088 int start_offset, offset_bits, region_size, region_bits; in pcpu_alloc_first_chunk() local
1093 start_offset = tmp_addr - aligned_addr; in pcpu_alloc_first_chunk()
1101 region_size = ALIGN(start_offset + map_size, lcm_align); in pcpu_alloc_first_chunk()
1111 chunk->start_offset = start_offset; in pcpu_alloc_first_chunk()
1112 chunk->end_offset = region_size - chunk->start_offset - map_size; in pcpu_alloc_first_chunk()
1130 pcpu_cnt_pop_pages(chunk, start_offset / PCPU_MIN_ALLOC_SIZE, in pcpu_alloc_first_chunk()
1136 if (chunk->start_offset) { in pcpu_alloc_first_chunk()
1138 offset_bits = chunk->start_offset / PCPU_MIN_ALLOC_SIZE; in pcpu_alloc_first_chunk()
1154 set_bit((start_offset + map_size) / PCPU_MIN_ALLOC_SIZE, in pcpu_alloc_first_chunk()
Dpercpu-internal.h44 int start_offset; /* the overlap with the previous member
/Linux-v4.19/drivers/misc/ocxl/
Dpci.c114 int start_offset, size; in reclaim_afu_actag() local
116 start_offset = afu->actag_base - fn->actag_base; in reclaim_afu_actag()
118 ocxl_actag_afu_free(afu->fn, start_offset, size); in reclaim_afu_actag()
152 int start_offset, size; in reclaim_afu_pasid() local
154 start_offset = afu->pasid_base - fn->pasid_base; in reclaim_afu_pasid()
156 ocxl_pasid_afu_free(afu->fn, start_offset, size); in reclaim_afu_pasid()
/Linux-v4.19/include/trace/events/
Dbcache.h377 unsigned start_inode, uint64_t start_offset,
380 start_inode, start_offset,
386 __field(__u64, start_offset )
394 __entry->start_offset = start_offset;
400 __entry->start_inode, __entry->start_offset,
/Linux-v4.19/drivers/thunderbolt/
Dproperty.c348 u32 *block, unsigned int start_offset, size_t block_len) in __tb_property_format_dir() argument
402 data_offset = start_offset + dir_len; in __tb_property_format_dir()
403 dir_end = start_offset + data_len + dir_len; in __tb_property_format_dir()
414 pe = (struct tb_property_dir_entry *)&block[start_offset]; in __tb_property_format_dir()
420 re = (struct tb_property_rootdir_entry *)&block[start_offset]; in __tb_property_format_dir()
/Linux-v4.19/fs/btrfs/
Dextent_io.c5332 size_t start_offset = eb->start & ((u64)PAGE_SIZE - 1); in read_extent_buffer() local
5333 unsigned long i = (start_offset + start) >> PAGE_SHIFT; in read_extent_buffer()
5342 offset = (start_offset + start) & (PAGE_SIZE - 1); in read_extent_buffer()
5367 size_t start_offset = eb->start & ((u64)PAGE_SIZE - 1); in read_extent_buffer_to_user() local
5368 unsigned long i = (start_offset + start) >> PAGE_SHIFT; in read_extent_buffer_to_user()
5374 offset = (start_offset + start) & (PAGE_SIZE - 1); in read_extent_buffer_to_user()
5408 size_t start_offset = eb->start & ((u64)PAGE_SIZE - 1); in map_private_extent_buffer() local
5409 unsigned long i = (start_offset + start) >> PAGE_SHIFT; in map_private_extent_buffer()
5410 unsigned long end_i = (start_offset + start + min_len - 1) >> in map_private_extent_buffer()
5423 offset = start_offset; in map_private_extent_buffer()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/inc/hw/
Ddmcu.h47 unsigned int start_offset,
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfw_tracer.c275 MLX5_SET(mtrc_stdb, in, start_offset, offset); in mlx5_tracer_read_strings_db()
296 MLX5_SET(mtrc_stdb, in, start_offset, offset); in mlx5_tracer_read_strings_db()
630 u32 block_count, start_offset, prev_start_offset, prev_consumer_index; in mlx5_fw_tracer_handle_traces() local
641 start_offset = tracer->buff.consumer_index * TRACER_BLOCK_SIZE_BYTE; in mlx5_fw_tracer_handle_traces()
644 memcpy(tmp_trace_block, tracer->buff.log_buf + start_offset, in mlx5_fw_tracer_handle_traces()
690 start_offset = tracer->buff.consumer_index * TRACER_BLOCK_SIZE_BYTE; in mlx5_fw_tracer_handle_traces()
691 memcpy(tmp_trace_block, tracer->buff.log_buf + start_offset, in mlx5_fw_tracer_handle_traces()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_lib_common.h49 u32 start_offset; member
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce/
Ddce_dmcu.c64 unsigned int start_offset, in dce_dmcu_load_iram() argument
78 REG_WRITE(DMCU_IRAM_WR_CTRL, start_offset); in dce_dmcu_load_iram()
442 unsigned int start_offset, in dcn10_dmcu_load_iram() argument
460 REG_WRITE(DMCU_IRAM_WR_CTRL, start_offset); in dcn10_dmcu_load_iram()
/Linux-v4.19/sound/soc/intel/baytrail/
Dsst-baytrail-ipc.h57 u32 start_offset);
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd.c130 size_t *start_offset) in amdgpu_doorbell_get_kfd_info() argument
139 *start_offset = adev->doorbell.num_doorbells * sizeof(u32); in amdgpu_doorbell_get_kfd_info()
143 *start_offset = 0; in amdgpu_doorbell_get_kfd_info()
/Linux-v4.19/drivers/misc/mic/scif/
Dscif_mmap.c616 s64 start_offset = vma->vm_pgoff << PAGE_SHIFT; in scif_mmap() local
623 ep, start_offset, nr_pages); in scif_mmap()
644 req.offset = start_offset; in scif_mmap()
681 err = scif_rma_list_mmap(window, start_offset, nr_pages, vma); in scif_mmap()
/Linux-v4.19/include/linux/
Dslimbus.h108 u16 start_offset; member

1234