/linux-6.3-rc2/kernel/locking/ |
A D | locktorture.c | 121 if (!(torture_random(trsp) % in torture_lock_busted_write_delay() 143 if (trsp && !(torture_random(trsp) % in __torture_rt_boost() 157 if (!trsp || !(torture_random(trsp) % in __torture_rt_boost() 170 __torture_rt_boost(trsp); in torture_rt_boost() 201 if (!(torture_random(trsp) % in torture_spin_lock_write_delay() 204 if (!(torture_random(trsp) % in torture_spin_lock_write_delay() 272 if (!(torture_random(trsp) % in torture_rwlock_write_delay() 300 if (!(torture_random(trsp) % in torture_rwlock_read_delay() 381 if (!(torture_random(trsp) % in torture_mutex_delay() 524 if (!(torture_random(trsp) % in torture_rtmutex_delay() [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | torture.h | 76 unsigned long torture_random(struct torture_random_state *trsp); 77 static inline void torture_random_init(struct torture_random_state *trsp) in torture_random_init() argument 79 trsp->trs_state = 0; in torture_random_init() 80 trsp->trs_count = 0; in torture_random_init() 84 int torture_hrtimeout_ns(ktime_t baset_ns, u32 fuzzt_ns, struct torture_random_state *trsp); 85 int torture_hrtimeout_us(u32 baset_us, u32 fuzzt_ns, struct torture_random_state *trsp); 86 int torture_hrtimeout_ms(u32 baset_ms, u32 fuzzt_us, struct torture_random_state *trsp); 87 int torture_hrtimeout_jiffies(u32 baset_j, struct torture_random_state *trsp); 88 int torture_hrtimeout_s(u32 baset_s, u32 fuzzt_ms, struct torture_random_state *trsp);
|
/linux-6.3-rc2/kernel/ |
A D | torture.c | 90 if (trsp) in torture_hrtimeout_ns() 91 hto += (torture_random(trsp) >> 3) % fuzzt_ns; in torture_hrtimeout_ns() 105 return torture_hrtimeout_ns(baset_ns, fuzzt_ns, trsp); in torture_hrtimeout_us() 122 return torture_hrtimeout_ns(baset_ns, fuzzt_ns, trsp); in torture_hrtimeout_ms() 135 return torture_hrtimeout_ns(baset_ns, jiffies_to_nsecs(1), trsp); in torture_hrtimeout_jiffies() 152 return torture_hrtimeout_ns(baset_ns, fuzzt_ns, trsp); in torture_hrtimeout_s() 450 torture_random(struct torture_random_state *trsp) in torture_random() argument 452 if (--trsp->trs_count < 0) { in torture_random() 454 trsp->trs_count = TORTURE_RANDOM_REFRESH; in torture_random() 456 trsp->trs_state = trsp->trs_state * TORTURE_RANDOM_MULT + in torture_random() [all …]
|
A D | scftorture.c | 241 static struct scf_selector *scf_sel_rand(struct torture_random_state *trsp) in scf_sel_rand() argument 244 unsigned long w = torture_random(trsp) % (scf_sel_totweight + 1); in scf_sel_rand() 313 static void scftorture_invoke_one(struct scf_statistics *scfp, struct torture_random_state *trsp) in scftorture_invoke_one() argument 318 struct scf_selector *scfsp = scf_sel_rand(trsp); in scftorture_invoke_one() 338 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one() 345 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one() 368 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one() 434 if (!(torture_random(trsp) & 0xfff)) in scftorture_invoke_one()
|
/linux-6.3-rc2/drivers/gpu/drm/panel/ |
A D | panel-samsung-s6e63m0-spi.c | 20 static int s6e63m0_spi_dcs_read(struct device *dev, void *trsp, in s6e63m0_spi_dcs_read() argument 23 struct mipi_dbi *dbi = trsp; in s6e63m0_spi_dcs_read() 33 static int s6e63m0_spi_dcs_write(struct device *dev, void *trsp, in s6e63m0_spi_dcs_write() argument 36 struct mipi_dbi *dbi = trsp; in s6e63m0_spi_dcs_write()
|
A D | panel-samsung-s6e63m0.h | 31 int s6e63m0_probe(struct device *dev, void *trsp, 32 int (*dcs_read)(struct device *dev, void *trsp, 34 int (*dcs_write)(struct device *dev, void *trsp,
|
A D | panel-samsung-s6e63m0.c | 262 int (*dcs_read)(struct device *dev, void *trsp, const u8 cmd, u8 *val); 263 int (*dcs_write)(struct device *dev, void *trsp, const u8 *data, size_t len); 692 int s6e63m0_probe(struct device *dev, void *trsp, in s6e63m0_probe() argument 693 int (*dcs_read)(struct device *dev, void *trsp, const u8 cmd, u8 *val), in s6e63m0_probe() 694 int (*dcs_write)(struct device *dev, void *trsp, const u8 *data, size_t len), in s6e63m0_probe() 705 ctx->transport_data = trsp; in s6e63m0_probe()
|
A D | panel-samsung-s6e63m0-dsi.c | 19 static int s6e63m0_dsi_dcs_read(struct device *dev, void *trsp, in s6e63m0_dsi_dcs_read() argument 36 static int s6e63m0_dsi_dcs_write(struct device *dev, void *trsp, in s6e63m0_dsi_dcs_write() argument
|
/linux-6.3-rc2/kernel/rcu/ |
A D | rcutorture.c | 1322 unsigned long r = torture_random(trsp); in do_rtws_sync() 1712 struct torture_random_state *trsp) in rcu_torture_reader_do_mbchk() argument 1731 rdrchked = torture_random(trsp) % nrealreaders; in rcu_torture_reader_do_mbchk() 1733 rdrchker = torture_random(trsp) % nrealreaders; in rcu_torture_reader_do_mbchk() 1776 struct torture_random_state *trsp, in rcutorture_one_extend() argument 1844 cur_ops->read_delay(trsp, rtrsp); in rcutorture_one_extend() 1937 i = (torture_random(trsp) >> 3); in rcutorture_loop_extend() 1940 mask = rcutorture_extend_mask(*readstate, trsp); in rcutorture_loop_extend() 1988 rcu_torture_reader_do_mbchk(myid, p, trsp); in rcu_torture_one_read() 3197 struct torture_random_state *trsp = trsp_in; in rcu_torture_read_exit_child() local [all …]
|
/linux-6.3-rc2/drivers/scsi/elx/libefc_sli/ |
A D | sli4.c | 1963 struct sli4_fcp_trsp64_wqe *trsp = buf; in sli_fcp_trsp64_wqe() local 1969 trsp->class_ag_byte |= SLI4_TRSP_WQE_AG; in sli_fcp_trsp64_wqe() 1978 bptr = &trsp->bde; in sli_fcp_trsp64_wqe() 1991 trsp->eat_xc_ccpe |= SLI4_TRSP_WQE_XC; in sli_fcp_trsp64_wqe() 1993 trsp->xri_tag = cpu_to_le16(params->xri); in sli_fcp_trsp64_wqe() 1994 trsp->rpi = cpu_to_le16(params->rpi); in sli_fcp_trsp64_wqe() 1996 trsp->command = SLI4_WQE_FCP_TRSP64; in sli_fcp_trsp64_wqe() 2002 trsp->ct_dnrx_byte |= SLI4_TRSP_WQE_DNRX; in sli_fcp_trsp64_wqe() 2006 trsp->lloc1_appid |= 0x1; in sli_fcp_trsp64_wqe() 2007 trsp->cq_id = cpu_to_le16(cq_id); in sli_fcp_trsp64_wqe() [all …]
|
/linux-6.3-rc2/drivers/scsi/fnic/ |
A D | fcpio.h | 470 struct fcpio_trsp trsp; member
|