| /linux/fs/netfs/ |
| H A D | iterator.c | 109 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 D | mlock-random-test.c | 155 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 D | dm.c | 176 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 D | eprom.c | 64 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 D | modesetting.c | 30 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 D | dr_ste_v3.c | 26 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 D | efi-header.S | 33 .set start_offset, __efi_start - start define 70 .long start_offset @ BaseOfCode 86 .long start_offset @ SizeOfHeaders
|
| /linux/include/rdma/ |
| H A D | ib_umem_odp.h | 77 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 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/include/trace/events/ |
| H A D | bcache.h | 399 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 D | index-layout.c | 188 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 D | swap_state.c | 624 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 D | percpu.c | 222 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 D | percpu-internal.h | 74 int start_offset; /* the overlap with the previous member
|
| /linux/drivers/tty/vt/ |
| H A D | gen_ucs_fallback_table.py | 239 start_offset, fallback = entries[i] 254 compressed_entries.append((start_offset, RANGE_MARKER))
|
| /linux/include/linux/net/intel/ |
| H A D | iidc_rdma_idpf.h | 37 __le64 start_offset; member
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cudbg_lib_common.h | 37 u32 start_offset; member
|
| H A D | cxgb4_cudbg.c | 119 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 D | dmcu.h | 62 unsigned int start_offset,
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_amdkfd.c | 96 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 D | vi.h | 207 unsigned int start_offset; member
|
| /linux/include/linux/ |
| H A D | slimbus.h | 108 u16 start_offset; member
|
| /linux/drivers/scsi/mpi3mr/mpi/ |
| H A D | mpi30_image.h | 26 __le32 start_offset; member
|
| /linux/drivers/scsi/qla4xxx/ |
| H A D | ql4_83xx.h | 218 uint8_t *start_offset; member
|
| /linux/include/uapi/scsi/ |
| H A D | scsi_bsg_mpi3mr.h | 341 __u32 start_offset; member
|