| /linux/arch/arm64/kernel/ |
| H A D | alternative.c | 81 s32 orig_offset, new_offset; in get_alt_insn() local 91 new_offset = target - align_down(insnptr, SZ_4K); in get_alt_insn() 92 insn = aarch64_insn_adrp_set_offset(insn, new_offset); in get_alt_insn()
|
| /linux/drivers/gpu/drm/imagination/ |
| H A D | pvr_gem.c | 415 u32 new_offset = accumulated_offset + sg_dma_len(sgl); in pvr_gem_get_dma_addr() local 417 if (offset >= accumulated_offset && offset < new_offset) { in pvr_gem_get_dma_addr() 423 accumulated_offset = new_offset; in pvr_gem_get_dma_addr()
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_fb.c | 976 u32 new_offset) in intel_adjust_tile_offset() argument 982 WARN_ON(new_offset & (tile_size - 1)); in intel_adjust_tile_offset() 983 WARN_ON(new_offset > old_offset); in intel_adjust_tile_offset() 985 tiles = (old_offset - new_offset) / tile_size; in intel_adjust_tile_offset() 994 return new_offset; in intel_adjust_tile_offset() 1001 u32 new_offset) in intel_adjust_linear_offset() argument 1005 *y = (old_offset - new_offset) / pitch; in intel_adjust_linear_offset() 1006 *x = ((old_offset - new_offset) - *y * pitch) / cpp; in intel_adjust_linear_offset() 1008 return new_offset; in intel_adjust_linear_offset() 1016 u32 old_offset, u32 new_offset) in intel_adjust_aligned_offset() argument [all …]
|
| /linux/sound/soc/sof/ |
| H A D | ipc3-dtrace.c | 250 static bool sof_dtrace_set_host_offset(struct sof_dtrace_priv *priv, u32 new_offset) in sof_dtrace_set_host_offset() argument 254 if (host_offset != new_offset) { in sof_dtrace_set_host_offset() 256 u32 ret = cmpxchg(&priv->host_offset, host_offset, new_offset); in sof_dtrace_set_host_offset()
|
| /linux/fs/jbd2/ |
| H A D | journal.c | 333 unsigned int new_offset; in jbd2_journal_write_metadata_buffer() local 360 new_offset = offset_in_folio(new_folio, jh_in->b_frozen_data); in jbd2_journal_write_metadata_buffer() 369 new_offset = offset_in_folio(new_folio, bh_in->b_data); in jbd2_journal_write_metadata_buffer() 370 mapped_data = kmap_local_folio(new_folio, new_offset); in jbd2_journal_write_metadata_buffer() 396 memcpy_from_folio(tmp, new_folio, new_offset, bh_in->b_size); in jbd2_journal_write_metadata_buffer() 406 new_offset = offset_in_folio(new_folio, jh_in->b_frozen_data); in jbd2_journal_write_metadata_buffer() 411 folio_set_bh(new_bh, new_folio, new_offset); in jbd2_journal_write_metadata_buffer()
|
| /linux/include/uapi/linux/raid/ |
| H A D | md_p.h | 261 __le32 new_offset; /* signed number to add to data_offset in new member 321 #define MD_FEATURE_NEW_OFFSET 64 /* new_offset must be honoured */
|
| /linux/net/devlink/ |
| H A D | region.c | 795 u64 *new_offset, struct netlink_ext_ack *extack) in devlink_nl_region_read_fill() argument 806 *new_offset = start_offset; in devlink_nl_region_read_fill() 824 *new_offset = curr_offset; in devlink_nl_region_read_fill()
|
| /linux/net/bridge/netfilter/ |
| H A D | ebtables.c | 2097 unsigned int i, j, startoff, next_expected_off, new_offset = 0; in size_entry_mwt() local 2166 new_offset += ret; in size_entry_mwt() 2167 if (offsets_update && new_offset) { in size_entry_mwt() 2169 offsets_update[i], offsets[j] + new_offset); in size_entry_mwt() 2170 offsets_update[i] = offsets[j] + new_offset; in size_entry_mwt() 2177 ret = xt_compat_add_offset(NFPROTO_BRIDGE, offset, new_offset); in size_entry_mwt()
|
| /linux/drivers/md/ |
| H A D | md.c | 1329 unsigned long long new_offset); 1764 super_90_allow_new_offset(struct md_rdev *rdev, unsigned long long new_offset) in super_90_allow_new_offset() argument 1767 return new_offset == 0; in super_90_allow_new_offset() 1869 rdev->new_data_offset += (s32)le32_to_cpu(sb->new_offset); in super_1_load() 2264 sb->new_offset = cpu_to_le32((__u32)(rdev->new_data_offset in super_1_sync() 2423 unsigned long long new_offset) in super_1_allow_new_offset() argument 2428 if (new_offset >= rdev->data_offset) in super_1_allow_new_offset() 2442 if (rdev->sb_start + (32+4)*2 > new_offset) in super_1_allow_new_offset() 2451 stats.file_pages * (PAGE_SIZE >> 9) > new_offset) in super_1_allow_new_offset() 2455 if (rdev->badblocks.sector + rdev->badblocks.size > new_offset) in super_1_allow_new_offset() [all …]
|
| /linux/drivers/net/ethernet/broadcom/genet/ |
| H A D | bcmgenet.c | 1219 u16 new_offset; in bcmgenet_update_stat_misc() local 1225 new_offset = RBUF_OVFL_CNT_V2; in bcmgenet_update_stat_misc() 1227 new_offset = RBUF_OVFL_CNT_V3PLUS; in bcmgenet_update_stat_misc() 1229 val = bcmgenet_rbuf_readl(priv, new_offset); in bcmgenet_update_stat_misc() 1232 bcmgenet_rbuf_writel(priv, 0, new_offset); in bcmgenet_update_stat_misc() 1236 new_offset = RBUF_ERR_CNT_V2; in bcmgenet_update_stat_misc() 1238 new_offset = RBUF_ERR_CNT_V3PLUS; in bcmgenet_update_stat_misc() 1240 val = bcmgenet_rbuf_readl(priv, new_offset); in bcmgenet_update_stat_misc() 1243 bcmgenet_rbuf_writel(priv, 0, new_offset); in bcmgenet_update_stat_misc()
|
| /linux/drivers/android/binder/ |
| H A D | thread.rs | 216 let new_offset = self.offset.checked_add(size).ok_or(EINVAL)?; in claim_next() localVariable 218 if new_offset <= self.limit { in claim_next() 220 self.offset = new_offset; in claim_next()
|
| /linux/fs/ |
| H A D | libfs.c | 358 long new_offset = dentry2offset(new_dentry); in simple_offset_rename() local 360 if (WARN_ON(!new_offset)) in simple_offset_rename() 365 WARN_ON(simple_offset_replace(new_ctx, old_dentry, new_offset)); in simple_offset_rename()
|
| /linux/fs/ocfs2/ |
| H A D | xattr.c | 245 int *new_offset); 3789 int i, ret = 0, cmp = 1, block_off, new_offset; in ocfs2_find_xe_in_bucket() local 3817 &new_offset); in ocfs2_find_xe_in_bucket() 3824 xe_name = bucket_block(bucket, block_off) + new_offset; in ocfs2_find_xe_in_bucket() 4063 int *new_offset) in ocfs2_xattr_bucket_get_name_value() argument 4073 *new_offset = name_offset % sb->s_blocksize; in ocfs2_xattr_bucket_get_name_value() 4084 int i, block_off, new_offset; in ocfs2_list_xattr_bucket() local 4095 &new_offset); in ocfs2_list_xattr_bucket() 4100 new_offset; in ocfs2_list_xattr_bucket()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_adminq_cmd.h | 1929 __le16 new_offset; member
|