Home
last modified time | relevance | path

Searched refs:trsp (Results 1 – 11 of 11) sorted by relevance

/linux/kernel/locking/
A Dlocktorture.c118 if (!(torture_random(trsp) % in torture_lock_busted_write_delay()
163 if (!(torture_random(trsp) % in torture_spin_lock_write_delay()
166 if (!(torture_random(trsp) % in torture_spin_lock_write_delay()
234 if (!(torture_random(trsp) % in torture_rwlock_write_delay()
262 if (!(torture_random(trsp) % in torture_rwlock_read_delay()
343 if (!(torture_random(trsp) % in torture_mutex_delay()
487 if (trsp && !(torture_random(trsp) % in torture_rtmutex_boost()
500 if (!trsp || !(torture_random(trsp) % in torture_rtmutex_boost()
517 if (!(torture_random(trsp) % in torture_rtmutex_delay()
520 if (!(torture_random(trsp) % in torture_rtmutex_delay()
[all …]
/linux/include/linux/
A Dtorture.h81 unsigned long torture_random(struct torture_random_state *trsp);
82 static inline void torture_random_init(struct torture_random_state *trsp) in torture_random_init() argument
84 trsp->trs_state = 0; in torture_random_init()
85 trsp->trs_count = 0; in torture_random_init()
89 int torture_hrtimeout_ns(ktime_t baset_ns, u32 fuzzt_ns, struct torture_random_state *trsp);
90 int torture_hrtimeout_us(u32 baset_us, u32 fuzzt_ns, struct torture_random_state *trsp);
91 int torture_hrtimeout_ms(u32 baset_ms, u32 fuzzt_us, struct torture_random_state *trsp);
92 int torture_hrtimeout_jiffies(u32 baset_j, struct torture_random_state *trsp);
93 int torture_hrtimeout_s(u32 baset_s, u32 fuzzt_ms, struct torture_random_state *trsp);
/linux/kernel/
A Dtorture.c90 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()
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()
453 trsp->trs_state += (unsigned long)local_clock(); 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 Dscftorture.c245 static struct scf_selector *scf_sel_rand(struct torture_random_state *trsp) in scf_sel_rand() argument
248 unsigned long w = torture_random(trsp) % (scf_sel_totweight + 1); in scf_sel_rand()
316 static void scftorture_invoke_one(struct scf_statistics *scfp, struct torture_random_state *trsp) in scftorture_invoke_one() argument
321 struct scf_selector *scfsp = scf_sel_rand(trsp); in scftorture_invoke_one()
341 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one()
348 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one()
371 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one()
437 if (!(torture_random(trsp) & 0xfff)) in scftorture_invoke_one()
/linux/drivers/gpu/drm/panel/
A Dpanel-samsung-s6e63m0-spi.c20 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 Dpanel-samsung-s6e63m0.h31 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 Dpanel-samsung-s6e63m0.c262 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 Dpanel-samsung-s6e63m0-dsi.c19 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/kernel/rcu/
A Drcutorture.c1355 struct torture_random_state *trsp) in rcu_torture_reader_do_mbchk() argument
1374 rdrchked = torture_random(trsp) % nrealreaders; in rcu_torture_reader_do_mbchk()
1376 rdrchker = torture_random(trsp) % nrealreaders; in rcu_torture_reader_do_mbchk()
1419 struct torture_random_state *trsp, in rcutorture_one_extend() argument
1475 cur_ops->read_delay(trsp, rtrsp); in rcutorture_one_extend()
1554 i = (torture_random(trsp) >> 3); in rcutorture_loop_extend()
1557 mask = rcutorture_extend_mask(*readstate, trsp); in rcutorture_loop_extend()
1599 rcu_torture_reader_do_mbchk(myid, p, trsp); in rcu_torture_one_read()
1628 rcutorture_one_extend(&readstate, 0, trsp, rtrsp); in rcu_torture_one_read()
2700 struct torture_random_state *trsp = trsp_in; in rcu_torture_read_exit_child() local
[all …]
/linux/drivers/scsi/elx/libefc_sli/
A Dsli4.c1963 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/drivers/scsi/fnic/
A Dfcpio.h482 struct fcpio_trsp trsp; member

Completed in 37 milliseconds