Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/lima/
H A Dlima_drv.c294 size_t max_off = reader->base + src_size; in lima_read_block() local
296 if (reader->off < max_off) { in lima_read_block()
297 size_t size = min_t(size_t, max_off - reader->off, in lima_read_block()
308 reader->base = max_off; in lima_read_block()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_fb_helper.c720 unsigned long start, end, min_off, max_off, total_size; in drm_fb_helper_deferred_io() local
725 max_off = 0; in drm_fb_helper_deferred_io()
730 max_off = max(max_off, end); in drm_fb_helper_deferred_io()
742 max_off = min(max_off, total_size); in drm_fb_helper_deferred_io()
744 if (min_off < max_off) { in drm_fb_helper_deferred_io()
745 drm_fb_helper_memory_range_to_clip(info, min_off, max_off - min_off, &damage_area); in drm_fb_helper_deferred_io()
/openbmc/linux/mm/
H A Duserfaultfd.c53 pgoff_t offset, max_off; in mfill_file_over_size() local
60 max_off = DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE); in mfill_file_over_size()
61 return offset >= max_off; in mfill_file_over_size()
H A Dshmem.c2585 pgoff_t max_off; in shmem_mfill_atomic_pte() local
2655 max_off = DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE); in shmem_mfill_atomic_pte()
2656 if (unlikely(pgoff >= max_off)) in shmem_mfill_atomic_pte()
/openbmc/u-boot/board/ti/am43xx/
H A Dboard.c348 static int get_opp_offset(int max_off, int min_off) in get_opp_offset() argument
356 for (i = max_off; i >= min_off; i--) { in get_opp_offset()
/openbmc/linux/drivers/infiniband/hw/mthca/
H A 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()
/openbmc/linux/fs/smb/client/
H A Dsmb2misc.c316 const int max_off = 4096; in smb2_get_data_area_len() local
390 if (unlikely(*off < 0 || *off > max_off || in smb2_get_data_area_len()
/openbmc/linux/fs/ocfs2/
H A Dfile.c1943 unsigned long long max_off = inode->i_sb->s_maxbytes; in __ocfs2_change_file_space() local
1990 || sr->l_start > max_off in __ocfs2_change_file_space()
1992 || (sr->l_start + llen) > max_off) { in __ocfs2_change_file_space()
/openbmc/linux/kernel/bpf/
H A Dverifier.c4701 int min_off, max_off; in check_stack_write_var_off() local
4721 for (i = min_off; i < max_off; i++) { in check_stack_write_var_off()
4731 for (i = min_off; i < max_off; i++) { in check_stack_write_var_off()
4809 for (i = min_off; i < max_off; i++) { in mark_reg_stack_read()
4818 if (zeros == max_off - min_off) { in mark_reg_stack_read()
4986 int min_off, max_off; in check_stack_read_var_off() local
4996 max_off = reg->smax_value + off; in check_stack_read_var_off()
6636 s64 min_off, max_off; in check_stack_access_within_bounds() local
6650 max_off = min_off + access_size; in check_stack_access_within_bounds()
6663 if (!err && max_off > 0) in check_stack_access_within_bounds()
[all …]