Home
last modified time | relevance | path

Searched refs:check_state (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/md/bcache/
H A Dbtree.c1954 struct btree_check_state *check_state = info->state; in bch_btree_check_thread() local
1955 struct cache_set *c = check_state->c; in bch_btree_check_thread()
1976 spin_lock(&check_state->idx_lock); in bch_btree_check_thread()
1977 cur_idx = check_state->key_idx; in bch_btree_check_thread()
1978 check_state->key_idx++; in bch_btree_check_thread()
1979 spin_unlock(&check_state->idx_lock); in bch_btree_check_thread()
1995 atomic_set(&check_state->enough, 1); in bch_btree_check_thread()
2032 if (atomic_dec_and_test(&check_state->started)) in bch_btree_check_thread()
2033 wake_up(&check_state->wait); in bch_btree_check_thread()
2058 struct btree_check_state check_state; in bch_btree_check() local
[all …]
/linux/drivers/media/platform/raspberrypi/rp1-cfe/
H A Dcfe.c331 static bool check_state(struct cfe_device *cfe, unsigned long state, in check_state() function
365 if (check_state(cfe, cond, i)) in test_any_node()
376 if (check_state(cfe, precond, i)) { in test_all_nodes()
377 if (!check_state(cfe, cond, i)) in test_all_nodes()
532 if (!check_state(cfe, NODE_STREAMING, i)) in cfe_schedule_next_csi2_job()
565 if (!check_state(cfe, NODE_STREAMING, i)) in cfe_schedule_next_pisp_job()
587 if (!check_state(cfe, NODE_ENABLED, i)) in cfe_check_job_ready()
653 if (!check_state(cfe, NODE_STREAMING, i) || i == node->id) in cfe_sof_isr()
721 if (!check_state(cfe, NODE_STREAMING, i) || !(sof[i] || eof[i])) in cfe_isr()
741 if (sof[i] && !check_state(cfe, FS_INT, i)) { in cfe_isr()
[all …]
/linux/drivers/md/
H A Draid5.c166 return sh->check_state || sh->reconstruct_state || in stripe_operations_active()
1523 if (sh->check_state == check_state_compute_run) in ops_complete_compute()
1524 sh->check_state = check_state_compute_result; in ops_complete_compute()
2198 sh->check_state = check_state_check_result; in ops_complete_check()
2319 if (sh->check_state == check_state_run) in raid_run_ops()
2321 else if (sh->check_state == check_state_run_q) in raid_run_ops()
2323 else if (sh->check_state == check_state_run_pq) in raid_run_ops()
3956 if (!test_bit(STRIPE_COMPUTE_RUN, &sh->state) && !sh->check_state && in handle_stripe_fill()
4278 switch (sh->check_state) { in handle_parity_checks5()
4283 sh->check_state = check_state_run; in handle_parity_checks5()
[all …]
/linux/drivers/media/v4l2-core/
H A Dv4l2-subdev.c214 static int check_state(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, in check_state() function
244 check_state(sd, state, format->which, format->pad, format->stream); in check_format()
271 check_state(sd, state, code->which, code->pad, code->stream) ? : in call_enum_mbus_code()
283 check_state(sd, state, fse->which, fse->pad, fse->stream) ? : in call_enum_frame_size()
295 check_state(sd, state, fie->which, fie->pad, fie->stream) ? : in call_enum_frame_interval()
307 check_state(sd, state, sel->which, sel->pad, sel->stream); in check_selection()
334 check_state(sd, state, fi->which, fi->pad, fi->stream); in check_frame_interval()
/linux/fs/ceph/
H A Dmds_client.h603 bool check_state);
H A Dmds_client.c1064 bool check_state) in ceph_mdsc_iterate_sessions() argument
1076 if (check_state && !check_session_state(s)) { in ceph_mdsc_iterate_sessions()
/linux/drivers/net/bonding/
H A Dbond_main.c3810 goto check_state; in bond_ab_arp_probe()
3819 check_state: in bond_ab_arp_probe()