Home
last modified time | relevance | path

Searched refs:exp_val (Results 1 – 9 of 9) sorted by relevance

/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap05.c87 static int checkproc(long act_val, char *string, long exp_val);
88 static int checksys(char *path, char *pattern, long exp_val);
281 static int checksys(char *path, char *string, long exp_val) in checksys() argument
287 if (act_val != exp_val) { in checksys()
288 tst_res(TFAIL, "%s is not %ld but %ld.", string, exp_val, in checksys()
295 static int checkproc(long act_val, char *pattern, long exp_val) in checkproc() argument
298 if (act_val != exp_val) { in checkproc()
300 pattern, exp_val, act_val); in checkproc()
/external/ltp/testcases/kernel/syscalls/readlink/
Dreadlink01.c36 int exp_val = strlen(TESTFILE); in test_readlink() local
44 if (TST_RET != exp_val) { in test_readlink()
46 "did't match, Expected %d", TST_RET, exp_val); in test_readlink()
50 if (memcmp(buffer, TESTFILE, exp_val) != 0) { in test_readlink()
/external/ltp/testcases/kernel/syscalls/prctl/
Dprctl03.c34 static void check_get_subreaper(int exp_val) in check_get_subreaper() argument
44 if (get_val == exp_val) { in check_get_subreaper()
49 get_val, exp_val); in check_get_subreaper()
/external/ltp/testcases/kernel/syscalls/madvise/
Dmadvise09.c229 char exp_val; in child() local
232 exp_val = 'a'; in child()
235 exp_val = 0; in child()
241 if (check_page(ptr + i * page_size, exp_val)) { in child()
/external/u-boot/drivers/video/tegra124/
Ddisplay.c97 u32 mask, u32 exp_val, u32 poll_interval_us, u32 timeout_us) in tegra_dc_poll_register() argument
109 } while ((reg_val & mask) != exp_val); in tegra_dc_poll_register()
111 if ((reg_val & mask) == exp_val) in tegra_dc_poll_register()
Dsor.c90 u32 mask, u32 exp_val, in tegra_dc_sor_poll_register() argument
99 if (((reg_val & mask) == exp_val)) in tegra_dc_sor_poll_register()
105 reg, reg_val, mask, exp_val); in tegra_dc_sor_poll_register()
Ddp.c53 u32 reg, u32 mask, u32 exp_val, in tegra_dc_dpaux_poll_register() argument
67 } while ((reg_val & mask) != exp_val); in tegra_dc_dpaux_poll_register()
69 if ((reg_val & mask) == exp_val) in tegra_dc_dpaux_poll_register()
72 reg, reg_val, mask, exp_val); in tegra_dc_dpaux_poll_register()
/external/u-boot/drivers/pci/
Dpcie_imx.c98 static int pcie_phy_poll_ack(void __iomem *dbi_base, int exp_val) in pcie_phy_poll_ack() argument
109 if (val == exp_val) in pcie_phy_poll_ack()
/external/webp/src/enc/
Dpredictor_enc.c34 double exp_val) { in PredictionCostSpatial() argument
40 bits += exp_val * (counts[i] + counts[256 - i]); in PredictionCostSpatial()
41 exp_val *= exp_decay_factor; in PredictionCostSpatial()