/Linux-v5.4/tools/testing/selftests/vm/ |
D | mlock-random-test.c | 163 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.4/drivers/infiniband/hw/hfi1/ |
D | eprom.c | 105 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-v5.4/arch/x86/kernel/ |
D | ftrace.c | 747 unsigned long start_offset; in create_trampoline() local 763 start_offset = (unsigned long)ftrace_regs_caller; in create_trampoline() 767 start_offset = (unsigned long)ftrace_caller; in create_trampoline() 772 size = end_offset - start_offset; in create_trampoline() 787 ret = probe_kernel_read(trampoline, (void *)start_offset, size); in create_trampoline() 810 op_offset -= start_offset; in create_trampoline() 845 unsigned long start_offset; in calc_trampoline_call_offset() local 849 start_offset = (unsigned long)ftrace_regs_caller; in calc_trampoline_call_offset() 852 start_offset = (unsigned long)ftrace_caller; in calc_trampoline_call_offset() 856 return call_offset - start_offset; in calc_trampoline_call_offset()
|
/Linux-v5.4/drivers/gpu/drm/vboxvideo/ |
D | modesetting.c | 28 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()
|
D | vboxvideo_guest.h | 53 s32 origin_x, s32 origin_y, u32 start_offset,
|
/Linux-v5.4/drivers/slimbus/ |
D | messaging.c | 182 (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-v5.4/arch/arm/boot/compressed/ |
D | efi-header.S | 27 .set start_offset, __efi_start - start define 64 .long start_offset @ BaseOfCode 80 .long start_offset @ SizeOfHeaders
|
/Linux-v5.4/drivers/char/agp/ |
D | i460-agp.c | 403 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.4/mm/ |
D | process_vm_access.c | 83 unsigned long start_offset = addr - pa; in process_vm_rw_single_vec() local 116 bytes = pages * PAGE_SIZE - start_offset; in process_vm_rw_single_vec() 121 start_offset, bytes, iter, in process_vm_rw_single_vec() 124 start_offset = 0; in process_vm_rw_single_vec()
|
D | swap_state.c | 545 unsigned long start_offset, end_offset; in swap_cluster_readahead() local 566 start_offset = offset & ~mask; in swap_cluster_readahead() 568 if (!start_offset) /* First page is swap header. */ in swap_cluster_readahead() 569 start_offset++; in swap_cluster_readahead() 574 for (offset = start_offset; offset <= end_offset ; offset++) { in swap_cluster_readahead()
|
D | percpu.c | 213 start_addr = chunk->base_addr + chunk->start_offset; in pcpu_addr_in_chunk() 1313 int start_offset, offset_bits, region_size, region_bits; in pcpu_alloc_first_chunk() local 1319 start_offset = tmp_addr - aligned_addr; in pcpu_alloc_first_chunk() 1327 region_size = ALIGN(start_offset + map_size, lcm_align); in pcpu_alloc_first_chunk() 1340 chunk->start_offset = start_offset; in pcpu_alloc_first_chunk() 1341 chunk->end_offset = region_size - chunk->start_offset - map_size; in pcpu_alloc_first_chunk() 1375 if (chunk->start_offset) { in pcpu_alloc_first_chunk() 1377 offset_bits = chunk->start_offset / PCPU_MIN_ALLOC_SIZE; in pcpu_alloc_first_chunk() 1393 set_bit((start_offset + map_size) / PCPU_MIN_ALLOC_SIZE, in pcpu_alloc_first_chunk()
|
/Linux-v5.4/drivers/misc/ocxl/ |
D | core.c | 85 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.4/include/rdma/ |
D | ib_umem_odp.h | 141 int ib_umem_odp_map_dma_pages(struct ib_umem_odp *umem_odp, u64 start_offset, 145 void ib_umem_odp_unmap_dma_pages(struct ib_umem_odp *umem_odp, u64 start_offset,
|
/Linux-v5.4/include/trace/events/ |
D | bcache.h | 398 unsigned start_inode, uint64_t start_offset, 401 start_inode, start_offset, 407 __field(__u64, start_offset ) 415 __entry->start_offset = start_offset; 421 __entry->start_inode, __entry->start_offset,
|
/Linux-v5.4/drivers/thunderbolt/ |
D | property.c | 349 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.4/Documentation/devicetree/bindings/mailbox/ |
D | mtk-gce.txt | 32 <&phandle subsys_number start_offset size> 36 start_offset: the start offset of register address that GCE can access.
|
/Linux-v5.4/fs/btrfs/ |
D | extent_io.c | 5517 size_t start_offset = offset_in_page(eb->start); in read_extent_buffer() local 5518 unsigned long i = (start_offset + start) >> PAGE_SHIFT; in read_extent_buffer() 5527 offset = offset_in_page(start_offset + start); in read_extent_buffer() 5552 size_t start_offset = offset_in_page(eb->start); in read_extent_buffer_to_user() local 5553 unsigned long i = (start_offset + start) >> PAGE_SHIFT; in read_extent_buffer_to_user() 5559 offset = offset_in_page(start_offset + start); in read_extent_buffer_to_user() 5593 size_t start_offset = offset_in_page(eb->start); in map_private_extent_buffer() local 5594 unsigned long i = (start_offset + start) >> PAGE_SHIFT; in map_private_extent_buffer() 5595 unsigned long end_i = (start_offset + start + min_len - 1) >> in map_private_extent_buffer() 5608 offset = start_offset; in map_private_extent_buffer() [all …]
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | dmcu.h | 60 unsigned int start_offset,
|
/Linux-v5.4/scripts/dtc/ |
D | yamltree.c | 36 int off, start_offset = markers->offset; in yaml_propval_int() local 69 if (m->offset == (start_offset + off)) { in yaml_propval_int()
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
D | cudbg_lib_common.h | 37 u32 start_offset; member
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | fw_tracer.c | 289 MLX5_SET(mtrc_stdb, in, start_offset, offset); in mlx5_tracer_read_strings_db() 310 MLX5_SET(mtrc_stdb, in, start_offset, offset); in mlx5_tracer_read_strings_db() 666 u32 block_count, start_offset, prev_start_offset, prev_consumer_index; in mlx5_fw_tracer_handle_traces() local 677 start_offset = tracer->buff.consumer_index * TRACER_BLOCK_SIZE_BYTE; in mlx5_fw_tracer_handle_traces() 680 memcpy(tmp_trace_block, tracer->buff.log_buf + start_offset, in mlx5_fw_tracer_handle_traces() 726 start_offset = tracer->buff.consumer_index * TRACER_BLOCK_SIZE_BYTE; in mlx5_fw_tracer_handle_traces() 727 memcpy(tmp_trace_block, tracer->buff.log_buf + start_offset, in mlx5_fw_tracer_handle_traces()
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_dmcu.c | 69 unsigned int start_offset, in dce_dmcu_load_iram() argument 83 REG_WRITE(DMCU_IRAM_WR_CTRL, start_offset); in dce_dmcu_load_iram() 437 unsigned int start_offset, in dcn10_dmcu_load_iram() argument 455 REG_WRITE(DMCU_IRAM_WR_CTRL, start_offset); in dcn10_dmcu_load_iram()
|
/Linux-v5.4/sound/soc/intel/baytrail/ |
D | sst-baytrail-ipc.h | 49 u32 start_offset);
|
/Linux-v5.4/block/ |
D | blk-merge.c | 150 unsigned start_offset = bio->bi_iter.bi_sector & (pbs - 1); in get_max_io_size() local 152 max_sectors += start_offset; in get_max_io_size() 154 if (max_sectors > start_offset) in get_max_io_size() 155 return max_sectors - start_offset; in get_max_io_size()
|
/Linux-v5.4/drivers/misc/mic/scif/ |
D | scif_mmap.c | 607 s64 start_offset = vma->vm_pgoff << PAGE_SHIFT; in scif_mmap() local 614 ep, start_offset, nr_pages); in scif_mmap() 635 req.offset = start_offset; in scif_mmap() 672 err = scif_rma_list_mmap(window, start_offset, nr_pages, vma); in scif_mmap()
|