Home
last modified time | relevance | path

Searched refs:max_off (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/mm/
Duserfaultfd.c70 pgoff_t offset, max_off; in mfill_atomic_install_pte() local
101 max_off = DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE); in mfill_atomic_install_pte()
103 if (unlikely(offset >= max_off)) in mfill_atomic_install_pte()
227 pgoff_t offset, max_off; in mfill_zeropage_pte() local
237 max_off = DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE); in mfill_zeropage_pte()
239 if (unlikely(offset >= max_off)) in mfill_zeropage_pte()
Dshmem.c2413 pgoff_t max_off; in shmem_mfill_atomic_pte() local
2483 max_off = DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE); in shmem_mfill_atomic_pte()
2484 if (unlikely(pgoff >= max_off)) in shmem_mfill_atomic_pte()
/linux-6.1.9/drivers/gpu/drm/lima/
Dlima_drv.c296 size_t max_off = reader->base + src_size; in lima_read_block() local
298 if (reader->off < max_off) { in lima_read_block()
299 size_t size = min_t(size_t, max_off - reader->off, in lima_read_block()
310 reader->base = max_off; in lima_read_block()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_fb_helper.c742 unsigned long start, end, min_off, max_off; in drm_fb_helper_deferred_io() local
747 max_off = 0; in drm_fb_helper_deferred_io()
752 max_off = max(max_off, end); in drm_fb_helper_deferred_io()
754 if (min_off >= max_off) in drm_fb_helper_deferred_io()
762 max_off = min(max_off, info->screen_size); in drm_fb_helper_deferred_io()
764 drm_fb_helper_memory_range_to_clip(info, min_off, max_off - min_off, &damage_area); in drm_fb_helper_deferred_io()
/linux-6.1.9/drivers/infiniband/hw/mthca/
Dmthca_cmd.c754 u16 max_off = 0; in mthca_setup_cmd_doorbells() local
758 max_off = max(max_off, dev->cmd.dbell_offsets[i]); in mthca_setup_cmd_doorbells()
760 if ((base & PAGE_MASK) != ((base + max_off) & PAGE_MASK)) { in mthca_setup_cmd_doorbells()
763 (unsigned long long) base, max_off); in mthca_setup_cmd_doorbells()
769 dev->cmd.dbell_map = ioremap(addr, max_off + sizeof(u32)); in mthca_setup_cmd_doorbells()
/linux-6.1.9/kernel/bpf/
Dverifier.c3169 int min_off, max_off; in check_stack_write_var_off() local
3181 max_off = ptr_reg->smax_value + off + size; in check_stack_write_var_off()
3193 for (i = min_off; i < max_off; i++) { in check_stack_write_var_off()
3263 int min_off, int max_off, int dst_regno) in mark_reg_stack_read() argument
3271 for (i = min_off; i < max_off; i++) { in mark_reg_stack_read()
3279 if (zeros == max_off - min_off) { in mark_reg_stack_read()
3441 int min_off, max_off; in check_stack_read_var_off() local
3451 max_off = reg->smax_value + off; in check_stack_read_var_off()
3452 mark_reg_stack_read(env, ptr_state, min_off, max_off + size, dst_regno); in check_stack_read_var_off()
4679 int min_off, max_off; in check_stack_access_within_bounds() local
[all …]
/linux-6.1.9/fs/ocfs2/
Dfile.c1933 unsigned long long max_off = inode->i_sb->s_maxbytes; in __ocfs2_change_file_space() local
1978 || sr->l_start > max_off in __ocfs2_change_file_space()
1980 || (sr->l_start + llen) > max_off) { in __ocfs2_change_file_space()