Home
last modified time | relevance | path

Searched refs:readstate (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/kernel/rcu/
Drcutorture.c1224 static void rcutorture_one_extend(int *readstate, int newstate, in rcutorture_one_extend() argument
1230 int idxold = *readstate; in rcutorture_one_extend()
1231 int statesnew = ~*readstate & newstate; in rcutorture_one_extend()
1232 int statesold = *readstate & ~newstate; in rcutorture_one_extend()
1280 if ((statesnew || statesold) && *readstate && newstate) in rcutorture_one_extend()
1288 *readstate = idxnew | newstate; in rcutorture_one_extend()
1289 WARN_ON_ONCE((*readstate >> RCUTORTURE_RDR_SHIFT) < 0); in rcutorture_one_extend()
1290 WARN_ON_ONCE((*readstate >> RCUTORTURE_RDR_SHIFT) > 1); in rcutorture_one_extend()
1349 rcutorture_loop_extend(int *readstate, struct torture_random_state *trsp, in rcutorture_loop_extend() argument
1356 WARN_ON_ONCE(!*readstate); /* -Existing- RCU read-side critsect! */ in rcutorture_loop_extend()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/
Defuse.c654 u8 *readstate) in efuse_read_data_case1() argument
677 *readstate = PG_STATE_DATA; in efuse_read_data_case1()
680 *readstate = PG_STATE_HEADER; in efuse_read_data_case1()
685 *readstate = PG_STATE_HEADER; in efuse_read_data_case1()
691 u8 readstate = PG_STATE_HEADER; in efuse_pg_packet_read() local
708 if (readstate & PG_STATE_HEADER) { in efuse_pg_packet_read()
713 tmpdata, &readstate); in efuse_pg_packet_read()
716 } else if (readstate & PG_STATE_DATA) { in efuse_pg_packet_read()
719 readstate = PG_STATE_HEADER; in efuse_pg_packet_read()