/linux-4.1.27/lib/ |
H A D | dynamic_queue_limits.c | 62 * If there is slack, the amount of execess data queued above dql_completed() 65 * minimum amount of slack found over several iterations of the dql_completed() 68 unsigned int slack, slack_last_objs; dql_completed() local 81 slack = POSDIFF(limit + dql->prev_ovlimit, dql_completed() 86 slack = max(slack, slack_last_objs); dql_completed() 88 if (slack < dql->lowest_slack) dql_completed() 89 dql->lowest_slack = slack; dql_completed()
|
H A D | random32.c | 227 /* reseed every ~60 seconds, in [40 .. 80) interval with slack */ __prandom_timer()
|
/linux-4.1.27/arch/sparc/mm/ |
H A D | init_32.c | 128 unsigned long slack = bytes_avail - cmdline_memory_size; bootmem_init() local 130 bytes_avail -= slack; bootmem_init() 131 end_of_phys_memory -= slack; bootmem_init() 133 sp_banks[i].num_bytes -= slack; bootmem_init()
|
/linux-4.1.27/fs/ |
H A D | select.c | 41 * slack, with a cap of 100 msec. 42 * "nice" tasks get a 0.5% slack instead. 52 long slack; __estimate_accuracy() local 64 slack = tv->tv_nsec / divfactor; __estimate_accuracy() 65 slack += tv->tv_sec * (NSEC_PER_SEC/divfactor); __estimate_accuracy() 67 if (slack > MAX_SLACK) __estimate_accuracy() 70 return slack; __estimate_accuracy() 79 * Realtime tasks get a slack of 0 for obvious reasons. select_estimate_accuracy() 235 ktime_t *expires, unsigned long slack) poll_schedule_timeout() 241 rc = schedule_hrtimeout_range(expires, slack, HRTIMER_MODE_ABS); poll_schedule_timeout() 405 unsigned long slack = 0; do_select() local 425 slack = select_estimate_accuracy(end_time); do_select() 530 to, slack)) do_select() 787 unsigned long slack = 0; do_poll() local 798 slack = select_estimate_accuracy(end_time); do_poll() 861 if (!poll_schedule_timeout(wait, TASK_INTERRUPTIBLE, to, slack)) do_poll() 234 poll_schedule_timeout(struct poll_wqueues *pwq, int state, ktime_t *expires, unsigned long slack) poll_schedule_timeout() argument
|
H A D | eventpoll.c | 1590 long slack = 0; ep_poll() local 1597 slack = select_estimate_accuracy(&end_time); ep_poll() 1637 if (!schedule_hrtimeout_range(to, slack, HRTIMER_MODE_ABS)) ep_poll()
|
H A D | binfmt_flat.c | 676 * set up the brk stuff, uses any slack left in data/bss/stack load_flat_file()
|
/linux-4.1.27/include/linux/ |
H A D | dynamic_queue_limits.h | 55 unsigned int lowest_slack; /* Lowest slack found */ 61 unsigned int slack_hold_time; /* Time to measure slack */
|
H A D | timer.h | 24 int slack; member in struct:timer_list 79 .slack = -1, \
|
H A D | poll.h | 98 ktime_t *expires, unsigned long slack);
|
H A D | init_task.h | 240 .timer_slack_ns = 50000, /* 50 usec default slack */ \
|
H A D | hrtimer.h | 91 * slack to the _softexpires value. For non range timers
|
H A D | jiffies.h | 47 * some slack, under the following conditions:
|
H A D | sched.h | 1680 * time slack values; these are used to round up poll() and
|
/linux-4.1.27/arch/x86/boot/compressed/ |
H A D | mkpiggy.c | 77 offs += 64*1024 + 128; /* Add 64K + 128 bytes slack */ main()
|
/linux-4.1.27/fs/proc/ |
H A D | task_nommu.c | 23 unsigned long bytes = 0, sbytes = 0, slack = 0, size; task_mem() local 45 slack = region->vm_end - vma->vm_end; task_mem() 75 bytes, slack, sbytes); task_mem()
|
/linux-4.1.27/drivers/scsi/ |
H A D | osst_options.h | 18 OSST_MAX_TAPES. If the number of tape devices and the "slack" defined by
|
H A D | scsi_proc.c | 40 /* 4K page size, but our output routines, use some slack for overruns */
|
/linux-4.1.27/block/ |
H A D | blk-timeout.c | 225 * Due to added timer slack to group timers, the timer blk_add_timer()
|
H A D | genhd.c | 1494 * slack to 25% and kick event check. __disk_unblock_events()
|
/linux-4.1.27/arch/mn10300/kernel/ |
H A D | process.c | 156 c_ksp -= 12; /* allocate function call ABI slack */ copy_thread()
|
/linux-4.1.27/arch/parisc/include/asm/ |
H A D | processor.h | 254 | N bytes of slack | 273 | slack
|
/linux-4.1.27/drivers/hid/ |
H A D | hid-ntrig.c | 82 /* Threshold to override activation slack */ 420 * and higher slack is highly likely to leave the single set_deactivate_slack() 663 * even if deactivation slack is turned off. ntrig_event() 818 * slack, time to deactivate and reset. ntrig_event() 833 * Note: activation slack will decrease over ntrig_event() 837 * with slack, first_contact_touch will still ntrig_event()
|
/linux-4.1.27/kernel/time/ |
H A D | hrtimer.c | 1015 * @delta_ns: "slack" range for the timer 1565 unsigned long slack; hrtimer_nanosleep() local 1567 slack = current->timer_slack_ns; hrtimer_nanosleep() 1569 slack = 0; hrtimer_nanosleep() 1572 hrtimer_set_expires_range_ns(&t.timer, timespec_to_ktime(*rqtp), slack); hrtimer_nanosleep() 1742 * @delta: slack in expires timeout (ktime_t) 1792 * @delta: slack in expires timeout (ktime_t)
|
H A D | timer.c | 334 * set_timer_slack - set the allowed slack for a timer 339 * in terms of slack. By setting this value, the timer subsystem 341 * the time mod_timer() asks for, and that time plus the slack. 343 * By setting the slack to -1, a percentage of the delay is used 348 timer->slack = slack_hz; set_timer_slack() 672 timer->slack = -1; do_init_timer() 837 * Decide where to put the timer while taking the slack into account 852 if (timer->slack >= 0) { apply_slack() 853 expires_limit = expires + timer->slack; apply_slack()
|
/linux-4.1.27/drivers/acpi/acpica/ |
H A D | exsystem.c | 169 * (ACPI specifies 100 usec as max, but this gives some slack in acpi_ex_system_do_stall()
|
H A D | nsconvert.c | 394 * 1. No return value (interpreter slack mode is disabled) acpi_ns_convert_to_resource()
|
H A D | nseval.c | 471 /* Delete a possible implicit return value (in slack mode) */ acpi_ns_exec_module_code()
|
H A D | psparse.c | 596 * In slack mode execution, if there is no return value acpi_ps_parse_aml()
|
H A D | rscreate.c | 323 * The name may be unresolved (slack mode), so allow a null object acpi_rs_create_pci_routing_table()
|
H A D | dsmthdat.c | 408 /* If slack enabled, init the local_x/arg_x to an Integer of value zero */ acpi_ds_method_data_get_value()
|
H A D | dsobject.c | 120 * of a package - ignore if slack enabled. Some ASL code acpi_ds_build_internal_object()
|
H A D | psargs.c | 344 * may flag as an error later if slack mode is not enabled. acpi_ps_get_next_namepath()
|
/linux-4.1.27/drivers/net/ethernet/dlink/ |
H A D | dl2k.h | 374 unsigned int rx_buf_sz; /* Based on MTU+slack. */
|
H A D | sundance.c | 396 unsigned int rx_buf_sz; /* Based on MTU+slack. */
|
/linux-4.1.27/include/linux/sunrpc/ |
H A D | gss_krb5.h | 225 * slack space allotted by the client and server auth_gss code
|
/linux-4.1.27/arch/alpha/math-emu/ |
H A D | math.c | 345 * summary register. We have some slack doing this because a alpha_fp_emul_imprecise()
|
/linux-4.1.27/net/sunrpc/auth_gss/ |
H A D | gss_mech_switch.c | 429 * Each makes guarantees about how much "slack" space is available
|
H A D | auth_gss.c | 1787 * call_allocate() allocates twice the slack space required gss_wrap_req_priv() 1789 * For GSS, slack is GSS_CRED_SLACK. gss_wrap_req_priv() 1797 /* slack space should prevent this ever happening: */ gss_wrap_req_priv() 1963 /* take into account extra slack for integrity and privacy cases: */ gss_unwrap_resp()
|
H A D | svcauth_gss.c | 1649 * there is RPC_MAX_AUTH_SIZE slack space available in svcauth_gss_wrap_resp_priv() 1668 * is RPC_MAX_AUTH_SIZE slack space available in both the svcauth_gss_wrap_resp_priv()
|
H A D | gss_krb5_crypto.c | 565 * tail have slack space of RPC_MAX_AUTH_SIZE before calling gss_wrap.
|
/linux-4.1.27/drivers/net/ethernet/renesas/ |
H A D | sh_eth.h | 516 u32 rx_buf_sz; /* Based on MTU+slack. */
|
/linux-4.1.27/fs/btrfs/ |
H A D | inode-map.c | 429 * 1 items for slack space if we need do truncation btrfs_save_ino_cache()
|
H A D | inode.c | 3979 * plenty of slack room in the global reserve to migrate, otherwise we cannot 5125 * need to reserve some slack space in case we add bytes and update btrfs_evict_inode() 8736 * be free'd up by the truncate operation, but also have some slack btrfs_truncate() 8768 * 1 for the truncate slack space btrfs_truncate() 8777 /* Migrate the slack space for the truncate to our reserve */ btrfs_truncate()
|
H A D | free-space-cache.c | 214 /* 1 for slack space, 1 for updating the inode */ btrfs_check_trunc_cache_free_space()
|
/linux-4.1.27/sound/oss/ |
H A D | soundcard.c | 141 /* 4K page size but our output routines use some slack for overruns */
|
/linux-4.1.27/net/sunrpc/ |
H A D | clnt.c | 1584 unsigned int slack = task->tk_rqstp->rq_cred->cr_auth->au_cslack; call_allocate() local 1608 req->rq_callsize = RPC_CALLHDRSIZE + (slack << 1) + proc->p_arglen; call_allocate() 1610 req->rq_rcvsize = RPC_REPHDRSIZE + slack + proc->p_replen; call_allocate()
|
/linux-4.1.27/arch/x86/mm/ |
H A D | numa.c | 456 /* We seem to lose 3 pages somewhere. Allow 1M of slack. */ numa_meminfo_cover_memory()
|
/linux-4.1.27/include/acpi/ |
H A D | acpixf.h | 125 * Enable "slack mode" of the AML interpreter? Default is FALSE, and the
|
/linux-4.1.27/arch/ia64/include/asm/ |
H A D | processor.h | 63 * (this will give enough slack to represent 10 seconds worth of time as a scaled number).
|
/linux-4.1.27/arch/arm/probes/kprobes/ |
H A D | core.c | 531 * We allocate some slack between the original SP and start of jprobe_return()
|
/linux-4.1.27/mm/ |
H A D | zbud.c | 21 * buddy is freed, the freed buddy space, coalesced with whatever slack space
|
/linux-4.1.27/net/sctp/ |
H A D | transport.c | 599 /* RTO + timer slack +/- 50% of RTO */ sctp_transport_timeout()
|
/linux-4.1.27/drivers/pci/ |
H A D | xen-pcifront.c | 135 * timeout in the past). 1s difference gives plenty of slack for error. do_pci_op()
|
/linux-4.1.27/arch/x86/xen/ |
H A D | setup.c | 595 /* 8MB slack (to balance backend allocations). */ xen_memory_setup()
|
/linux-4.1.27/drivers/net/ethernet/realtek/ |
H A D | 8139too.c | 2440 /* TODO: we are too slack to do reg dumping for pio, for now */ rtl8139_get_regs_len() 2451 /* TODO: we are too slack to do reg dumping for pio, for now */ rtl8139_get_regs()
|
/linux-4.1.27/drivers/net/ethernet/packetengines/ |
H A D | yellowfin.c | 324 unsigned int rx_buf_sz; /* Based on MTU+slack. */
|
H A D | hamachi.c | 496 unsigned int rx_buf_sz; /* Based on MTU+slack. */
|
/linux-4.1.27/drivers/net/ethernet/smsc/ |
H A D | epic100.c | 272 unsigned int rx_buf_sz; /* Based on MTU+slack. */
|
/linux-4.1.27/fs/xfs/ |
H A D | xfs_log_cil.c | 205 * account for that slack space here. Then round nbytes up xlog_cil_insert_format_items()
|
H A D | xfs_log_recover.c | 3593 * processing slack space before the next transaction starts
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | au1200fb.c | 826 if ((pc - r) < (pc / 10)) { /* 10% slack */ au1200_setpanel()
|
/linux-4.1.27/drivers/net/ethernet/adaptec/ |
H A D | starfire.c | 561 unsigned int rx_buf_sz; /* Based on MTU+slack. */
|
/linux-4.1.27/drivers/net/ethernet/dec/tulip/ |
H A D | winbond-840.c | 313 unsigned int rx_buf_sz; /* Based on MTU+slack. */
|
/linux-4.1.27/drivers/net/ethernet/ |
H A D | fealnx.c | 407 unsigned int rx_buf_sz; /* Based on MTU+slack. */
|
/linux-4.1.27/drivers/usb/musb/ |
H A D | musb_core.c | 1830 * it some slack and wait for 10us. musb_recover_from_babble()
|
/linux-4.1.27/fs/xfs/libxfs/ |
H A D | xfs_ialloc.c | 642 * If we can't find an AG with space for full alignment slack to xfs_ialloc_ag_select()
|
/linux-4.1.27/kernel/sched/ |
H A D | fair.c | 3844 /* minimum remaining period time to redistribute slack quota */ 3846 /* how long we wait to gather additional slack before distributing */ 3877 /* if there's a quota refresh soon don't bother with slack */ start_cfs_slack_bandwidth()
|
/linux-4.1.27/drivers/net/ethernet/via/ |
H A D | via-rhine.c | 478 unsigned int rx_buf_sz; /* Based on MTU+slack. */
|
/linux-4.1.27/drivers/net/ethernet/nvidia/ |
H A D | forcedeth.c | 478 /* rx/tx mac addr + type + vlan + align + slack*/ 480 /* even more slack. */
|
/linux-4.1.27/drivers/net/ethernet/natsemi/ |
H A D | natsemi.c | 560 /* Based on MTU+slack. */
|
/linux-4.1.27/drivers/md/ |
H A D | raid10.c | 4251 * (conf->offset_diff - always positive) allows a bit of slack, reshape_request()
|