Searched refs:slack (Results 1 - 71 of 71) sorted by relevance

/linux-4.1.27/lib/
H A Ddynamic_queue_limits.c62 * 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 Drandom32.c227 /* reseed every ~60 seconds, in [40 .. 80) interval with slack */ __prandom_timer()
/linux-4.1.27/arch/sparc/mm/
H A Dinit_32.c128 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 Dselect.c41 * 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 Deventpoll.c1590 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 Dbinfmt_flat.c676 * set up the brk stuff, uses any slack left in data/bss/stack load_flat_file()
/linux-4.1.27/include/linux/
H A Ddynamic_queue_limits.h55 unsigned int lowest_slack; /* Lowest slack found */
61 unsigned int slack_hold_time; /* Time to measure slack */
H A Dtimer.h24 int slack; member in struct:timer_list
79 .slack = -1, \
H A Dpoll.h98 ktime_t *expires, unsigned long slack);
H A Dinit_task.h240 .timer_slack_ns = 50000, /* 50 usec default slack */ \
H A Dhrtimer.h91 * slack to the _softexpires value. For non range timers
H A Djiffies.h47 * some slack, under the following conditions:
H A Dsched.h1680 * time slack values; these are used to round up poll() and
/linux-4.1.27/arch/x86/boot/compressed/
H A Dmkpiggy.c77 offs += 64*1024 + 128; /* Add 64K + 128 bytes slack */ main()
/linux-4.1.27/fs/proc/
H A Dtask_nommu.c23 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 Dosst_options.h18 OSST_MAX_TAPES. If the number of tape devices and the "slack" defined by
H A Dscsi_proc.c40 /* 4K page size, but our output routines, use some slack for overruns */
/linux-4.1.27/block/
H A Dblk-timeout.c225 * Due to added timer slack to group timers, the timer blk_add_timer()
H A Dgenhd.c1494 * slack to 25% and kick event check. __disk_unblock_events()
/linux-4.1.27/arch/mn10300/kernel/
H A Dprocess.c156 c_ksp -= 12; /* allocate function call ABI slack */ copy_thread()
/linux-4.1.27/arch/parisc/include/asm/
H A Dprocessor.h254 | N bytes of slack |
273 | slack
/linux-4.1.27/drivers/hid/
H A Dhid-ntrig.c82 /* 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 Dhrtimer.c1015 * @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 Dtimer.c334 * 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 Dexsystem.c169 * (ACPI specifies 100 usec as max, but this gives some slack in acpi_ex_system_do_stall()
H A Dnsconvert.c394 * 1. No return value (interpreter slack mode is disabled) acpi_ns_convert_to_resource()
H A Dnseval.c471 /* Delete a possible implicit return value (in slack mode) */ acpi_ns_exec_module_code()
H A Dpsparse.c596 * In slack mode execution, if there is no return value acpi_ps_parse_aml()
H A Drscreate.c323 * The name may be unresolved (slack mode), so allow a null object acpi_rs_create_pci_routing_table()
H A Ddsmthdat.c408 /* If slack enabled, init the local_x/arg_x to an Integer of value zero */ acpi_ds_method_data_get_value()
H A Ddsobject.c120 * of a package - ignore if slack enabled. Some ASL code acpi_ds_build_internal_object()
H A Dpsargs.c344 * 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 Ddl2k.h374 unsigned int rx_buf_sz; /* Based on MTU+slack. */
H A Dsundance.c396 unsigned int rx_buf_sz; /* Based on MTU+slack. */
/linux-4.1.27/include/linux/sunrpc/
H A Dgss_krb5.h225 * slack space allotted by the client and server auth_gss code
/linux-4.1.27/arch/alpha/math-emu/
H A Dmath.c345 * summary register. We have some slack doing this because a alpha_fp_emul_imprecise()
/linux-4.1.27/net/sunrpc/auth_gss/
H A Dgss_mech_switch.c429 * Each makes guarantees about how much "slack" space is available
H A Dauth_gss.c1787 * 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 Dsvcauth_gss.c1649 * 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 Dgss_krb5_crypto.c565 * tail have slack space of RPC_MAX_AUTH_SIZE before calling gss_wrap.
/linux-4.1.27/drivers/net/ethernet/renesas/
H A Dsh_eth.h516 u32 rx_buf_sz; /* Based on MTU+slack. */
/linux-4.1.27/fs/btrfs/
H A Dinode-map.c429 * 1 items for slack space if we need do truncation btrfs_save_ino_cache()
H A Dinode.c3979 * 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 Dfree-space-cache.c214 /* 1 for slack space, 1 for updating the inode */ btrfs_check_trunc_cache_free_space()
/linux-4.1.27/sound/oss/
H A Dsoundcard.c141 /* 4K page size but our output routines use some slack for overruns */
/linux-4.1.27/net/sunrpc/
H A Dclnt.c1584 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 Dnuma.c456 /* We seem to lose 3 pages somewhere. Allow 1M of slack. */ numa_meminfo_cover_memory()
/linux-4.1.27/include/acpi/
H A Dacpixf.h125 * Enable "slack mode" of the AML interpreter? Default is FALSE, and the
/linux-4.1.27/arch/ia64/include/asm/
H A Dprocessor.h63 * (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 Dcore.c531 * We allocate some slack between the original SP and start of jprobe_return()
/linux-4.1.27/mm/
H A Dzbud.c21 * buddy is freed, the freed buddy space, coalesced with whatever slack space
/linux-4.1.27/net/sctp/
H A Dtransport.c599 /* RTO + timer slack +/- 50% of RTO */ sctp_transport_timeout()
/linux-4.1.27/drivers/pci/
H A Dxen-pcifront.c135 * timeout in the past). 1s difference gives plenty of slack for error. do_pci_op()
/linux-4.1.27/arch/x86/xen/
H A Dsetup.c595 /* 8MB slack (to balance backend allocations). */ xen_memory_setup()
/linux-4.1.27/drivers/net/ethernet/realtek/
H A D8139too.c2440 /* 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 Dyellowfin.c324 unsigned int rx_buf_sz; /* Based on MTU+slack. */
H A Dhamachi.c496 unsigned int rx_buf_sz; /* Based on MTU+slack. */
/linux-4.1.27/drivers/net/ethernet/smsc/
H A Depic100.c272 unsigned int rx_buf_sz; /* Based on MTU+slack. */
/linux-4.1.27/fs/xfs/
H A Dxfs_log_cil.c205 * account for that slack space here. Then round nbytes up xlog_cil_insert_format_items()
H A Dxfs_log_recover.c3593 * processing slack space before the next transaction starts
/linux-4.1.27/drivers/video/fbdev/
H A Dau1200fb.c826 if ((pc - r) < (pc / 10)) { /* 10% slack */ au1200_setpanel()
/linux-4.1.27/drivers/net/ethernet/adaptec/
H A Dstarfire.c561 unsigned int rx_buf_sz; /* Based on MTU+slack. */
/linux-4.1.27/drivers/net/ethernet/dec/tulip/
H A Dwinbond-840.c313 unsigned int rx_buf_sz; /* Based on MTU+slack. */
/linux-4.1.27/drivers/net/ethernet/
H A Dfealnx.c407 unsigned int rx_buf_sz; /* Based on MTU+slack. */
/linux-4.1.27/drivers/usb/musb/
H A Dmusb_core.c1830 * it some slack and wait for 10us. musb_recover_from_babble()
/linux-4.1.27/fs/xfs/libxfs/
H A Dxfs_ialloc.c642 * 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 Dfair.c3844 /* 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 Dvia-rhine.c478 unsigned int rx_buf_sz; /* Based on MTU+slack. */
/linux-4.1.27/drivers/net/ethernet/nvidia/
H A Dforcedeth.c478 /* rx/tx mac addr + type + vlan + align + slack*/
480 /* even more slack. */
/linux-4.1.27/drivers/net/ethernet/natsemi/
H A Dnatsemi.c560 /* Based on MTU+slack. */
/linux-4.1.27/drivers/md/
H A Draid10.c4251 * (conf->offset_diff - always positive) allows a bit of slack, reshape_request()

Completed in 2080 milliseconds