/linux-4.1.27/include/linux/ |
H A D | page_counter.h | 19 #define PAGE_COUNTER_MAX LONG_MAX 21 #define PAGE_COUNTER_MAX (LONG_MAX / PAGE_SIZE)
|
H A D | jiffies.h | 174 * Note that we don't want to return LONG_MAX, because 180 #define MAX_JIFFY_OFFSET ((LONG_MAX >> 1)-1)
|
H A D | kernel.h | 24 #define LONG_MAX ((long)(~0UL>>1)) macro 25 #define LONG_MIN (-LONG_MAX - 1)
|
H A D | sched.h | 415 #define MAX_SCHEDULE_TIMEOUT LONG_MAX
|
/linux-4.1.27/tools/testing/selftests/timers/ |
H A D | valid-adjtimex.c | 107 #define LONG_MAX (~0UL>>1) macro 108 #define LONG_MIN (-LONG_MAX - 1) 111 LONG_MAX,
|
/linux-4.1.27/security/keys/ |
H A D | gc.c | 35 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 D | addrconf.h | 105 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 D | proc.c | 170 if (*_pos > LONG_MAX) nubus_proc_start()
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | clkt_dpll.c | 294 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 D | time.c | 158 .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 D | checkpoint.c | 244 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 D | file.c | 182 .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 D | recovery.c | 562 sync_meta_pages(sbi, META, LONG_MAX); recover_fsync_data()
|
H A D | gc.c | 449 .nr_to_write = LONG_MAX, gc_node_segment()
|
H A D | node.c | 1151 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 D | privcmd.c | 210 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 D | stack_user.c | 391 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 D | fs-writeback.c | 634 * 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 D | aio.c | 1574 if (unlikely(nr > LONG_MAX/sizeof(*iocbpp))) do_io_submit() 1575 nr = LONG_MAX/sizeof(*iocbpp); do_io_submit()
|
H A D | direct-io.c | 160 ret = iov_iter_get_pages(sdio->iter, dio->pages, LONG_MAX, DIO_PAGES, dio_refill_pages()
|
H A D | eventpoll.c | 294 static long long_max = LONG_MAX;
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | i915_gem_shrinker.c | 162 return i915_gem_shrink(dev_priv, LONG_MAX, i915_gem_shrink_all()
|
H A D | i915_debugfs.c | 4271 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 D | syncpt.c | 237 timeout = LONG_MAX; host1x_syncpt_wait()
|
/linux-4.1.27/drivers/clk/bcm/ |
H A D | clk-kona.c | 702 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 D | ak4113.c | 194 uinfo->value.integer.max = LONG_MAX; snd_ak4113_in_error_info()
|
H A D | ak4114.c | 189 uinfo->value.integer.max = LONG_MAX; snd_ak4114_in_error_info()
|
H A D | ak4117.c | 163 uinfo->value.integer.max = LONG_MAX; snd_ak4117_in_error_info()
|
/linux-4.1.27/tools/perf/util/scripting-engines/ |
H A D | trace-event-python.c | 287 (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 D | sysctl.c | 144 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 D | scsi_transport_srp.c | 88 if (dev_loss_tmo >= LONG_MAX / HZ) srp_tmo_valid()
|
/linux-4.1.27/arch/tile/include/asm/ |
H A D | uaccess.h | 488 #define strlen_user(str) strnlen_user(str, LONG_MAX)
|
/linux-4.1.27/fs/afs/ |
H A D | write.c | 663 .nr_to_write = LONG_MAX, afs_writeback_all()
|
/linux-4.1.27/fs/9p/ |
H A D | vfs_file.c | 603 .nr_to_write = LONG_MAX, v9fs_mmap_vm_close()
|
/linux-4.1.27/fs/xfs/ |
H A D | xfs_aops.c | 1340 if (mapping_size > LONG_MAX) xfs_map_trim_size() 1341 mapping_size = LONG_MAX; xfs_map_trim_size()
|
H A D | xfs_buf.c | 1545 &dispose, LONG_MAX); xfs_wait_buftarg()
|
/linux-4.1.27/net/xfrm/ |
H A D | xfrm_state.c | 384 long next = LONG_MAX; xfrm_timer_handler() 445 if (next != LONG_MAX) { xfrm_timer_handler()
|
H A D | xfrm_policy.c | 180 long next = LONG_MAX; xfrm_policy_timer() 230 if (next != LONG_MAX && xfrm_policy_timer()
|
/linux-4.1.27/drivers/staging/android/ |
H A D | ashmem.c | 784 .nr_to_scan = LONG_MAX, ashmem_ioctl()
|
/linux-4.1.27/fs/gfs2/ |
H A D | log.c | 175 .nr_to_write = LONG_MAX, gfs2_ail1_start()
|
/linux-4.1.27/kernel/locking/ |
H A D | mutex.c | 489 if (ctx->stamp - hold_ctx->stamp <= LONG_MAX && __ww_mutex_lock_check_stamp()
|
/linux-4.1.27/kernel/time/ |
H A D | tick-sched.c | 938 if (ticks && ticks < LONG_MAX) tick_nohz_account_idle_ticks()
|
/linux-4.1.27/drivers/md/bcache/ |
H A D | super.c | 167 if (sb->nbuckets > LONG_MAX) read_super()
|
/linux-4.1.27/arch/s390/kernel/ |
H A D | time.c | 144 cd->max_delta_ns = LONG_MAX; init_cpu_timer()
|
/linux-4.1.27/net/sunrpc/ |
H A D | cache.c | 495 detail->flush_time = LONG_MAX; cache_purge()
|
/linux-4.1.27/kernel/sched/ |
H A D | deadline.c | 1481 u64 dmin = LONG_MAX; pull_dl_task()
|
/linux-4.1.27/kernel/rcu/ |
H A D | tree.c | 2643 if (rdp->blimit == LONG_MAX && rdp->qlen <= qlowmark) rcu_do_batch() 2942 rdp->blimit = LONG_MAX; __call_rcu_core()
|
H A D | tree_plugin.h | 2013 rdp->qlen_last_fqs_check = LONG_MAX / 2; __call_rcu_nocb_enqueue()
|
/linux-4.1.27/drivers/md/ |
H A D | bitmap.c | 2269 if (timeout >= LONG_MAX / HZ) timeout_store()
|
/linux-4.1.27/mm/ |
H A D | filemap.c | 276 .nr_to_write = LONG_MAX, __filemap_fdatawrite_range()
|
/linux-4.1.27/sound/core/ |
H A D | pcm_native.c | 580 while (runtime->boundary * 2 <= LONG_MAX - runtime->buffer_size) snd_pcm_hw_params()
|
/linux-4.1.27/drivers/tty/ |
H A D | cyclades.c | 2712 if (arg > LONG_MAX / HZ) cy_ioctl()
|
/linux-4.1.27/net/ipv6/ |
H A D | addrconf.c | 986 * LONG_MAX / HZ here. check_cleanup_prefix_route()
|