Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/firmware/efi/libstub/
Dalignedmem.c29 int slack; in efi_allocate_pages_aligned() local
36 slack = align / EFI_PAGE_SIZE - 1; in efi_allocate_pages_aligned()
39 EFI_LOADER_DATA, size / EFI_PAGE_SIZE + slack, in efi_allocate_pages_aligned()
46 if (slack > 0) { in efi_allocate_pages_aligned()
50 efi_bs_call(free_pages, alloc_addr, slack - l + 1); in efi_allocate_pages_aligned()
51 slack = l - 1; in efi_allocate_pages_aligned()
53 if (slack) in efi_allocate_pages_aligned()
54 efi_bs_call(free_pages, *addr + size, slack); in efi_allocate_pages_aligned()
Darm32-stub.c122 const int slack = TEXT_OFFSET - 5 * PAGE_SIZE; in handle_kernel_image() local
139 if ((alloc_base % EFI_PHYS_ALIGN) > slack) { in handle_kernel_image()
151 *reserve_addr = kernel_base + slack; in handle_kernel_image()
Dmem.c12 unsigned long slack = buff_size - map_size; in mmap_has_headroom() local
14 return slack / desc_size >= EFI_MMAP_NR_SLACK_SLOTS; in mmap_has_headroom()
/Linux-v5.10/lib/
Ddynamic_queue_limits.c69 unsigned int slack, slack_last_objs; in dql_completed() local
82 slack = POSDIFF(limit + dql->prev_ovlimit, in dql_completed()
87 slack = max(slack, slack_last_objs); in dql_completed()
89 if (slack < dql->lowest_slack) in dql_completed()
90 dql->lowest_slack = slack; in dql_completed()
/Linux-v5.10/arch/sparc/mm/
Dinit_32.c149 unsigned long slack = bytes_avail - cmdline_memory_size; in bootmem_init() local
151 bytes_avail -= slack; in bootmem_init()
152 end_of_phys_memory -= slack; in bootmem_init()
154 sp_banks[i].num_bytes -= slack; in bootmem_init()
/Linux-v5.10/net/sunrpc/auth_gss/
Dgss_krb5_wrap.c248 struct xdr_buf *buf, unsigned int *slack, in gss_unwrap_kerberos_v1() argument
352 *slack = XDR_QUADLEN(saved_len - buf->len); in gss_unwrap_kerberos_v1()
354 *align = *slack; in gss_unwrap_kerberos_v1()
461 struct xdr_buf *buf, unsigned int *slack, in gss_unwrap_kerberos_v2() argument
556 *slack = *align + XDR_QUADLEN(ec + GSS_KRB5_TOK_HDR_LEN + tailskip); in gss_unwrap_kerberos_v2()
590 &gctx->slack, &gctx->align); in gss_unwrap_kerberos()
594 &gctx->slack, &gctx->align); in gss_unwrap_kerberos()
Dauth_gss.c2080 2 + ctx->gc_gss_ctx->slack); in gss_unwrap_resp_priv()
/Linux-v5.10/fs/
Dselect.c54 long slack; in __estimate_accuracy() local
66 slack = tv->tv_nsec / divfactor; in __estimate_accuracy()
67 slack += tv->tv_sec * (NSEC_PER_SEC/divfactor); in __estimate_accuracy()
69 if (slack > MAX_SLACK) in __estimate_accuracy()
72 return slack; in __estimate_accuracy()
237 ktime_t *expires, unsigned long slack) in poll_schedule_timeout() argument
243 rc = schedule_hrtimeout_range(expires, slack, HRTIMER_MODE_ABS); in poll_schedule_timeout()
482 u64 slack = 0; in do_select() local
502 slack = select_estimate_accuracy(end_time); in do_select()
604 to, slack)) in do_select()
[all …]
Deventpoll.c1822 u64 slack = 0; in ep_poll() local
1831 slack = select_estimate_accuracy(&end_time); in ep_poll()
1908 if (!schedule_hrtimeout_range(to, slack, HRTIMER_MODE_ABS)) { in ep_poll()
/Linux-v5.10/fs/proc/
Dtask_nommu.c26 unsigned long bytes = 0, sbytes = 0, slack = 0, size; in task_mem() local
48 slack = region->vm_end - vma->vm_end; in task_mem()
78 bytes, slack, sbytes); in task_mem()
/Linux-v5.10/fs/xfs/libxfs/
Dxfs_btree_staging.c618 int *slack, in xfs_btree_bload_ensure_slack() argument
632 if (*slack < 0) in xfs_btree_bload_ensure_slack()
633 *slack = maxr - ((maxr + minr) >> 1); in xfs_btree_bload_ensure_slack()
635 *slack = min(*slack, maxr - minr); in xfs_btree_bload_ensure_slack()
/Linux-v5.10/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/
Dworkqueues.h36 int slack; member
/Linux-v5.10/Documentation/input/devices/
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-v5.10/include/linux/sunrpc/
Dgss_api.h24 unsigned int slack, align; member
/Linux-v5.10/Documentation/ABI/testing/
Dsysfs-driver-hid-ntrig30 Threholds to override activation slack.
Dsysfs-class-net-queues61 Indicates the hold time in milliseconds to measure the slack
/Linux-v5.10/Documentation/filesystems/ext4/
Dchecksums.rst22 removing slack space from the directory files and rebalancing the htree
/Linux-v5.10/kernel/time/
Dhrtimer.c1923 u64 slack; in hrtimer_nanosleep() local
1925 slack = current->timer_slack_ns; in hrtimer_nanosleep()
1927 slack = 0; in hrtimer_nanosleep()
1930 hrtimer_set_expires_range_ns(&t.timer, rqtp, slack); in hrtimer_nanosleep()
/Linux-v5.10/Documentation/filesystems/nfs/
Dknfsd-stats.rst103 - It is usually a wise policy to provide some slack,
/Linux-v5.10/drivers/base/power/
Druntime.c554 u64 slack = (u64)READ_ONCE(dev->power.autosuspend_delay) * in rpm_suspend() local
560 slack, in rpm_suspend()
/Linux-v5.10/Documentation/admin-guide/media/
Dphilips.rst78 slack when your program is behind. But you need a multi-threaded or
/Linux-v5.10/Documentation/admin-guide/
Dcgroup-v2.rst2600 working set size or adding slack to the limit. Since working set size
2617 allocation from the slack available in other groups or the rest of the
/Linux-v5.10/Documentation/networking/
Dip-sysctl.rst655 This sysctl control the slack used when arming the