Home
last modified time | relevance | path

Searched refs:LLONG_MAX (Results 1 – 25 of 59) sorted by relevance

123

/openbmc/linux/drivers/gpu/drm/amd/display/include/
H A Dfixed31_32.h29 #ifndef LLONG_MAX
30 #define LLONG_MAX 9223372036854775807ll macro
33 #define LLONG_MIN (-LLONG_MAX - 1ll)
40 #ifndef LLONG_MAX
41 #define LLONG_MAX (-1LL>>1) macro
212 ASSERT(((arg.value >= 0) && (arg.value <= LLONG_MAX >> shift)) || in dc_fixpt_shl()
213 ((arg.value < 0) && (arg.value >= ~(LLONG_MAX >> shift)))); in dc_fixpt_shl()
249 ASSERT(((arg1.value >= 0) && (LLONG_MAX - arg1.value >= arg2.value)) || in dc_fixpt_add()
275 ((arg2.value < 0) && (LLONG_MAX + arg2.value >= arg1.value))); in dc_fixpt_sub()
466 ASSERT(LLONG_MAX - (long long)arg_value >= summand); in dc_fixpt_round()
[all …]
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-httpd/cherokee/cherokee/
H A D0001-common-internal.h-Define-LLONG_MAX-if-undefined.patch4 Subject: [PATCH] common-internal.h: Define LLONG_MAX if undefined
25 +#ifndef LLONG_MAX
27 +# define LLONG_MAX 0x7fffffffffffffffLL
29 +# error "Can't define LLONG_MAX"
41 +# define TIME_MAX ((time_t)LLONG_MAX)
/openbmc/linux/drivers/gpu/drm/amd/display/dc/basics/
H A Dfixpt31_32.c110 ASSERT(res_value <= LLONG_MAX - summand); in dc_fixpt_from_fraction()
149 ASSERT(tmp <= (unsigned long long)(LLONG_MAX - res.value)); in dc_fixpt_mul()
155 ASSERT(tmp <= (unsigned long long)(LLONG_MAX - res.value)); in dc_fixpt_mul()
164 ASSERT(tmp <= (unsigned long long)(LLONG_MAX - res.value)); in dc_fixpt_mul()
194 ASSERT(tmp <= (unsigned long long)(LLONG_MAX - res.value)); in dc_fixpt_sqr()
198 ASSERT(tmp <= (unsigned long long)(LLONG_MAX - res.value)); in dc_fixpt_sqr()
207 ASSERT(tmp <= (unsigned long long)(LLONG_MAX - res.value)); in dc_fixpt_sqr()
/openbmc/linux/include/vdso/
H A Dlimits.h14 #define LLONG_MAX ((long long)(~0ULL >> 1)) macro
15 #define LLONG_MIN (-LLONG_MAX - 1)
/openbmc/linux/drivers/s390/char/
H A Dhmcdrv_cache.c204 hmcdrv_cache_file.fsize = LLONG_MAX; in hmcdrv_cache_cmd()
250 hmcdrv_cache_file.fsize = LLONG_MAX; in hmcdrv_cache_shutdown()
/openbmc/linux/fs/
H A Dsync.c202 return vfs_fsync_range(file, 0, LLONG_MAX, datasync); in vfs_fsync()
267 endbyte = LLONG_MAX; in sync_file_range()
/openbmc/u-boot/include/linux/
H A Dkernel.h16 #define LLONG_MAX ((long long)(~0ULL>>1)) macro
17 #define LLONG_MIN (-LLONG_MAX - 1)
/openbmc/linux/fs/afs/
H A Dwrite.c57 .range_end = LLONG_MAX, in afs_flush_conflicting_write()
61 return afs_writepages_region(mapping, &wbc, folio_pos(folio), LLONG_MAX, in afs_flush_conflicting_write()
824 ret = afs_writepages_region(mapping, wbc, start, LLONG_MAX, in afs_writepages()
836 } else if (wbc->range_start == 0 && wbc->range_end == LLONG_MAX) { in afs_writepages()
837 ret = afs_writepages_region(mapping, wbc, 0, LLONG_MAX, in afs_writepages()
/openbmc/linux/io_uring/
H A Dsync.c79 ret = vfs_fsync_range(req->file, sync->off, end > 0 ? end : LLONG_MAX, in io_fsync()
/openbmc/linux/mm/
H A Dfadvise.c74 endbyte = LLONG_MAX; in generic_fadvise()
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-httpd/cherokee/
H A Dcherokee_git.bb18 file://0001-common-internal.h-Define-LLONG_MAX-if-undefined.patch \
/openbmc/linux/drivers/target/
H A Dtarget_core_file.c405 end = LLONG_MAX; in fd_execute_sync_cache()
411 end = LLONG_MAX; in fd_execute_sync_cache()
650 end = LLONG_MAX; in fd_execute_rw_buffered()
/openbmc/linux/fs/f2fs/
H A Dfile.c1479 filemap_write_and_wait_range(inode->i_mapping, offset, LLONG_MAX); in f2fs_collapse_range()
1682 ret = filemap_write_and_wait_range(mapping, offset, LLONG_MAX); in f2fs_insert_range()
1714 filemap_write_and_wait_range(mapping, offset, LLONG_MAX); in f2fs_insert_range()
2142 ret = filemap_write_and_wait_range(inode->i_mapping, 0, LLONG_MAX); in f2fs_ioc_start_atomic_write()
2229 ret = f2fs_do_sync_file(filp, 0, LLONG_MAX, 0, true); in f2fs_ioc_commit_atomic_write()
2233 ret = f2fs_do_sync_file(filp, 0, LLONG_MAX, 1, false); in f2fs_ioc_commit_atomic_write()
3624 ret = filemap_write_and_wait_range(inode->i_mapping, 0, LLONG_MAX); in f2fs_release_compress_blocks()
3976 to_end ? LLONG_MAX : end_addr - 1); in f2fs_sec_trim_file()
4231 ret = filemap_write_and_wait_range(inode->i_mapping, 0, LLONG_MAX); in f2fs_ioc_decompress_file()
4266 LLONG_MAX); in f2fs_ioc_decompress_file()
[all …]
/openbmc/linux/fs/ntfs3/
H A Dfile.c492 LLONG_MAX); in ntfs_fallocate()
547 err = filemap_write_and_wait_range(mapping, end, LLONG_MAX); in ntfs_fallocate()
566 LLONG_MAX); in ntfs_fallocate()
/openbmc/linux/drivers/iio/test/
H A Diio-test-format.c240 value = LLONG_MAX; in iio_test_iio_format_value_integer_64()
/openbmc/linux/tools/testing/selftests/alsa/
H A Dmixer-test.c971 if (snd_ctl_elem_info_get_max64(ctl->info) != LLONG_MAX) { in test_ctl_write_invalid_integer64()
982 snd_ctl_elem_value_set_integer64(val, i, LLONG_MAX); in test_ctl_write_invalid_integer64()
/openbmc/linux/fs/orangefs/
H A Dfile.c564 r = filemap_write_and_wait_range(file->f_mapping, 0, LLONG_MAX); in orangefs_flush()
/openbmc/linux/include/linux/
H A Dpagemap.h46 return filemap_fdatawait_range(mapping, 0, LLONG_MAX); in filemap_fdatawait()
64 return filemap_write_and_wait_range(mapping, 0, LLONG_MAX); in filemap_write_and_wait()
/openbmc/linux/fs/hugetlbfs/
H A Dinode.c680 bool truncate_op = (lend == LLONG_MAX); in remove_inode_hugepages()
714 remove_inode_hugepages(inode, 0, LLONG_MAX); in hugetlbfs_evict_inode()
744 remove_inode_hugepages(inode, offset, LLONG_MAX); in hugetlb_vmtruncate()
/openbmc/qemu/tests/unit/
H A Dtest-cutils.c151 char *str = g_strdup_printf("%llu", (unsigned long long)LLONG_MAX + 1); in test_parse_uint_llong_max()
157 g_assert_cmpuint(i, ==, (unsigned long long)LLONG_MAX + 1); in test_parse_uint_llong_max()
2181 char *str = g_strdup_printf("%lld", LLONG_MAX); in test_qemu_strtoi64_max()
2190 g_assert_cmpint(res, ==, LLONG_MAX); in test_qemu_strtoi64_max()
2379 char *str = g_strdup_printf("%lld", LLONG_MAX); in test_qemu_strtoi64_full_max()
2386 g_assert_cmpint(res, ==, LLONG_MAX); in test_qemu_strtoi64_full_max()
/openbmc/linux/fs/ceph/
H A Dlocks.c107 if (LLONG_MAX == fl->fl_end) in ceph_lock_message()
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_shmem.c309 .range_end = LLONG_MAX, in __shmem_writeback()
/openbmc/linux/fs/gfs2/
H A Daops.c334 if (wbc->range_start == 0 && wbc->range_end == LLONG_MAX) in gfs2_write_cache_jdata()
/openbmc/linux/fs/erofs/
H A Dfscache.c151 sstart, &slen, LLONG_MAX, &flags, 0); in erofs_fscache_read_folios_async()
/openbmc/linux/block/
H A Dioctl.c36 if (p.start < 0 || p.length <= 0 || LLONG_MAX - p.length < p.start) in blkpg_do_ioctl()

123