Searched refs:LONG_MAX (Results 1 - 53 of 53) sorted by relevance

/linux-4.1.27/include/linux/
H A Dpage_counter.h19 #define PAGE_COUNTER_MAX LONG_MAX
21 #define PAGE_COUNTER_MAX (LONG_MAX / PAGE_SIZE)
H A Djiffies.h174 * Note that we don't want to return LONG_MAX, because
180 #define MAX_JIFFY_OFFSET ((LONG_MAX >> 1)-1)
H A Dkernel.h24 #define LONG_MAX ((long)(~0UL>>1)) macro
25 #define LONG_MIN (-LONG_MAX - 1)
H A Dsched.h415 #define MAX_SCHEDULE_TIMEOUT LONG_MAX
/linux-4.1.27/tools/testing/selftests/timers/
H A Dvalid-adjtimex.c107 #define LONG_MAX (~0UL>>1) macro
108 #define LONG_MIN (-LONG_MAX - 1)
111 LONG_MAX,
/linux-4.1.27/security/keys/
H A Dgc.c35 static time_t key_gc_next_run = LONG_MAX;
90 key_gc_next_run = LONG_MAX; key_gc_timer_func()
209 new_timer = LONG_MAX; key_garbage_collector()
278 if (gc_state & KEY_GC_SET_TIMER && new_timer != (time_t)LONG_MAX) { key_garbage_collector()
/linux-4.1.27/include/net/
H A Daddrconf.h105 if (0xfffffffe > LONG_MAX / unit && timeout > LONG_MAX / unit) addrconf_timeout_fixup()
106 return LONG_MAX / unit; addrconf_timeout_fixup()
/linux-4.1.27/drivers/nubus/
H A Dproc.c170 if (*_pos > LONG_MAX) nubus_proc_start()
/linux-4.1.27/arch/arm/mach-omap2/
H A Dclkt_dpll.c294 long prev_min_delta = LONG_MAX; omap2_dpll_round_rate()
358 if (prev_min_delta == LONG_MAX) { omap2_dpll_round_rate()
/linux-4.1.27/arch/alpha/kernel/
H A Dtime.c158 .max_idle_ns = LONG_MAX
206 clockevents_config_and_register(ce, NSEC_PER_SEC, 1000, LONG_MAX);
/linux-4.1.27/fs/f2fs/
H A Dcheckpoint.c244 pgoff_t index = 0, end = LONG_MAX; sync_meta_pages()
810 .nr_to_write = LONG_MAX, block_operations()
897 sync_meta_pages(sbi, META, LONG_MAX); do_checkpoint()
1021 filemap_fdatawait_range(NODE_MAPPING(sbi), 0, LONG_MAX); do_checkpoint()
1022 filemap_fdatawait_range(META_MAPPING(sbi), 0, LONG_MAX); do_checkpoint() local
1029 sync_meta_pages(sbi, META_FLUSH, LONG_MAX); do_checkpoint()
H A Dfile.c182 .nr_to_write = LONG_MAX, f2fs_sync_file()
291 pgofs = nr_pages ? pvec.pages[0]->index : LONG_MAX; __get_first_dirty_index()
981 ret = f2fs_sync_file(filp, 0, LONG_MAX, 0); f2fs_ioc_commit_atomic_write()
H A Drecovery.c562 sync_meta_pages(sbi, META, LONG_MAX); recover_fsync_data()
H A Dgc.c449 .nr_to_write = LONG_MAX, gc_node_segment()
H A Dnode.c1151 end = LONG_MAX; sync_node_pages()
1249 pgoff_t index = 0, end = LONG_MAX; wait_on_node_pages_writeback()
/linux-4.1.27/drivers/xen/
H A Dprivcmd.c210 if ((msg->npages > (LONG_MAX >> PAGE_SHIFT)) || mmap_mfn_range()
450 if ((m.num <= 0) || (nr_pages > (LONG_MAX >> PAGE_SHIFT))) privcmd_ioctl_mmap_batch()
/linux-4.1.27/fs/ocfs2/
H A Dstack_user.c391 if ((nodenum == LONG_MIN) || (nodenum == LONG_MAX) || ocfs2_control_do_setnode_msg()
433 if ((major == LONG_MIN) || (major == LONG_MAX) || ocfs2_control_do_setversion_msg()
436 if ((minor == LONG_MIN) || (minor == LONG_MAX) || ocfs2_control_do_setversion_msg()
472 if ((nodenum == LONG_MIN) || (nodenum == LONG_MAX) || ocfs2_control_do_down_msg()
/linux-4.1.27/fs/
H A Dfs-writeback.c634 * inodes/pages in one big loop. Setting wbc.nr_to_write=LONG_MAX writeback_chunk_size()
646 pages = LONG_MAX; writeback_chunk_size()
1004 .nr_pages = LONG_MAX, wb_check_background_flush()
1513 .nr_pages = LONG_MAX, sync_inodes_sb()
1546 .nr_to_write = LONG_MAX, write_inode_now()
H A Daio.c1574 if (unlikely(nr > LONG_MAX/sizeof(*iocbpp))) do_io_submit()
1575 nr = LONG_MAX/sizeof(*iocbpp); do_io_submit()
H A Ddirect-io.c160 ret = iov_iter_get_pages(sdio->iter, dio->pages, LONG_MAX, DIO_PAGES, dio_refill_pages()
H A Deventpoll.c294 static long long_max = LONG_MAX;
/linux-4.1.27/drivers/gpu/drm/i915/
H A Di915_gem_shrinker.c162 return i915_gem_shrink(dev_priv, LONG_MAX, i915_gem_shrink_all()
H A Di915_debugfs.c4271 i915_gem_shrink(dev_priv, LONG_MAX, I915_SHRINK_BOUND); i915_drop_caches_set()
4274 i915_gem_shrink(dev_priv, LONG_MAX, I915_SHRINK_UNBOUND); i915_drop_caches_set()
/linux-4.1.27/drivers/gpu/host1x/
H A Dsyncpt.c237 timeout = LONG_MAX; host1x_syncpt_wait()
/linux-4.1.27/drivers/clk/bcm/
H A Dclk-kona.c702 if (parent_rate > (unsigned long)LONG_MAX) clk_recalc_rate()
759 BUG_ON(parent_rate > (u64)LONG_MAX); round_rate()
1130 if (parent_rate > (unsigned long)LONG_MAX) kona_peri_clk_set_rate()
/linux-4.1.27/sound/i2c/other/
H A Dak4113.c194 uinfo->value.integer.max = LONG_MAX; snd_ak4113_in_error_info()
H A Dak4114.c189 uinfo->value.integer.max = LONG_MAX; snd_ak4114_in_error_info()
H A Dak4117.c163 uinfo->value.integer.max = LONG_MAX; snd_ak4117_in_error_info()
/linux-4.1.27/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c287 (long long)val <= LONG_MAX) get_field_numeric_entry()
292 if (val <= LONG_MAX) get_field_numeric_entry()
/linux-4.1.27/kernel/
H A Dsysctl.c144 static unsigned long hung_task_timeout_max = (LONG_MAX/HZ);
2424 if (*lvalp > LONG_MAX / HZ) do_proc_dointvec_jiffies_conv()
2447 if (USER_HZ < HZ && *lvalp > (LONG_MAX / HZ) * USER_HZ) do_proc_dointvec_userhz_jiffies_conv()
/linux-4.1.27/drivers/scsi/
H A Dscsi_transport_srp.c88 if (dev_loss_tmo >= LONG_MAX / HZ) srp_tmo_valid()
/linux-4.1.27/arch/tile/include/asm/
H A Duaccess.h488 #define strlen_user(str) strnlen_user(str, LONG_MAX)
/linux-4.1.27/fs/afs/
H A Dwrite.c663 .nr_to_write = LONG_MAX, afs_writeback_all()
/linux-4.1.27/fs/9p/
H A Dvfs_file.c603 .nr_to_write = LONG_MAX, v9fs_mmap_vm_close()
/linux-4.1.27/fs/xfs/
H A Dxfs_aops.c1340 if (mapping_size > LONG_MAX) xfs_map_trim_size()
1341 mapping_size = LONG_MAX; xfs_map_trim_size()
H A Dxfs_buf.c1545 &dispose, LONG_MAX); xfs_wait_buftarg()
/linux-4.1.27/net/xfrm/
H A Dxfrm_state.c384 long next = LONG_MAX; xfrm_timer_handler()
445 if (next != LONG_MAX) { xfrm_timer_handler()
H A Dxfrm_policy.c180 long next = LONG_MAX; xfrm_policy_timer()
230 if (next != LONG_MAX && xfrm_policy_timer()
/linux-4.1.27/drivers/staging/android/
H A Dashmem.c784 .nr_to_scan = LONG_MAX, ashmem_ioctl()
/linux-4.1.27/fs/gfs2/
H A Dlog.c175 .nr_to_write = LONG_MAX, gfs2_ail1_start()
/linux-4.1.27/kernel/locking/
H A Dmutex.c489 if (ctx->stamp - hold_ctx->stamp <= LONG_MAX && __ww_mutex_lock_check_stamp()
/linux-4.1.27/kernel/time/
H A Dtick-sched.c938 if (ticks && ticks < LONG_MAX) tick_nohz_account_idle_ticks()
/linux-4.1.27/drivers/md/bcache/
H A Dsuper.c167 if (sb->nbuckets > LONG_MAX) read_super()
/linux-4.1.27/arch/s390/kernel/
H A Dtime.c144 cd->max_delta_ns = LONG_MAX; init_cpu_timer()
/linux-4.1.27/net/sunrpc/
H A Dcache.c495 detail->flush_time = LONG_MAX; cache_purge()
/linux-4.1.27/kernel/sched/
H A Ddeadline.c1481 u64 dmin = LONG_MAX; pull_dl_task()
/linux-4.1.27/kernel/rcu/
H A Dtree.c2643 if (rdp->blimit == LONG_MAX && rdp->qlen <= qlowmark) rcu_do_batch()
2942 rdp->blimit = LONG_MAX; __call_rcu_core()
H A Dtree_plugin.h2013 rdp->qlen_last_fqs_check = LONG_MAX / 2; __call_rcu_nocb_enqueue()
/linux-4.1.27/drivers/md/
H A Dbitmap.c2269 if (timeout >= LONG_MAX / HZ) timeout_store()
/linux-4.1.27/mm/
H A Dfilemap.c276 .nr_to_write = LONG_MAX, __filemap_fdatawrite_range()
/linux-4.1.27/sound/core/
H A Dpcm_native.c580 while (runtime->boundary * 2 <= LONG_MAX - runtime->buffer_size) snd_pcm_hw_params()
/linux-4.1.27/drivers/tty/
H A Dcyclades.c2712 if (arg > LONG_MAX / HZ) cy_ioctl()
/linux-4.1.27/net/ipv6/
H A Daddrconf.c986 * LONG_MAX / HZ here. check_cleanup_prefix_route()

Completed in 2642 milliseconds