/Linux-v5.15/include/linux/ |
D | torture.h | 73 unsigned long torture_random(struct torture_random_state *trsp); 74 static inline void torture_random_init(struct torture_random_state *trsp) in torture_random_init() argument 76 trsp->trs_state = 0; in torture_random_init() 77 trsp->trs_count = 0; in torture_random_init() 81 int torture_hrtimeout_ns(ktime_t baset_ns, u32 fuzzt_ns, struct torture_random_state *trsp); 82 int torture_hrtimeout_us(u32 baset_us, u32 fuzzt_ns, struct torture_random_state *trsp); 83 int torture_hrtimeout_ms(u32 baset_ms, u32 fuzzt_us, struct torture_random_state *trsp); 84 int torture_hrtimeout_jiffies(u32 baset_j, struct torture_random_state *trsp); 85 int torture_hrtimeout_s(u32 baset_s, u32 fuzzt_ms, struct torture_random_state *trsp);
|
/Linux-v5.15/kernel/locking/ |
D | locktorture.c | 80 void (*write_delay)(struct torture_random_state *trsp); 81 void (*task_boost)(struct torture_random_state *trsp); 84 void (*read_delay)(struct torture_random_state *trsp); 113 static void torture_lock_busted_write_delay(struct torture_random_state *trsp) in torture_lock_busted_write_delay() argument 118 if (!(torture_random(trsp) % in torture_lock_busted_write_delay() 121 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_lock_busted_write_delay() 130 static void torture_boost_dummy(struct torture_random_state *trsp) in torture_boost_dummy() argument 155 static void torture_spin_lock_write_delay(struct torture_random_state *trsp) in torture_spin_lock_write_delay() argument 163 if (!(torture_random(trsp) % in torture_spin_lock_write_delay() 166 if (!(torture_random(trsp) % in torture_spin_lock_write_delay() [all …]
|
/Linux-v5.15/kernel/ |
D | torture.c | 86 int torture_hrtimeout_ns(ktime_t baset_ns, u32 fuzzt_ns, struct torture_random_state *trsp) in torture_hrtimeout_ns() argument 90 if (trsp) in torture_hrtimeout_ns() 91 hto += (torture_random(trsp) >> 3) % fuzzt_ns; in torture_hrtimeout_ns() 101 int torture_hrtimeout_us(u32 baset_us, u32 fuzzt_ns, struct torture_random_state *trsp) in torture_hrtimeout_us() argument 105 return torture_hrtimeout_ns(baset_ns, fuzzt_ns, trsp); in torture_hrtimeout_us() 113 int torture_hrtimeout_ms(u32 baset_ms, u32 fuzzt_us, struct torture_random_state *trsp) in torture_hrtimeout_ms() argument 122 return torture_hrtimeout_ns(baset_ns, fuzzt_ns, trsp); in torture_hrtimeout_ms() 131 int torture_hrtimeout_jiffies(u32 baset_j, struct torture_random_state *trsp) in torture_hrtimeout_jiffies() argument 135 return torture_hrtimeout_ns(baset_ns, jiffies_to_nsecs(1), trsp); in torture_hrtimeout_jiffies() 143 int torture_hrtimeout_s(u32 baset_s, u32 fuzzt_ms, struct torture_random_state *trsp) in torture_hrtimeout_s() argument [all …]
|
D | scftorture.c | 245 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() 347 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one() 370 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one() 436 if (!(torture_random(trsp) & 0xfff)) in scftorture_invoke_one()
|
/Linux-v5.15/drivers/gpu/drm/panel/ |
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()
|
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,
|
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()
|
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-v5.15/kernel/rcu/ |
D | rcutorture.c | 1355 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 1458 bool lockit = !statesnew && !(torture_random(trsp) & 0xffff); in rcutorture_one_extend() 1469 cur_ops->read_delay(trsp, rtrsp); in rcutorture_one_extend() 1494 rcutorture_extend_mask(int oldmask, struct torture_random_state *trsp) in rcutorture_extend_mask() argument 1497 unsigned long randmask1 = torture_random(trsp) >> 8; in rcutorture_extend_mask() 1519 rcutorture_loop_extend(int *readstate, struct torture_random_state *trsp, in rcutorture_loop_extend() argument 1530 i = (torture_random(trsp) >> 3); in rcutorture_loop_extend() [all …]
|
/Linux-v5.15/drivers/scsi/elx/libefc_sli/ |
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() 1975 trsp->qosd_xbl_hlm_dbde_wqes |= SLI4_TRSP_WQE_DBDE; in sli_fcp_trsp64_wqe() 1977 trsp->qosd_xbl_hlm_dbde_wqes |= SLI4_TRSP_WQE_XBL; in sli_fcp_trsp64_wqe() 1978 bptr = &trsp->bde; in sli_fcp_trsp64_wqe() 1987 trsp->fcp_response_length = cpu_to_le32(params->xmit_len); 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() [all …]
|
/Linux-v5.15/drivers/scsi/fnic/ |
D | fcpio.h | 482 struct fcpio_trsp trsp; member
|