Home
last modified time | relevance | path

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

123

/linux/fs/netfs/
H A Diterator.c109 static size_t netfs_limit_bvec(const struct iov_iter *iter, size_t start_offset, in netfs_limit_bvec() argument
115 size_t skip = iter->iov_offset + start_offset; in netfs_limit_bvec()
118 WARN_ON(start_offset > n) || in netfs_limit_bvec()
151 static size_t netfs_limit_xarray(const struct iov_iter *iter, size_t start_offset, in netfs_limit_xarray() argument
163 WARN_ON(start_offset > n) || in netfs_limit_xarray()
166 max_size = min(max_size, n - start_offset); in netfs_limit_xarray()
196 static size_t netfs_limit_folioq(const struct iov_iter *iter, size_t start_offset, in netfs_limit_folioq() argument
205 WARN_ON(start_offset > n) || in netfs_limit_folioq()
208 max_size = umin(max_size, n - start_offset); in netfs_limit_folioq()
215 start_offset += iter->iov_offset; in netfs_limit_folioq()
[all …]
/linux/tools/testing/selftests/mm/
H A Dmlock-random-test.c155 int start_offset = rand() % (alloc_size - lock_size); in test_mlock_within_limit() local
158 ret = mlock(p + start_offset, lock_size); in test_mlock_within_limit()
160 ret = mlock2_(p + start_offset, lock_size, in test_mlock_within_limit()
167 p + start_offset, lock_size); in test_mlock_within_limit()
217 int start_offset = rand() % (alloc_size - lock_size); in test_mlock_outof_limit() local
220 ret = mlock(p + start_offset, lock_size); in test_mlock_outof_limit()
222 ret = mlock2_(p + start_offset, lock_size, in test_mlock_outof_limit()
227 p, alloc_size, p + start_offset, lock_size); in test_mlock_outof_limit()
/linux/drivers/infiniband/hw/mlx5/
H A 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()
512 u64 start_offset; in UVERBS_HANDLER() local
526 start_offset = memic->base.dev_addr & ~PAGE_MASK; in UVERBS_HANDLER()
528 &start_offset, sizeof(start_offset)); in UVERBS_HANDLER()
/linux/drivers/infiniband/hw/hfi1/
H A 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/drivers/gpu/drm/vboxvideo/
H A 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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_ste_v3.c26 MLX5_SET(ste_double_action_insert_with_inline_v3, d_action, start_offset, in dr_ste_v3_set_push_vlan()
95 start_offset, offset / 2); in dr_ste_v3_set_insert_hdr()
117 start_offset, offset / 2); in dr_ste_v3_set_remove_hdr()
166 MLX5_SET(ste_double_action_insert_with_inline_v3, hw_action, start_offset, 0); in dr_ste_v3_set_action_decap_l3_list()
179 MLX5_SET(ste_single_action_remove_header_size_v3, hw_action, start_offset, 0); in dr_ste_v3_set_action_decap_l3_list()
/linux/arch/arm/boot/compressed/
H A Defi-header.S33 .set start_offset, __efi_start - start define
70 .long start_offset @ BaseOfCode
86 .long start_offset @ SizeOfHeaders
/linux/include/rdma/
H A Dib_umem_odp.h77 int ib_umem_odp_map_dma_and_lock(struct ib_umem_odp *umem_odp, u64 start_offset,
80 void ib_umem_odp_unmap_dma_pages(struct ib_umem_odp *umem_odp, u64 start_offset,
/linux/drivers/misc/ocxl/
H A 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/include/trace/events/
H A 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/drivers/md/dm-vdo/indexer/
H A Dindex-layout.c188 u64 start_offset; member
307 return open_layout_reader(layout, region, -layout->super.start_offset, in open_region_reader()
322 return open_layout_writer(layout, region, -layout->super.start_offset, in open_region_writer()
342 super->start_offset = 0; in generate_super_block_data()
667 sizeof(layout->super.start_offset)); in make_layout_region_table()
713 encode_u64_le(buffer, &offset, layout->super.start_offset); in write_layout_header()
1205 decode_u64_le(buffer, &offset, &super->start_offset); in read_super_block_data()
1208 super->start_offset = 0; in read_super_block_data()
1225 if (super->volume_offset < super->start_offset) { in read_super_block_data()
1228 (unsigned long long) super->start_offset, in read_super_block_data()
[all …]
/linux/mm/
H A Dswap_state.c624 unsigned long start_offset, end_offset; in swap_cluster_readahead() local
636 start_offset = offset & ~mask; in swap_cluster_readahead()
638 if (!start_offset) /* First page is swap header. */ in swap_cluster_readahead()
639 start_offset++; in swap_cluster_readahead()
644 for (offset = start_offset; offset <= end_offset ; offset++) { in swap_cluster_readahead()
H A Dpercpu.c222 start_addr = chunk->base_addr + chunk->start_offset; in pcpu_addr_in_chunk()
1350 int start_offset, offset_bits, region_size, region_bits; in pcpu_alloc_first_chunk() local
1356 start_offset = tmp_addr - aligned_addr; in pcpu_alloc_first_chunk()
1357 region_size = ALIGN(start_offset + map_size, PAGE_SIZE); in pcpu_alloc_first_chunk()
1367 chunk->start_offset = start_offset; in pcpu_alloc_first_chunk()
1368 chunk->end_offset = region_size - chunk->start_offset - map_size; in pcpu_alloc_first_chunk()
1396 if (chunk->start_offset) { in pcpu_alloc_first_chunk()
1398 offset_bits = chunk->start_offset / PCPU_MIN_ALLOC_SIZE; in pcpu_alloc_first_chunk()
1414 set_bit((start_offset + map_size) / PCPU_MIN_ALLOC_SIZE, in pcpu_alloc_first_chunk()
H A Dpercpu-internal.h74 int start_offset; /* the overlap with the previous member
/linux/drivers/tty/vt/
H A Dgen_ucs_fallback_table.py239 start_offset, fallback = entries[i]
254 compressed_entries.append((start_offset, RANGE_MARKER))
/linux/include/linux/net/intel/
H A Diidc_rdma_idpf.h37 __le64 start_offset; member
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcudbg_lib_common.h37 u32 start_offset; member
H A 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/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Ddmcu.h62 unsigned int start_offset,
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd.c96 size_t *start_offset) in amdgpu_doorbell_get_kfd_info() argument
111 *start_offset = 0; in amdgpu_doorbell_get_kfd_info()
116 *start_offset = adev->doorbell.num_kernel_doorbells * sizeof(u32); in amdgpu_doorbell_get_kfd_info()
120 *start_offset = 0; in amdgpu_doorbell_get_kfd_info()
/linux/drivers/staging/media/tegra-video/
H A Dvi.h207 unsigned int start_offset; member
/linux/include/linux/
H A Dslimbus.h108 u16 start_offset; member
/linux/drivers/scsi/mpi3mr/mpi/
H A Dmpi30_image.h26 __le32 start_offset; member
/linux/drivers/scsi/qla4xxx/
H A Dql4_83xx.h218 uint8_t *start_offset; member
/linux/include/uapi/scsi/
H A Dscsi_bsg_mpi3mr.h341 __u32 start_offset; member

123