Home
last modified time | relevance | path

Searched full:actual (Results 1 – 25 of 2152) sorted by relevance

12345678910>>...87

/linux/tools/testing/selftests/bpf/
H A Dtest_progs.h238 #define ASSERT_TRUE(actual, name) ({ \ argument
240 bool ___ok = (actual); \
245 #define ASSERT_FALSE(actual, name) ({ \ argument
247 bool ___ok = !(actual); \
252 #define ASSERT_EQ(actual, expected, name) ({ \ argument
254 typeof(actual) ___act = (actual); \
258 "unexpected %s: actual %lld != expected %lld\n", \
263 #define ASSERT_NEQ(actual, expected, name) ({ \ argument
265 typeof(actual) ___act = (actual); \
269 "unexpected %s: actual %lld == expected %lld\n", \
[all …]
/linux/drivers/cpufreq/
H A Damd_freq_sensitivity.c31 u64 actual; member
44 struct msr actual, reference; in amd_powersave_bias_target() local
53 rdmsrq_on_cpu(policy->cpu, MSR_AMD64_FREQ_SENSITIVITY_ACTUAL, &actual.q); in amd_powersave_bias_target()
55 actual.h &= 0x00ffffff; in amd_powersave_bias_target()
59 if (actual.q < data->actual || reference.q < data->reference) { in amd_powersave_bias_target()
64 d_actual = actual.q - data->actual; in amd_powersave_bias_target()
101 data->actual = actual.q; in amd_powersave_bias_target()
/linux/tools/testing/selftests/bpf/libarena/src/
H A Dbitmap.bpf.c60 u64 old, new, actual; in bmp_test_and_clear_bit() local
69 actual = cmpxchg(&bmp->bits[idx], old, new); in bmp_test_and_clear_bit()
71 if (actual == old) in bmp_test_and_clear_bit()
84 u64 old, new, actual; in bmp_test_and_set_bit() local
93 actual = cmpxchg(&bmp->bits[idx], old, new); in bmp_test_and_set_bit()
95 if (actual == old) in bmp_test_and_set_bit()
108 u64 old, new, actual; in bmp_clear_bit() local
113 actual = cmpxchg(&bmp->bits[idx], old, new); in bmp_clear_bit()
115 } while (actual != old && can_loop); in bmp_clear_bit()
123 u64 old, new, actual; in bmp_set_bit() local
[all …]
/linux/include/linux/
H A Dbcm963xx_nvram.h76 * @actual_out: optional pointer to store actual checksum value
85 u32 expected, actual; in bcm963xx_nvram_checksum() local
97 actual = crc32_le(~0, nvram, len - sizeof(u32)); in bcm963xx_nvram_checksum()
98 actual = crc32_le(actual, &zero, sizeof(u32)); in bcm963xx_nvram_checksum()
104 *actual_out = actual; in bcm963xx_nvram_checksum()
106 return expected == actual ? 0 : -EINVAL; in bcm963xx_nvram_checksum()
/linux/include/kunit/
H A Dassert.h98 * @value: The actual evaluated pointer value of the expression.
131 * @left_value: The actual evaluated value of the expression in the left slot.
132 * @right_value: The actual evaluated value of the expression in the right slot.
154 * @left_value: The actual evaluated value of the expression in the left slot.
155 * @right_value: The actual evaluated value of the expression in the right slot.
177 * @left_value: The actual evaluated value of the expression in the left slot.
178 * @right_value: The actual evaluated value of the expression in the right slot.
200 * @left_value: The actual evaluated value of the expression in the left slot.
201 * @right_value: The actual evaluated value of the expression in the right slot.
/linux/tools/testing/selftests/kvm/x86/
H A Dhwcr_msr_test.c16 u64 actual; in test_hwcr_bit()
30 actual = vcpu_get_msr(vcpu, MSR_K7_HWCR); in test_hwcr_bit()
31 TEST_ASSERT(actual == (val & valid), in test_hwcr_bit()
33 bit, actual, (val & valid)); in main()
17 u64 actual; test_hwcr_bit() local
H A Dnested_tsc_scaling_test.c31 * This function checks whether the "actual" TSC frequency of a guest matches
33 * measurements, a difference of 1% between the actual and the expected value
36 static void compare_tsc_freq(u64 actual, u64 expected)
44 TEST_ASSERT(thresh_low < actual, in compare_tsc_freq()
47 thresh_low, thresh_high, actual); in compare_tsc_freq()
48 TEST_ASSERT(thresh_high > actual, in compare_tsc_freq()
51 thresh_low, thresh_high, actual); in compare_tsc_freq()
38 compare_tsc_freq(u64 actual,u64 expected) compare_tsc_freq() argument
/linux/drivers/usb/gadget/udc/
H A Drenesas_usbf.c565 left = req->req.length - req->req.actual; in usbf_ep0_pio_in()
575 if ((req->req.actual % ep0->ep.maxpacket) == 0) { in usbf_ep0_pio_in()
591 buf += req->req.actual; in usbf_ep0_pio_in()
597 req->req.actual += (nb * sizeof(u32)); in usbf_ep0_pio_in()
606 req->req.actual += left; in usbf_ep0_pio_in()
611 req->req.actual, req->req.length); in usbf_ep0_pio_in()
631 buf += req->req.actual; in usbf_ep0_pio_out()
633 left = req->req.length - req->req.actual; in usbf_ep0_pio_out()
651 req->req.actual += (nb * sizeof(u32)); in usbf_ep0_pio_out()
657 req->req.actual += count; in usbf_ep0_pio_out()
[all …]
/linux/tools/testing/selftests/powerpc/pmu/ebb/
H A Dcycles_with_mmcr2_test.c25 uint64_t val, expected[2], actual; in cycles_with_mmcr2() local
53 actual = 0; in cycles_with_mmcr2()
66 actual = val; in cycles_with_mmcr2()
82 printf("Bad MMCR2 value seen is 0x%lx\n", actual); in cycles_with_mmcr2()
/linux/tools/testing/selftests/ftrace/test.d/trigger/
H A Dtrigger-hist-expressions.tc24 actual=`grep -o 'x=[[:digit:]]*' $trigger | awk -F= '{ print $2 }'`
26 if [ $actual != $3 ]; then
27 … fail "Failed hist trigger expression evaluation: Expression: $2 Expected: $3, Actual: $actual"
/linux/tools/testing/selftests/mm/
H A Dhugetlb_reparenting_test.sh80 local actual
85 actual="$(cat "$actual_path")"
87 if [[ $actual -ge $(($expected - $tolerance)) ]] &&
88 [[ $actual -le $(($expected + $tolerance)) ]]; then
96 echo "actual = $((${actual%% *} / 1024 / 1024)) MB"
/linux/drivers/gpu/drm/i915/display/
H A Dintel_cdclk.c61 * are two main clocks involved that aren't directly related to the actual
62 * pixel clock or any symbol/bit clock of the actual output port. These
132 * Actual configuration of cdclk, can be different from the
135 struct intel_cdclk_config actual; member
600 * Specs are full of misinformation, but testing on actual in vlv_calc_voltage_level()
2732 if (!intel_cdclk_changed(&old_cdclk_state->actual, in intel_cdclk_pcode_pre_notify()
2733 &new_cdclk_state->actual) && in intel_cdclk_pcode_pre_notify()
2741 change_cdclk = new_cdclk_state->actual.cdclk != old_cdclk_state->actual.cdclk; in intel_cdclk_pcode_pre_notify()
2752 cdclk = max(new_cdclk_state->actual.cdclk, old_cdclk_state->actual.cdclk); in intel_cdclk_pcode_pre_notify()
2778 voltage_level = new_cdclk_state->actual.voltage_level; in intel_cdclk_pcode_post_notify()
[all …]
H A Dvlv_dsi_pll_regs.h25 /* TX control divider to select actual TX clock output from (8x/var) */
38 /* RX upper control divider to select actual RX clock output from 8x */
51 /* 8/3X divider to select the actual 8/3X clock output from 8x */
64 /* RX lower control divider to select actual RX clock output from 8x */
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dstruct_ops_autocreate.c20 * match the BTF of the actual struct bpf_testmod_ops defined in the in cant_load_full_object()
72 ASSERT_TRUE(bpf_program__autoload(skel->progs.test_1), "test_1 actual autoload"); in can_load_partial_object()
73 ASSERT_FALSE(bpf_program__autoload(skel->progs.test_2), "test_2 actual autoload"); in can_load_partial_object()
134 ASSERT_TRUE(bpf_program__autoload(skel->progs.foo), "foo actual autoload"); in autoload_and_shadow_vars()
135 ASSERT_FALSE(bpf_program__autoload(skel->progs.bar), "bar actual autoload"); in autoload_and_shadow_vars()
/linux/drivers/usb/renesas_usbhs/
H A Dfifo.c79 pkt->actual = 0; in usbhs_pkt_push()
423 pkt->actual = pkt->length; in usbhs_dcp_dir_switch_done()
535 buf = pkt->buf + pkt->actual; in usbhsf_pio_try_push()
536 len = pkt->length - pkt->actual; in usbhsf_pio_try_push()
564 pkt->actual += total_len; in usbhsf_pio_try_push()
566 if (pkt->actual < pkt->length) in usbhsf_pio_try_push()
585 pkt->length, pkt->actual, *is_done, pkt->zero); in usbhsf_pio_try_push()
673 buf = pkt->buf + pkt->actual; in usbhsf_pio_try_pop()
674 len = pkt->length - pkt->actual; in usbhsf_pio_try_pop()
679 * update actual length first here to decide disable pipe. in usbhsf_pio_try_pop()
[all …]
/linux/tools/testing/selftests/powerpc/dexcr/
H A Dlsdexcr.c77 bool actual = effective & DEXCR_PR_BIT(aspect->index); in print_aspect_config() local
78 bool expected = actual; /* Assume it's fine if we don't expect a specific set/clear value */ in print_aspect_config()
80 if (actual) in print_aspect_config()
125 if (actual != expected) in print_aspect_config()
126 printf(" : ! actual %s does not match config\n", aspect->name); in print_aspect_config()
/linux/Documentation/ABI/removed/
H A Dsysfs-selinux-checkreqprot12 calls instead of the actual protection applied by the kernel.
18 actual protection), and Android and Linux distributions have been
23 check the actual protections being applied upon mmap/mprotect calls.
/linux/include/uapi/linux/
H A Dtee.h101 * with actual flags as defined by TEE_IOCTL_SHM_* above.
265 /* num_params tells the actual number of element in params */
296 /* num_params tells the actual number of element in params */
346 * receive when input, @num_params is the number of actual params
352 /* num_params tells the actual number of element in params */
374 /* num_params tells the actual number of element in params */
395 * with actual flags as defined by TEE_IOCTL_SHM_* above.
413 * with actual flags as defined by TEE_IOCTL_SHM_* above.
474 /* num_params tells the actual number of element in params */
/linux/Documentation/admin-guide/device-mapper/
H A Dzero.rst13 than the amount of actual storage space available for that device. A user can
16 enough data has been written to fill up the actual storage space, the sparse
36 10GB of actual storage space available. If more than 10GB of data is written
/linux/drivers/clk/tegra/
H A Dclk-tegra124.c173 { 12000000, 1000000000, 83, 1, 1, 0 }, /* actual: 996.0 MHz */
174 { 13000000, 1000000000, 76, 1, 1, 0 }, /* actual: 988.0 MHz */
175 { 16800000, 1000000000, 59, 1, 1, 0 }, /* actual: 991.2 MHz */
176 { 19200000, 1000000000, 52, 1, 1, 0 }, /* actual: 998.4 MHz */
177 { 26000000, 1000000000, 76, 2, 1, 0 }, /* actual: 988.0 MHz */
208 { 13000000, 600000000, 92, 1, 2, 0 }, /* actual: 598.0 MHz */
209 { 16800000, 600000000, 71, 1, 2, 0 }, /* actual: 596.4 MHz */
210 { 19200000, 600000000, 62, 1, 2, 0 }, /* actual: 595.2 MHz */
211 { 26000000, 600000000, 92, 2, 2, 0 }, /* actual: 598.0 MHz */
262 { 13000000, 600000000, 92, 1, 2, 0 }, /* actual: 598.0 MHz */
[all …]
/linux/drivers/usb/musb/
H A Dmusb_gadget.c253 (int)(request->length - request->actual)); in txstate()
277 request_size = min_t(size_t, request->length - request->actual, in txstate()
293 request->dma + request->actual, request_size); in txstate()
361 request->dma + request->actual, in txstate()
374 request->dma + request->actual, in txstate()
387 (u8 *) (request->buf + request->actual)); in txstate()
388 request->actual += fifo_count; in txstate()
397 request->actual, request->length, in txstate()
466 request->actual += musb_ep->dma->actual_len; in musb_g_tx()
477 && (request->actual == request->length)) { in musb_g_tx()
[all …]
/linux/drivers/usb/host/
H A Dehci-timer.c47 * As a result, events might not get handled right away; the actual delay
97 unsigned actual, want; in ehci_poll_ASS() local
104 actual = ehci_readl(ehci, &ehci->regs->status) & STS_ASS; in ehci_poll_ASS()
106 if (want != actual) { in ehci_poll_ASS()
114 want, actual); in ehci_poll_ASS()
143 unsigned actual, want; in ehci_poll_PSS() local
150 actual = ehci_readl(ehci, &ehci->regs->status) & STS_PSS; in ehci_poll_PSS()
152 if (want != actual) { in ehci_poll_PSS()
160 want, actual); in ehci_poll_PSS()
/linux/drivers/net/ethernet/cavium/liquidio/
H A Docteon_device.c71 /* Actual configured value. Range could be: 1...max_txqs */
77 /* Actual configured value. Range could be: 1...max_rxqs */
100 /* Actual configured value. Range could be: 1...max_txqs */
106 /* Actual configured value. Range could be: 1...max_rxqs */
179 /* Actual configured value. Range could be: 1...max_txqs */
185 /* Actual configured value. Range could be: 1...max_rxqs */
208 /* Actual configured value. Range could be: 1...max_txqs */
214 /* Actual configured value. Range could be: 1...max_rxqs */
237 /* Actual configured value. Range could be: 1...max_txqs */
243 /* Actual configured value. Range could be: 1...max_rxqs */
[all …]
/linux/tools/power/acpi/tools/acpidump/
H A Dapfiles.c109 acpi_size actual; in ap_write_to_binary_file() local
154 actual = fwrite(table, 1, table_length, file); in ap_write_to_binary_file()
155 if (actual != table_length) { in ap_write_to_binary_file()
185 acpi_size actual; in ap_get_table_from_file() local
216 actual = fread(buffer, 1, file_size, file); in ap_get_table_from_file()
217 if (actual != file_size) { in ap_get_table_from_file()
/linux/drivers/pci/
H A Drom.c185 * pci_get_rom_size - obtain the actual size of the ROM image
189 * return: size of actual ROM image
191 * Determine the actual length of the ROM image.
193 * actual image size.
237 * actual ROM.
264 * size is much larger than the actual size of the ROM. in pci_map_rom()

12345678910>>...87