Home
last modified time | relevance | path

Searched refs:trsp (Results 1 - 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/kernel/locking/
H A Dlocktorture.c78 void (*write_delay)(struct torture_random_state *trsp);
79 void (*task_boost)(struct torture_random_state *trsp);
82 void (*read_delay)(struct torture_random_state *trsp);
110 static void torture_lock_busted_write_delay(struct torture_random_state *trsp) in torture_lock_busted_write_delay() argument
115 if (!(torture_random(trsp) % in torture_lock_busted_write_delay()
118 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_lock_busted_write_delay()
127 static void torture_boost_dummy(struct torture_random_state *trsp) in torture_boost_dummy() argument
151 static void torture_spin_lock_write_delay(struct torture_random_state *trsp) in torture_spin_lock_write_delay() argument
159 if (!(torture_random(trsp) % in torture_spin_lock_write_delay()
162 if (!(torture_random(trsp) in torture_spin_lock_write_delay()
220 torture_rwlock_write_delay(struct torture_random_state *trsp) torture_rwlock_write_delay() argument
246 torture_rwlock_read_delay(struct torture_random_state *trsp) torture_rwlock_read_delay() argument
326 torture_mutex_delay(struct torture_random_state *trsp) torture_mutex_delay() argument
437 torture_rtmutex_boost(struct torture_random_state *trsp) torture_rtmutex_boost() argument
468 torture_rtmutex_delay(struct torture_random_state *trsp) torture_rtmutex_delay() argument
511 torture_rwsem_write_delay(struct torture_random_state *trsp) torture_rwsem_write_delay() argument
536 torture_rwsem_read_delay(struct torture_random_state *trsp) torture_rwsem_read_delay() argument
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dtorture.h76 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()
85 struct torture_random_state *trsp);
86 int torture_hrtimeout_us(u32 baset_us, u32 fuzzt_ns, struct torture_random_state *trsp);
87 int torture_hrtimeout_ms(u32 baset_ms, u32 fuzzt_us, struct torture_random_state *trsp);
88 int torture_hrtimeout_jiffies(u32 baset_j, struct torture_random_state *trsp);
89 int torture_hrtimeout_s(u32 baset_s, u32 fuzzt_ms, struct torture_random_state *trsp);
/kernel/linux/linux-6.6/kernel/locking/
H A Dlocktorture.c83 void (*write_delay)(struct torture_random_state *trsp);
84 void (*task_boost)(struct torture_random_state *trsp);
88 void (*read_delay)(struct torture_random_state *trsp);
117 static void torture_lock_busted_write_delay(struct torture_random_state *trsp) in torture_lock_busted_write_delay() argument
122 if (!(torture_random(trsp) % in torture_lock_busted_write_delay()
125 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_lock_busted_write_delay()
134 static void __torture_rt_boost(struct torture_random_state *trsp) in __torture_rt_boost() argument
144 if (trsp && !(torture_random(trsp) % in __torture_rt_boost()
155 * When @trsp i in __torture_rt_boost()
166 torture_rt_boost(struct torture_random_state *trsp) torture_rt_boost() argument
194 torture_spin_lock_write_delay(struct torture_random_state *trsp) torture_spin_lock_write_delay() argument
320 torture_rwlock_write_delay(struct torture_random_state *trsp) torture_rwlock_write_delay() argument
348 torture_rwlock_read_delay(struct torture_random_state *trsp) torture_rwlock_read_delay() argument
454 torture_mutex_delay(struct torture_random_state *trsp) torture_mutex_delay() argument
626 torture_rtmutex_delay(struct torture_random_state *trsp) torture_rtmutex_delay() argument
651 torture_rt_boost_rtmutex(struct torture_random_state *trsp) torture_rt_boost_rtmutex() argument
692 torture_rwsem_write_delay(struct torture_random_state *trsp) torture_rwsem_write_delay() argument
717 torture_rwsem_read_delay(struct torture_random_state *trsp) torture_rwsem_read_delay() argument
[all...]
/kernel/linux/linux-6.6/kernel/
H A Dtorture.c91 struct torture_random_state *trsp) in torture_hrtimeout_ns()
95 if (trsp) in torture_hrtimeout_ns()
96 hto += torture_random(trsp) % fuzzt_ns; in torture_hrtimeout_ns()
106 int torture_hrtimeout_us(u32 baset_us, u32 fuzzt_ns, struct torture_random_state *trsp) in torture_hrtimeout_us() argument
110 return torture_hrtimeout_ns(baset_ns, fuzzt_ns, HRTIMER_MODE_REL, trsp); in torture_hrtimeout_us()
118 int torture_hrtimeout_ms(u32 baset_ms, u32 fuzzt_us, struct torture_random_state *trsp) in torture_hrtimeout_ms() argument
127 return torture_hrtimeout_ns(baset_ns, fuzzt_ns, HRTIMER_MODE_REL, trsp); in torture_hrtimeout_ms()
136 int torture_hrtimeout_jiffies(u32 baset_j, struct torture_random_state *trsp) in torture_hrtimeout_jiffies() argument
140 return torture_hrtimeout_ns(baset_ns, jiffies_to_nsecs(1), HRTIMER_MODE_REL, trsp); in torture_hrtimeout_jiffies()
148 int torture_hrtimeout_s(u32 baset_s, u32 fuzzt_ms, struct torture_random_state *trsp) in torture_hrtimeout_s() argument
90 torture_hrtimeout_ns(ktime_t baset_ns, u32 fuzzt_ns, const enum hrtimer_mode mode, struct torture_random_state *trsp) torture_hrtimeout_ns() argument
455 torture_random(struct torture_random_state *trsp) torture_random() argument
[all...]
H A Dscftorture.c242 static struct scf_selector *scf_sel_rand(struct torture_random_state *trsp) in scf_sel_rand() argument
245 unsigned long w = torture_random(trsp) % (scf_sel_totweight + 1); in scf_sel_rand()
314 static void scftorture_invoke_one(struct scf_statistics *scfp, struct torture_random_state *trsp) in scftorture_invoke_one() argument
320 struct scf_selector *scfsp = scf_sel_rand(trsp); in scftorture_invoke_one()
342 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one()
349 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one()
372 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one()
440 else if (!(torture_random(trsp) & 0xfff)) in scftorture_invoke_one()
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/
H 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()
H 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,
H 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
H 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()
/kernel/linux/linux-5.10/include/linux/
H A Dtorture.h57 unsigned long torture_random(struct torture_random_state *trsp);
58 static inline void torture_random_init(struct torture_random_state *trsp) in torture_random_init() argument
60 trsp->trs_state = 0; in torture_random_init()
61 trsp->trs_count = 0; in torture_random_init()
/kernel/linux/linux-5.10/kernel/
H A Dtorture.c331 torture_random(struct torture_random_state *trsp) in torture_random() argument
333 if (--trsp->trs_count < 0) { in torture_random()
334 trsp->trs_state += (unsigned long)local_clock(); in torture_random()
335 trsp->trs_count = TORTURE_RANDOM_REFRESH; in torture_random()
337 trsp->trs_state = trsp->trs_state * TORTURE_RANDOM_MULT + in torture_random()
339 return swahw32(trsp->trs_state); in torture_random()
H A Dscftorture.c228 static struct scf_selector *scf_sel_rand(struct torture_random_state *trsp) in scf_sel_rand() argument
231 unsigned long w = torture_random(trsp) % (scf_sel_totweight + 1); in scf_sel_rand()
297 static void scftorture_invoke_one(struct scf_statistics *scfp, struct torture_random_state *trsp) in scftorture_invoke_one() argument
302 struct scf_selector *scfsp = scf_sel_rand(trsp); in scftorture_invoke_one()
321 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one()
380 if (!(torture_random(trsp) & 0xfff)) in scftorture_invoke_one()
/kernel/linux/linux-5.10/kernel/rcu/
H A Drcutorture.c1220 * and random-number-generator state in trsp. If this is neither the
1225 struct torture_random_state *trsp, in rcutorture_one_extend()
1270 bool lockit = !statesnew && !(torture_random(trsp) & 0xffff); in rcutorture_one_extend()
1281 cur_ops->read_delay(trsp, rtrsp); in rcutorture_one_extend()
1306 rcutorture_extend_mask(int oldmask, struct torture_random_state *trsp) in rcutorture_extend_mask() argument
1309 unsigned long randmask1 = torture_random(trsp) >> 8; in rcutorture_extend_mask()
1349 rcutorture_loop_extend(int *readstate, struct torture_random_state *trsp, in rcutorture_loop_extend() argument
1360 i = (torture_random(trsp) >> 3); in rcutorture_loop_extend()
1363 mask = rcutorture_extend_mask(*readstate, trsp); in rcutorture_loop_extend()
1364 rcutorture_one_extend(readstate, mask, trsp, in rcutorture_loop_extend()
1224 rcutorture_one_extend(int *readstate, int newstate, struct torture_random_state *trsp, struct rt_read_seg *rtrsp) rcutorture_one_extend() argument
1374 rcu_torture_one_read(struct torture_random_state *trsp) rcu_torture_one_read() argument
2393 struct torture_random_state *trsp = trsp_in; rcu_torture_read_exit_child() local
[all...]
/kernel/linux/linux-6.6/kernel/rcu/
H A Drcutorture.c1317 static void do_rtws_sync(struct torture_random_state *trsp, void (*sync)(void)) in do_rtws_sync() argument
1323 unsigned long r = torture_random(trsp); in do_rtws_sync()
1714 struct torture_random_state *trsp) in rcu_torture_reader_do_mbchk()
1733 rdrchked = torture_random(trsp) % nrealreaders; in rcu_torture_reader_do_mbchk()
1735 rdrchker = torture_random(trsp) % nrealreaders; in rcu_torture_reader_do_mbchk()
1773 * and random-number-generator state in trsp. If this is neither the
1778 struct torture_random_state *trsp, in rcutorture_one_extend()
1834 lockit = !cur_ops->no_pi_lock && !statesnew && !(torture_random(trsp) & 0xffff); in rcutorture_one_extend()
1846 cur_ops->read_delay(trsp, rtrsp); in rcutorture_one_extend()
1877 rcutorture_extend_mask(int oldmask, struct torture_random_state *trsp) in rcutorture_extend_mask() argument
1713 rcu_torture_reader_do_mbchk(long myid, struct rcu_torture *rtp, struct torture_random_state *trsp) rcu_torture_reader_do_mbchk() argument
1777 rcutorture_one_extend(int *readstate, int newstate, struct torture_random_state *trsp, struct rt_read_seg *rtrsp) rcutorture_one_extend() argument
1928 rcutorture_loop_extend(int *readstate, struct torture_random_state *trsp, struct rt_read_seg *rtrsp) rcutorture_loop_extend() argument
1953 rcu_torture_one_read(struct torture_random_state *trsp, long myid) rcu_torture_one_read() argument
3198 struct torture_random_state *trsp = trsp_in; rcu_torture_read_exit_child() local
[all...]
/kernel/linux/linux-6.6/drivers/scsi/elx/libefc_sli/
H 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()
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 in sli_fcp_trsp64_wqe()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/fnic/
H A Dfcpio.h482 struct fcpio_trsp trsp; member
/kernel/linux/linux-6.6/drivers/scsi/fnic/
H A Dfcpio.h470 struct fcpio_trsp trsp; member

Completed in 34 milliseconds