Home
last modified time | relevance | path

Searched refs:end_offset (Results 1 – 25 of 40) sorted by relevance

12

/linux/drivers/net/ethernet/intel/libie/
H A Dpci.c23 resource_size_t end_offset = offset + size; in libie_find_mmio_region() local
32 if (offset < mr_end && end_offset > mr_start) in libie_find_mmio_region()
100 resource_size_t end_offset; in __libie_pci_map_mmio_region() local
118 if (!size || check_add_overflow(offset, size, &end_offset) || in __libie_pci_map_mmio_region()
119 end_offset > pci_resource_len(pdev, bar_idx)) in __libie_pci_map_mmio_region()
131 mr->offset + mr->size >= end_offset; in __libie_pci_map_mmio_region()
/linux/rust/syn/
H A Dbuffer.rs249 if let Entry::Group(group, end_offset) = self.entry() { in group()
252 let end_of_group = unsafe { self.ptr.add(*end_offset) }; in group()
265 if let Entry::Group(group, end_offset) = self.entry() { in any_group()
268 let end_of_group = unsafe { self.ptr.add(*end_offset) }; in any_group()
278 if let Entry::Group(group, end_offset) = self.entry() { in any_group_token()
279 let end_of_group = unsafe { self.ptr.add(*end_offset) }; in any_group_token()
308 Entry::Group(group, end_offset) => (group.clone().into(), *end_offset), in token_tree()
366 Entry::Group(_, end_offset) => *end_offset, in skip()
/linux/drivers/android/tests/
H A Dbinder_alloc_kunit.c
/linux/arch/x86/kernel/
H A Dftrace.c312 unsigned long end_offset; in create_trampoline() local
330 end_offset = (unsigned long)ftrace_regs_caller_end; in create_trampoline()
336 end_offset = (unsigned long)ftrace_caller_end; in create_trampoline()
342 size = end_offset - start_offset; in create_trampoline()
439 unsigned long end_offset; in set_ftrace_ops_ro() local
449 end_offset = (unsigned long)ftrace_regs_caller_end; in set_ftrace_ops_ro()
452 end_offset = (unsigned long)ftrace_caller_end; in set_ftrace_ops_ro()
454 size = end_offset - start_offset; in set_ftrace_ops_ro()
/linux/include/trace/events/
H A Dbcache.h400 unsigned end_inode, uint64_t end_offset),
403 end_inode, end_offset),
410 __field(__u64, end_offset )
418 __entry->end_offset = end_offset;
423 __entry->end_inode, __entry->end_offset)
/linux/net/devlink/
H A Dregion.c799 void *cb_priv, u64 start_offset, u64 end_offset, in devlink_nl_region_read_fill()
813 while (curr_offset < end_offset) { in devlink_nl_region_read_fill()
816 data_size = min_t(u32, end_offset - curr_offset, in devlink_nl_region_read_fill()
874 u64 ret_offset, start_offset, end_offset = U64_MAX; in devlink_nl_region_read_dumpit()
969 end_offset = nla_get_u64(attrs[DEVLINK_ATTR_REGION_CHUNK_ADDR]); in devlink_nl_region_read_dumpit()
970 end_offset += nla_get_u64(attrs[DEVLINK_ATTR_REGION_CHUNK_LEN]); in devlink_nl_region_read_dumpit()
973 if (end_offset > region->size) in devlink_nl_region_read_dumpit()
974 end_offset = region->size; in devlink_nl_region_read_dumpit()
977 if (start_offset == end_offset) { in devlink_nl_region_read_dumpit()
1012 start_offset, end_offset, in devlink_nl_region_read_dumpit()
794 devlink_nl_region_read_fill(struct sk_buff * skb,devlink_chunk_fill_t * cb,void * cb_priv,u64 start_offset,u64 end_offset,u64 * new_offset,struct netlink_ext_ack * extack) devlink_nl_region_read_fill() argument
869 u64 ret_offset, start_offset, end_offset = U64_MAX; devlink_nl_region_read_dumpit() local
[all...]
/linux/fs/ntfs/
H A Dfile.c1284 loff_t end_offset;
1300 end_offset = ni->data_size;
1302 end_offset = offset + len;
1310 end_vcn = ntfs_bytes_to_cluster(vol, end_offset - 1) + 1;
1318 end_offset);
1330 if (end_offset & vol->cluster_size_mask) {
1335 err = iomap_zero_range(vi, from, end_offset - from,
1408 loff_t alloc_size, end_offset = offset + len;
1427 end_vcn = ntfs_bytes_to_cluster(vol, end_offset - 1) + 1;
951 loff_t end_offset; ntfs_punch_hole() local
1073 loff_t alloc_size, end_offset = offset + len; ntfs_insert_range() local
/linux/lib/
H A Dbootconfig.c130 * @end_offset: if non-NULL, set to the offset of the init arguments that
137 * arguments via @end_offset. Sharing one parser keeps the early and late
141 bool __init bootconfig_cmdline_requested(const char *boot_cmdline, int *end_offset) in bootconfig_cmdline_requested() argument
147 if (end_offset) in bootconfig_cmdline_requested()
148 *end_offset = 0; in bootconfig_cmdline_requested()
157 if (end_offset && err) in bootconfig_cmdline_requested()
158 *end_offset = err - tmp_cmdline; in bootconfig_cmdline_requested()
/linux/drivers/tty/vt/
H A Dgen_ucs_fallback_table.py249 end_offset = entries[j-1][0]
255 compressed_entries.append((end_offset, fallback))
/linux/mm/
H A Dswap_state.c890 unsigned long start_offset, end_offset; in swap_vma_ra_win()
903 end_offset = offset | mask;
906 if (end_offset >= si->max)
907 end_offset = si->max - 1;
910 for (offset = start_offset; offset <= end_offset ; offset++) {
826 unsigned long start_offset, end_offset; swap_cluster_readahead() local
H A Dfilemap.c2826 loff_t isize, end_offset; in filemap_read()
2868 end_offset = min_t(loff_t, isize, iocb->ki_pos + iter->count); in filemap_read()
2888 size_t bytes = min_t(loff_t, end_offset - iocb->ki_pos, in filemap_read()
2892 if (end_offset < folio_pos(folio)) in filemap_read()
3112 loff_t isize, end_offset; in filemap_splice_read()
3151 end_offset = min_t(loff_t, isize, *ppos + len); in filemap_splice_read()
3163 if (folio_pos(folio) >= end_offset)
2797 loff_t isize, end_offset; filemap_read() local
3079 loff_t isize, end_offset; filemap_splice_read() local
H A Dswapfile.c2205 const unsigned long end_offset = start_offset + nr; in swap_free_hibernation_slot()
2212 if (WARN_ON_ONCE(end_offset > si->max)) in swap_free_hibernation_slot()
2218 cluster_end = min(round_up(offset + 1, SWAPFILE_CLUSTER), end_offset);
2221 } while (offset < end_offset); in __find_hibernation_swap_type()
2125 const unsigned long end_offset = start_offset + nr; swap_put_entries_direct() local
/linux/drivers/char/xillybus/
H A Dxillybus.h28 int end_offset; /* Counting elements, not bytes */ member
H A Dxillybus_core.c68 * buffers' end_offset fields against changes made by IRQ handler (and in
74 * rd_spinlock does the same with rd_*_buf_idx, rd_empty and end_offset.
197 channel->wr_buffers[msg_bufno]->end_offset = in xillybus_isr()
701 if (channel->wr_buffers[0]->end_offset != endpoint->idtlen) { in xillybus_read()
704 channel->wr_buffers[0]->end_offset, endpoint->idtlen); in xillybus_read()
764 howmany = ((channel->wr_buffers[bufidx]->end_offset in xillybus_read()
/linux/drivers/gpu/drm/xe/
H A Dxe_pt.c915 * @end_offset: Ignored on input, Last non-shared entry + 1 on output. in xe_pt_nonshared_offsets()
931 pgoff_t *offset, pgoff_t *end_offset) in xe_pt_nonshared_offsets()
936 *end_offset = xe_pt_num_entries(addr, end, level, walk) + *offset; in xe_pt_nonshared_offsets()
953 (*end_offset)--;
956 return *end_offset > *offset;
981 pgoff_t end_offset; in xe_pt_zap_ptes_entry()
1000 &end_offset)) {
1003 (end_offset - offset) * sizeof(u64));
1932 pgoff_t end_offset; in xe_pt_stage_unbind_post_descend()
1947 &end_offset)) in xe_pt_stage_unbind_post_descend()
916 xe_pt_nonshared_offsets(u64 addr,u64 end,unsigned int level,struct xe_pt_walk * walk,enum page_walk_action * action,pgoff_t * offset,pgoff_t * end_offset) xe_pt_nonshared_offsets() argument
966 pgoff_t end_offset; xe_pt_zap_ptes_entry() local
1931 pgoff_t end_offset; xe_pt_stage_unbind_post_descend() local
[all...]
/linux/fs/f2fs/
H A Dfile.c527 pgoff_t pgofs, end_offset; in f2fs_seek_block()
567 end_offset = ADDRS_PER_PAGE(dn.node_entry, inode); in f2fs_seek_block()
570 for (; dn.ofs_in_node < end_offset; in f2fs_seek_block()
1325 pgoff_t end_offset, count; in f2fs_truncate_hole()
1338 end_offset = ADDRS_PER_PAGE(dn.node_entry, inode); in f2fs_truncate_hole()
1339 count = min(end_offset - dn.ofs_in_node, pg_end - pg_start); in f2fs_truncate_hole()
1341 f2fs_bug_on(F2FS_I_SB(inode), count == 0 || count > end_offset); in f2fs_truncate_hole()
1814 unsigned int end_offset; in f2fs_zero_range()
1835 end_offset = ADDRS_PER_PAGE(dn.node_entry, inode); in f2fs_zero_range()
1836 end = min(pg_end, end_offset in f2fs_zero_range()
518 pgoff_t pgofs, end_offset; f2fs_seek_block() local
1320 pgoff_t end_offset, count; f2fs_truncate_hole() local
1808 unsigned int end_offset; f2fs_zero_range() local
4264 pgoff_t end_offset, count; f2fs_release_compress_blocks() local
4443 pgoff_t end_offset, count; f2fs_reserve_compress_blocks() local
4613 pgoff_t end_offset, count; f2fs_sec_trim_file() local
[all...]
/linux/fs/btrfs/
H A Dioctl.c5285 u64 end_offset; in btrfs_ioctl_get_csums()
5318 end_offset = args.offset + args.length; in btrfs_ioctl_get_csums()
5340 .length = end_offset - cur_offset, in btrfs_ioctl_get_csums()
5350 cur_offset = end_offset; in btrfs_ioctl_get_csums()
5356 while (cur_offset < end_offset) { in btrfs_ioctl_get_csums()
5427 u64 hole_end = min(key_offset, end_offset); in btrfs_ioctl_get_csums()
5445 if (key_offset >= end_offset) { in btrfs_ioctl_get_csums()
5446 cur_offset = end_offset; in btrfs_ioctl_get_csums()
5453 range_len = min(extent_end, end_offset) - range_start; in btrfs_ioctl_get_csums()
5526 if (cur_offset < end_offset) { in btrfs_ioctl_get_csums()
5266 u64 end_offset; btrfs_ioctl_get_csums() local
[all...]
/linux/drivers/net/wireless/ath/ath12k/
H A Ddp.c580 u32 end_offset, cookie; in ath12k_dp_scatter_idle_link_desc_setup()
628 end_offset = (scatter_buf - slist[scatter_idx].vaddr) * in ath12k_dp_scatter_idle_link_desc_setup()
631 n_link_desc, end_offset); in ath12k_dp_scatter_idle_link_desc_setup()
579 u32 end_offset, cookie; ath12k_dp_scatter_idle_link_desc_setup() local
H A Dhal.c88 u32 end_offset) in ath12k_hal_setup_link_idle_list() argument
91 end_offset); in ath12k_hal_setup_link_idle_list()
H A Dhal.h1421 u32 end_offset);
1525 u32 end_offset);
/linux/arch/arm64/kernel/
H A Dsignal.c67 unsigned long end_offset; member
241 ret = sigframe_alloc(user, &user->end_offset, in sigframe_alloc_end()
1381 apply_user_offset(user, user->end_offset); in setup_sigframe()
/linux/arch/arm/probes/kprobes/
H A Dtest-core.h80 u16 end_offset; member
/linux/fs/gfs2/
H A Dbmap.c1793 u64 end_offset = offset + length; in punch_hole()
1801 if (end_offset > maxsize) in punch_hole()
1802 end_offset = maxsize; in punch_hole()
1803 lend = end_offset >> bsize_shift; in punch_hole()
1788 u64 end_offset = offset + length; punch_hole() local
/linux/drivers/net/wireless/ath/ath12k/wifi7/
H A Ddp_mon.c3256 u32 hal_status, end_offset, info0, end_reason; in ath12k_wifi7_dp_mon_srng_process()
3323 end_offset = u32_get_bits(info0, HAL_MON_DEST_INFO0_END_OFFSET); in ath12k_wifi7_dp_mon_srng_process()
3324 if (likely(end_offset <= DP_RX_BUFFER_SIZE)) { in ath12k_wifi7_dp_mon_srng_process()
3325 skb_put(skb, end_offset); in ath12k_wifi7_dp_mon_srng_process()
3329 end_offset); in ath12k_wifi7_dp_mon_srng_process()
3253 u32 hal_status, end_offset, info0, end_reason; ath12k_wifi7_dp_mon_srng_process() local
/linux/fs/xfs/
H A Dxfs_iomap.c2063 xfs_off_t end_offset; in xfs_buffered_write_iomap_begin()
2066 end_offset = XFS_ALLOC_ALIGN(mp, offset + count - 1); in xfs_buffered_write_iomap_begin()
2067 p_end_fsb = XFS_B_TO_FSBT(mp, end_offset) + in xfs_buffered_write_iomap_begin()
2039 xfs_off_t end_offset; xfs_buffered_write_iomap_begin() local

12