| /linux-6.15/fs/netfs/ |
| H A D | iterator.c | 115 size_t skip = iter->iov_offset + start_offset; in netfs_limit_bvec() 118 WARN_ON(start_offset > n) || in netfs_limit_bvec() 163 WARN_ON(start_offset > n) || in netfs_limit_xarray() 166 max_size = min(max_size, n - start_offset); in netfs_limit_xarray() 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() 219 if (start_offset < flen) { in netfs_limit_folioq() 220 span += flen - start_offset; in netfs_limit_folioq() 222 start_offset = 0; in netfs_limit_folioq() [all …]
|
| /linux-6.15/arch/x86/kernel/ |
| H A D | ftrace.c | 306 unsigned long start_offset; in create_trampoline() local 330 start_offset = (unsigned long)ftrace_caller; in create_trampoline() 337 size = end_offset - start_offset; in create_trampoline() 384 op_offset -= start_offset; in create_trampoline() 402 call_offset -= start_offset; in create_trampoline() 426 unsigned long start_offset; in set_ftrace_ops_ro() local 439 start_offset = (unsigned long)ftrace_caller; in set_ftrace_ops_ro() 442 size = end_offset - start_offset; in set_ftrace_ops_ro() 451 unsigned long start_offset; in calc_trampoline_call_offset() local 458 start_offset = (unsigned long)ftrace_caller; in calc_trampoline_call_offset() [all …]
|
| /linux-6.15/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-6.15/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-6.15/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-6.15/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-6.15/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()
|
| H A D | mlx5_ifc_dr_ste_v1.h | 40 u8 start_offset[0x7]; member 86 u8 start_offset[0x7]; member 96 u8 start_offset[0x7]; member
|
| /linux-6.15/drivers/slimbus/ |
| H A D | messaging.c | 185 (msg->start_offset + msg->num_bytes) > 0xC00) in slim_val_inf_sanity() 209 msg->start_offset, mc); in slim_val_inf_sanity() 254 msg->start_offset, msg->num_bytes, mc, sl); in slim_xfer_msg() 256 txn->ec = ((sl | (1 << 3)) | ((msg->start_offset & 0xFFF) << 4)); in slim_xfer_msg() 279 msg->start_offset = addr; in slim_fill_msg()
|
| /linux-6.15/mm/ |
| H A D | process_vm_access.c | 82 unsigned long start_offset = addr - pa; in process_vm_rw_single_vec() local 114 bytes = pinned_pages * PAGE_SIZE - start_offset; in process_vm_rw_single_vec() 119 start_offset, bytes, iter, in process_vm_rw_single_vec() 122 start_offset = 0; in process_vm_rw_single_vec()
|
| H A D | swap_state.c | 594 unsigned long start_offset, end_offset; in swap_cluster_readahead() local 606 start_offset = offset & ~mask; in swap_cluster_readahead() 608 if (!start_offset) /* First page is swap header. */ in swap_cluster_readahead() 609 start_offset++; in swap_cluster_readahead() 614 for (offset = start_offset; offset <= end_offset ; offset++) { in swap_cluster_readahead()
|
| /linux-6.15/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-6.15/include/rdma/ |
| H A D | ib_umem_odp.h | 96 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-6.15/net/devlink/ |
| H A D | region.c | 794 void *cb_priv, u64 start_offset, u64 end_offset, in devlink_nl_region_read_fill() argument 797 u64 curr_offset = start_offset; in devlink_nl_region_read_fill() 806 *new_offset = start_offset; in devlink_nl_region_read_fill() 869 u64 ret_offset, start_offset, end_offset = U64_MAX; in devlink_nl_region_read_dumpit() local 881 start_offset = state->start_offset; in devlink_nl_region_read_dumpit() 960 if (!start_offset) in devlink_nl_region_read_dumpit() 961 start_offset = in devlink_nl_region_read_dumpit() 972 if (start_offset == end_offset) { in devlink_nl_region_read_dumpit() 1007 start_offset, end_offset, &ret_offset, in devlink_nl_region_read_dumpit() 1014 if (ret_offset == start_offset) { in devlink_nl_region_read_dumpit() [all …]
|
| /linux-6.15/drivers/staging/media/tegra-video/ |
| H A D | tegra20.c | 301 chan->start_offset = 0; in tegra20_channel_queue_setup() 309 chan->start_offset += stride * (height - 1); in tegra20_channel_queue_setup() 311 chan->start_offset += stride - 1; in tegra20_channel_queue_setup() 327 chan->start_offset += stride * (height - 1); in tegra20_channel_queue_setup() 332 chan->start_offset += stride - 1; in tegra20_channel_queue_setup() 371 tegra20_vi_write(chan, TEGRA_VI_VB0_START_ADDRESS_FIRST, base + chan->start_offset); in tegra20_channel_vi_buffer_setup()
|
| /linux-6.15/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-6.15/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-6.15/drivers/media/platform/raspberrypi/rp1-cfe/ |
| H A D | pisp-fe.c | 194 unsigned int start_offset, unsigned int size) in pisp_fe_config_write() argument 201 start_offset = min(start_offset, max_offset); in pisp_fe_config_write() 202 end_offset = min(start_offset + size, max_offset); in pisp_fe_config_write() 204 cfg += start_offset >> 2; in pisp_fe_config_write() 205 for (unsigned int i = start_offset; i < end_offset; i += 4, cfg++) in pisp_fe_config_write()
|
| /linux-6.15/drivers/thunderbolt/ |
| H A 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-6.15/drivers/md/dm-vdo/indexer/ |
| H A D | index-layout.c | 188 u64 start_offset; member 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() 1383 first_block -= (super->volume_offset - super->start_offset); in load_super_block() 1601 offset = layout->super.volume_offset - layout->super.start_offset; in verify_uds_index_config() [all …]
|
| /linux-6.15/fs/bcachefs/ |
| H A D | fs-io-pagecache.c | 694 loff_t start_offset, in bch2_seek_pagecache_data() argument 700 pgoff_t start_index = start_offset >> PAGE_SHIFT; in bch2_seek_pagecache_data() 722 max(folio_pos(folio), start_offset), in bch2_seek_pagecache_data() 726 start_offset, end_offset); in bch2_seek_pagecache_data() 783 loff_t start_offset, in bch2_seek_pagecache_hole() argument 789 loff_t offset = start_offset; in bch2_seek_pagecache_hole()
|
| H A D | fs-io.c | 281 unsigned start_offset; in __bch2_truncate_folio() local 312 start_offset = max(start, folio_pos(folio)) - folio_pos(folio); in __bch2_truncate_folio() 316 if (start_offset == 0 && in __bch2_truncate_folio() 338 for (i = round_up(start_offset, block_bytes(c)) >> 9; in __bch2_truncate_folio() 365 folio_zero_segment(folio, start_offset, end_offset); in __bch2_truncate_folio() 1030 loff_t start_offset = k.k->p.inode == inode->v.i_ino in bch2_seek_hole() 1045 start_offset, end_offset, 0, false); in bch2_seek_hole()
|
| /linux-6.15/drivers/gpu/drm/imagination/ |
| H A D | pvr_fw_trace.c | 176 u32 start_offset; member 205 idx = (idx + trace_seq_data->start_offset) % ROGUE_FW_TRACE_BUF_DEFAULT_SIZE_IN_DWORDS; in read_fw_trace() 406 trace_seq_data->start_offset = READ_ONCE(tracebuf_space->trace_pointer); in fw_trace_open()
|
| /linux-6.15/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cudbg_lib_common.h | 37 u32 start_offset; member
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/inc/hw/ |
| H A D | dmcu.h | 62 unsigned int start_offset,
|