Home
last modified time | relevance | path

Searched +full:total +full:- +full:timeout (Results 1 – 25 of 572) sorted by relevance

12345678910>>...23

/linux/tools/testing/selftests/mm/
H A Dksm_tests.c1 // SPDX-License-Identifier: GPL-2.0
133 printf("usage: ksm_tests [-h] <test type> [-a prot] [-p page_count] [-l timeout]\n" in print_help()
134 "[-z use_zero_pages] [- in print_help()
191 ksm_do_scan(int scan_count,struct timespec start_time,int timeout) ksm_do_scan() argument
217 ksm_merge_pages(int merge_type,void * addr,size_t size,struct timespec start_time,int timeout) ksm_merge_pages() argument
242 ksm_unmerge_pages(void * addr,size_t size,struct timespec start_time,int timeout) ksm_unmerge_pages() argument
321 check_ksm_merge(int merge_type,int mapping,int prot,long page_count,int timeout,size_t page_size) check_ksm_merge() argument
354 check_ksm_unmerge(int merge_type,int mapping,int prot,int timeout,size_t page_size) check_ksm_unmerge() argument
395 check_ksm_zero_page_merge(int merge_type,int mapping,int prot,long page_count,int timeout,bool use_zero_pages,size_t page_size) check_ksm_zero_page_merge() argument
459 check_ksm_numa_merge(int merge_type,int mapping,int prot,int timeout,bool merge_across_nodes,size_t page_size) check_ksm_numa_merge() argument
524 ksm_merge_hugepages_time(int merge_type,int mapping,int prot,int timeout,size_t map_size) ksm_merge_hugepages_time() argument
596 ksm_merge_time(int merge_type,int mapping,int prot,int timeout,size_t map_size) ksm_merge_time() argument
637 ksm_unmerge_time(int merge_type,int mapping,int prot,int timeout,size_t map_size) ksm_unmerge_time() argument
684 ksm_cow_time(int merge_type,int mapping,int prot,int timeout,size_t page_size) ksm_cow_time() argument
[all...]
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-pci-devices-aer2 --------------------------
15 Contact: linux-pci@vger.kernel.org, rajatja@google.com
20 total of all the errors in the file. Sample output::
27 Replay Timer Timeout 0
28 Advisory Non-Fatal 0
36 Contact: linux-pci@vger.kernel.org, rajatja@google.com
41 total of all the errors in the file. Sample output::
49 Completion Timeout 0
66 Contact: linux-pci@vger.kernel.org, rajatja@google.com
71 actual total of all the errors in the file. Sample output::
[all …]
/linux/tools/testing/selftests/net/netfilter/
H A Dnf_queue.c1 // SPDX-License-Identifier: GPL-2.0
26 unsigned int timeout; member
36 …printf("Usage: %s [-c|-v [-vv] ] [-o] [-O] [-b] [-t timeout] [-q queue_num] [-Qdst_queue ] [ -d ms… in help()
44 /* skip unsupported attribute in user-space */ in parse_attr_cb()
91 id = ntohl(ph->packet_id); in queue_cb()
95 ntohs(ph->hw_protocol), ph->hook); in queue_cb()
97 if (ph->hook >= 5) { in queue_cb()
98 fprintf(stderr, "Unknown hook %d\n", ph->hook); in queue_cb()
117 queue_stats[ph->hook]++; in queue_cb()
133 nlh->nlmsg_type = (NFNL_SUBSYS_QUEUE << 8) | NFQNL_MSG_CONFIG; in nfq_build_cfg_request()
[all …]
H A Dnft_zones_many.sh19 checktool "nft --version" "run test without nft tool"
20 checktool "socat -V" "run test without socat tool"
26 if conntrack -V > /dev/null 2>&1; then
33 ip netns exec "$ns1" nft -f /dev/stdin<<EOF
41 type filter hook output priority -64000; policy accept;
46 if [ "$?" -ne 0 ];then
51 ip netns exec "$ns1" sysctl -q net.netfilter.nf_conntrack_udp_timeout=3600
56 echo -n "$i : $i"
57 if [ "$i" -lt "$max_zones" ]; then
63 ) | ip netns exec "$ns1" nft -f /dev/stdin
[all …]
/linux/fs/ceph/
H A Dquota.c1 // SPDX-License-Identifier: GPL-2.0
3 * quota.c - CephFS quota
5 * Copyright (C) 2017-2018 SUSE
15 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_adjust_quota_realms_count()
17 atomic64_inc(&mdsc->quotarealms_count); in ceph_adjust_quota_realms_count()
19 atomic64_dec(&mdsc->quotarealms_count); in ceph_adjust_quota_realms_count()
24 struct super_block *sb = inode->i_sb; in ceph_has_realms_with_quotas()
26 struct inode *root = d_inode(sb->s_root); in ceph_has_realms_with_quotas()
28 if (atomic64_read(&mdsc->quotarealms_count) > 0) in ceph_has_realms_with_quotas()
34 if (ceph_vino_is_reserved(ceph_inode(inode)->i_vino)) in ceph_has_realms_with_quotas()
[all …]
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_inq.c1 // SPDX-License-Identifier: GPL-2.0
52 fprintf(stderr, "Usage: mptcp_inq [-6] [ -t tcp|mptcp ] [ -r tcp|mptcp]\n"); in die_usage()
87 hints->ai_protocol = IPPROTO_TCP; in xgetaddrinfo()
102 int sock = -1; in sock_listen_mptcp()
117 for (a = addr; a; a = a->ai_next) { in sock_listen_mptcp()
118 sock = socket(a->ai_family, a->ai_socktype, proto_rx); in sock_listen_mptcp()
122 if (-1 == setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &one, in sock_listen_mptcp()
126 if (bind(sock, a->ai_addr, a->ai_addrlen) == 0) in sock_listen_mptcp()
131 sock = -1; in sock_listen_mptcp()
153 int sock = -1; in sock_connect_mptcp()
[all …]
/linux/tools/testing/selftests/kselftest/
H A Drunner.sh2 # SPDX-License-Identifier: GPL-2.0
6 # There isn't a shell-agnostic way to find the path of a sourced file,
8 if [ -z "$BASE_DIR" ]; then
22 # "timeout" how many seconds to let each test run before running
23 # over our soft timeout limit.
26 TR_CMD=$(command -v tr)
28 # If Perl is unavailable, we must fall back to line-at-
[all...]
/linux/include/media/i2c/
H A Dlm3646.h1 /* SPDX-License-Identifier: GPL-2.0-only */
8 * Ldd-Mlp <ldd-mlp@list.ti.com>
14 #include <media/v4l2-subdev.h>
20 /* TOTAL FLASH Brightness Max
28 ((((a) - LM3646_TOTAL_FLASH_BRT_MIN) / LM3646_TOTAL_FLASH_BRT_STEP)))
30 /* TOTAL TORCH Brightness Max
38 ((((a) - LM3646_TOTAL_TORCH_BRT_MIN) / LM3646_TOTAL_TORCH_BRT_STEP)))
48 ((((a) - LM3646_LED1_FLASH_BRT_MIN) / LM3646_LED1_FLASH_BRT_STEP))+1)
58 ((((a) - LM3646_LED1_TORCH_BRT_MIN) / LM3646_LED1_TORCH_BRT_STEP))+1)
60 /* FLASH TIMEOUT DURATION
[all …]
/linux/include/uapi/linux/
H A Dauto_dev-ioctl.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
54 __u64 timeout; member
84 * When sending a path size must account for the total length
92 __u32 size; /* total size of data passed in
105 struct args_timeout timeout; member
118 in->ver_major = AUTOFS_DEV_IOCTL_VERSION_MAJOR; in init_autofs_dev_ioctl()
119 in->ver_minor = AUTOFS_DEV_IOCTL_VERSION_MINOR; in init_autofs_dev_ioctl()
120 in->size = AUTOFS_DEV_IOCTL_SIZE; in init_autofs_dev_ioctl()
121 in->ioctlfd = -1; in init_autofs_dev_ioctl()
144 /* Expiry timeout */
/linux/drivers/accessibility/speakup/
H A Dspeakup_dtlk.c1 // SPDX-License-Identifier: GPL-2.0+
6 * Copyright (C) 1998-99 Kirk Reiser.
52 [CAPS_STOP_ID] = { CAPS_STOP, .u.s = {"\x01-35p" } },
175 int timeout = SPK_XMITR_TIMEOUT; in spk_out() local
178 if (!--timeout) in spk_out()
183 timeout = SPK_XMITR_TIMEOUT; in spk_out()
185 if (!--timeout) in spk_out()
204 jiffy_delta_val = jiffy_delta->u.n.value; in do_catch_up()
212 synth->flush(synth); in do_catch_up()
221 delay_time_val = delay_time->u.n.value; in do_catch_up()
[all …]
/linux/include/rdma/
H A Drdmavt_qp.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright(c) 2016 - 2020 Intel Corporation.
13 #include <rdma/rvt-abi.h>
55 #define RVT_AIP_QP_MAX (u32)(RVT_AIP_QP_BASE + RVT_AIP_QPN_MAX - 1)
60 * RVT_S_SIGNAL_REQ_WR - set if QP send WRs contain completion signaled
61 * RVT_S_BUSY - send tasklet is processing the QP
62 * RVT_S_TIMER - the RC retry timer is active
63 * RVT_S_ACK_PENDING - an ACK is waiting to be sent after RDMA read/atomics
64 * RVT_S_WAIT_FENCE - waiting for all prior RDMA read or atomic SWQEs
66 * RVT_S_WAIT_RDMAR - waiting for a RDMA read or atomic SWQE to complete
[all …]
/linux/tools/testing/selftests/alsa/
H A Dglobal-timer.c1 // SPDX-License-Identifier: GPL-2.0
5 * (which is set by `timeout` parameter).
21 static void bind_to_timer(int device, int subdevice, int timeout) in bind_to_timer() argument
51 end = time(NULL) + timeout; in bind_to_timer()
59 * Waiting for the timeout to elapse. Can't use sleep here, as it gets in bind_to_timer()
69 int device, subdevice, timeout; in main() local
72 perror("Usage: %s <device> <subdevice> <timeout>"); in main()
80 timeout = atoi(argv[3]); in main()
82 bind_to_timer(device, subdevice, timeout); in main()
84 printf("Total ticks count: %d\n", ticked); in main()
/linux/lib/
H A Dtest_objpool.c1 // SPDX-License-Identifier: GPL-2.0
61 /* per-cpu worker */
90 atomic_long_add(size, &test->data.kmalloc.alloc); in ot_kzalloc()
98 atomic_long_add(size, &test->data.kmalloc.free); in ot_kfree()
106 pr_info("memory allocation summary for %s\n", test->name); in ot_mem_report()
108 alloc = atomic_long_read(&test->data.kmalloc.alloc); in ot_mem_report()
109 free = atomic_long_read(&test->data.kmalloc.free); in ot_mem_report()
110 pr_info(" kmalloc: %lu - %lu = %lu\n", alloc, free, alloc - free); in ot_mem_report()
112 alloc = atomic_long_read(&test->data.vmalloc.alloc); in ot_mem_report()
113 free = atomic_long_read(&test->data.vmalloc.free); in ot_mem_report()
[all …]
/linux/include/linux/sunrpc/
H A Dxprt.h1 /* SPDX-License-Identifier: GPL-2.0 */
30 #define RPC_MAXCWND(xprt) ((xprt)->max_reqs << RPC_CWNDSHIFT)
31 #define RPCXPRT_CONGESTED(xprt) ((xprt)->cong >= (xprt)->cwnd)
58 * This is the user-visible part
70 int rq_cong; /* has incremented xprt->cong */
90 size_t rq_xmit_bytes_sent; /* total bytes sent */
91 size_t rq_reply_bytes_recvd; /* total reply bytes */
97 unsigned long rq_majortimeo; /* major timeout alarm */
98 unsigned long rq_minortimeo; /* minor timeout alarm */
99 unsigned long rq_timeout; /* Current timeout value */
[all …]
/linux/fs/orangefs/
H A Dxattr.c1 // SPDX-License-Identifier: GPL-2.0
6 * See COPYING in top-level directory.
14 #include "orangefs-kernel.h"
15 #include "orangefs-bufmap.h"
71 h = &orangefs_inode->xattr_cache[xattr_key(key)]; in find_cached_xattr()
75 if (!strcmp(cx->key, key)) in find_cached_xattr()
83 * file into a user-specified buffer. Note that the getxattr
96 ssize_t ret = -ENOMEM; in orangefs_inode_getxattr()
105 if (S_ISLNK(inode->i_mode)) in orangefs_inode_getxattr()
106 return -EOPNOTSUPP; in orangefs_inode_getxattr()
[all …]
/linux/net/can/j1939/
H A Dj1939-priv.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 // Copyright (c) 2010-2011 EIA Electronics,
4 // Copyright (c) 2017-2019 Pengutronix,
5 // Marc Kleine-Budde <kernel@pengutronix.de>
6 // Copyright (c) 2017-2019 Pengutronix,
15 /* Timeout to receive the abort signal over loop back. In case CAN
16 * bus is open, the timeout should be triggered.
180 BUILD_BUG_ON(sizeof(struct j1939_sk_buff_cb) > sizeof(skb->cb)); in j1939_skb_to_cb()
182 return (struct j1939_sk_buff_cb *)skb->cb; in j1939_skb_to_cb()
250 * 'total' & 'block' are never changed,
[all …]
/linux/drivers/gpu/drm/i915/
H A DKconfig.profile2 int "Default timeout for requests (ms)"
5 Configures the default timeout after which any user submissions will
10 misbehaving applications causing total rendering failure in unrelated
13 May be 0 to disable the timeout.
16 int "Timeout for unsignaled foreign fences (ms, jiffy granularity)"
21 make forward progress. This value specifies the timeout used for an
24 May be 0 to disable the timeout, and rely on the foreign fence being
35 that complements the runtime-pm autosuspend and provides a lower
46 check the health of the GPU and undertake regular house-keeping of
56 int "Preempt timeout (ms, jiffy granularity)"
[all …]
/linux/include/net/bluetooth/
H A Dcoredump.h1 /* SPDX-License-Identifier: GPL-2.0-only */
16 #define HCI_DEVCD_HDR_END_MARKER "--- Start dump ---\
52 unsigned long timeout; global() member
[all...]
/linux/drivers/mmc/host/
H A Dowl-mmc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
14 #include <linux/dma-direction.h>
15 #include <linux/dma-mapping.h>
18 #include <linux/mmc/slot-gpio.h>
139 spin_lock(&owl_host->lock); in owl_irq_handler()
141 state = readl(owl_host->base + OWL_REG_SD_STATE); in owl_irq_handler()
143 state = readl(owl_host->base + OWL_REG_SD_STATE); in owl_irq_handler()
145 writel(state, owl_host->base + OWL_REG_SD_STATE); in owl_irq_handler()
146 complete(&owl_host->sdc_complete); in owl_irq_handler()
149 spin_unlock(&owl_host->lock); in owl_irq_handler()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dringbuf.c1 // SPDX-License-Identifier: GPL-2.0
51 switch (s->seq) { in process_sample()
53 CHECK(s->value != 333, "sample1_value", "exp %ld, got %ld\n", in process_sample()
54 333L, s->value); in process_sample()
57 CHECK(s->value != 777, "sample2_value", "exp %ld, got %ld\n", in process_sample()
58 777L, s->value); in process_sample()
59 return -EDONE; in process_sample()
72 skel->bs in trigger_samples()
84 long timeout = (long)input; poll_thread() local
[all...]
/linux/Documentation/userspace-api/media/v4l/
H A Dfunc-select.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
4 .. _func-select:
13 v4l2-select - Synchronous I/O multiplexing
18 .. code-block:: c
24 …t select( int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout )
30 The highest-numbered file descriptor in any of the three sets, plus 1.
41 ``timeout``
56 On success :c:func:`select()` returns the total number of bits set in
58 a value of zero. On failure it returns -1 and the ``errno`` variable is
77 non-blocking :c:func:`write()` call.
[all …]
/linux/Documentation/networking/
H A Dnf_conntrack-sysctl.rst1 .. SPDX-License-Identifier: GPL-2.0
10 nf_conntrack_acct - BOOLEAN
11 - 0 - disabled (default)
12 - not 0 - enabled
14 Enable connection tracking flow accounting. 64-bit byte and packet
17 nf_conntrack_buckets - INTEGER
19 loading, the default size is calculated by dividing total memory
24 nf_conntrack_checksum - BOOLEAN
25 - 0 - disabled
26 - not 0 - enabled (default)
[all …]
/linux/Documentation/devicetree/bindings/leds/
H A Dti,tps61310.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Matthias Fend <matthias.fend@emfend.at>
14 Its power stage is capable of supplying a maximum total current of roughly 1500mA.
15 The TPS6131x provides three constant-current sinks, capable of sinking
29 - items:
30 - enum:
31 - ti,tps61311
32 - const: ti,tps61310
[all …]
/linux/Documentation/admin-guide/laptops/
H A Ddisk-shock-protection.rst7 Last modified: 2008-10-03
19 --------
21 ATA/ATAPI-7 specifies the IDLE IMMEDIATE command with unload feature.
37 ----------------
42 -EOPNOTSUPP if the device does not support the unload feature.
45 for the specified number of milliseconds. When the timeout expires and
48 timeout is 30000 milliseconds. Exceeding this limit will return
49 -EOVERFLOW, but heads will be parked anyway and the timeout will be
50 set to 30 seconds. However, you can always change a timeout to any
52 before the timeout of the previous one has expired. In particular, the
[all …]
/linux/drivers/scsi/bnx2i/
H A Dbnx2i.h3 * Copyright (c) 2006 - 2013 Broadcom Corporation
14 * Maintained by: QLogic-Storage-Upstream@qlogic.com
59 /* Total active commands across all connections supported by devices */
60 #define ISCSI_MAX_CMDS_PER_HBA_5708 (28 * (ISCSI_MAX_CMDS_PER_SESS - 1))
61 #define ISCSI_MAX_CMDS_PER_HBA_5709 (128 * (ISCSI_MAX_CMDS_PER_SESS - 1))
62 #define ISCSI_MAX_CMDS_PER_HBA_57710 (256 * (ISCSI_MAX_CMDS_PER_SESS - 1))
129 readl(__hba->regview + offset)
131 writel(val, __hba->regview + offset)
136 spin_lock_bh(&__hba->stat_lock); \
137 dst->field##_lo = __hba->stats.field##_lo; \
[all …]

12345678910>>...23