Home
last modified time | relevance | path

Searched refs:check_state (Results 1 - 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/drivers/md/bcache/
H A Dbtree.c1925 struct btree_check_state *check_state = info->state; in bch_btree_check_thread() local
1926 struct cache_set *c = check_state->c; in bch_btree_check_thread()
1947 spin_lock(&check_state->idx_lock); in bch_btree_check_thread()
1948 cur_idx = check_state->key_idx; in bch_btree_check_thread()
1949 check_state->key_idx++; in bch_btree_check_thread()
1950 spin_unlock(&check_state->idx_lock); in bch_btree_check_thread()
1966 atomic_set(&check_state->enough, 1); in bch_btree_check_thread()
1967 /* Update check_state->enough earlier */ in bch_btree_check_thread()
2001 /* update check_state->started among all CPUs */ in bch_btree_check_thread()
2003 if (atomic_dec_and_test(&check_state in bch_btree_check_thread()
2029 struct btree_check_state check_state; bch_btree_check() local
[all...]
/kernel/linux/linux-6.6/drivers/md/bcache/
H A Dbtree.c1946 struct btree_check_state *check_state = info->state; in bch_btree_check_thread() local
1947 struct cache_set *c = check_state->c; in bch_btree_check_thread()
1968 spin_lock(&check_state->idx_lock); in bch_btree_check_thread()
1969 cur_idx = check_state->key_idx; in bch_btree_check_thread()
1970 check_state->key_idx++; in bch_btree_check_thread()
1971 spin_unlock(&check_state->idx_lock); in bch_btree_check_thread()
1987 atomic_set(&check_state->enough, 1); in bch_btree_check_thread()
1988 /* Update check_state->enough earlier */ in bch_btree_check_thread()
2022 /* update check_state->started among all CPUs */ in bch_btree_check_thread()
2024 if (atomic_dec_and_test(&check_state in bch_btree_check_thread()
2050 struct btree_check_state check_state; bch_btree_check() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/phy/
H A Dphy-isp1301-omap.c399 static void check_state(struct isp1301 *isp, const char *tag) in check_state() function
473 static inline void check_state(struct isp1301 *isp, const char *tag) { } in check_state() function
636 check_state(isp, __func__); in otg_update_isp()
804 check_state(isp, __func__); in omap_otg_irq()
835 check_state(isp, __func__); in isp1301_otg_init()
1070 check_state(isp, __func__); in isp_update_otg()
1419 check_state(isp, __func__); in isp1301_start_srp()
1468 check_state(isp, __func__); in isp1301_start_hnp()
/kernel/linux/linux-5.10/drivers/scsi/cxlflash/
H A Dsuperpipe.h151 int check_state(struct cxlflash_cfg *cfg);
H A Dsuperpipe.c364 rc = check_state(cfg); in read_cap16()
1265 * check_state() - checks and responds to the current adapter state
1277 int check_state(struct cxlflash_cfg *cfg) in check_state() function
1646 * reset wait queue is attempted via check_state().
1678 rc = check_state(cfg); in cxlflash_afu_recover()
1748 rc = check_state(cfg); in cxlflash_afu_recover()
2061 rc = check_state(cfg); in ioctl_common()
H A Dvlun.c457 rc = check_state(cfg); in write_same16()
/kernel/linux/linux-6.6/drivers/scsi/cxlflash/
H A Dsuperpipe.h151 int check_state(struct cxlflash_cfg *cfg);
H A Dsuperpipe.c366 rc = check_state(cfg); in read_cap16()
1266 * check_state() - checks and responds to the current adapter state
1278 int check_state(struct cxlflash_cfg *cfg) in check_state() function
1647 * reset wait queue is attempted via check_state().
1679 rc = check_state(cfg); in cxlflash_afu_recover()
1749 rc = check_state(cfg); in cxlflash_afu_recover()
2062 rc = check_state(cfg); in ioctl_common()
H A Dvlun.c457 rc = check_state(cfg); in write_same16()
/kernel/linux/linux-5.10/drivers/md/
H A Draid5.c154 return sh->check_state || sh->reconstruct_state || in stripe_operations_active()
1467 if (sh->check_state == check_state_compute_run) in ops_complete_compute()
1468 sh->check_state = check_state_compute_result; in ops_complete_compute()
2142 sh->check_state = check_state_check_result; in ops_complete_check()
2264 if (sh->check_state == check_state_run) in raid_run_ops()
2266 else if (sh->check_state == check_state_run_q) in raid_run_ops()
2268 else if (sh->check_state == check_state_run_pq) in raid_run_ops()
3929 if (!test_bit(STRIPE_COMPUTE_RUN, &sh->state) && !sh->check_state && in handle_stripe_fill()
4247 switch (sh->check_state) { in handle_parity_checks5()
4252 sh->check_state in handle_parity_checks5()
[all...]
H A Draid5.h219 enum check_states check_state; member
/kernel/linux/linux-6.6/drivers/md/
H A Draid5.c161 return sh->check_state || sh->reconstruct_state || in stripe_operations_active()
1545 if (sh->check_state == check_state_compute_run) in ops_complete_compute()
1546 sh->check_state = check_state_compute_result; in ops_complete_compute()
2220 sh->check_state = check_state_check_result; in ops_complete_check()
2341 if (sh->check_state == check_state_run) in raid_run_ops()
2343 else if (sh->check_state == check_state_run_q) in raid_run_ops()
2345 else if (sh->check_state == check_state_run_pq) in raid_run_ops()
4041 if (!test_bit(STRIPE_COMPUTE_RUN, &sh->state) && !sh->check_state && in handle_stripe_fill()
4359 switch (sh->check_state) { in handle_parity_checks5()
4364 sh->check_state in handle_parity_checks5()
[all...]
H A Draid5.h220 enum check_states check_state; member
/kernel/linux/linux-6.6/drivers/media/v4l2-core/
H A Dv4l2-subdev.c174 static int check_state(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, in check_state() function
204 check_state(sd, state, format->which, format->pad, format->stream); in check_format()
231 check_state(sd, state, code->which, code->pad, code->stream) ? : in call_enum_mbus_code()
243 check_state(sd, state, fse->which, fse->pad, fse->stream) ? : in call_enum_frame_size()
278 check_state(sd, state, fie->which, fie->pad, fie->stream) ? : in call_enum_frame_interval()
290 check_state(sd, state, sel->which, sel->pad, sel->stream); in check_selection()
/kernel/linux/linux-5.10/fs/ceph/
H A Dmds_client.h529 bool check_state);
H A Dmds_client.c814 bool check_state) in ceph_mdsc_iterate_sessions()
826 if (check_state && !check_session_state(s)) { in ceph_mdsc_iterate_sessions()
812 ceph_mdsc_iterate_sessions(struct ceph_mds_client *mdsc, void (*cb)(struct ceph_mds_session *), bool check_state) ceph_mdsc_iterate_sessions() argument
/kernel/linux/linux-6.6/fs/ceph/
H A Dmds_client.h565 bool check_state);
H A Dmds_client.c1055 bool check_state) in ceph_mdsc_iterate_sessions()
1067 if (check_state && !check_session_state(s)) { in ceph_mdsc_iterate_sessions()
1053 ceph_mdsc_iterate_sessions(struct ceph_mds_client *mdsc, void (*cb)(struct ceph_mds_session *), bool check_state) ceph_mdsc_iterate_sessions() argument
/kernel/linux/linux-5.10/drivers/net/bonding/
H A Dbond_main.c3329 goto check_state; in bond_ab_arp_probe()
3338 check_state: in bond_ab_arp_probe()
/kernel/linux/linux-6.6/drivers/net/bonding/
H A Dbond_main.c3744 goto check_state; in bond_ab_arp_probe()
3753 check_state: in bond_ab_arp_probe()
/kernel/linux/linux-5.10/kernel/bpf/
H A Dverifier.c8843 goto check_state; in check_cfg()
8926 check_state: in check_cfg()

Completed in 77 milliseconds