Searched refs:max_off (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.1/mm/ |
D | userfaultfd.c | 70 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()
|
D | shmem.c | 2415 pgoff_t max_off; in shmem_mfill_atomic_pte() local 2485 max_off = DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE); in shmem_mfill_atomic_pte() 2486 if (unlikely(pgoff >= max_off)) in shmem_mfill_atomic_pte()
|
/Linux-v6.1/drivers/gpu/drm/lima/ |
D | lima_drv.c | 296 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-v6.1/drivers/gpu/drm/ |
D | drm_fb_helper.c | 742 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-v6.1/drivers/infiniband/hw/mthca/ |
D | mthca_cmd.c | 754 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-v6.1/kernel/bpf/ |
D | verifier.c | 3156 int min_off, max_off; in check_stack_write_var_off() local 3168 max_off = ptr_reg->smax_value + off + size; in check_stack_write_var_off() 3180 for (i = min_off; i < max_off; i++) { in check_stack_write_var_off() 3247 int min_off, int max_off, int dst_regno) in mark_reg_stack_read() argument 3255 for (i = min_off; i < max_off; i++) { in mark_reg_stack_read() 3263 if (zeros == max_off - min_off) { in mark_reg_stack_read() 3425 int min_off, max_off; in check_stack_read_var_off() local 3435 max_off = reg->smax_value + off; in check_stack_read_var_off() 3436 mark_reg_stack_read(env, ptr_state, min_off, max_off + size, dst_regno); in check_stack_read_var_off() 4663 int min_off, max_off; in check_stack_access_within_bounds() local [all …]
|
/Linux-v6.1/fs/ocfs2/ |
D | file.c | 1933 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()
|