Home
last modified time | relevance | path

Searched refs:limit (Results 1 – 25 of 50) sorted by relevance

12

/tools/testing/selftests/x86/
Dldt_gdt.c65 uint32_t has_limit = 0, has_ar = 0, limit, ar; in check_invalid_segment() local
72 : [limit] "=r" (limit), [has_limit] "+rm" (has_limit) in check_invalid_segment()
95 uint32_t has_limit = 0, has_ar = 0, limit, ar; in check_valid_segment() local
102 : [limit] "=r" (limit), [has_limit] "+rm" (has_limit) in check_valid_segment()
129 } else if (limit != expected_limit) { in check_valid_segment()
131 (ldt ? "LDT" : "GDT"), index, limit, expected_limit); in check_valid_segment()
135 (ldt ? "LDT" : "GDT"), index, ar, limit); in check_valid_segment()
169 uint32_t limit = desc.limit; in install_valid_mode() local
171 limit = (limit << 12) + 4095; in install_valid_mode()
172 check_valid_segment(desc.entry_number, ldt, ar, limit, true); in install_valid_mode()
[all …]
Dentry_from_vm86.c191 unsigned short limit; in do_umip_tests() member
196 struct table_desc gdt1 = { .base = 0x3c3c3c3c, .limit = 0x9999 }; in do_umip_tests()
197 struct table_desc gdt2 = { .base = 0x1a1a1a1a, .limit = 0xaeae }; in do_umip_tests()
198 struct table_desc idt1 = { .base = 0x7b7b7b7b, .limit = 0xf1f1 }; in do_umip_tests()
199 struct table_desc idt2 = { .base = 0x89898989, .limit = 0x1313 }; in do_umip_tests()
220 idt1.limit, idt1.base); in do_umip_tests()
222 gdt1.limit, gdt1.base); in do_umip_tests()
Dsigreturn.c189 .limit = 4095, in setup_ldt()
202 .limit = 0xffff, in setup_ldt()
215 .limit = 4095, in setup_ldt()
228 .limit = 0xffff, in setup_ldt()
241 .limit = 0xffff, in setup_ldt()
266 .limit = 0xffff, in setup_ldt()
Dfsgsbase_restore.c65 .limit = sizeof(unsigned int) - 1, in init_seg()
/tools/include/uapi/linux/
Dpkt_sched.h124 __u32 limit; /* Queue length: bytes for bfifo, packets for pfifo */ member
139 __u32 limit; /* Queue length in packets. */ member
177 __u32 limit; member
185 __u32 limit; member
215 __u32 limit; /* Maximal packets in queue */ member
234 __u32 limit; /* HARD maximal flow queue length (bytes) */ member
264 __u32 limit; /* HARD maximal queue length (bytes) */ member
327 __u32 limit; /* HARD maximal queue length (bytes) */ member
367 __u32 limit; /* Hard queue length (packets) */ member
592 __u32 limit; /* fifo limit (packets) */ member
[all …]
/tools/testing/selftests/net/forwarding/
Dsch_red.sh269 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0."
279 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected >= 95."
345 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0."
353 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0."
421 check_err $? "backlog $backlog / $limit Got $pct% mirrored packets, expected == 0."
426 check_err $? "backlog $backlog / $limit Got $pct% mirrored packets, expected >= 95."
/tools/testing/selftests/kvm/lib/x86_64/
Dsvm.c52 u64 base, u32 limit, u32 attr) in vmcb_set_seg() argument
56 seg->limit = limit; in vmcb_set_seg()
Dprocessor.c133 indent, "", segment->base, segment->limit, in segment_dump()
165 indent, "", dtable->base, dtable->limit, in dtable_dump()
401 desc->limit0 = segp->limit & 0xFFFF; in kvm_seg_fill_gdt_64bit()
408 desc->limit1 = segp->limit >> 16; in kvm_seg_fill_gdt_64bit()
439 segp->limit = 0xFFFFFFFFu; in kvm_seg_set_kernel_code_64bit()
471 segp->limit = 0xFFFFFFFFu; in kvm_seg_set_kernel_data_64bit()
531 dt->limit = getpagesize(); in kvm_setup_gdt()
544 segp->limit = 0x67; in kvm_setup_tss_64bit()
558 sregs.idt.limit = 0; in vcpu_setup()
1200 sregs.idt.limit = NUM_INTERRUPTS * sizeof(struct idt_entry) - 1; in vcpu_init_descriptor_tables()
[all …]
/tools/bootconfig/scripts/
Dftrace.sh70 if [ "$limit" != "unlimited" ]; then
71 tr="$tr:$limit"
/tools/perf/tests/
Ddso-data.c255 int dso_cnt, limit, i, fd; in test__dso_data_cache() local
263 limit = nr * 4; in test__dso_data_cache()
264 TEST_ASSERT_VAL("failed to set file limit", !set_fd_limit(limit)); in test__dso_data_cache()
267 dso_cnt = limit / 2; in test__dso_data_cache()
/tools/testing/selftests/drivers/net/mlxsw/
Dsch_red_core.sh420 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0."
430 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected >= 95."
499 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0."
507 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0."
511 check_err $? "backlog $backlog / $limit expected <= 10% distance"
625 do_drop_test "$vlan" "$limit" "$qevent_name" mirror \
655 do_drop_test "$vlan" "$limit" "$trap_name" trap \
/tools/testing/selftests/vm/
D.gitignore11 on-fault-limit
/tools/testing/selftests/ftrace/test.d/
Dfunctions63 limit=`echo $t | cut -d: -f5`
66 limit=`echo $t | cut -d: -f3`
68 if [ "$limit" != "unlimited" ]; then
69 tr="$tr:$limit"
/tools/perf/Documentation/
Dperfconfig.example35 percent-limit = 0
Dperf-top.txt182 --call-graph [mode,type,min[,limit],order[,key][,branch]]::
195 Set the stack depth limit when parsing the callchain, anything
207 --percent-limit::
223 readability. 0 means no limit (default behavior).
229 This option sets the time out limit. The default value is 500 ms.
Dperf-mem.txt20 and stores are sampled. Use the -t option to limit to loads or stores.
/tools/perf/util/
Dordered-events.c227 u64 limit = oe->next_flush; in do_flush() local
232 if (!limit) in do_flush()
242 if (iter->timestamp > limit) in do_flush()
257 else if (last_ts <= limit) in do_flush()
Ddso.c592 rlim_t limit = 0; in get_fd_limit() local
597 limit = l.rlim_cur; in get_fd_limit()
599 limit = l.rlim_cur / 2; in get_fd_limit()
602 limit = 1; in get_fd_limit()
605 return limit; in get_fd_limit()
/tools/testing/selftests/kvm/
Ddirty_log_perf_test.c306 unsigned int limit = kvm_check_cap(KVM_CAP_ARM_VM_IPA_SIZE); in main() local
308 if (limit >= 52) in main()
310 if (limit >= 48) { in main()
Ddemand_paging_test.c426 unsigned int limit = kvm_check_cap(KVM_CAP_ARM_VM_IPA_SIZE); in main() local
428 if (limit >= 52) in main()
430 if (limit >= 48) { in main()
Ddirty_log_test.c547 unsigned int limit = kvm_check_cap(KVM_CAP_ARM_VM_IPA_SIZE); in main() local
549 if (limit >= 52) in main()
551 if (limit >= 48) { in main()
/tools/kvm/kvm_stat/
Dkvm_stat.txt83 limit statistics to one virtual machine (guest name)
104 limit statistics to one virtual machine (pid)
/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink.sh319 [ "$size_new" -eq "$limit" ]
320 check_err $? "Unexpected \"size_new\" value (got $size_new, expected $limit)"
325 [ "$size" -eq "$limit" ]
326 check_err $? "Unexpected \"size\" value (got $size, expected $limit)"
/tools/arch/x86/include/uapi/asm/
Dkvm.h133 __u32 limit; member
143 __u16 limit; member
/tools/testing/selftests/cgroup/
Dtest_memcontrol.c229 int limit; in cg_test_proc_killed() local
231 for (limit = 10; limit > 0; limit--) { in cg_test_proc_killed()

12