Home
last modified time | relevance | path

Searched refs:slack (Results 1 – 25 of 27) sorted by relevance

12

/linux/drivers/firmware/efi/libstub/
H A Dalignedmem.c31 int slack; in efi_allocate_pages_aligned() local
40 slack = align / EFI_PAGE_SIZE - 1; in efi_allocate_pages_aligned()
43 memory_type, size / EFI_PAGE_SIZE + slack, in efi_allocate_pages_aligned()
50 if (slack > 0) { in efi_allocate_pages_aligned()
54 efi_bs_call(free_pages, alloc_addr, slack - l + 1); in efi_allocate_pages_aligned()
55 slack = l - 1; in efi_allocate_pages_aligned()
57 if (slack) in efi_allocate_pages_aligned()
58 efi_bs_call(free_pages, *addr + size, slack); in efi_allocate_pages_aligned()
H A Darm32-stub.c86 const int slack = TEXT_OFFSET - 5 * PAGE_SIZE; in handle_kernel_image() local
103 if ((alloc_base % EFI_PHYS_ALIGN) > slack) { in handle_kernel_image()
115 *reserve_addr = kernel_base + slack; in handle_kernel_image()
/linux/lib/
H A Ddynamic_queue_limits.c141 unsigned int slack, slack_last_objs; in dql_completed() local
154 slack = POSDIFF(limit + dql->prev_ovlimit, in dql_completed()
159 slack = max(slack, slack_last_objs); in dql_completed()
161 if (slack < dql->lowest_slack) in dql_completed()
162 dql->lowest_slack = slack; in dql_completed()
/linux/arch/sparc/mm/
H A Dinit_32.c148 unsigned long slack = bytes_avail - cmdline_memory_size; in bootmem_init() local
150 bytes_avail -= slack; in bootmem_init()
151 end_of_phys_memory -= slack; in bootmem_init()
153 sp_banks[i].num_bytes -= slack; in bootmem_init()
/linux/tools/testing/selftests/net/mptcp/
H A Dsimult_flows.sh21 slack=50
122 …emleak_init$\| lockdep_init$\| kasan_init$\| prove_locking$' /proc/kallsyms && slack=$((slack+550))
241 time=$((time + 400 + slack))
/linux/fs/
H A Dselect.c55 long slack; in __estimate_accuracy() local
67 slack = tv->tv_nsec / divfactor; in __estimate_accuracy()
68 slack += tv->tv_sec * (NSEC_PER_SEC/divfactor); in __estimate_accuracy()
70 if (slack > MAX_SLACK) in __estimate_accuracy()
73 return slack; in __estimate_accuracy()
238 ktime_t *expires, unsigned long slack) in poll_schedule_timeout() argument
485 u64 slack = 0; in do_select() local
505 slack = select_estimate_accuracy(end_time); in do_select()
608 to, slack)) in do_select()
891 u64 slack = 0; in do_poll() local
[all …]
H A Deventpoll.c1970 u64 slack = 0; in ep_poll() local
1977 slack = select_estimate_accuracy(timeout); in ep_poll()
2062 timed_out = !schedule_hrtimeout_range(to, slack, in ep_poll()
/linux/fs/xfs/libxfs/
H A Dxfs_btree_staging.c545 int *slack, in xfs_btree_bload_ensure_slack() argument
559 if (*slack < 0) in xfs_btree_bload_ensure_slack()
560 *slack = maxr - ((maxr + minr) >> 1); in xfs_btree_bload_ensure_slack()
562 *slack = min(*slack, maxr - minr); in xfs_btree_bload_ensure_slack()
/linux/fs/proc/
H A Dtask_nommu.c26 unsigned long bytes = 0, sbytes = 0, slack = 0, size; in task_mem() local
46 slack = region->vm_end - vma->vm_end; in task_mem()
78 bytes, slack, sbytes); in task_mem()
/linux/net/sunrpc/auth_gss/
H A Dgss_krb5_wrap.c143 struct xdr_buf *buf, unsigned int *slack, in gss_krb5_unwrap_v2() argument
235 *slack = *align + XDR_QUADLEN(ec + GSS_KRB5_TOK_HDR_LEN + tailskip); in gss_krb5_unwrap_v2()
H A Dgss_krb5_internal.h52 struct xdr_buf *buf, unsigned int *slack,
97 struct xdr_buf *buf, unsigned int *slack,
H A Dgss_krb5_mech.c593 &gctx->slack, &gctx->align); in gss_krb5_unwrap()
H A Dauth_gss.c2087 2 + ctx->gc_gss_ctx->slack); in gss_unwrap_resp_priv()
/linux/include/linux/sunrpc/
H A Dsvc.h536 static inline void svcxdr_set_auth_slack(struct svc_rqst *rqstp, int slack) in svcxdr_set_auth_slack() argument
542 rqstp->rq_auth_slack = slack; in svcxdr_set_auth_slack()
544 xdr->end -= XDR_QUADLEN(slack); in svcxdr_set_auth_slack()
H A Dgss_api.h24 unsigned int slack, align; member
/linux/fs/xfs/
H A Dxfs_rtalloc.c1294 xfs_rtxlen_t slack; in xfs_rtalloc_align_minmax() local
1296 slack = newmaxlen % *prod; in xfs_rtalloc_align_minmax()
1297 if (slack) in xfs_rtalloc_align_minmax()
1298 newmaxlen -= slack; in xfs_rtalloc_align_minmax()
1299 slack = newminlen % *prod; in xfs_rtalloc_align_minmax()
1300 if (slack) in xfs_rtalloc_align_minmax()
1301 newminlen += *prod - slack; in xfs_rtalloc_align_minmax()
/linux/Documentation/input/devices/
H A Dntrig.rst81 Deactivation slack helps prevent dropped contact for single touch use, but does
104 primarily on activation slack. If you see longer lived ghosts, turning up the
105 activation slack while reducing the size thresholds may suffice to eliminate
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-hid-ntrig30 Threholds to override activation slack.
H A Dsysfs-class-net-queues61 Indicates the hold time in milliseconds to measure the slack
/linux/Documentation/filesystems/ext4/
H A Dchecksums.rst22 removing slack space from the directory files and rebalancing the htree
/linux/kernel/time/
H A Dhrtimer.c2073 u64 slack; in hrtimer_nanosleep() local
2075 slack = current->timer_slack_ns; in hrtimer_nanosleep()
2077 slack = 0; in hrtimer_nanosleep()
2080 hrtimer_set_expires_range_ns(&t.timer, rqtp, slack); in hrtimer_nanosleep()
/linux/Documentation/filesystems/nfs/
H A Dknfsd-stats.rst103 - It is usually a wise policy to provide some slack,
/linux/drivers/base/power/
H A Druntime.c602 u64 slack = (u64)READ_ONCE(dev->power.autosuspend_delay) * in rpm_suspend() local
608 slack, in rpm_suspend()
/linux/Documentation/admin-guide/media/
H A Dphilips.rst78 slack when your program is behind. But you need a multi-threaded or
/linux/Documentation/netlink/specs/
H A Dtc.yaml3106 name: timer-slack

12